request
stringlengths 11k
36.3k
| response
stringlengths 11k
36.2k
|
---|---|
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>
<ScenarioObject name="pedestrian_close_to_standing_9733">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
</Entities>
<Storyboard>
<Init>
<Actions>
<GlobalAction>
<EnvironmentAction>
<Environment name="Environment1">
<TimeOfDay animation="false" dateTime="2019-06-25T12:00:00"/>
<Weather cloudState="free">
<Sun intensity="0.85" azimuth="0" elevation="1.31"/>
<Fog visualRange="100000.0"/>
<Precipitation precipitationType="dry" intensity="0.0"/>
</Weather>
<RoadCondition frictionScaleFactor="1.0"/>
</Environment>
</EnvironmentAction>
</GlobalAction>
<Private entityRef="hero">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-9.4" y="-152.8" z="0.5" h="1.57079632679"/>
</Position>
</TeleportAction>
</PrivateAction>
<PrivateAction>
<ControllerAction>
<AssignControllerAction>
<Controller name="HeroAgent">
<Properties>
<Property name="module" value="external_control"/>
</Properties>
</Controller>
</AssignControllerAction>
<OverrideControllerValueAction>
<Throttle value="0" active="false"/>
<Brake value="0" active="false"/>
<Clutch value="0" active="false"/>
<ParkingBrake value="0" active="false"/>
<SteeringWheel value="0" active="false"/>
<Gear number="0" active="false"/>
</OverrideControllerValueAction>
</ControllerAction>
</PrivateAction>
</Private>
<Private entityRef="adversary">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-9.4" y="-71.0" z="0.5" h="1.57079632679"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="standing">
<PrivateAction>
<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_9733">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-9.539158821105957" y="25.91767120361328" z="0.0030675504822283983"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
</Actions>
</Init>
<Story name="MyStory">
<Act name="Behavior">
<ManeuverGroup maximumExecutionCount="1" name="ManeuverSequence">
<Actors selectTriggeringEntities="false">
<EntityRef entityRef="adversary"/>
</Actors>
<Maneuver name="LaneChangeSimpleManeuver">
<Event name="AdversaryAccelerates" priority="overwrite">
<Action name="AdversaryAccelerates">
<PrivateAction>
<LongitudinalAction>
<SpeedAction>
<SpeedActionDynamics dynamicsShape="step" value="50" dynamicsDimension="distance"/>
<SpeedActionTarget>
<AbsoluteTargetSpeed value="5.0"/>
</SpeedActionTarget>
</SpeedAction>
</LongitudinalAction>
</PrivateAction>
</Action>
<StartTrigger>
<ConditionGroup>
<Condition name="StartCondition" delay="0" conditionEdge="rising">
<ByEntityCondition>
<TriggeringEntities triggeringEntitiesRule="any">
<EntityRef entityRef="hero"/>
</TriggeringEntities>
<EntityCondition>
<RelativeDistanceCondition entityRef="adversary" relativeDistanceType="cartesianDistance" value="40.0" freespace="false" rule="lessThan"/>
</EntityCondition>
</ByEntityCondition>
</Condition>
</ConditionGroup>
</StartTrigger>
</Event>
<Event name="AdversaryChangesLane" priority="overwrite">
<Action name="AdversaryChangesLane">
<PrivateAction>
<LateralAction>
<LaneChangeAction>
<LaneChangeActionDynamics dynamicsShape="linear" value="25" dynamicsDimension="distance"/>
<LaneChangeTarget>
<RelativeTargetLane entityRef="adversary" value="-1"/>
</LaneChangeTarget>
</LaneChangeAction>
</LateralAction>
</PrivateAction>
</Action>
<StartTrigger>
<ConditionGroup>
<Condition name="AfterAdversaryAccelerates" delay="0" conditionEdge="rising">
<ByValueCondition>
<StoryboardElementStateCondition storyboardElementType="action" storyboardElementRef="AdversaryAccelerates" state="completeState"/>
</ByValueCondition>
</Condition>
</ConditionGroup>
</StartTrigger>
</Event>
</Maneuver>
</ManeuverGroup>
<StartTrigger>
<ConditionGroup>
<Condition name="OverallStartCondition" delay="0" conditionEdge="rising">
<ByEntityCondition>
<TriggeringEntities triggeringEntitiesRule="any">
<EntityRef entityRef="hero"/>
</TriggeringEntities>
<EntityCondition>
<TraveledDistanceCondition value="1.0"/>
</EntityCondition>
</ByEntityCondition>
</Condition>
<Condition name="StartTime" delay="0" conditionEdge="rising">
<ByValueCondition>
<SimulationTimeCondition value="0" rule="equalTo"/>
</ByValueCondition>
</Condition>
</ConditionGroup>
</StartTrigger>
<StopTrigger>
<ConditionGroup>
<Condition name="EndCondition" delay="0" conditionEdge="rising">
<ByEntityCondition>
<TriggeringEntities triggeringEntitiesRule="any">
<EntityRef entityRef="hero"/>
</TriggeringEntities>
<EntityCondition>
<TraveledDistanceCondition value="200.0"/>
</EntityCondition>
</ByEntityCondition>
</Condition>
</ConditionGroup>
</StopTrigger>
</Act>
</Story>
<StopTrigger>
<ConditionGroup>
<Condition name="criteria_RunningStopTest" delay="0" conditionEdge="rising">
<ByValueCondition>
<ParameterCondition parameterRef="" value="" rule="lessThan"/>
</ByValueCondition>
</Condition>
<Condition name="criteria_RunningRedLightTest" delay="0" conditionEdge="rising">
<ByValueCondition>
<ParameterCondition parameterRef="" value="" rule="lessThan"/>
</ByValueCondition>
</Condition>
<Condition name="criteria_WrongLaneTest" delay="0" conditionEdge="rising">
<ByValueCondition>
<ParameterCondition parameterRef="" value="" rule="lessThan"/>
</ByValueCondition>
</Condition>
<Condition name="criteria_OnSidewalkTest" delay="0" conditionEdge="rising">
<ByValueCondition>
<ParameterCondition parameterRef="" value="" rule="lessThan"/>
</ByValueCondition>
</Condition>
<Condition name="criteria_KeepLaneTest" delay="0" conditionEdge="rising">
<ByValueCondition>
<ParameterCondition parameterRef="" value="" rule="lessThan"/>
</ByValueCondition>
</Condition>
<Condition name="criteria_CollisionTest" delay="0" conditionEdge="rising">
<ByValueCondition>
<ParameterCondition parameterRef="" value="" rule="lessThan"/>
</ByValueCondition>
</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_9733">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_close_to_hero_9734">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
</Entities>
<Storyboard>
<Init>
<Actions>
<GlobalAction>
<EnvironmentAction>
<Environment name="Environment1">
<TimeOfDay animation="false" dateTime="2019-06-25T12:00:00"/>
<Weather cloudState="free">
<Sun intensity="0.85" azimuth="0" elevation="1.31"/>
<Fog visualRange="100000.0"/>
<Precipitation precipitationType="dry" intensity="0.0"/>
</Weather>
<RoadCondition frictionScaleFactor="1.0"/>
</Environment>
</EnvironmentAction>
</GlobalAction>
<Private entityRef="hero">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-9.4" y="-152.8" z="0.5" h="1.57079632679"/>
</Position>
</TeleportAction>
</PrivateAction>
<PrivateAction>
<ControllerAction>
<AssignControllerAction>
<Controller name="HeroAgent">
<Properties>
<Property name="module" value="external_control"/>
</Properties>
</Controller>
</AssignControllerAction>
<OverrideControllerValueAction>
<Throttle value="0" active="false"/>
<Brake value="0" active="false"/>
<Clutch value="0" active="false"/>
<ParkingBrake value="0" active="false"/>
<SteeringWheel value="0" active="false"/>
<Gear number="0" active="false"/>
</OverrideControllerValueAction>
</ControllerAction>
</PrivateAction>
</Private>
<Private entityRef="adversary">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-9.4" y="-71.0" z="0.5" h="1.57079632679"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="standing">
<PrivateAction>
<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_9733">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-9.539158821105957" y="25.91767120361328" z="0.0030675504822283983"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_close_to_hero_9734">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-10.766157150268555" y="-145.98403930664062" z="0.0014286803780123591"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
</Actions>
</Init>
<Story name="MyStory">
<Act name="Behavior">
<ManeuverGroup maximumExecutionCount="1" name="ManeuverSequence">
<Actors selectTriggeringEntities="false">
<EntityRef entityRef="adversary"/>
</Actors>
<Maneuver name="LaneChangeSimpleManeuver">
<Event name="AdversaryAccelerates" priority="overwrite">
<Action name="AdversaryAccelerates">
<PrivateAction>
<LongitudinalAction>
<SpeedAction>
<SpeedActionDynamics dynamicsShape="step" value="50" dynamicsDimension="distance"/>
<SpeedActionTarget>
<AbsoluteTargetSpeed value="5.0"/>
</SpeedActionTarget>
</SpeedAction>
</LongitudinalAction>
</PrivateAction>
</Action>
<StartTrigger>
<ConditionGroup>
<Condition name="StartCondition" delay="0" conditionEdge="rising">
<ByEntityCondition>
<TriggeringEntities triggeringEntitiesRule="any">
<EntityRef entityRef="hero"/>
</TriggeringEntities>
<EntityCondition>
<RelativeDistanceCondition entityRef="adversary" relativeDistanceType="cartesianDistance" value="40.0" freespace="false" rule="lessThan"/>
</EntityCondition>
</ByEntityCondition>
</Condition>
</ConditionGroup>
</StartTrigger>
</Event>
<Event name="AdversaryChangesLane" priority="overwrite">
<Action name="AdversaryChangesLane">
<PrivateAction>
<LateralAction>
<LaneChangeAction>
<LaneChangeActionDynamics dynamicsShape="linear" value="25" dynamicsDimension="distance"/>
<LaneChangeTarget>
<RelativeTargetLane entityRef="adversary" value="-1"/>
</LaneChangeTarget>
</LaneChangeAction>
</LateralAction>
</PrivateAction>
</Action>
<StartTrigger>
<ConditionGroup>
<Condition name="AfterAdversaryAccelerates" delay="0" conditionEdge="rising">
<ByValueCondition>
<StoryboardElementStateCondition storyboardElementType="action" storyboardElementRef="AdversaryAccelerates" state="completeState"/>
</ByValueCondition>
</Condition>
</ConditionGroup>
</StartTrigger>
</Event>
</Maneuver>
</ManeuverGroup>
<StartTrigger>
<ConditionGroup>
<Condition name="OverallStartCondition" delay="0" conditionEdge="rising">
<ByEntityCondition>
<TriggeringEntities triggeringEntitiesRule="any">
<EntityRef entityRef="hero"/>
</TriggeringEntities>
<EntityCondition>
<TraveledDistanceCondition value="1.0"/>
</EntityCondition>
</ByEntityCondition>
</Condition>
<Condition name="StartTime" delay="0" conditionEdge="rising">
<ByValueCondition>
<SimulationTimeCondition value="0" rule="equalTo"/>
</ByValueCondition>
</Condition>
</ConditionGroup>
</StartTrigger>
<StopTrigger>
<ConditionGroup>
<Condition name="EndCondition" delay="0" conditionEdge="rising">
<ByEntityCondition>
<TriggeringEntities triggeringEntitiesRule="any">
<EntityRef entityRef="hero"/>
</TriggeringEntities>
<EntityCondition>
<TraveledDistanceCondition value="200.0"/>
</EntityCondition>
</ByEntityCondition>
</Condition>
</ConditionGroup>
</StopTrigger>
</Act>
</Story>
<StopTrigger>
<ConditionGroup>
<Condition name="criteria_RunningStopTest" delay="0" conditionEdge="rising">
<ByValueCondition>
<ParameterCondition parameterRef="" value="" rule="lessThan"/>
</ByValueCondition>
</Condition>
<Condition name="criteria_RunningRedLightTest" delay="0" conditionEdge="rising">
<ByValueCondition>
<ParameterCondition parameterRef="" value="" rule="lessThan"/>
</ByValueCondition>
</Condition>
<Condition name="criteria_WrongLaneTest" delay="0" conditionEdge="rising">
<ByValueCondition>
<ParameterCondition parameterRef="" value="" rule="lessThan"/>
</ByValueCondition>
</Condition>
<Condition name="criteria_OnSidewalkTest" delay="0" conditionEdge="rising">
<ByValueCondition>
<ParameterCondition parameterRef="" value="" rule="lessThan"/>
</ByValueCondition>
</Condition>
<Condition name="criteria_KeepLaneTest" delay="0" conditionEdge="rising">
<ByValueCondition>
<ParameterCondition parameterRef="" value="" rule="lessThan"/>
</ByValueCondition>
</Condition>
<Condition name="criteria_CollisionTest" delay="0" conditionEdge="rising">
<ByValueCondition>
<ParameterCondition parameterRef="" value="" rule="lessThan"/>
</ByValueCondition>
</Condition>
<Condition name="criteria_DrivenDistanceTest" delay="0" conditionEdge="rising">
<ByValueCondition>
<ParameterCondition parameterRef="distance_success" value="100" rule="lessThan"/>
</ByValueCondition>
</Condition>
</ConditionGroup>
</StopTrigger>
</Storyboard>
</OpenSCENARIO>
``` |
i would like 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_9042">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
</Entities>
<Storyboard>
<Init>
<Actions>
<GlobalAction>
<EnvironmentAction>
<Environment name="Environment1">
<TimeOfDay animation="false" dateTime="2019-06-25T12:00:00"/>
<Weather cloudState="free">
<Sun intensity="0.85" azimuth="0" elevation="1.31"/>
<Fog visualRange="100000.0"/>
<Precipitation precipitationType="dry" intensity="0.0"/>
</Weather>
<RoadCondition frictionScaleFactor="1.0"/>
</Environment>
</EnvironmentAction>
</GlobalAction>
<Private entityRef="hero">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-9.4" y="-152.8" z="0.5" h="1.57079632679"/>
</Position>
</TeleportAction>
</PrivateAction>
<PrivateAction>
<ControllerAction>
<AssignControllerAction>
<Controller name="HeroAgent">
<Properties>
<Property name="module" value="external_control"/>
</Properties>
</Controller>
</AssignControllerAction>
<OverrideControllerValueAction>
<Throttle value="0" active="false"/>
<Brake value="0" active="false"/>
<Clutch value="0" active="false"/>
<ParkingBrake value="0" active="false"/>
<SteeringWheel value="0" active="false"/>
<Gear number="0" active="false"/>
</OverrideControllerValueAction>
</ControllerAction>
</PrivateAction>
</Private>
<Private entityRef="adversary">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-9.4" y="-71.0" z="0.5" h="1.57079632679"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="standing">
<PrivateAction>
<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_9042">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-13.235623359680176" y="34.142112731933594" z="0.0030308531131595373"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
</Actions>
</Init>
<Story name="MyStory">
<Act name="Behavior">
<ManeuverGroup maximumExecutionCount="1" name="ManeuverSequence">
<Actors selectTriggeringEntities="false">
<EntityRef entityRef="adversary"/>
</Actors>
<Maneuver name="LaneChangeSimpleManeuver">
<Event name="AdversaryAccelerates" priority="overwrite">
<Action name="AdversaryAccelerates">
<PrivateAction>
<LongitudinalAction>
<SpeedAction>
<SpeedActionDynamics dynamicsShape="step" value="50" dynamicsDimension="distance"/>
<SpeedActionTarget>
<AbsoluteTargetSpeed value="5.0"/>
</SpeedActionTarget>
</SpeedAction>
</LongitudinalAction>
</PrivateAction>
</Action>
<StartTrigger>
<ConditionGroup>
<Condition name="StartCondition" delay="0" conditionEdge="rising">
<ByEntityCondition>
<TriggeringEntities triggeringEntitiesRule="any">
<EntityRef entityRef="hero"/>
</TriggeringEntities>
<EntityCondition>
<RelativeDistanceCondition entityRef="adversary" relativeDistanceType="cartesianDistance" value="40.0" freespace="false" rule="lessThan"/>
</EntityCondition>
</ByEntityCondition>
</Condition>
</ConditionGroup>
</StartTrigger>
</Event>
<Event name="AdversaryChangesLane" priority="overwrite">
<Action name="AdversaryChangesLane">
<PrivateAction>
<LateralAction>
<LaneChangeAction>
<LaneChangeActionDynamics dynamicsShape="linear" value="25" dynamicsDimension="distance"/>
<LaneChangeTarget>
<RelativeTargetLane entityRef="adversary" value="-1"/>
</LaneChangeTarget>
</LaneChangeAction>
</LateralAction>
</PrivateAction>
</Action>
<StartTrigger>
<ConditionGroup>
<Condition name="AfterAdversaryAccelerates" delay="0" conditionEdge="rising">
<ByValueCondition>
<StoryboardElementStateCondition storyboardElementType="action" storyboardElementRef="AdversaryAccelerates" state="completeState"/>
</ByValueCondition>
</Condition>
</ConditionGroup>
</StartTrigger>
</Event>
</Maneuver>
</ManeuverGroup>
<StartTrigger>
<ConditionGroup>
<Condition name="OverallStartCondition" delay="0" conditionEdge="rising">
<ByEntityCondition>
<TriggeringEntities triggeringEntitiesRule="any">
<EntityRef entityRef="hero"/>
</TriggeringEntities>
<EntityCondition>
<TraveledDistanceCondition value="1.0"/>
</EntityCondition>
</ByEntityCondition>
</Condition>
<Condition name="StartTime" delay="0" conditionEdge="rising">
<ByValueCondition>
<SimulationTimeCondition value="0" rule="equalTo"/>
</ByValueCondition>
</Condition>
</ConditionGroup>
</StartTrigger>
<StopTrigger>
<ConditionGroup>
<Condition name="EndCondition" delay="0" conditionEdge="rising">
<ByEntityCondition>
<TriggeringEntities triggeringEntitiesRule="any">
<EntityRef entityRef="hero"/>
</TriggeringEntities>
<EntityCondition>
<TraveledDistanceCondition value="200.0"/>
</EntityCondition>
</ByEntityCondition>
</Condition>
</ConditionGroup>
</StopTrigger>
</Act>
</Story>
<StopTrigger>
<ConditionGroup>
<Condition name="criteria_RunningStopTest" delay="0" conditionEdge="rising">
<ByValueCondition>
<ParameterCondition parameterRef="" value="" rule="lessThan"/>
</ByValueCondition>
</Condition>
<Condition name="criteria_RunningRedLightTest" delay="0" conditionEdge="rising">
<ByValueCondition>
<ParameterCondition parameterRef="" value="" rule="lessThan"/>
</ByValueCondition>
</Condition>
<Condition name="criteria_WrongLaneTest" delay="0" conditionEdge="rising">
<ByValueCondition>
<ParameterCondition parameterRef="" value="" rule="lessThan"/>
</ByValueCondition>
</Condition>
<Condition name="criteria_OnSidewalkTest" delay="0" conditionEdge="rising">
<ByValueCondition>
<ParameterCondition parameterRef="" value="" rule="lessThan"/>
</ByValueCondition>
</Condition>
<Condition name="criteria_KeepLaneTest" delay="0" conditionEdge="rising">
<ByValueCondition>
<ParameterCondition parameterRef="" value="" rule="lessThan"/>
</ByValueCondition>
</Condition>
<Condition name="criteria_CollisionTest" delay="0" conditionEdge="rising">
<ByValueCondition>
<ParameterCondition parameterRef="" value="" rule="lessThan"/>
</ByValueCondition>
</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_9042">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_close_to_hero_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_standing_9042">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-13.235623359680176" y="34.142112731933594" z="0.0030308531131595373"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_close_to_hero_9043">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-16.95121955871582" y="-158.38046264648438" z="0.0014286803780123591"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
</Actions>
</Init>
<Story name="MyStory">
<Act name="Behavior">
<ManeuverGroup maximumExecutionCount="1" name="ManeuverSequence">
<Actors selectTriggeringEntities="false">
<EntityRef entityRef="adversary"/>
</Actors>
<Maneuver name="LaneChangeSimpleManeuver">
<Event name="AdversaryAccelerates" priority="overwrite">
<Action name="AdversaryAccelerates">
<PrivateAction>
<LongitudinalAction>
<SpeedAction>
<SpeedActionDynamics dynamicsShape="step" value="50" dynamicsDimension="distance"/>
<SpeedActionTarget>
<AbsoluteTargetSpeed value="5.0"/>
</SpeedActionTarget>
</SpeedAction>
</LongitudinalAction>
</PrivateAction>
</Action>
<StartTrigger>
<ConditionGroup>
<Condition name="StartCondition" delay="0" conditionEdge="rising">
<ByEntityCondition>
<TriggeringEntities triggeringEntitiesRule="any">
<EntityRef entityRef="hero"/>
</TriggeringEntities>
<EntityCondition>
<RelativeDistanceCondition entityRef="adversary" relativeDistanceType="cartesianDistance" value="40.0" freespace="false" rule="lessThan"/>
</EntityCondition>
</ByEntityCondition>
</Condition>
</ConditionGroup>
</StartTrigger>
</Event>
<Event name="AdversaryChangesLane" priority="overwrite">
<Action name="AdversaryChangesLane">
<PrivateAction>
<LateralAction>
<LaneChangeAction>
<LaneChangeActionDynamics dynamicsShape="linear" value="25" dynamicsDimension="distance"/>
<LaneChangeTarget>
<RelativeTargetLane entityRef="adversary" value="-1"/>
</LaneChangeTarget>
</LaneChangeAction>
</LateralAction>
</PrivateAction>
</Action>
<StartTrigger>
<ConditionGroup>
<Condition name="AfterAdversaryAccelerates" delay="0" conditionEdge="rising">
<ByValueCondition>
<StoryboardElementStateCondition storyboardElementType="action" storyboardElementRef="AdversaryAccelerates" state="completeState"/>
</ByValueCondition>
</Condition>
</ConditionGroup>
</StartTrigger>
</Event>
</Maneuver>
</ManeuverGroup>
<StartTrigger>
<ConditionGroup>
<Condition name="OverallStartCondition" delay="0" conditionEdge="rising">
<ByEntityCondition>
<TriggeringEntities triggeringEntitiesRule="any">
<EntityRef entityRef="hero"/>
</TriggeringEntities>
<EntityCondition>
<TraveledDistanceCondition value="1.0"/>
</EntityCondition>
</ByEntityCondition>
</Condition>
<Condition name="StartTime" delay="0" conditionEdge="rising">
<ByValueCondition>
<SimulationTimeCondition value="0" rule="equalTo"/>
</ByValueCondition>
</Condition>
</ConditionGroup>
</StartTrigger>
<StopTrigger>
<ConditionGroup>
<Condition name="EndCondition" delay="0" conditionEdge="rising">
<ByEntityCondition>
<TriggeringEntities triggeringEntitiesRule="any">
<EntityRef entityRef="hero"/>
</TriggeringEntities>
<EntityCondition>
<TraveledDistanceCondition value="200.0"/>
</EntityCondition>
</ByEntityCondition>
</Condition>
</ConditionGroup>
</StopTrigger>
</Act>
</Story>
<StopTrigger>
<ConditionGroup>
<Condition name="criteria_RunningStopTest" delay="0" conditionEdge="rising">
<ByValueCondition>
<ParameterCondition parameterRef="" value="" rule="lessThan"/>
</ByValueCondition>
</Condition>
<Condition name="criteria_RunningRedLightTest" delay="0" conditionEdge="rising">
<ByValueCondition>
<ParameterCondition parameterRef="" value="" rule="lessThan"/>
</ByValueCondition>
</Condition>
<Condition name="criteria_WrongLaneTest" delay="0" conditionEdge="rising">
<ByValueCondition>
<ParameterCondition parameterRef="" value="" rule="lessThan"/>
</ByValueCondition>
</Condition>
<Condition name="criteria_OnSidewalkTest" delay="0" conditionEdge="rising">
<ByValueCondition>
<ParameterCondition parameterRef="" value="" rule="lessThan"/>
</ByValueCondition>
</Condition>
<Condition name="criteria_KeepLaneTest" delay="0" conditionEdge="rising">
<ByValueCondition>
<ParameterCondition parameterRef="" value="" rule="lessThan"/>
</ByValueCondition>
</Condition>
<Condition name="criteria_CollisionTest" delay="0" conditionEdge="rising">
<ByValueCondition>
<ParameterCondition parameterRef="" value="" rule="lessThan"/>
</ByValueCondition>
</Condition>
<Condition name="criteria_DrivenDistanceTest" delay="0" conditionEdge="rising">
<ByValueCondition>
<ParameterCondition parameterRef="distance_success" value="100" rule="lessThan"/>
</ByValueCondition>
</Condition>
</ConditionGroup>
</StopTrigger>
</Storyboard>
</OpenSCENARIO>
``` |
i would like to command you to add pedestrian 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_6043">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_w_transform_6044">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_w_transform_6045">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_close_to_standing_6046">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_close_to_adversary_6047">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_w_transform_6048">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_w_transform_6049">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_close_to_hero_6050">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_w_transform_6051">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_close_to_hero_6052">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_w_transform_6053">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_close_to_hero_6054">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_w_transform_6055">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_close_to_hero_6056">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_w_transform_6057">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
</Entities>
<Storyboard>
<Init>
<Actions>
<GlobalAction>
<EnvironmentAction>
<Environment name="Environment1">
<TimeOfDay animation="false" dateTime="2019-06-25T12:00:00"/>
<Weather cloudState="free">
<Sun intensity="0.85" azimuth="0" elevation="1.31"/>
<Fog visualRange="100000.0"/>
<Precipitation precipitationType="dry" intensity="0.0"/>
</Weather>
<RoadCondition frictionScaleFactor="1.0"/>
</Environment>
</EnvironmentAction>
</GlobalAction>
<Private entityRef="hero">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-9.4" y="-152.8" z="0.5" h="1.57079632679"/>
</Position>
</TeleportAction>
</PrivateAction>
<PrivateAction>
<ControllerAction>
<AssignControllerAction>
<Controller name="HeroAgent">
<Properties>
<Property name="module" value="external_control"/>
</Properties>
</Controller>
</AssignControllerAction>
<OverrideControllerValueAction>
<Throttle value="0" active="false"/>
<Brake value="0" active="false"/>
<Clutch value="0" active="false"/>
<ParkingBrake value="0" active="false"/>
<SteeringWheel value="0" active="false"/>
<Gear number="0" active="false"/>
</OverrideControllerValueAction>
</ControllerAction>
</PrivateAction>
</Private>
<Private entityRef="adversary">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-9.4" y="-71.0" z="0.5" h="1.57079632679"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="standing">
<PrivateAction>
<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_6043">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-6.400417327880859" y="-65.46090698242188" z="0.03380737081170082"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_w_transform_6044">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="36.4301872253418" y="76.55998229980469" z="0.5"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_w_transform_6045">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="32.874168395996094" y="25.340625762939453" z="0.5"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_close_to_standing_6046">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-14.03170108795166" y="33.22949981689453" z="0.003025665180757642"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_close_to_adversary_6047">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-6.801267623901367" y="-69.91316223144531" z="0.033766478300094604"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_w_transform_6048">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-15.896177291870117" y="12.152647972106934" z="0.5"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_w_transform_6049">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="48.272918701171875" y="-7.829648017883301" z="0.5"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_close_to_hero_6050">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-11.752043724060059" y="-160.82574462890625" z="0.0014286803780123591"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_w_transform_6051">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="13.618617057800293" y="38.74778747558594" z="0.5"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_close_to_hero_6052">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-0.168271005153656" y="-148.39639282226562" z="0.0014286803780123591"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_w_transform_6053">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-88.58070373535156" y="62.5878791809082" z="0.5"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_close_to_hero_6054">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-10.178601264953613" y="-160.62399291992188" z="0.0014286803780123591"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_w_transform_6055">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-50.148685455322266" y="77.92530822753906" z="0.5"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_close_to_hero_6056">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-9.052534103393555" y="-155.537841796875" z="0.0014286803780123591"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_w_transform_6057">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="87.61212921142578" y="36.74575424194336" 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_6043">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_w_transform_6044">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_w_transform_6045">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_close_to_standing_6046">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_close_to_adversary_6047">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_w_transform_6048">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_w_transform_6049">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_close_to_hero_6050">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_w_transform_6051">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_close_to_hero_6052">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_w_transform_6053">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_close_to_hero_6054">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_w_transform_6055">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_close_to_hero_6056">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_w_transform_6057">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_close_to_standing_6058">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
</Entities>
<Storyboard>
<Init>
<Actions>
<GlobalAction>
<EnvironmentAction>
<Environment name="Environment1">
<TimeOfDay animation="false" dateTime="2019-06-25T12:00:00"/>
<Weather cloudState="free">
<Sun intensity="0.85" azimuth="0" elevation="1.31"/>
<Fog visualRange="100000.0"/>
<Precipitation precipitationType="dry" intensity="0.0"/>
</Weather>
<RoadCondition frictionScaleFactor="1.0"/>
</Environment>
</EnvironmentAction>
</GlobalAction>
<Private entityRef="hero">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-9.4" y="-152.8" z="0.5" h="1.57079632679"/>
</Position>
</TeleportAction>
</PrivateAction>
<PrivateAction>
<ControllerAction>
<AssignControllerAction>
<Controller name="HeroAgent">
<Properties>
<Property name="module" value="external_control"/>
</Properties>
</Controller>
</AssignControllerAction>
<OverrideControllerValueAction>
<Throttle value="0" active="false"/>
<Brake value="0" active="false"/>
<Clutch value="0" active="false"/>
<ParkingBrake value="0" active="false"/>
<SteeringWheel value="0" active="false"/>
<Gear number="0" active="false"/>
</OverrideControllerValueAction>
</ControllerAction>
</PrivateAction>
</Private>
<Private entityRef="adversary">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-9.4" y="-71.0" z="0.5" h="1.57079632679"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="standing">
<PrivateAction>
<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_6043">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-6.400417327880859" y="-65.46090698242188" z="0.03380737081170082"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_w_transform_6044">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="36.4301872253418" y="76.55998229980469" z="0.5"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_w_transform_6045">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="32.874168395996094" y="25.340625762939453" z="0.5"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_close_to_standing_6046">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-14.03170108795166" y="33.22949981689453" z="0.003025665180757642"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_close_to_adversary_6047">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-6.801267623901367" y="-69.91316223144531" z="0.033766478300094604"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_w_transform_6048">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-15.896177291870117" y="12.152647972106934" z="0.5"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_w_transform_6049">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="48.272918701171875" y="-7.829648017883301" z="0.5"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_close_to_hero_6050">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-11.752043724060059" y="-160.82574462890625" z="0.0014286803780123591"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_w_transform_6051">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="13.618617057800293" y="38.74778747558594" z="0.5"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_close_to_hero_6052">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-0.168271005153656" y="-148.39639282226562" z="0.0014286803780123591"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_w_transform_6053">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-88.58070373535156" y="62.5878791809082" z="0.5"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_close_to_hero_6054">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-10.178601264953613" y="-160.62399291992188" z="0.0014286803780123591"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_w_transform_6055">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-50.148685455322266" y="77.92530822753906" z="0.5"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_close_to_hero_6056">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-9.052534103393555" y="-155.537841796875" z="0.0014286803780123591"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_w_transform_6057">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="87.61212921142578" y="36.74575424194336" z="0.5"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_close_to_standing_6058">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-5.550385475158691" y="35.43959045410156" z="0.0030195999424904585"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
</Actions>
</Init>
<Story name="MyStory">
<Act name="Behavior">
<ManeuverGroup maximumExecutionCount="1" name="ManeuverSequence">
<Actors selectTriggeringEntities="false">
<EntityRef entityRef="adversary"/>
</Actors>
<Maneuver name="LaneChangeSimpleManeuver">
<Event name="AdversaryAccelerates" priority="overwrite">
<Action name="AdversaryAccelerates">
<PrivateAction>
<LongitudinalAction>
<SpeedAction>
<SpeedActionDynamics dynamicsShape="step" value="50" dynamicsDimension="distance"/>
<SpeedActionTarget>
<AbsoluteTargetSpeed value="5.0"/>
</SpeedActionTarget>
</SpeedAction>
</LongitudinalAction>
</PrivateAction>
</Action>
<StartTrigger>
<ConditionGroup>
<Condition name="StartCondition" delay="0" conditionEdge="rising">
<ByEntityCondition>
<TriggeringEntities triggeringEntitiesRule="any">
<EntityRef entityRef="hero"/>
</TriggeringEntities>
<EntityCondition>
<RelativeDistanceCondition entityRef="adversary" relativeDistanceType="cartesianDistance" value="40.0" freespace="false" rule="lessThan"/>
</EntityCondition>
</ByEntityCondition>
</Condition>
</ConditionGroup>
</StartTrigger>
</Event>
<Event name="AdversaryChangesLane" priority="overwrite">
<Action name="AdversaryChangesLane">
<PrivateAction>
<LateralAction>
<LaneChangeAction>
<LaneChangeActionDynamics dynamicsShape="linear" value="25" dynamicsDimension="distance"/>
<LaneChangeTarget>
<RelativeTargetLane entityRef="adversary" value="-1"/>
</LaneChangeTarget>
</LaneChangeAction>
</LateralAction>
</PrivateAction>
</Action>
<StartTrigger>
<ConditionGroup>
<Condition name="AfterAdversaryAccelerates" delay="0" conditionEdge="rising">
<ByValueCondition>
<StoryboardElementStateCondition storyboardElementType="action" storyboardElementRef="AdversaryAccelerates" state="completeState"/>
</ByValueCondition>
</Condition>
</ConditionGroup>
</StartTrigger>
</Event>
</Maneuver>
</ManeuverGroup>
<StartTrigger>
<ConditionGroup>
<Condition name="OverallStartCondition" delay="0" conditionEdge="rising">
<ByEntityCondition>
<TriggeringEntities triggeringEntitiesRule="any">
<EntityRef entityRef="hero"/>
</TriggeringEntities>
<EntityCondition>
<TraveledDistanceCondition value="1.0"/>
</EntityCondition>
</ByEntityCondition>
</Condition>
<Condition name="StartTime" delay="0" conditionEdge="rising">
<ByValueCondition>
<SimulationTimeCondition value="0" rule="equalTo"/>
</ByValueCondition>
</Condition>
</ConditionGroup>
</StartTrigger>
<StopTrigger>
<ConditionGroup>
<Condition name="EndCondition" delay="0" conditionEdge="rising">
<ByEntityCondition>
<TriggeringEntities triggeringEntitiesRule="any">
<EntityRef entityRef="hero"/>
</TriggeringEntities>
<EntityCondition>
<TraveledDistanceCondition value="200.0"/>
</EntityCondition>
</ByEntityCondition>
</Condition>
</ConditionGroup>
</StopTrigger>
</Act>
</Story>
<StopTrigger>
<ConditionGroup>
<Condition name="criteria_RunningStopTest" delay="0" conditionEdge="rising">
<ByValueCondition>
<ParameterCondition parameterRef="" value="" rule="lessThan"/>
</ByValueCondition>
</Condition>
<Condition name="criteria_RunningRedLightTest" delay="0" conditionEdge="rising">
<ByValueCondition>
<ParameterCondition parameterRef="" value="" rule="lessThan"/>
</ByValueCondition>
</Condition>
<Condition name="criteria_WrongLaneTest" delay="0" conditionEdge="rising">
<ByValueCondition>
<ParameterCondition parameterRef="" value="" rule="lessThan"/>
</ByValueCondition>
</Condition>
<Condition name="criteria_OnSidewalkTest" delay="0" conditionEdge="rising">
<ByValueCondition>
<ParameterCondition parameterRef="" value="" rule="lessThan"/>
</ByValueCondition>
</Condition>
<Condition name="criteria_KeepLaneTest" delay="0" conditionEdge="rising">
<ByValueCondition>
<ParameterCondition parameterRef="" value="" rule="lessThan"/>
</ByValueCondition>
</Condition>
<Condition name="criteria_CollisionTest" delay="0" conditionEdge="rising">
<ByValueCondition>
<ParameterCondition parameterRef="" value="" rule="lessThan"/>
</ByValueCondition>
</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_23765">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_close_to_adversary_23766">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_close_to_hero_23767">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_w_transform_23768">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_close_to_standing_23769">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_close_to_standing_23770">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_close_to_standing_23771">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_w_transform_23772">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_close_to_adversary_23773">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_close_to_standing_23774">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
</Entities>
<Storyboard>
<Init>
<Actions>
<GlobalAction>
<EnvironmentAction>
<Environment name="Environment1">
<TimeOfDay animation="false" dateTime="2019-06-25T12:00:00"/>
<Weather cloudState="free">
<Sun intensity="0.85" azimuth="0" elevation="1.31"/>
<Fog visualRange="100000.0"/>
<Precipitation precipitationType="dry" intensity="0.0"/>
</Weather>
<RoadCondition frictionScaleFactor="1.0"/>
</Environment>
</EnvironmentAction>
</GlobalAction>
<Private entityRef="hero">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-9.4" y="-152.8" z="0.5" h="1.57079632679"/>
</Position>
</TeleportAction>
</PrivateAction>
<PrivateAction>
<ControllerAction>
<AssignControllerAction>
<Controller name="HeroAgent">
<Properties>
<Property name="module" value="external_control"/>
</Properties>
</Controller>
</AssignControllerAction>
<OverrideControllerValueAction>
<Throttle value="0" active="false"/>
<Brake value="0" active="false"/>
<Clutch value="0" active="false"/>
<ParkingBrake value="0" active="false"/>
<SteeringWheel value="0" active="false"/>
<Gear number="0" active="false"/>
</OverrideControllerValueAction>
</ControllerAction>
</PrivateAction>
</Private>
<Private entityRef="adversary">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-9.4" y="-71.0" z="0.5" h="1.57079632679"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="standing">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-8.2" y="29.2" z="0.5" h="1.57079632679"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_close_to_adversary_23765">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-6.568727016448975" y="-67.42363739013672" z="0.03379074111580849"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_close_to_adversary_23766">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-11.732869148254395" y="-62.01517868041992" z="0.03382110595703125"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_close_to_hero_23767">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-18.688081741333008" y="-152.59555053710938" z="0.0014286803780123591"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_w_transform_23768">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="36.84495162963867" y="-40.51348876953125" z="0.5"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_close_to_standing_23769">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-16.204275131225586" y="25.963239669799805" z="0.0030183028429746628"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_close_to_standing_23770">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-9.196844100952148" y="36.531578063964844" z="0.003034400986507535"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_close_to_standing_23771">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-9.394332885742188" y="23.877836227416992" z="0.003051338018849492"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_w_transform_23772">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-65.29618835449219" y="-66.4941635131836" z="0.5"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_close_to_adversary_23773">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-16.310155868530273" y="-76.6059799194336" z="0.0337684229016304"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_close_to_standing_23774">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-6.407306671142578" y="36.945674896240234" z="0.003019866766408086"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
</Actions>
</Init>
<Story name="MyStory">
<Act name="Behavior">
<ManeuverGroup maximumExecutionCount="1" name="ManeuverSequence">
<Actors selectTriggeringEntities="false">
<EntityRef entityRef="adversary"/>
</Actors>
<Maneuver name="LaneChangeSimpleManeuver">
<Event name="AdversaryAccelerates" priority="overwrite">
<Action name="AdversaryAccelerates">
<PrivateAction>
<LongitudinalAction>
<SpeedAction>
<SpeedActionDynamics dynamicsShape="step" value="50" dynamicsDimension="distance"/>
<SpeedActionTarget>
<AbsoluteTargetSpeed value="5.0"/>
</SpeedActionTarget>
</SpeedAction>
</LongitudinalAction>
</PrivateAction>
</Action>
<StartTrigger>
<ConditionGroup>
<Condition name="StartCondition" delay="0" conditionEdge="rising">
<ByEntityCondition>
<TriggeringEntities triggeringEntitiesRule="any">
<EntityRef entityRef="hero"/>
</TriggeringEntities>
<EntityCondition>
<RelativeDistanceCondition entityRef="adversary" relativeDistanceType="cartesianDistance" value="40.0" freespace="false" rule="lessThan"/>
</EntityCondition>
</ByEntityCondition>
</Condition>
</ConditionGroup>
</StartTrigger>
</Event>
<Event name="AdversaryChangesLane" priority="overwrite">
<Action name="AdversaryChangesLane">
<PrivateAction>
<LateralAction>
<LaneChangeAction>
<LaneChangeActionDynamics dynamicsShape="linear" value="25" dynamicsDimension="distance"/>
<LaneChangeTarget>
<RelativeTargetLane entityRef="adversary" value="-1"/>
</LaneChangeTarget>
</LaneChangeAction>
</LateralAction>
</PrivateAction>
</Action>
<StartTrigger>
<ConditionGroup>
<Condition name="AfterAdversaryAccelerates" delay="0" conditionEdge="rising">
<ByValueCondition>
<StoryboardElementStateCondition storyboardElementType="action" storyboardElementRef="AdversaryAccelerates" state="completeState"/>
</ByValueCondition>
</Condition>
</ConditionGroup>
</StartTrigger>
</Event>
</Maneuver>
</ManeuverGroup>
<StartTrigger>
<ConditionGroup>
<Condition name="OverallStartCondition" delay="0" conditionEdge="rising">
<ByEntityCondition>
<TriggeringEntities triggeringEntitiesRule="any">
<EntityRef entityRef="hero"/>
</TriggeringEntities>
<EntityCondition>
<TraveledDistanceCondition value="1.0"/>
</EntityCondition>
</ByEntityCondition>
</Condition>
<Condition name="StartTime" delay="0" conditionEdge="rising">
<ByValueCondition>
<SimulationTimeCondition value="0" rule="equalTo"/>
</ByValueCondition>
</Condition>
</ConditionGroup>
</StartTrigger>
<StopTrigger>
<ConditionGroup>
<Condition name="EndCondition" delay="0" conditionEdge="rising">
<ByEntityCondition>
<TriggeringEntities triggeringEntitiesRule="any">
<EntityRef entityRef="hero"/>
</TriggeringEntities>
<EntityCondition>
<TraveledDistanceCondition value="200.0"/>
</EntityCondition>
</ByEntityCondition>
</Condition>
</ConditionGroup>
</StopTrigger>
</Act>
</Story>
<StopTrigger>
<ConditionGroup>
<Condition name="criteria_RunningStopTest" delay="0" conditionEdge="rising">
<ByValueCondition>
<ParameterCondition parameterRef="" value="" rule="lessThan"/>
</ByValueCondition>
</Condition>
<Condition name="criteria_RunningRedLightTest" delay="0" conditionEdge="rising">
<ByValueCondition>
<ParameterCondition parameterRef="" value="" rule="lessThan"/>
</ByValueCondition>
</Condition>
<Condition name="criteria_WrongLaneTest" delay="0" conditionEdge="rising">
<ByValueCondition>
<ParameterCondition parameterRef="" value="" rule="lessThan"/>
</ByValueCondition>
</Condition>
<Condition name="criteria_OnSidewalkTest" delay="0" conditionEdge="rising">
<ByValueCondition>
<ParameterCondition parameterRef="" value="" rule="lessThan"/>
</ByValueCondition>
</Condition>
<Condition name="criteria_KeepLaneTest" delay="0" conditionEdge="rising">
<ByValueCondition>
<ParameterCondition parameterRef="" value="" rule="lessThan"/>
</ByValueCondition>
</Condition>
<Condition name="criteria_CollisionTest" delay="0" conditionEdge="rising">
<ByValueCondition>
<ParameterCondition parameterRef="" value="" rule="lessThan"/>
</ByValueCondition>
</Condition>
<Condition name="criteria_DrivenDistanceTest" delay="0" conditionEdge="rising">
<ByValueCondition>
<ParameterCondition parameterRef="distance_success" value="100" rule="lessThan"/>
</ByValueCondition>
</Condition>
</ConditionGroup>
</StopTrigger>
</Storyboard>
</OpenSCENARIO>
``` | Here is the result:
```
<?xml version="1.0" ?>
<OpenSCENARIO>
<FileHeader revMajor="1" revMinor="0" date="2020-03-24T12:00:00" description="CARLA:LaneChangeSimple" author=""/>
<ParameterDeclarations/>
<CatalogLocations/>
<RoadNetwork>
<LogicFile filepath="Town04"/>
<SceneGraphFile filepath=""/>
</RoadNetwork>
<Entities>
<ScenarioObject name="hero">
<Vehicle name="vehicle.tesla.model3" vehicleCategory="car">
<ParameterDeclarations/>
<Performance maxSpeed="69.444" maxAcceleration="200" maxDeceleration="10.0"/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2.1" length="4.5" height="1.8"/>
</BoundingBox>
<Axles>
<FrontAxle maxSteering="0.5" wheelDiameter="0.6" trackWidth="1.8" positionX="3.1" positionZ="0.3"/>
<RearAxle maxSteering="0.0" wheelDiameter="0.6" trackWidth="1.8" positionX="0.0" positionZ="0.3"/>
</Axles>
<Properties>
<Property name="type" value="ego_vehicle"/>
</Properties>
</Vehicle>
</ScenarioObject>
<ScenarioObject name="adversary">
<Vehicle name="vehicle.lincoln.mkz_2017" vehicleCategory="car">
<ParameterDeclarations/>
<Performance maxSpeed="69.444" maxAcceleration="200" maxDeceleration="10.0"/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2.1" length="4.5" height="1.8"/>
</BoundingBox>
<Axles>
<FrontAxle maxSteering="0.5" wheelDiameter="0.6" trackWidth="1.8" positionX="3.1" positionZ="0.3"/>
<RearAxle maxSteering="0.0" wheelDiameter="0.6" trackWidth="1.8" positionX="0.0" positionZ="0.3"/>
</Axles>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Vehicle>
</ScenarioObject>
<ScenarioObject name="standing">
<Vehicle name="vehicle.volkswagen.t2" vehicleCategory="car">
<ParameterDeclarations/>
<Performance maxSpeed="69.444" maxAcceleration="200" maxDeceleration="10.0"/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2.1" length="4.5" height="1.8"/>
</BoundingBox>
<Axles>
<FrontAxle maxSteering="0.5" wheelDiameter="0.6" trackWidth="1.8" positionX="3.1" positionZ="0.3"/>
<RearAxle maxSteering="0.0" wheelDiameter="0.6" trackWidth="1.8" positionX="0.0" positionZ="0.3"/>
</Axles>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Vehicle>
</ScenarioObject>
<ScenarioObject name="pedestrian_close_to_adversary_23765">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_close_to_adversary_23766">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_close_to_hero_23767">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_w_transform_23768">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_close_to_standing_23769">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_close_to_standing_23770">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_close_to_standing_23771">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_w_transform_23772">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_close_to_adversary_23773">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_close_to_standing_23774">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_close_to_standing_23775">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
</Entities>
<Storyboard>
<Init>
<Actions>
<GlobalAction>
<EnvironmentAction>
<Environment name="Environment1">
<TimeOfDay animation="false" dateTime="2019-06-25T12:00:00"/>
<Weather cloudState="free">
<Sun intensity="0.85" azimuth="0" elevation="1.31"/>
<Fog visualRange="100000.0"/>
<Precipitation precipitationType="dry" intensity="0.0"/>
</Weather>
<RoadCondition frictionScaleFactor="1.0"/>
</Environment>
</EnvironmentAction>
</GlobalAction>
<Private entityRef="hero">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-9.4" y="-152.8" z="0.5" h="1.57079632679"/>
</Position>
</TeleportAction>
</PrivateAction>
<PrivateAction>
<ControllerAction>
<AssignControllerAction>
<Controller name="HeroAgent">
<Properties>
<Property name="module" value="external_control"/>
</Properties>
</Controller>
</AssignControllerAction>
<OverrideControllerValueAction>
<Throttle value="0" active="false"/>
<Brake value="0" active="false"/>
<Clutch value="0" active="false"/>
<ParkingBrake value="0" active="false"/>
<SteeringWheel value="0" active="false"/>
<Gear number="0" active="false"/>
</OverrideControllerValueAction>
</ControllerAction>
</PrivateAction>
</Private>
<Private entityRef="adversary">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-9.4" y="-71.0" z="0.5" h="1.57079632679"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="standing">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-8.2" y="29.2" z="0.5" h="1.57079632679"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_close_to_adversary_23765">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-6.568727016448975" y="-67.42363739013672" z="0.03379074111580849"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_close_to_adversary_23766">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-11.732869148254395" y="-62.01517868041992" z="0.03382110595703125"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_close_to_hero_23767">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-18.688081741333008" y="-152.59555053710938" z="0.0014286803780123591"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_w_transform_23768">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="36.84495162963867" y="-40.51348876953125" z="0.5"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_close_to_standing_23769">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-16.204275131225586" y="25.963239669799805" z="0.0030183028429746628"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_close_to_standing_23770">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-9.196844100952148" y="36.531578063964844" z="0.003034400986507535"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_close_to_standing_23771">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-9.394332885742188" y="23.877836227416992" z="0.003051338018849492"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_w_transform_23772">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-65.29618835449219" y="-66.4941635131836" z="0.5"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_close_to_adversary_23773">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-16.310155868530273" y="-76.6059799194336" z="0.0337684229016304"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_close_to_standing_23774">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-6.407306671142578" y="36.945674896240234" z="0.003019866766408086"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_close_to_standing_23775">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="0.3715261220932007" y="27.423555374145508" z="0.0030372999608516693"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
</Actions>
</Init>
<Story name="MyStory">
<Act name="Behavior">
<ManeuverGroup maximumExecutionCount="1" name="ManeuverSequence">
<Actors selectTriggeringEntities="false">
<EntityRef entityRef="adversary"/>
</Actors>
<Maneuver name="LaneChangeSimpleManeuver">
<Event name="AdversaryAccelerates" priority="overwrite">
<Action name="AdversaryAccelerates">
<PrivateAction>
<LongitudinalAction>
<SpeedAction>
<SpeedActionDynamics dynamicsShape="step" value="50" dynamicsDimension="distance"/>
<SpeedActionTarget>
<AbsoluteTargetSpeed value="5.0"/>
</SpeedActionTarget>
</SpeedAction>
</LongitudinalAction>
</PrivateAction>
</Action>
<StartTrigger>
<ConditionGroup>
<Condition name="StartCondition" delay="0" conditionEdge="rising">
<ByEntityCondition>
<TriggeringEntities triggeringEntitiesRule="any">
<EntityRef entityRef="hero"/>
</TriggeringEntities>
<EntityCondition>
<RelativeDistanceCondition entityRef="adversary" relativeDistanceType="cartesianDistance" value="40.0" freespace="false" rule="lessThan"/>
</EntityCondition>
</ByEntityCondition>
</Condition>
</ConditionGroup>
</StartTrigger>
</Event>
<Event name="AdversaryChangesLane" priority="overwrite">
<Action name="AdversaryChangesLane">
<PrivateAction>
<LateralAction>
<LaneChangeAction>
<LaneChangeActionDynamics dynamicsShape="linear" value="25" dynamicsDimension="distance"/>
<LaneChangeTarget>
<RelativeTargetLane entityRef="adversary" value="-1"/>
</LaneChangeTarget>
</LaneChangeAction>
</LateralAction>
</PrivateAction>
</Action>
<StartTrigger>
<ConditionGroup>
<Condition name="AfterAdversaryAccelerates" delay="0" conditionEdge="rising">
<ByValueCondition>
<StoryboardElementStateCondition storyboardElementType="action" storyboardElementRef="AdversaryAccelerates" state="completeState"/>
</ByValueCondition>
</Condition>
</ConditionGroup>
</StartTrigger>
</Event>
</Maneuver>
</ManeuverGroup>
<StartTrigger>
<ConditionGroup>
<Condition name="OverallStartCondition" delay="0" conditionEdge="rising">
<ByEntityCondition>
<TriggeringEntities triggeringEntitiesRule="any">
<EntityRef entityRef="hero"/>
</TriggeringEntities>
<EntityCondition>
<TraveledDistanceCondition value="1.0"/>
</EntityCondition>
</ByEntityCondition>
</Condition>
<Condition name="StartTime" delay="0" conditionEdge="rising">
<ByValueCondition>
<SimulationTimeCondition value="0" rule="equalTo"/>
</ByValueCondition>
</Condition>
</ConditionGroup>
</StartTrigger>
<StopTrigger>
<ConditionGroup>
<Condition name="EndCondition" delay="0" conditionEdge="rising">
<ByEntityCondition>
<TriggeringEntities triggeringEntitiesRule="any">
<EntityRef entityRef="hero"/>
</TriggeringEntities>
<EntityCondition>
<TraveledDistanceCondition value="200.0"/>
</EntityCondition>
</ByEntityCondition>
</Condition>
</ConditionGroup>
</StopTrigger>
</Act>
</Story>
<StopTrigger>
<ConditionGroup>
<Condition name="criteria_RunningStopTest" delay="0" conditionEdge="rising">
<ByValueCondition>
<ParameterCondition parameterRef="" value="" rule="lessThan"/>
</ByValueCondition>
</Condition>
<Condition name="criteria_RunningRedLightTest" delay="0" conditionEdge="rising">
<ByValueCondition>
<ParameterCondition parameterRef="" value="" rule="lessThan"/>
</ByValueCondition>
</Condition>
<Condition name="criteria_WrongLaneTest" delay="0" conditionEdge="rising">
<ByValueCondition>
<ParameterCondition parameterRef="" value="" rule="lessThan"/>
</ByValueCondition>
</Condition>
<Condition name="criteria_OnSidewalkTest" delay="0" conditionEdge="rising">
<ByValueCondition>
<ParameterCondition parameterRef="" value="" rule="lessThan"/>
</ByValueCondition>
</Condition>
<Condition name="criteria_KeepLaneTest" delay="0" conditionEdge="rising">
<ByValueCondition>
<ParameterCondition parameterRef="" value="" rule="lessThan"/>
</ByValueCondition>
</Condition>
<Condition name="criteria_CollisionTest" delay="0" conditionEdge="rising">
<ByValueCondition>
<ParameterCondition parameterRef="" value="" rule="lessThan"/>
</ByValueCondition>
</Condition>
<Condition name="criteria_DrivenDistanceTest" delay="0" conditionEdge="rising">
<ByValueCondition>
<ParameterCondition parameterRef="distance_success" value="100" rule="lessThan"/>
</ByValueCondition>
</Condition>
</ConditionGroup>
</StopTrigger>
</Storyboard>
</OpenSCENARIO>
``` |
i would like to order you to remove pedestrian actor named pedestrian_close_to_adversary_6022?
```
<?xml version="1.0" ?>
<OpenSCENARIO>
<FileHeader revMajor="1" revMinor="0" date="2020-03-24T12:00:00" description="CARLA:LaneChangeSimple" author=""/>
<ParameterDeclarations/>
<CatalogLocations/>
<RoadNetwork>
<LogicFile filepath="Town04"/>
<SceneGraphFile filepath=""/>
</RoadNetwork>
<Entities>
<ScenarioObject name="hero">
<Vehicle name="vehicle.tesla.model3" vehicleCategory="car">
<ParameterDeclarations/>
<Performance maxSpeed="69.444" maxAcceleration="200" maxDeceleration="10.0"/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2.1" length="4.5" height="1.8"/>
</BoundingBox>
<Axles>
<FrontAxle maxSteering="0.5" wheelDiameter="0.6" trackWidth="1.8" positionX="3.1" positionZ="0.3"/>
<RearAxle maxSteering="0.0" wheelDiameter="0.6" trackWidth="1.8" positionX="0.0" positionZ="0.3"/>
</Axles>
<Properties>
<Property name="type" value="ego_vehicle"/>
</Properties>
</Vehicle>
</ScenarioObject>
<ScenarioObject name="adversary">
<Vehicle name="vehicle.lincoln.mkz_2017" vehicleCategory="car">
<ParameterDeclarations/>
<Performance maxSpeed="69.444" maxAcceleration="200" maxDeceleration="10.0"/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2.1" length="4.5" height="1.8"/>
</BoundingBox>
<Axles>
<FrontAxle maxSteering="0.5" wheelDiameter="0.6" trackWidth="1.8" positionX="3.1" positionZ="0.3"/>
<RearAxle maxSteering="0.0" wheelDiameter="0.6" trackWidth="1.8" positionX="0.0" positionZ="0.3"/>
</Axles>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Vehicle>
</ScenarioObject>
<ScenarioObject name="standing">
<Vehicle name="vehicle.volkswagen.t2" vehicleCategory="car">
<ParameterDeclarations/>
<Performance maxSpeed="69.444" maxAcceleration="200" maxDeceleration="10.0"/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2.1" length="4.5" height="1.8"/>
</BoundingBox>
<Axles>
<FrontAxle maxSteering="0.5" wheelDiameter="0.6" trackWidth="1.8" positionX="3.1" positionZ="0.3"/>
<RearAxle maxSteering="0.0" wheelDiameter="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_6011">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_w_transform_6012">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_w_transform_6015">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_close_to_adversary_6016">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_w_transform_6017">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_w_transform_6018">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_close_to_hero_6019">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_w_transform_6021">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_close_to_adversary_6022">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_close_to_hero_6024">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_close_to_hero_6026">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_w_transform_6027">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_w_transform_6028">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_close_to_hero_6029">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_close_to_standing_6030">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
</Entities>
<Storyboard>
<Init>
<Actions>
<GlobalAction>
<EnvironmentAction>
<Environment name="Environment1">
<TimeOfDay animation="false" dateTime="2019-06-25T12:00:00"/>
<Weather cloudState="free">
<Sun intensity="0.85" azimuth="0" elevation="1.31"/>
<Fog visualRange="100000.0"/>
<Precipitation precipitationType="dry" intensity="0.0"/>
</Weather>
<RoadCondition frictionScaleFactor="1.0"/>
</Environment>
</EnvironmentAction>
</GlobalAction>
<Private entityRef="hero">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-9.4" y="-152.8" z="0.5" h="1.57079632679"/>
</Position>
</TeleportAction>
</PrivateAction>
<PrivateAction>
<ControllerAction>
<AssignControllerAction>
<Controller name="HeroAgent">
<Properties>
<Property name="module" value="external_control"/>
</Properties>
</Controller>
</AssignControllerAction>
<OverrideControllerValueAction>
<Throttle value="0" active="false"/>
<Brake value="0" active="false"/>
<Clutch value="0" active="false"/>
<ParkingBrake value="0" active="false"/>
<SteeringWheel value="0" active="false"/>
<Gear number="0" active="false"/>
</OverrideControllerValueAction>
</ControllerAction>
</PrivateAction>
</Private>
<Private entityRef="adversary">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-9.4" y="-71.0" z="0.5" h="1.57079632679"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="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_6011">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="44.39488983154297" y="-88.2677230834961" z="0.5"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_w_transform_6012">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="63.39530944824219" y="26.914369583129883" z="0.5"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_w_transform_6015">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-31.012439727783203" y="68.94990539550781" z="0.5"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_close_to_adversary_6016">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-16.433948516845703" y="-62.121639251708984" z="0.033868178725242615"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_w_transform_6017">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-56.04369354248047" y="4.116422653198242" z="0.5"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_w_transform_6018">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="49.39576721191406" y="9.573393821716309" z="0.5"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_close_to_hero_6019">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-15.971159934997559" y="-153.79995727539062" z="0.0014286803780123591"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_w_transform_6021">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-62.618499755859375" y="63.117156982421875" z="0.5"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_close_to_adversary_6022">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-2.1895663738250732" y="-64.0775146484375" z="0.03381309285759926"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_close_to_hero_6024">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-3.1588995456695557" y="-155.4042205810547" z="0.0014286803780123591"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_close_to_hero_6026">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="4.601552963256836" y="-153.84568786621094" z="0.0014286803780123591"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_w_transform_6027">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-97.38719940185547" y="95.154296875" z="0.5"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_w_transform_6028">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-10.812110900878906" y="58.56806945800781" z="0.5"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_close_to_hero_6029">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-19.04315185546875" y="-148.41232299804688" z="0.0014286803780123591"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_close_to_standing_6030">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-5.967047214508057" y="19.21968650817871" z="0.003057784866541624"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
</Actions>
</Init>
<Story name="MyStory">
<Act name="Behavior">
<ManeuverGroup maximumExecutionCount="1" name="ManeuverSequence">
<Actors selectTriggeringEntities="false">
<EntityRef entityRef="adversary"/>
</Actors>
<Maneuver name="LaneChangeSimpleManeuver">
<Event name="AdversaryAccelerates" priority="overwrite">
<Action name="AdversaryAccelerates">
<PrivateAction>
<LongitudinalAction>
<SpeedAction>
<SpeedActionDynamics dynamicsShape="step" value="50" dynamicsDimension="distance"/>
<SpeedActionTarget>
<AbsoluteTargetSpeed value="5.0"/>
</SpeedActionTarget>
</SpeedAction>
</LongitudinalAction>
</PrivateAction>
</Action>
<StartTrigger>
<ConditionGroup>
<Condition name="StartCondition" delay="0" conditionEdge="rising">
<ByEntityCondition>
<TriggeringEntities triggeringEntitiesRule="any">
<EntityRef entityRef="hero"/>
</TriggeringEntities>
<EntityCondition>
<RelativeDistanceCondition entityRef="adversary" relativeDistanceType="cartesianDistance" value="40.0" freespace="false" rule="lessThan"/>
</EntityCondition>
</ByEntityCondition>
</Condition>
</ConditionGroup>
</StartTrigger>
</Event>
<Event name="AdversaryChangesLane" priority="overwrite">
<Action name="AdversaryChangesLane">
<PrivateAction>
<LateralAction>
<LaneChangeAction>
<LaneChangeActionDynamics dynamicsShape="linear" value="25" dynamicsDimension="distance"/>
<LaneChangeTarget>
<RelativeTargetLane entityRef="adversary" value="-1"/>
</LaneChangeTarget>
</LaneChangeAction>
</LateralAction>
</PrivateAction>
</Action>
<StartTrigger>
<ConditionGroup>
<Condition name="AfterAdversaryAccelerates" delay="0" conditionEdge="rising">
<ByValueCondition>
<StoryboardElementStateCondition storyboardElementType="action" storyboardElementRef="AdversaryAccelerates" state="completeState"/>
</ByValueCondition>
</Condition>
</ConditionGroup>
</StartTrigger>
</Event>
</Maneuver>
</ManeuverGroup>
<StartTrigger>
<ConditionGroup>
<Condition name="OverallStartCondition" delay="0" conditionEdge="rising">
<ByEntityCondition>
<TriggeringEntities triggeringEntitiesRule="any">
<EntityRef entityRef="hero"/>
</TriggeringEntities>
<EntityCondition>
<TraveledDistanceCondition value="1.0"/>
</EntityCondition>
</ByEntityCondition>
</Condition>
<Condition name="StartTime" delay="0" conditionEdge="rising">
<ByValueCondition>
<SimulationTimeCondition value="0" rule="equalTo"/>
</ByValueCondition>
</Condition>
</ConditionGroup>
</StartTrigger>
<StopTrigger>
<ConditionGroup>
<Condition name="EndCondition" delay="0" conditionEdge="rising">
<ByEntityCondition>
<TriggeringEntities triggeringEntitiesRule="any">
<EntityRef entityRef="hero"/>
</TriggeringEntities>
<EntityCondition>
<TraveledDistanceCondition value="200.0"/>
</EntityCondition>
</ByEntityCondition>
</Condition>
</ConditionGroup>
</StopTrigger>
</Act>
</Story>
<StopTrigger>
<ConditionGroup>
<Condition name="criteria_RunningStopTest" delay="0" conditionEdge="rising">
<ByValueCondition>
<ParameterCondition parameterRef="" value="" rule="lessThan"/>
</ByValueCondition>
</Condition>
<Condition name="criteria_RunningRedLightTest" delay="0" conditionEdge="rising">
<ByValueCondition>
<ParameterCondition parameterRef="" value="" rule="lessThan"/>
</ByValueCondition>
</Condition>
<Condition name="criteria_WrongLaneTest" delay="0" conditionEdge="rising">
<ByValueCondition>
<ParameterCondition parameterRef="" value="" rule="lessThan"/>
</ByValueCondition>
</Condition>
<Condition name="criteria_OnSidewalkTest" delay="0" conditionEdge="rising">
<ByValueCondition>
<ParameterCondition parameterRef="" value="" rule="lessThan"/>
</ByValueCondition>
</Condition>
<Condition name="criteria_KeepLaneTest" delay="0" conditionEdge="rising">
<ByValueCondition>
<ParameterCondition parameterRef="" value="" rule="lessThan"/>
</ByValueCondition>
</Condition>
<Condition name="criteria_CollisionTest" delay="0" conditionEdge="rising">
<ByValueCondition>
<ParameterCondition parameterRef="" value="" rule="lessThan"/>
</ByValueCondition>
</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_6011">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_w_transform_6012">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_w_transform_6015">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_close_to_adversary_6016">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_w_transform_6017">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_w_transform_6018">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_close_to_hero_6019">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_w_transform_6021">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_close_to_hero_6024">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_close_to_hero_6026">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_w_transform_6027">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_w_transform_6028">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_close_to_hero_6029">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_close_to_standing_6030">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
</Entities>
<Storyboard>
<Init>
<Actions>
<GlobalAction>
<EnvironmentAction>
<Environment name="Environment1">
<TimeOfDay animation="false" dateTime="2019-06-25T12:00:00"/>
<Weather cloudState="free">
<Sun intensity="0.85" azimuth="0" elevation="1.31"/>
<Fog visualRange="100000.0"/>
<Precipitation precipitationType="dry" intensity="0.0"/>
</Weather>
<RoadCondition frictionScaleFactor="1.0"/>
</Environment>
</EnvironmentAction>
</GlobalAction>
<Private entityRef="hero">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-9.4" y="-152.8" z="0.5" h="1.57079632679"/>
</Position>
</TeleportAction>
</PrivateAction>
<PrivateAction>
<ControllerAction>
<AssignControllerAction>
<Controller name="HeroAgent">
<Properties>
<Property name="module" value="external_control"/>
</Properties>
</Controller>
</AssignControllerAction>
<OverrideControllerValueAction>
<Throttle value="0" active="false"/>
<Brake value="0" active="false"/>
<Clutch value="0" active="false"/>
<ParkingBrake value="0" active="false"/>
<SteeringWheel value="0" active="false"/>
<Gear number="0" active="false"/>
</OverrideControllerValueAction>
</ControllerAction>
</PrivateAction>
</Private>
<Private entityRef="adversary">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-9.4" y="-71.0" z="0.5" h="1.57079632679"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="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_6011">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="44.39488983154297" y="-88.2677230834961" z="0.5"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_w_transform_6012">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="63.39530944824219" y="26.914369583129883" z="0.5"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_w_transform_6015">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-31.012439727783203" y="68.94990539550781" z="0.5"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_close_to_adversary_6016">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-16.433948516845703" y="-62.121639251708984" z="0.033868178725242615"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_w_transform_6017">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-56.04369354248047" y="4.116422653198242" z="0.5"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_w_transform_6018">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="49.39576721191406" y="9.573393821716309" z="0.5"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_close_to_hero_6019">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-15.971159934997559" y="-153.79995727539062" z="0.0014286803780123591"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_w_transform_6021">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-62.618499755859375" y="63.117156982421875" z="0.5"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_close_to_hero_6024">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-3.1588995456695557" y="-155.4042205810547" z="0.0014286803780123591"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_close_to_hero_6026">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="4.601552963256836" y="-153.84568786621094" z="0.0014286803780123591"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_w_transform_6027">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-97.38719940185547" y="95.154296875" z="0.5"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_w_transform_6028">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-10.812110900878906" y="58.56806945800781" z="0.5"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_close_to_hero_6029">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-19.04315185546875" y="-148.41232299804688" z="0.0014286803780123591"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_close_to_standing_6030">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-5.967047214508057" y="19.21968650817871" z="0.003057784866541624"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
</Actions>
</Init>
<Story name="MyStory">
<Act name="Behavior">
<ManeuverGroup maximumExecutionCount="1" name="ManeuverSequence">
<Actors selectTriggeringEntities="false">
<EntityRef entityRef="adversary"/>
</Actors>
<Maneuver name="LaneChangeSimpleManeuver">
<Event name="AdversaryAccelerates" priority="overwrite">
<Action name="AdversaryAccelerates">
<PrivateAction>
<LongitudinalAction>
<SpeedAction>
<SpeedActionDynamics dynamicsShape="step" value="50" dynamicsDimension="distance"/>
<SpeedActionTarget>
<AbsoluteTargetSpeed value="5.0"/>
</SpeedActionTarget>
</SpeedAction>
</LongitudinalAction>
</PrivateAction>
</Action>
<StartTrigger>
<ConditionGroup>
<Condition name="StartCondition" delay="0" conditionEdge="rising">
<ByEntityCondition>
<TriggeringEntities triggeringEntitiesRule="any">
<EntityRef entityRef="hero"/>
</TriggeringEntities>
<EntityCondition>
<RelativeDistanceCondition entityRef="adversary" relativeDistanceType="cartesianDistance" value="40.0" freespace="false" rule="lessThan"/>
</EntityCondition>
</ByEntityCondition>
</Condition>
</ConditionGroup>
</StartTrigger>
</Event>
<Event name="AdversaryChangesLane" priority="overwrite">
<Action name="AdversaryChangesLane">
<PrivateAction>
<LateralAction>
<LaneChangeAction>
<LaneChangeActionDynamics dynamicsShape="linear" value="25" dynamicsDimension="distance"/>
<LaneChangeTarget>
<RelativeTargetLane entityRef="adversary" value="-1"/>
</LaneChangeTarget>
</LaneChangeAction>
</LateralAction>
</PrivateAction>
</Action>
<StartTrigger>
<ConditionGroup>
<Condition name="AfterAdversaryAccelerates" delay="0" conditionEdge="rising">
<ByValueCondition>
<StoryboardElementStateCondition storyboardElementType="action" storyboardElementRef="AdversaryAccelerates" state="completeState"/>
</ByValueCondition>
</Condition>
</ConditionGroup>
</StartTrigger>
</Event>
</Maneuver>
</ManeuverGroup>
<StartTrigger>
<ConditionGroup>
<Condition name="OverallStartCondition" delay="0" conditionEdge="rising">
<ByEntityCondition>
<TriggeringEntities triggeringEntitiesRule="any">
<EntityRef entityRef="hero"/>
</TriggeringEntities>
<EntityCondition>
<TraveledDistanceCondition value="1.0"/>
</EntityCondition>
</ByEntityCondition>
</Condition>
<Condition name="StartTime" delay="0" conditionEdge="rising">
<ByValueCondition>
<SimulationTimeCondition value="0" rule="equalTo"/>
</ByValueCondition>
</Condition>
</ConditionGroup>
</StartTrigger>
<StopTrigger>
<ConditionGroup>
<Condition name="EndCondition" delay="0" conditionEdge="rising">
<ByEntityCondition>
<TriggeringEntities triggeringEntitiesRule="any">
<EntityRef entityRef="hero"/>
</TriggeringEntities>
<EntityCondition>
<TraveledDistanceCondition value="200.0"/>
</EntityCondition>
</ByEntityCondition>
</Condition>
</ConditionGroup>
</StopTrigger>
</Act>
</Story>
<StopTrigger>
<ConditionGroup>
<Condition name="criteria_RunningStopTest" delay="0" conditionEdge="rising">
<ByValueCondition>
<ParameterCondition parameterRef="" value="" rule="lessThan"/>
</ByValueCondition>
</Condition>
<Condition name="criteria_RunningRedLightTest" delay="0" conditionEdge="rising">
<ByValueCondition>
<ParameterCondition parameterRef="" value="" rule="lessThan"/>
</ByValueCondition>
</Condition>
<Condition name="criteria_WrongLaneTest" delay="0" conditionEdge="rising">
<ByValueCondition>
<ParameterCondition parameterRef="" value="" rule="lessThan"/>
</ByValueCondition>
</Condition>
<Condition name="criteria_OnSidewalkTest" delay="0" conditionEdge="rising">
<ByValueCondition>
<ParameterCondition parameterRef="" value="" rule="lessThan"/>
</ByValueCondition>
</Condition>
<Condition name="criteria_KeepLaneTest" delay="0" conditionEdge="rising">
<ByValueCondition>
<ParameterCondition parameterRef="" value="" rule="lessThan"/>
</ByValueCondition>
</Condition>
<Condition name="criteria_CollisionTest" delay="0" conditionEdge="rising">
<ByValueCondition>
<ParameterCondition parameterRef="" value="" rule="lessThan"/>
</ByValueCondition>
</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>
<ScenarioObject name="pedestrian_close_to_adversary_3230">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_w_transform_3231">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_w_transform_3232">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_close_to_hero_3233">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_w_transform_3234">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_w_transform_3235">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_w_transform_3236">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_w_transform_3237">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_close_to_hero_3238">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_w_transform_3239">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_close_to_adversary_3240">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_close_to_adversary_3241">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_close_to_standing_3242">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_w_transform_3243">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_w_transform_3244">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_w_transform_3245">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_close_to_adversary_3246">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_w_transform_3247">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
</Entities>
<Storyboard>
<Init>
<Actions>
<GlobalAction>
<EnvironmentAction>
<Environment name="Environment1">
<TimeOfDay animation="false" dateTime="2019-06-25T12:00:00"/>
<Weather cloudState="free">
<Sun intensity="0.85" azimuth="0" elevation="1.31"/>
<Fog visualRange="100000.0"/>
<Precipitation precipitationType="dry" intensity="0.0"/>
</Weather>
<RoadCondition frictionScaleFactor="1.0"/>
</Environment>
</EnvironmentAction>
</GlobalAction>
<Private entityRef="hero">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-9.4" y="-152.8" z="0.5" h="1.57079632679"/>
</Position>
</TeleportAction>
</PrivateAction>
<PrivateAction>
<ControllerAction>
<AssignControllerAction>
<Controller name="HeroAgent">
<Properties>
<Property name="module" value="external_control"/>
</Properties>
</Controller>
</AssignControllerAction>
<OverrideControllerValueAction>
<Throttle value="0" active="false"/>
<Brake value="0" active="false"/>
<Clutch value="0" active="false"/>
<ParkingBrake value="0" active="false"/>
<SteeringWheel value="0" active="false"/>
<Gear number="0" active="false"/>
</OverrideControllerValueAction>
</ControllerAction>
</PrivateAction>
</Private>
<Private entityRef="adversary">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-9.4" y="-71.0" z="0.5" h="1.57079632679"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="standing">
<PrivateAction>
<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_3230">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-5.571569442749023" y="-79.62088012695312" z="0.033813245594501495"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_w_transform_3231">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="85.2323989868164" y="0.797179102897644" z="0.5"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_w_transform_3232">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-81.82051086425781" y="-83.19381713867188" z="0.5"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_close_to_hero_3233">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-8.444212913513184" y="-134.23257446289062" z="0.0014286803780123591"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_w_transform_3234">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-16.73226547241211" y="-22.424436569213867" z="0.5"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_w_transform_3235">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-23.82465171813965" y="88.3296127319336" z="0.5"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_w_transform_3236">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-65.71351623535156" y="81.99244689941406" z="0.5"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_w_transform_3237">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-91.89572143554688" y="-20.82076644897461" z="0.5"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_close_to_hero_3238">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-9.332010269165039" y="-150.5838165283203" z="0.0014286803780123591"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_w_transform_3239">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="16.133974075317383" y="-94.65275573730469" z="0.5"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_close_to_adversary_3240">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-1.418958067893982" y="-71.30329895019531" z="0.033801231533288956"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_close_to_adversary_3241">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-16.992755889892578" y="-71.73760223388672" z="0.03380321338772774"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_close_to_standing_3242">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="1.787461280822754" y="36.89815139770508" z="0.0030464171431958675"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_w_transform_3243">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="71.78827667236328" y="-7.36106014251709" z="0.5"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_w_transform_3244">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-26.690101623535156" y="-80.98117065429688" z="0.5"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_w_transform_3245">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-91.07720947265625" y="4.198666095733643" z="0.5"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_close_to_adversary_3246">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="5.606000900268555" y="-65.95001220703125" z="0.0338149257004261"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_w_transform_3247">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-76.90608978271484" y="-40.53868103027344" 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_3230">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_w_transform_3231">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_w_transform_3232">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_close_to_hero_3233">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_w_transform_3234">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_w_transform_3235">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_w_transform_3236">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_w_transform_3237">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_close_to_hero_3238">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_w_transform_3239">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_close_to_adversary_3240">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_close_to_adversary_3241">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_close_to_standing_3242">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_w_transform_3243">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_w_transform_3244">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_w_transform_3245">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_close_to_adversary_3246">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_w_transform_3247">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_close_to_hero_3248">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
</Entities>
<Storyboard>
<Init>
<Actions>
<GlobalAction>
<EnvironmentAction>
<Environment name="Environment1">
<TimeOfDay animation="false" dateTime="2019-06-25T12:00:00"/>
<Weather cloudState="free">
<Sun intensity="0.85" azimuth="0" elevation="1.31"/>
<Fog visualRange="100000.0"/>
<Precipitation precipitationType="dry" intensity="0.0"/>
</Weather>
<RoadCondition frictionScaleFactor="1.0"/>
</Environment>
</EnvironmentAction>
</GlobalAction>
<Private entityRef="hero">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-9.4" y="-152.8" z="0.5" h="1.57079632679"/>
</Position>
</TeleportAction>
</PrivateAction>
<PrivateAction>
<ControllerAction>
<AssignControllerAction>
<Controller name="HeroAgent">
<Properties>
<Property name="module" value="external_control"/>
</Properties>
</Controller>
</AssignControllerAction>
<OverrideControllerValueAction>
<Throttle value="0" active="false"/>
<Brake value="0" active="false"/>
<Clutch value="0" active="false"/>
<ParkingBrake value="0" active="false"/>
<SteeringWheel value="0" active="false"/>
<Gear number="0" active="false"/>
</OverrideControllerValueAction>
</ControllerAction>
</PrivateAction>
</Private>
<Private entityRef="adversary">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-9.4" y="-71.0" z="0.5" h="1.57079632679"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="standing">
<PrivateAction>
<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_3230">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-5.571569442749023" y="-79.62088012695312" z="0.033813245594501495"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_w_transform_3231">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="85.2323989868164" y="0.797179102897644" z="0.5"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_w_transform_3232">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-81.82051086425781" y="-83.19381713867188" z="0.5"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_close_to_hero_3233">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-8.444212913513184" y="-134.23257446289062" z="0.0014286803780123591"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_w_transform_3234">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-16.73226547241211" y="-22.424436569213867" z="0.5"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_w_transform_3235">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-23.82465171813965" y="88.3296127319336" z="0.5"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_w_transform_3236">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-65.71351623535156" y="81.99244689941406" z="0.5"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_w_transform_3237">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-91.89572143554688" y="-20.82076644897461" z="0.5"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_close_to_hero_3238">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-9.332010269165039" y="-150.5838165283203" z="0.0014286803780123591"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_w_transform_3239">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="16.133974075317383" y="-94.65275573730469" z="0.5"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_close_to_adversary_3240">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-1.418958067893982" y="-71.30329895019531" z="0.033801231533288956"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_close_to_adversary_3241">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-16.992755889892578" y="-71.73760223388672" z="0.03380321338772774"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_close_to_standing_3242">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="1.787461280822754" y="36.89815139770508" z="0.0030464171431958675"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_w_transform_3243">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="71.78827667236328" y="-7.36106014251709" z="0.5"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_w_transform_3244">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-26.690101623535156" y="-80.98117065429688" z="0.5"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_w_transform_3245">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-91.07720947265625" y="4.198666095733643" z="0.5"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_close_to_adversary_3246">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="5.606000900268555" y="-65.95001220703125" z="0.0338149257004261"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_w_transform_3247">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-76.90608978271484" y="-40.53868103027344" z="0.5"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_close_to_hero_3248">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-14.844206809997559" y="-159.1784210205078" z="0.0014286803780123591"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
</Actions>
</Init>
<Story name="MyStory">
<Act name="Behavior">
<ManeuverGroup maximumExecutionCount="1" name="ManeuverSequence">
<Actors selectTriggeringEntities="false">
<EntityRef entityRef="adversary"/>
</Actors>
<Maneuver name="LaneChangeSimpleManeuver">
<Event name="AdversaryAccelerates" priority="overwrite">
<Action name="AdversaryAccelerates">
<PrivateAction>
<LongitudinalAction>
<SpeedAction>
<SpeedActionDynamics dynamicsShape="step" value="50" dynamicsDimension="distance"/>
<SpeedActionTarget>
<AbsoluteTargetSpeed value="5.0"/>
</SpeedActionTarget>
</SpeedAction>
</LongitudinalAction>
</PrivateAction>
</Action>
<StartTrigger>
<ConditionGroup>
<Condition name="StartCondition" delay="0" conditionEdge="rising">
<ByEntityCondition>
<TriggeringEntities triggeringEntitiesRule="any">
<EntityRef entityRef="hero"/>
</TriggeringEntities>
<EntityCondition>
<RelativeDistanceCondition entityRef="adversary" relativeDistanceType="cartesianDistance" value="40.0" freespace="false" rule="lessThan"/>
</EntityCondition>
</ByEntityCondition>
</Condition>
</ConditionGroup>
</StartTrigger>
</Event>
<Event name="AdversaryChangesLane" priority="overwrite">
<Action name="AdversaryChangesLane">
<PrivateAction>
<LateralAction>
<LaneChangeAction>
<LaneChangeActionDynamics dynamicsShape="linear" value="25" dynamicsDimension="distance"/>
<LaneChangeTarget>
<RelativeTargetLane entityRef="adversary" value="-1"/>
</LaneChangeTarget>
</LaneChangeAction>
</LateralAction>
</PrivateAction>
</Action>
<StartTrigger>
<ConditionGroup>
<Condition name="AfterAdversaryAccelerates" delay="0" conditionEdge="rising">
<ByValueCondition>
<StoryboardElementStateCondition storyboardElementType="action" storyboardElementRef="AdversaryAccelerates" state="completeState"/>
</ByValueCondition>
</Condition>
</ConditionGroup>
</StartTrigger>
</Event>
</Maneuver>
</ManeuverGroup>
<StartTrigger>
<ConditionGroup>
<Condition name="OverallStartCondition" delay="0" conditionEdge="rising">
<ByEntityCondition>
<TriggeringEntities triggeringEntitiesRule="any">
<EntityRef entityRef="hero"/>
</TriggeringEntities>
<EntityCondition>
<TraveledDistanceCondition value="1.0"/>
</EntityCondition>
</ByEntityCondition>
</Condition>
<Condition name="StartTime" delay="0" conditionEdge="rising">
<ByValueCondition>
<SimulationTimeCondition value="0" rule="equalTo"/>
</ByValueCondition>
</Condition>
</ConditionGroup>
</StartTrigger>
<StopTrigger>
<ConditionGroup>
<Condition name="EndCondition" delay="0" conditionEdge="rising">
<ByEntityCondition>
<TriggeringEntities triggeringEntitiesRule="any">
<EntityRef entityRef="hero"/>
</TriggeringEntities>
<EntityCondition>
<TraveledDistanceCondition value="200.0"/>
</EntityCondition>
</ByEntityCondition>
</Condition>
</ConditionGroup>
</StopTrigger>
</Act>
</Story>
<StopTrigger>
<ConditionGroup>
<Condition name="criteria_RunningStopTest" delay="0" conditionEdge="rising">
<ByValueCondition>
<ParameterCondition parameterRef="" value="" rule="lessThan"/>
</ByValueCondition>
</Condition>
<Condition name="criteria_RunningRedLightTest" delay="0" conditionEdge="rising">
<ByValueCondition>
<ParameterCondition parameterRef="" value="" rule="lessThan"/>
</ByValueCondition>
</Condition>
<Condition name="criteria_WrongLaneTest" delay="0" conditionEdge="rising">
<ByValueCondition>
<ParameterCondition parameterRef="" value="" rule="lessThan"/>
</ByValueCondition>
</Condition>
<Condition name="criteria_OnSidewalkTest" delay="0" conditionEdge="rising">
<ByValueCondition>
<ParameterCondition parameterRef="" value="" rule="lessThan"/>
</ByValueCondition>
</Condition>
<Condition name="criteria_KeepLaneTest" delay="0" conditionEdge="rising">
<ByValueCondition>
<ParameterCondition parameterRef="" value="" rule="lessThan"/>
</ByValueCondition>
</Condition>
<Condition name="criteria_CollisionTest" delay="0" conditionEdge="rising">
<ByValueCondition>
<ParameterCondition parameterRef="" value="" rule="lessThan"/>
</ByValueCondition>
</Condition>
<Condition name="criteria_DrivenDistanceTest" delay="0" conditionEdge="rising">
<ByValueCondition>
<ParameterCondition parameterRef="distance_success" value="100" rule="lessThan"/>
</ByValueCondition>
</Condition>
</ConditionGroup>
</StopTrigger>
</Storyboard>
</OpenSCENARIO>
``` |
i would like to request you to add pedestrian at location (38.78, 25.0, 0.5)?
```
<?xml version="1.0" ?>
<OpenSCENARIO>
<FileHeader revMajor="1" revMinor="0" date="2020-03-24T12:00:00" description="CARLA:LaneChangeSimple" author=""/>
<ParameterDeclarations/>
<CatalogLocations/>
<RoadNetwork>
<LogicFile filepath="Town04"/>
<SceneGraphFile filepath=""/>
</RoadNetwork>
<Entities>
<ScenarioObject name="hero">
<Vehicle name="vehicle.tesla.model3" vehicleCategory="car">
<ParameterDeclarations/>
<Performance maxSpeed="69.444" maxAcceleration="200" maxDeceleration="10.0"/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2.1" length="4.5" height="1.8"/>
</BoundingBox>
<Axles>
<FrontAxle maxSteering="0.5" wheelDiameter="0.6" trackWidth="1.8" positionX="3.1" positionZ="0.3"/>
<RearAxle maxSteering="0.0" wheelDiameter="0.6" trackWidth="1.8" positionX="0.0" positionZ="0.3"/>
</Axles>
<Properties>
<Property name="type" value="ego_vehicle"/>
</Properties>
</Vehicle>
</ScenarioObject>
<ScenarioObject name="adversary">
<Vehicle name="vehicle.lincoln.mkz_2017" vehicleCategory="car">
<ParameterDeclarations/>
<Performance maxSpeed="69.444" maxAcceleration="200" maxDeceleration="10.0"/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2.1" length="4.5" height="1.8"/>
</BoundingBox>
<Axles>
<FrontAxle maxSteering="0.5" wheelDiameter="0.6" trackWidth="1.8" positionX="3.1" positionZ="0.3"/>
<RearAxle maxSteering="0.0" wheelDiameter="0.6" trackWidth="1.8" positionX="0.0" positionZ="0.3"/>
</Axles>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Vehicle>
</ScenarioObject>
<ScenarioObject name="standing">
<Vehicle name="vehicle.volkswagen.t2" vehicleCategory="car">
<ParameterDeclarations/>
<Performance maxSpeed="69.444" maxAcceleration="200" maxDeceleration="10.0"/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2.1" length="4.5" height="1.8"/>
</BoundingBox>
<Axles>
<FrontAxle maxSteering="0.5" wheelDiameter="0.6" trackWidth="1.8" positionX="3.1" positionZ="0.3"/>
<RearAxle maxSteering="0.0" wheelDiameter="0.6" trackWidth="1.8" positionX="0.0" positionZ="0.3"/>
</Axles>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Vehicle>
</ScenarioObject>
<ScenarioObject name="pedestrian_close_to_hero_6497">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_w_transform_6498">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_close_to_standing_6499">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_close_to_adversary_6500">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_close_to_hero_6501">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_close_to_hero_6503">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_close_to_adversary_6504">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_w_transform_6505">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_w_transform_6506">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_w_transform_6507">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_close_to_adversary_6508">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_close_to_adversary_6509">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_close_to_standing_6510">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_close_to_adversary_6511">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_close_to_hero_6512">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_w_transform_6513">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_close_to_standing_6514">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_w_transform_6515">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_close_to_hero_6516">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_close_to_standing_6517">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_w_transform_6518">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_w_transform_6519">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_close_to_standing_6520">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_close_to_standing_6521">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_close_to_adversary_6522">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
</Entities>
<Storyboard>
<Init>
<Actions>
<GlobalAction>
<EnvironmentAction>
<Environment name="Environment1">
<TimeOfDay animation="false" dateTime="2019-06-25T12:00:00"/>
<Weather cloudState="free">
<Sun intensity="0.85" azimuth="0" elevation="1.31"/>
<Fog visualRange="100000.0"/>
<Precipitation precipitationType="dry" intensity="0.0"/>
</Weather>
<RoadCondition frictionScaleFactor="1.0"/>
</Environment>
</EnvironmentAction>
</GlobalAction>
<Private entityRef="hero">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-9.4" y="-152.8" z="0.5" h="1.57079632679"/>
</Position>
</TeleportAction>
</PrivateAction>
<PrivateAction>
<ControllerAction>
<AssignControllerAction>
<Controller name="HeroAgent">
<Properties>
<Property name="module" value="external_control"/>
</Properties>
</Controller>
</AssignControllerAction>
<OverrideControllerValueAction>
<Throttle value="0" active="false"/>
<Brake value="0" active="false"/>
<Clutch value="0" active="false"/>
<ParkingBrake value="0" active="false"/>
<SteeringWheel value="0" active="false"/>
<Gear number="0" active="false"/>
</OverrideControllerValueAction>
</ControllerAction>
</PrivateAction>
</Private>
<Private entityRef="adversary">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-9.4" y="-71.0" z="0.5" h="1.57079632679"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="standing">
<PrivateAction>
<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_6497">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-1.3979034423828125" y="-162.34666442871094" z="0.0014286803780123591"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_w_transform_6498">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="83.05867004394531" y="-63.55458068847656" z="0.5"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_close_to_standing_6499">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-16.032175064086914" y="19.493915557861328" z="0.003061180002987385"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_close_to_adversary_6500">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-14.733025550842285" y="-80.65491485595703" z="0.033762168139219284"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_close_to_hero_6501">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-2.6150941848754883" y="-162.18179321289062" z="0.0014286803780123591"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_close_to_hero_6503">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-12.581153869628906" y="-152.9212188720703" z="0.0014286803780123591"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_close_to_adversary_6504">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-6.530298233032227" y="-75.66670227050781" z="0.03388732671737671"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_w_transform_6505">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-31.72064208984375" y="-20.334152221679688" z="0.5"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_w_transform_6506">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="31.048988342285156" y="62.87535095214844" z="0.5"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_w_transform_6507">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="32.72301483154297" y="66.27391052246094" z="0.5"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_close_to_adversary_6508">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-16.127016067504883" y="-78.46237182617188" z="0.03383800387382507"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_close_to_adversary_6509">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-1.774635672569275" y="-76.61085510253906" z="0.033779144287109375"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_close_to_standing_6510">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-5.091324329376221" y="27.682016372680664" z="0.0029873275198042393"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_close_to_adversary_6511">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-7.820829391479492" y="-80.4352798461914" z="0.033808592706918716"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_close_to_hero_6512">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-17.736711502075195" y="-150.96617126464844" z="0.0014286803780123591"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_w_transform_6513">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-30.221904754638672" y="69.28944396972656" z="0.5"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_close_to_standing_6514">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-11.465357780456543" y="22.155826568603516" z="0.0030405044090002775"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_w_transform_6515">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="84.47125244140625" y="-88.17649841308594" z="0.5"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_close_to_hero_6516">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="0.07307454198598862" y="-156.02552795410156" z="0.0014286803780123591"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_close_to_standing_6517">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-15.822670936584473" y="24.435585021972656" z="0.003046874888241291"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_w_transform_6518">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="98.21817016601562" y="-65.56514739990234" z="0.5"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_w_transform_6519">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="67.9157943725586" y="-38.50730514526367" z="0.5"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_close_to_standing_6520">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-11.210615158081055" y="20.529010772705078" z="0.003034400986507535"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_close_to_standing_6521">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-11.828105926513672" y="38.64739990234375" z="0.0030145645141601562"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_close_to_adversary_6522">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="12.070981979370117" y="-96.99169158935547" z="0.03378059342503548"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
</Actions>
</Init>
<Story name="MyStory">
<Act name="Behavior">
<ManeuverGroup maximumExecutionCount="1" name="ManeuverSequence">
<Actors selectTriggeringEntities="false">
<EntityRef entityRef="adversary"/>
</Actors>
<Maneuver name="LaneChangeSimpleManeuver">
<Event name="AdversaryAccelerates" priority="overwrite">
<Action name="AdversaryAccelerates">
<PrivateAction>
<LongitudinalAction>
<SpeedAction>
<SpeedActionDynamics dynamicsShape="step" value="50" dynamicsDimension="distance"/>
<SpeedActionTarget>
<AbsoluteTargetSpeed value="5.0"/>
</SpeedActionTarget>
</SpeedAction>
</LongitudinalAction>
</PrivateAction>
</Action>
<StartTrigger>
<ConditionGroup>
<Condition name="StartCondition" delay="0" conditionEdge="rising">
<ByEntityCondition>
<TriggeringEntities triggeringEntitiesRule="any">
<EntityRef entityRef="hero"/>
</TriggeringEntities>
<EntityCondition>
<RelativeDistanceCondition entityRef="adversary" relativeDistanceType="cartesianDistance" value="40.0" freespace="false" rule="lessThan"/>
</EntityCondition>
</ByEntityCondition>
</Condition>
</ConditionGroup>
</StartTrigger>
</Event>
<Event name="AdversaryChangesLane" priority="overwrite">
<Action name="AdversaryChangesLane">
<PrivateAction>
<LateralAction>
<LaneChangeAction>
<LaneChangeActionDynamics dynamicsShape="linear" value="25" dynamicsDimension="distance"/>
<LaneChangeTarget>
<RelativeTargetLane entityRef="adversary" value="-1"/>
</LaneChangeTarget>
</LaneChangeAction>
</LateralAction>
</PrivateAction>
</Action>
<StartTrigger>
<ConditionGroup>
<Condition name="AfterAdversaryAccelerates" delay="0" conditionEdge="rising">
<ByValueCondition>
<StoryboardElementStateCondition storyboardElementType="action" storyboardElementRef="AdversaryAccelerates" state="completeState"/>
</ByValueCondition>
</Condition>
</ConditionGroup>
</StartTrigger>
</Event>
</Maneuver>
</ManeuverGroup>
<StartTrigger>
<ConditionGroup>
<Condition name="OverallStartCondition" delay="0" conditionEdge="rising">
<ByEntityCondition>
<TriggeringEntities triggeringEntitiesRule="any">
<EntityRef entityRef="hero"/>
</TriggeringEntities>
<EntityCondition>
<TraveledDistanceCondition value="1.0"/>
</EntityCondition>
</ByEntityCondition>
</Condition>
<Condition name="StartTime" delay="0" conditionEdge="rising">
<ByValueCondition>
<SimulationTimeCondition value="0" rule="equalTo"/>
</ByValueCondition>
</Condition>
</ConditionGroup>
</StartTrigger>
<StopTrigger>
<ConditionGroup>
<Condition name="EndCondition" delay="0" conditionEdge="rising">
<ByEntityCondition>
<TriggeringEntities triggeringEntitiesRule="any">
<EntityRef entityRef="hero"/>
</TriggeringEntities>
<EntityCondition>
<TraveledDistanceCondition value="200.0"/>
</EntityCondition>
</ByEntityCondition>
</Condition>
</ConditionGroup>
</StopTrigger>
</Act>
</Story>
<StopTrigger>
<ConditionGroup>
<Condition name="criteria_RunningStopTest" delay="0" conditionEdge="rising">
<ByValueCondition>
<ParameterCondition parameterRef="" value="" rule="lessThan"/>
</ByValueCondition>
</Condition>
<Condition name="criteria_RunningRedLightTest" delay="0" conditionEdge="rising">
<ByValueCondition>
<ParameterCondition parameterRef="" value="" rule="lessThan"/>
</ByValueCondition>
</Condition>
<Condition name="criteria_WrongLaneTest" delay="0" conditionEdge="rising">
<ByValueCondition>
<ParameterCondition parameterRef="" value="" rule="lessThan"/>
</ByValueCondition>
</Condition>
<Condition name="criteria_OnSidewalkTest" delay="0" conditionEdge="rising">
<ByValueCondition>
<ParameterCondition parameterRef="" value="" rule="lessThan"/>
</ByValueCondition>
</Condition>
<Condition name="criteria_KeepLaneTest" delay="0" conditionEdge="rising">
<ByValueCondition>
<ParameterCondition parameterRef="" value="" rule="lessThan"/>
</ByValueCondition>
</Condition>
<Condition name="criteria_CollisionTest" delay="0" conditionEdge="rising">
<ByValueCondition>
<ParameterCondition parameterRef="" value="" rule="lessThan"/>
</ByValueCondition>
</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_6497">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_w_transform_6498">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_close_to_standing_6499">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_close_to_adversary_6500">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_close_to_hero_6501">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_close_to_hero_6503">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_close_to_adversary_6504">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_w_transform_6505">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_w_transform_6506">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_w_transform_6507">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_close_to_adversary_6508">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_close_to_adversary_6509">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_close_to_standing_6510">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_close_to_adversary_6511">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_close_to_hero_6512">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_w_transform_6513">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_close_to_standing_6514">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_w_transform_6515">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_close_to_hero_6516">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_close_to_standing_6517">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_w_transform_6518">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_w_transform_6519">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_close_to_standing_6520">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_close_to_standing_6521">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_close_to_adversary_6522">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_w_transform_6524">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
</Entities>
<Storyboard>
<Init>
<Actions>
<GlobalAction>
<EnvironmentAction>
<Environment name="Environment1">
<TimeOfDay animation="false" dateTime="2019-06-25T12:00:00"/>
<Weather cloudState="free">
<Sun intensity="0.85" azimuth="0" elevation="1.31"/>
<Fog visualRange="100000.0"/>
<Precipitation precipitationType="dry" intensity="0.0"/>
</Weather>
<RoadCondition frictionScaleFactor="1.0"/>
</Environment>
</EnvironmentAction>
</GlobalAction>
<Private entityRef="hero">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-9.4" y="-152.8" z="0.5" h="1.57079632679"/>
</Position>
</TeleportAction>
</PrivateAction>
<PrivateAction>
<ControllerAction>
<AssignControllerAction>
<Controller name="HeroAgent">
<Properties>
<Property name="module" value="external_control"/>
</Properties>
</Controller>
</AssignControllerAction>
<OverrideControllerValueAction>
<Throttle value="0" active="false"/>
<Brake value="0" active="false"/>
<Clutch value="0" active="false"/>
<ParkingBrake value="0" active="false"/>
<SteeringWheel value="0" active="false"/>
<Gear number="0" active="false"/>
</OverrideControllerValueAction>
</ControllerAction>
</PrivateAction>
</Private>
<Private entityRef="adversary">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-9.4" y="-71.0" z="0.5" h="1.57079632679"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="standing">
<PrivateAction>
<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_6497">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-1.3979034423828125" y="-162.34666442871094" z="0.0014286803780123591"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_w_transform_6498">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="83.05867004394531" y="-63.55458068847656" z="0.5"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_close_to_standing_6499">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-16.032175064086914" y="19.493915557861328" z="0.003061180002987385"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_close_to_adversary_6500">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-14.733025550842285" y="-80.65491485595703" z="0.033762168139219284"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_close_to_hero_6501">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-2.6150941848754883" y="-162.18179321289062" z="0.0014286803780123591"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_close_to_hero_6503">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-12.581153869628906" y="-152.9212188720703" z="0.0014286803780123591"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_close_to_adversary_6504">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-6.530298233032227" y="-75.66670227050781" z="0.03388732671737671"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_w_transform_6505">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-31.72064208984375" y="-20.334152221679688" z="0.5"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_w_transform_6506">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="31.048988342285156" y="62.87535095214844" z="0.5"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_w_transform_6507">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="32.72301483154297" y="66.27391052246094" z="0.5"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_close_to_adversary_6508">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-16.127016067504883" y="-78.46237182617188" z="0.03383800387382507"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_close_to_adversary_6509">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-1.774635672569275" y="-76.61085510253906" z="0.033779144287109375"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_close_to_standing_6510">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-5.091324329376221" y="27.682016372680664" z="0.0029873275198042393"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_close_to_adversary_6511">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-7.820829391479492" y="-80.4352798461914" z="0.033808592706918716"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_close_to_hero_6512">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-17.736711502075195" y="-150.96617126464844" z="0.0014286803780123591"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_w_transform_6513">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-30.221904754638672" y="69.28944396972656" z="0.5"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_close_to_standing_6514">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-11.465357780456543" y="22.155826568603516" z="0.0030405044090002775"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_w_transform_6515">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="84.47125244140625" y="-88.17649841308594" z="0.5"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_close_to_hero_6516">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="0.07307454198598862" y="-156.02552795410156" z="0.0014286803780123591"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_close_to_standing_6517">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-15.822670936584473" y="24.435585021972656" z="0.003046874888241291"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_w_transform_6518">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="98.21817016601562" y="-65.56514739990234" z="0.5"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_w_transform_6519">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="67.9157943725586" y="-38.50730514526367" z="0.5"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_close_to_standing_6520">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-11.210615158081055" y="20.529010772705078" z="0.003034400986507535"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_close_to_standing_6521">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-11.828105926513672" y="38.64739990234375" z="0.0030145645141601562"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_close_to_adversary_6522">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="12.070981979370117" y="-96.99169158935547" z="0.03378059342503548"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_w_transform_6524">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="38.78078079223633" y="24.99762535095215" 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 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_18233">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_close_to_hero_18234">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_close_to_standing_18235">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_w_transform_18236">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_w_transform_18237">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_w_transform_18238">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_w_transform_18239">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_close_to_adversary_18240">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_close_to_hero_18241">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_w_transform_18242">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
</Entities>
<Storyboard>
<Init>
<Actions>
<GlobalAction>
<EnvironmentAction>
<Environment name="Environment1">
<TimeOfDay animation="false" dateTime="2019-06-25T12:00:00"/>
<Weather cloudState="free">
<Sun intensity="0.85" azimuth="0" elevation="1.31"/>
<Fog visualRange="100000.0"/>
<Precipitation precipitationType="dry" intensity="0.0"/>
</Weather>
<RoadCondition frictionScaleFactor="1.0"/>
</Environment>
</EnvironmentAction>
</GlobalAction>
<Private entityRef="hero">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-9.4" y="-152.8" z="0.5" h="1.57079632679"/>
</Position>
</TeleportAction>
</PrivateAction>
<PrivateAction>
<ControllerAction>
<AssignControllerAction>
<Controller name="HeroAgent">
<Properties>
<Property name="module" value="external_control"/>
</Properties>
</Controller>
</AssignControllerAction>
<OverrideControllerValueAction>
<Throttle value="0" active="false"/>
<Brake value="0" active="false"/>
<Clutch value="0" active="false"/>
<ParkingBrake value="0" active="false"/>
<SteeringWheel value="0" active="false"/>
<Gear number="0" active="false"/>
</OverrideControllerValueAction>
</ControllerAction>
</PrivateAction>
</Private>
<Private entityRef="adversary">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-9.4" y="-71.0" z="0.5" h="1.57079632679"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="standing">
<PrivateAction>
<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_18233">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-5.9156084060668945" y="21.29607391357422" z="0.0030113982502371073"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_close_to_hero_18234">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-11.416915893554688" y="-153.5426025390625" z="0.0014286803780123591"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_close_to_standing_18235">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-1.777486801147461" y="39.07125473022461" z="0.003026351798325777"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_w_transform_18236">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="73.61369323730469" y="-44.5760612487793" z="0.5"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_w_transform_18237">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="67.87857055664062" y="79.60466766357422" z="0.5"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_w_transform_18238">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="55.4670524597168" y="-31.429418563842773" z="0.5"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_w_transform_18239">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-41.339988708496094" y="-8.678145408630371" z="0.5"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_close_to_adversary_18240">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-18.172771453857422" y="-64.7530288696289" z="0.033721234649419785"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_close_to_hero_18241">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-16.846912384033203" y="-142.46502685546875" z="0.0014286803780123591"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_w_transform_18242">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="47.159996032714844" y="-60.63502502441406" 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_18233">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_close_to_hero_18234">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_close_to_standing_18235">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_w_transform_18236">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_w_transform_18237">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_w_transform_18238">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_w_transform_18239">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_close_to_adversary_18240">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_close_to_hero_18241">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_w_transform_18242">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_close_to_adversary_18243">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
</Entities>
<Storyboard>
<Init>
<Actions>
<GlobalAction>
<EnvironmentAction>
<Environment name="Environment1">
<TimeOfDay animation="false" dateTime="2019-06-25T12:00:00"/>
<Weather cloudState="free">
<Sun intensity="0.85" azimuth="0" elevation="1.31"/>
<Fog visualRange="100000.0"/>
<Precipitation precipitationType="dry" intensity="0.0"/>
</Weather>
<RoadCondition frictionScaleFactor="1.0"/>
</Environment>
</EnvironmentAction>
</GlobalAction>
<Private entityRef="hero">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-9.4" y="-152.8" z="0.5" h="1.57079632679"/>
</Position>
</TeleportAction>
</PrivateAction>
<PrivateAction>
<ControllerAction>
<AssignControllerAction>
<Controller name="HeroAgent">
<Properties>
<Property name="module" value="external_control"/>
</Properties>
</Controller>
</AssignControllerAction>
<OverrideControllerValueAction>
<Throttle value="0" active="false"/>
<Brake value="0" active="false"/>
<Clutch value="0" active="false"/>
<ParkingBrake value="0" active="false"/>
<SteeringWheel value="0" active="false"/>
<Gear number="0" active="false"/>
</OverrideControllerValueAction>
</ControllerAction>
</PrivateAction>
</Private>
<Private entityRef="adversary">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-9.4" y="-71.0" z="0.5" h="1.57079632679"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="standing">
<PrivateAction>
<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_18233">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-5.9156084060668945" y="21.29607391357422" z="0.0030113982502371073"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_close_to_hero_18234">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-11.416915893554688" y="-153.5426025390625" z="0.0014286803780123591"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_close_to_standing_18235">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-1.777486801147461" y="39.07125473022461" z="0.003026351798325777"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_w_transform_18236">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="73.61369323730469" y="-44.5760612487793" z="0.5"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_w_transform_18237">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="67.87857055664062" y="79.60466766357422" z="0.5"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_w_transform_18238">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="55.4670524597168" y="-31.429418563842773" z="0.5"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_w_transform_18239">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-41.339988708496094" y="-8.678145408630371" z="0.5"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_close_to_adversary_18240">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-18.172771453857422" y="-64.7530288696289" z="0.033721234649419785"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_close_to_hero_18241">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-16.846912384033203" y="-142.46502685546875" z="0.0014286803780123591"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_w_transform_18242">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="47.159996032714844" y="-60.63502502441406" z="0.5"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_close_to_adversary_18243">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-5.850752830505371" y="-69.41666412353516" z="0.03380164876580238"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
</Actions>
</Init>
<Story name="MyStory">
<Act name="Behavior">
<ManeuverGroup maximumExecutionCount="1" name="ManeuverSequence">
<Actors selectTriggeringEntities="false">
<EntityRef entityRef="adversary"/>
</Actors>
<Maneuver name="LaneChangeSimpleManeuver">
<Event name="AdversaryAccelerates" priority="overwrite">
<Action name="AdversaryAccelerates">
<PrivateAction>
<LongitudinalAction>
<SpeedAction>
<SpeedActionDynamics dynamicsShape="step" value="50" dynamicsDimension="distance"/>
<SpeedActionTarget>
<AbsoluteTargetSpeed value="5.0"/>
</SpeedActionTarget>
</SpeedAction>
</LongitudinalAction>
</PrivateAction>
</Action>
<StartTrigger>
<ConditionGroup>
<Condition name="StartCondition" delay="0" conditionEdge="rising">
<ByEntityCondition>
<TriggeringEntities triggeringEntitiesRule="any">
<EntityRef entityRef="hero"/>
</TriggeringEntities>
<EntityCondition>
<RelativeDistanceCondition entityRef="adversary" relativeDistanceType="cartesianDistance" value="40.0" freespace="false" rule="lessThan"/>
</EntityCondition>
</ByEntityCondition>
</Condition>
</ConditionGroup>
</StartTrigger>
</Event>
<Event name="AdversaryChangesLane" priority="overwrite">
<Action name="AdversaryChangesLane">
<PrivateAction>
<LateralAction>
<LaneChangeAction>
<LaneChangeActionDynamics dynamicsShape="linear" value="25" dynamicsDimension="distance"/>
<LaneChangeTarget>
<RelativeTargetLane entityRef="adversary" value="-1"/>
</LaneChangeTarget>
</LaneChangeAction>
</LateralAction>
</PrivateAction>
</Action>
<StartTrigger>
<ConditionGroup>
<Condition name="AfterAdversaryAccelerates" delay="0" conditionEdge="rising">
<ByValueCondition>
<StoryboardElementStateCondition storyboardElementType="action" storyboardElementRef="AdversaryAccelerates" state="completeState"/>
</ByValueCondition>
</Condition>
</ConditionGroup>
</StartTrigger>
</Event>
</Maneuver>
</ManeuverGroup>
<StartTrigger>
<ConditionGroup>
<Condition name="OverallStartCondition" delay="0" conditionEdge="rising">
<ByEntityCondition>
<TriggeringEntities triggeringEntitiesRule="any">
<EntityRef entityRef="hero"/>
</TriggeringEntities>
<EntityCondition>
<TraveledDistanceCondition value="1.0"/>
</EntityCondition>
</ByEntityCondition>
</Condition>
<Condition name="StartTime" delay="0" conditionEdge="rising">
<ByValueCondition>
<SimulationTimeCondition value="0" rule="equalTo"/>
</ByValueCondition>
</Condition>
</ConditionGroup>
</StartTrigger>
<StopTrigger>
<ConditionGroup>
<Condition name="EndCondition" delay="0" conditionEdge="rising">
<ByEntityCondition>
<TriggeringEntities triggeringEntitiesRule="any">
<EntityRef entityRef="hero"/>
</TriggeringEntities>
<EntityCondition>
<TraveledDistanceCondition value="200.0"/>
</EntityCondition>
</ByEntityCondition>
</Condition>
</ConditionGroup>
</StopTrigger>
</Act>
</Story>
<StopTrigger>
<ConditionGroup>
<Condition name="criteria_RunningStopTest" delay="0" conditionEdge="rising">
<ByValueCondition>
<ParameterCondition parameterRef="" value="" rule="lessThan"/>
</ByValueCondition>
</Condition>
<Condition name="criteria_RunningRedLightTest" delay="0" conditionEdge="rising">
<ByValueCondition>
<ParameterCondition parameterRef="" value="" rule="lessThan"/>
</ByValueCondition>
</Condition>
<Condition name="criteria_WrongLaneTest" delay="0" conditionEdge="rising">
<ByValueCondition>
<ParameterCondition parameterRef="" value="" rule="lessThan"/>
</ByValueCondition>
</Condition>
<Condition name="criteria_OnSidewalkTest" delay="0" conditionEdge="rising">
<ByValueCondition>
<ParameterCondition parameterRef="" value="" rule="lessThan"/>
</ByValueCondition>
</Condition>
<Condition name="criteria_KeepLaneTest" delay="0" conditionEdge="rising">
<ByValueCondition>
<ParameterCondition parameterRef="" value="" rule="lessThan"/>
</ByValueCondition>
</Condition>
<Condition name="criteria_CollisionTest" delay="0" conditionEdge="rising">
<ByValueCondition>
<ParameterCondition parameterRef="" value="" rule="lessThan"/>
</ByValueCondition>
</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 (97.79, -26.88, 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_5480">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_w_transform_5481">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_close_to_hero_5482">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_close_to_adversary_5483">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_w_transform_5484">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_close_to_hero_5485">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_close_to_hero_5486">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_close_to_standing_5487">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_close_to_standing_5488">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_close_to_standing_5489">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_close_to_hero_5490">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_close_to_hero_5491">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_close_to_standing_5492">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_w_transform_5493">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
</Entities>
<Storyboard>
<Init>
<Actions>
<GlobalAction>
<EnvironmentAction>
<Environment name="Environment1">
<TimeOfDay animation="false" dateTime="2019-06-25T12:00:00"/>
<Weather cloudState="free">
<Sun intensity="0.85" azimuth="0" elevation="1.31"/>
<Fog visualRange="100000.0"/>
<Precipitation precipitationType="dry" intensity="0.0"/>
</Weather>
<RoadCondition frictionScaleFactor="1.0"/>
</Environment>
</EnvironmentAction>
</GlobalAction>
<Private entityRef="hero">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-9.4" y="-152.8" z="0.5" h="1.57079632679"/>
</Position>
</TeleportAction>
</PrivateAction>
<PrivateAction>
<ControllerAction>
<AssignControllerAction>
<Controller name="HeroAgent">
<Properties>
<Property name="module" value="external_control"/>
</Properties>
</Controller>
</AssignControllerAction>
<OverrideControllerValueAction>
<Throttle value="0" active="false"/>
<Brake value="0" active="false"/>
<Clutch value="0" active="false"/>
<ParkingBrake value="0" active="false"/>
<SteeringWheel value="0" active="false"/>
<Gear number="0" active="false"/>
</OverrideControllerValueAction>
</ControllerAction>
</PrivateAction>
</Private>
<Private entityRef="adversary">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-9.4" y="-71.0" z="0.5" h="1.57079632679"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="standing">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-8.2" y="29.2" z="0.5" h="1.57079632679"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_close_to_hero_5480">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-15.65457820892334" y="-161.7915496826172" z="0.0014286803780123591"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_w_transform_5481">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-52.89959716796875" y="-73.55147552490234" z="0.5"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_close_to_hero_5482">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-10.223411560058594" y="-149.01902770996094" z="0.0014286803780123591"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_close_to_adversary_5483">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-17.91622543334961" y="-66.8965835571289" z="0.03382854536175728"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_w_transform_5484">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="37.7513313293457" y="-47.154014587402344" z="0.5"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_close_to_hero_5485">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-17.16266441345215" y="-157.37615966796875" z="0.0014286803780123591"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_close_to_hero_5486">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-5.442408561706543" y="-158.45465087890625" z="0.0014286803780123591"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_close_to_standing_5487">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-1.7898222208023071" y="26.866722106933594" z="0.003021087497472763"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_close_to_standing_5488">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-17.658323287963867" y="26.921419143676758" z="0.0030326079577207565"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_close_to_standing_5489">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="9.347654342651367" y="22.801828384399414" z="0.0030341718811541796"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_close_to_hero_5490">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-2.9419429302215576" y="-143.96629333496094" z="0.0014286803780123591"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_close_to_hero_5491">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-17.34095573425293" y="-144.8187713623047" z="0.0014286803780123591"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_close_to_standing_5492">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-4.810454368591309" y="38.32715606689453" z="0.003017692593857646"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_w_transform_5493">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-43.38318634033203" y="-99.6846923828125" z="0.5"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
</Actions>
</Init>
<Story name="MyStory">
<Act name="Behavior">
<ManeuverGroup maximumExecutionCount="1" name="ManeuverSequence">
<Actors selectTriggeringEntities="false">
<EntityRef entityRef="adversary"/>
</Actors>
<Maneuver name="LaneChangeSimpleManeuver">
<Event name="AdversaryAccelerates" priority="overwrite">
<Action name="AdversaryAccelerates">
<PrivateAction>
<LongitudinalAction>
<SpeedAction>
<SpeedActionDynamics dynamicsShape="step" value="50" dynamicsDimension="distance"/>
<SpeedActionTarget>
<AbsoluteTargetSpeed value="5.0"/>
</SpeedActionTarget>
</SpeedAction>
</LongitudinalAction>
</PrivateAction>
</Action>
<StartTrigger>
<ConditionGroup>
<Condition name="StartCondition" delay="0" conditionEdge="rising">
<ByEntityCondition>
<TriggeringEntities triggeringEntitiesRule="any">
<EntityRef entityRef="hero"/>
</TriggeringEntities>
<EntityCondition>
<RelativeDistanceCondition entityRef="adversary" relativeDistanceType="cartesianDistance" value="40.0" freespace="false" rule="lessThan"/>
</EntityCondition>
</ByEntityCondition>
</Condition>
</ConditionGroup>
</StartTrigger>
</Event>
<Event name="AdversaryChangesLane" priority="overwrite">
<Action name="AdversaryChangesLane">
<PrivateAction>
<LateralAction>
<LaneChangeAction>
<LaneChangeActionDynamics dynamicsShape="linear" value="25" dynamicsDimension="distance"/>
<LaneChangeTarget>
<RelativeTargetLane entityRef="adversary" value="-1"/>
</LaneChangeTarget>
</LaneChangeAction>
</LateralAction>
</PrivateAction>
</Action>
<StartTrigger>
<ConditionGroup>
<Condition name="AfterAdversaryAccelerates" delay="0" conditionEdge="rising">
<ByValueCondition>
<StoryboardElementStateCondition storyboardElementType="action" storyboardElementRef="AdversaryAccelerates" state="completeState"/>
</ByValueCondition>
</Condition>
</ConditionGroup>
</StartTrigger>
</Event>
</Maneuver>
</ManeuverGroup>
<StartTrigger>
<ConditionGroup>
<Condition name="OverallStartCondition" delay="0" conditionEdge="rising">
<ByEntityCondition>
<TriggeringEntities triggeringEntitiesRule="any">
<EntityRef entityRef="hero"/>
</TriggeringEntities>
<EntityCondition>
<TraveledDistanceCondition value="1.0"/>
</EntityCondition>
</ByEntityCondition>
</Condition>
<Condition name="StartTime" delay="0" conditionEdge="rising">
<ByValueCondition>
<SimulationTimeCondition value="0" rule="equalTo"/>
</ByValueCondition>
</Condition>
</ConditionGroup>
</StartTrigger>
<StopTrigger>
<ConditionGroup>
<Condition name="EndCondition" delay="0" conditionEdge="rising">
<ByEntityCondition>
<TriggeringEntities triggeringEntitiesRule="any">
<EntityRef entityRef="hero"/>
</TriggeringEntities>
<EntityCondition>
<TraveledDistanceCondition value="200.0"/>
</EntityCondition>
</ByEntityCondition>
</Condition>
</ConditionGroup>
</StopTrigger>
</Act>
</Story>
<StopTrigger>
<ConditionGroup>
<Condition name="criteria_RunningStopTest" delay="0" conditionEdge="rising">
<ByValueCondition>
<ParameterCondition parameterRef="" value="" rule="lessThan"/>
</ByValueCondition>
</Condition>
<Condition name="criteria_RunningRedLightTest" delay="0" conditionEdge="rising">
<ByValueCondition>
<ParameterCondition parameterRef="" value="" rule="lessThan"/>
</ByValueCondition>
</Condition>
<Condition name="criteria_WrongLaneTest" delay="0" conditionEdge="rising">
<ByValueCondition>
<ParameterCondition parameterRef="" value="" rule="lessThan"/>
</ByValueCondition>
</Condition>
<Condition name="criteria_OnSidewalkTest" delay="0" conditionEdge="rising">
<ByValueCondition>
<ParameterCondition parameterRef="" value="" rule="lessThan"/>
</ByValueCondition>
</Condition>
<Condition name="criteria_KeepLaneTest" delay="0" conditionEdge="rising">
<ByValueCondition>
<ParameterCondition parameterRef="" value="" rule="lessThan"/>
</ByValueCondition>
</Condition>
<Condition name="criteria_CollisionTest" delay="0" conditionEdge="rising">
<ByValueCondition>
<ParameterCondition parameterRef="" value="" rule="lessThan"/>
</ByValueCondition>
</Condition>
<Condition name="criteria_DrivenDistanceTest" delay="0" conditionEdge="rising">
<ByValueCondition>
<ParameterCondition parameterRef="distance_success" value="100" rule="lessThan"/>
</ByValueCondition>
</Condition>
</ConditionGroup>
</StopTrigger>
</Storyboard>
</OpenSCENARIO>
``` | Here is the result:
```
<?xml version="1.0" ?>
<OpenSCENARIO>
<FileHeader revMajor="1" revMinor="0" date="2020-03-24T12:00:00" description="CARLA:LaneChangeSimple" author=""/>
<ParameterDeclarations/>
<CatalogLocations/>
<RoadNetwork>
<LogicFile filepath="Town04"/>
<SceneGraphFile filepath=""/>
</RoadNetwork>
<Entities>
<ScenarioObject name="hero">
<Vehicle name="vehicle.tesla.model3" vehicleCategory="car">
<ParameterDeclarations/>
<Performance maxSpeed="69.444" maxAcceleration="200" maxDeceleration="10.0"/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2.1" length="4.5" height="1.8"/>
</BoundingBox>
<Axles>
<FrontAxle maxSteering="0.5" wheelDiameter="0.6" trackWidth="1.8" positionX="3.1" positionZ="0.3"/>
<RearAxle maxSteering="0.0" wheelDiameter="0.6" trackWidth="1.8" positionX="0.0" positionZ="0.3"/>
</Axles>
<Properties>
<Property name="type" value="ego_vehicle"/>
</Properties>
</Vehicle>
</ScenarioObject>
<ScenarioObject name="adversary">
<Vehicle name="vehicle.lincoln.mkz_2017" vehicleCategory="car">
<ParameterDeclarations/>
<Performance maxSpeed="69.444" maxAcceleration="200" maxDeceleration="10.0"/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2.1" length="4.5" height="1.8"/>
</BoundingBox>
<Axles>
<FrontAxle maxSteering="0.5" wheelDiameter="0.6" trackWidth="1.8" positionX="3.1" positionZ="0.3"/>
<RearAxle maxSteering="0.0" wheelDiameter="0.6" trackWidth="1.8" positionX="0.0" positionZ="0.3"/>
</Axles>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Vehicle>
</ScenarioObject>
<ScenarioObject name="standing">
<Vehicle name="vehicle.volkswagen.t2" vehicleCategory="car">
<ParameterDeclarations/>
<Performance maxSpeed="69.444" maxAcceleration="200" maxDeceleration="10.0"/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2.1" length="4.5" height="1.8"/>
</BoundingBox>
<Axles>
<FrontAxle maxSteering="0.5" wheelDiameter="0.6" trackWidth="1.8" positionX="3.1" positionZ="0.3"/>
<RearAxle maxSteering="0.0" wheelDiameter="0.6" trackWidth="1.8" positionX="0.0" positionZ="0.3"/>
</Axles>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Vehicle>
</ScenarioObject>
<ScenarioObject name="pedestrian_close_to_hero_5480">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_w_transform_5481">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_close_to_hero_5482">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_close_to_adversary_5483">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_w_transform_5484">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_close_to_hero_5485">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_close_to_hero_5486">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_close_to_standing_5487">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_close_to_standing_5488">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_close_to_standing_5489">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_close_to_hero_5490">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_close_to_hero_5491">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_close_to_standing_5492">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_w_transform_5493">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_w_transform_5494">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
</Entities>
<Storyboard>
<Init>
<Actions>
<GlobalAction>
<EnvironmentAction>
<Environment name="Environment1">
<TimeOfDay animation="false" dateTime="2019-06-25T12:00:00"/>
<Weather cloudState="free">
<Sun intensity="0.85" azimuth="0" elevation="1.31"/>
<Fog visualRange="100000.0"/>
<Precipitation precipitationType="dry" intensity="0.0"/>
</Weather>
<RoadCondition frictionScaleFactor="1.0"/>
</Environment>
</EnvironmentAction>
</GlobalAction>
<Private entityRef="hero">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-9.4" y="-152.8" z="0.5" h="1.57079632679"/>
</Position>
</TeleportAction>
</PrivateAction>
<PrivateAction>
<ControllerAction>
<AssignControllerAction>
<Controller name="HeroAgent">
<Properties>
<Property name="module" value="external_control"/>
</Properties>
</Controller>
</AssignControllerAction>
<OverrideControllerValueAction>
<Throttle value="0" active="false"/>
<Brake value="0" active="false"/>
<Clutch value="0" active="false"/>
<ParkingBrake value="0" active="false"/>
<SteeringWheel value="0" active="false"/>
<Gear number="0" active="false"/>
</OverrideControllerValueAction>
</ControllerAction>
</PrivateAction>
</Private>
<Private entityRef="adversary">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-9.4" y="-71.0" z="0.5" h="1.57079632679"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="standing">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-8.2" y="29.2" z="0.5" h="1.57079632679"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_close_to_hero_5480">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-15.65457820892334" y="-161.7915496826172" z="0.0014286803780123591"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_w_transform_5481">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-52.89959716796875" y="-73.55147552490234" z="0.5"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_close_to_hero_5482">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-10.223411560058594" y="-149.01902770996094" z="0.0014286803780123591"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_close_to_adversary_5483">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-17.91622543334961" y="-66.8965835571289" z="0.03382854536175728"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_w_transform_5484">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="37.7513313293457" y="-47.154014587402344" z="0.5"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_close_to_hero_5485">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-17.16266441345215" y="-157.37615966796875" z="0.0014286803780123591"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_close_to_hero_5486">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-5.442408561706543" y="-158.45465087890625" z="0.0014286803780123591"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_close_to_standing_5487">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-1.7898222208023071" y="26.866722106933594" z="0.003021087497472763"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_close_to_standing_5488">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-17.658323287963867" y="26.921419143676758" z="0.0030326079577207565"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_close_to_standing_5489">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="9.347654342651367" y="22.801828384399414" z="0.0030341718811541796"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_close_to_hero_5490">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-2.9419429302215576" y="-143.96629333496094" z="0.0014286803780123591"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_close_to_hero_5491">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-17.34095573425293" y="-144.8187713623047" z="0.0014286803780123591"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_close_to_standing_5492">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-4.810454368591309" y="38.32715606689453" z="0.003017692593857646"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_w_transform_5493">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-43.38318634033203" y="-99.6846923828125" z="0.5"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_w_transform_5494">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="97.78509521484375" y="-26.876697540283203" 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 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_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_close_to_hero_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_w_transform_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_w_transform_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_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_1750">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_w_transform_1751">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_w_transform_1752">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_w_transform_1753">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_close_to_adversary_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_close_to_hero_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_w_transform_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_1758">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_w_transform_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>
</Entities>
<Storyboard>
<Init>
<Actions>
<GlobalAction>
<EnvironmentAction>
<Environment name="Environment1">
<TimeOfDay animation="false" dateTime="2019-06-25T12:00:00"/>
<Weather cloudState="free">
<Sun intensity="0.85" azimuth="0" elevation="1.31"/>
<Fog visualRange="100000.0"/>
<Precipitation precipitationType="dry" intensity="0.0"/>
</Weather>
<RoadCondition frictionScaleFactor="1.0"/>
</Environment>
</EnvironmentAction>
</GlobalAction>
<Private entityRef="hero">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-9.4" y="-152.8" z="0.5" h="1.57079632679"/>
</Position>
</TeleportAction>
</PrivateAction>
<PrivateAction>
<ControllerAction>
<AssignControllerAction>
<Controller name="HeroAgent">
<Properties>
<Property name="module" value="external_control"/>
</Properties>
</Controller>
</AssignControllerAction>
<OverrideControllerValueAction>
<Throttle value="0" active="false"/>
<Brake value="0" active="false"/>
<Clutch value="0" active="false"/>
<ParkingBrake value="0" active="false"/>
<SteeringWheel value="0" active="false"/>
<Gear number="0" active="false"/>
</OverrideControllerValueAction>
</ControllerAction>
</PrivateAction>
</Private>
<Private entityRef="adversary">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-9.4" y="-71.0" z="0.5" h="1.57079632679"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="standing">
<PrivateAction>
<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_1743">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-12.273568153381348" y="-74.1758804321289" z="0.033799588680267334"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_close_to_hero_1744">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-14.17692756652832" y="-158.0593719482422" z="0.0014286803780123591"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_w_transform_1745">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="67.24772644042969" y="22.97534942626953" z="0.5"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_w_transform_1746">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-78.97327423095703" y="49.36845016479492" z="0.5"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_w_transform_1747">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="11.199678421020508" y="-21.215368270874023" z="0.5"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_w_transform_1749">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-72.72248840332031" y="-87.88307189941406" z="0.5"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_close_to_standing_1750">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-15.952804565429688" y="38.06035232543945" z="0.003013038542121649"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_w_transform_1751">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-59.8277473449707" y="93.50920104980469" z="0.5"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_w_transform_1752">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="93.95081329345703" y="-39.08707809448242" z="0.5"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_w_transform_1753">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-97.70465087890625" y="-85.64764404296875" z="0.5"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_close_to_adversary_1754">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-16.81926155090332" y="-78.19331359863281" z="0.033783797174692154"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_close_to_hero_1755">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-15.472145080566406" y="-159.33944702148438" z="0.0014286803780123591"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_w_transform_1756">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-23.357322692871094" y="40.972381591796875" z="0.5"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_w_transform_1757">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="77.54969787597656" y="-7.193508625030518" z="0.5"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_w_transform_1758">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="41.139488220214844" y="71.10787963867188" z="0.5"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_w_transform_1760">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-10.202902793884277" y="33.31451416015625" 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_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_close_to_hero_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_w_transform_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_w_transform_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_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_1750">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_w_transform_1751">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_w_transform_1752">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_w_transform_1753">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_close_to_adversary_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_close_to_hero_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_w_transform_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_1758">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_w_transform_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_close_to_hero_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>
</Entities>
<Storyboard>
<Init>
<Actions>
<GlobalAction>
<EnvironmentAction>
<Environment name="Environment1">
<TimeOfDay animation="false" dateTime="2019-06-25T12:00:00"/>
<Weather cloudState="free">
<Sun intensity="0.85" azimuth="0" elevation="1.31"/>
<Fog visualRange="100000.0"/>
<Precipitation precipitationType="dry" intensity="0.0"/>
</Weather>
<RoadCondition frictionScaleFactor="1.0"/>
</Environment>
</EnvironmentAction>
</GlobalAction>
<Private entityRef="hero">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-9.4" y="-152.8" z="0.5" h="1.57079632679"/>
</Position>
</TeleportAction>
</PrivateAction>
<PrivateAction>
<ControllerAction>
<AssignControllerAction>
<Controller name="HeroAgent">
<Properties>
<Property name="module" value="external_control"/>
</Properties>
</Controller>
</AssignControllerAction>
<OverrideControllerValueAction>
<Throttle value="0" active="false"/>
<Brake value="0" active="false"/>
<Clutch value="0" active="false"/>
<ParkingBrake value="0" active="false"/>
<SteeringWheel value="0" active="false"/>
<Gear number="0" active="false"/>
</OverrideControllerValueAction>
</ControllerAction>
</PrivateAction>
</Private>
<Private entityRef="adversary">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-9.4" y="-71.0" z="0.5" h="1.57079632679"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="standing">
<PrivateAction>
<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_1743">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-12.273568153381348" y="-74.1758804321289" z="0.033799588680267334"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_close_to_hero_1744">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-14.17692756652832" y="-158.0593719482422" z="0.0014286803780123591"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_w_transform_1745">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="67.24772644042969" y="22.97534942626953" z="0.5"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_w_transform_1746">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-78.97327423095703" y="49.36845016479492" z="0.5"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_w_transform_1747">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="11.199678421020508" y="-21.215368270874023" z="0.5"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_w_transform_1749">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-72.72248840332031" y="-87.88307189941406" z="0.5"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_close_to_standing_1750">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-15.952804565429688" y="38.06035232543945" z="0.003013038542121649"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_w_transform_1751">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-59.8277473449707" y="93.50920104980469" z="0.5"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_w_transform_1752">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="93.95081329345703" y="-39.08707809448242" z="0.5"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_w_transform_1753">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-97.70465087890625" y="-85.64764404296875" z="0.5"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_close_to_adversary_1754">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-16.81926155090332" y="-78.19331359863281" z="0.033783797174692154"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_close_to_hero_1755">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-15.472145080566406" y="-159.33944702148438" z="0.0014286803780123591"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_w_transform_1756">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-23.357322692871094" y="40.972381591796875" z="0.5"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_w_transform_1757">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="77.54969787597656" y="-7.193508625030518" z="0.5"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_w_transform_1758">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="41.139488220214844" y="71.10787963867188" z="0.5"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_w_transform_1760">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-10.202902793884277" y="33.31451416015625" z="0.5"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_close_to_hero_1761">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-16.846782684326172" y="-162.05401611328125" z="0.0014286803780123591"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
</Actions>
</Init>
<Story name="MyStory">
<Act name="Behavior">
<ManeuverGroup maximumExecutionCount="1" name="ManeuverSequence">
<Actors selectTriggeringEntities="false">
<EntityRef entityRef="adversary"/>
</Actors>
<Maneuver name="LaneChangeSimpleManeuver">
<Event name="AdversaryAccelerates" priority="overwrite">
<Action name="AdversaryAccelerates">
<PrivateAction>
<LongitudinalAction>
<SpeedAction>
<SpeedActionDynamics dynamicsShape="step" value="50" dynamicsDimension="distance"/>
<SpeedActionTarget>
<AbsoluteTargetSpeed value="5.0"/>
</SpeedActionTarget>
</SpeedAction>
</LongitudinalAction>
</PrivateAction>
</Action>
<StartTrigger>
<ConditionGroup>
<Condition name="StartCondition" delay="0" conditionEdge="rising">
<ByEntityCondition>
<TriggeringEntities triggeringEntitiesRule="any">
<EntityRef entityRef="hero"/>
</TriggeringEntities>
<EntityCondition>
<RelativeDistanceCondition entityRef="adversary" relativeDistanceType="cartesianDistance" value="40.0" freespace="false" rule="lessThan"/>
</EntityCondition>
</ByEntityCondition>
</Condition>
</ConditionGroup>
</StartTrigger>
</Event>
<Event name="AdversaryChangesLane" priority="overwrite">
<Action name="AdversaryChangesLane">
<PrivateAction>
<LateralAction>
<LaneChangeAction>
<LaneChangeActionDynamics dynamicsShape="linear" value="25" dynamicsDimension="distance"/>
<LaneChangeTarget>
<RelativeTargetLane entityRef="adversary" value="-1"/>
</LaneChangeTarget>
</LaneChangeAction>
</LateralAction>
</PrivateAction>
</Action>
<StartTrigger>
<ConditionGroup>
<Condition name="AfterAdversaryAccelerates" delay="0" conditionEdge="rising">
<ByValueCondition>
<StoryboardElementStateCondition storyboardElementType="action" storyboardElementRef="AdversaryAccelerates" state="completeState"/>
</ByValueCondition>
</Condition>
</ConditionGroup>
</StartTrigger>
</Event>
</Maneuver>
</ManeuverGroup>
<StartTrigger>
<ConditionGroup>
<Condition name="OverallStartCondition" delay="0" conditionEdge="rising">
<ByEntityCondition>
<TriggeringEntities triggeringEntitiesRule="any">
<EntityRef entityRef="hero"/>
</TriggeringEntities>
<EntityCondition>
<TraveledDistanceCondition value="1.0"/>
</EntityCondition>
</ByEntityCondition>
</Condition>
<Condition name="StartTime" delay="0" conditionEdge="rising">
<ByValueCondition>
<SimulationTimeCondition value="0" rule="equalTo"/>
</ByValueCondition>
</Condition>
</ConditionGroup>
</StartTrigger>
<StopTrigger>
<ConditionGroup>
<Condition name="EndCondition" delay="0" conditionEdge="rising">
<ByEntityCondition>
<TriggeringEntities triggeringEntitiesRule="any">
<EntityRef entityRef="hero"/>
</TriggeringEntities>
<EntityCondition>
<TraveledDistanceCondition value="200.0"/>
</EntityCondition>
</ByEntityCondition>
</Condition>
</ConditionGroup>
</StopTrigger>
</Act>
</Story>
<StopTrigger>
<ConditionGroup>
<Condition name="criteria_RunningStopTest" delay="0" conditionEdge="rising">
<ByValueCondition>
<ParameterCondition parameterRef="" value="" rule="lessThan"/>
</ByValueCondition>
</Condition>
<Condition name="criteria_RunningRedLightTest" delay="0" conditionEdge="rising">
<ByValueCondition>
<ParameterCondition parameterRef="" value="" rule="lessThan"/>
</ByValueCondition>
</Condition>
<Condition name="criteria_WrongLaneTest" delay="0" conditionEdge="rising">
<ByValueCondition>
<ParameterCondition parameterRef="" value="" rule="lessThan"/>
</ByValueCondition>
</Condition>
<Condition name="criteria_OnSidewalkTest" delay="0" conditionEdge="rising">
<ByValueCondition>
<ParameterCondition parameterRef="" value="" rule="lessThan"/>
</ByValueCondition>
</Condition>
<Condition name="criteria_KeepLaneTest" delay="0" conditionEdge="rising">
<ByValueCondition>
<ParameterCondition parameterRef="" value="" rule="lessThan"/>
</ByValueCondition>
</Condition>
<Condition name="criteria_CollisionTest" delay="0" conditionEdge="rising">
<ByValueCondition>
<ParameterCondition parameterRef="" value="" rule="lessThan"/>
</ByValueCondition>
</Condition>
<Condition name="criteria_DrivenDistanceTest" delay="0" conditionEdge="rising">
<ByValueCondition>
<ParameterCondition parameterRef="distance_success" value="100" rule="lessThan"/>
</ByValueCondition>
</Condition>
</ConditionGroup>
</StopTrigger>
</Storyboard>
</OpenSCENARIO>
``` |
please add pedestrian at location (36.24, 84.58, 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_5336">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_close_to_hero_5337">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_w_transform_5338">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_w_transform_5339">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_close_to_hero_5340">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_w_transform_5341">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_close_to_hero_5342">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_close_to_standing_5343">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_close_to_adversary_5344">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_close_to_hero_5345">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
</Entities>
<Storyboard>
<Init>
<Actions>
<GlobalAction>
<EnvironmentAction>
<Environment name="Environment1">
<TimeOfDay animation="false" dateTime="2019-06-25T12:00:00"/>
<Weather cloudState="free">
<Sun intensity="0.85" azimuth="0" elevation="1.31"/>
<Fog visualRange="100000.0"/>
<Precipitation precipitationType="dry" intensity="0.0"/>
</Weather>
<RoadCondition frictionScaleFactor="1.0"/>
</Environment>
</EnvironmentAction>
</GlobalAction>
<Private entityRef="hero">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-9.4" y="-152.8" z="0.5" h="1.57079632679"/>
</Position>
</TeleportAction>
</PrivateAction>
<PrivateAction>
<ControllerAction>
<AssignControllerAction>
<Controller name="HeroAgent">
<Properties>
<Property name="module" value="external_control"/>
</Properties>
</Controller>
</AssignControllerAction>
<OverrideControllerValueAction>
<Throttle value="0" active="false"/>
<Brake value="0" active="false"/>
<Clutch value="0" active="false"/>
<ParkingBrake value="0" active="false"/>
<SteeringWheel value="0" active="false"/>
<Gear number="0" active="false"/>
</OverrideControllerValueAction>
</ControllerAction>
</PrivateAction>
</Private>
<Private entityRef="adversary">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-9.4" y="-71.0" z="0.5" h="1.57079632679"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="standing">
<PrivateAction>
<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_5336">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-17.288904190063477" y="-63.480010986328125" z="0.033690109848976135"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_close_to_hero_5337">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="8.729842185974121" y="-147.53887939453125" z="0.0014286803780123591"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_w_transform_5338">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-31.17618751525879" y="3.3593289852142334" z="0.5"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_w_transform_5339">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="62.07156753540039" y="85.35646057128906" z="0.5"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_close_to_hero_5340">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="7.23569917678833" y="-144.3526153564453" z="0.0014286803780123591"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_w_transform_5341">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="27.737112045288086" y="-15.322697639465332" z="0.5"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_close_to_hero_5342">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-10.724614143371582" y="-161.27871704101562" z="0.0014286803780123591"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_close_to_standing_5343">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-9.692373275756836" y="32.56467056274414" z="0.0030640792101621628"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_close_to_adversary_5344">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-16.513242721557617" y="-86.67698669433594" z="0.033840980380773544"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_close_to_hero_5345">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-1.4758700132369995" y="-159.2855224609375" z="0.0014286803780123591"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
</Actions>
</Init>
<Story name="MyStory">
<Act name="Behavior">
<ManeuverGroup maximumExecutionCount="1" name="ManeuverSequence">
<Actors selectTriggeringEntities="false">
<EntityRef entityRef="adversary"/>
</Actors>
<Maneuver name="LaneChangeSimpleManeuver">
<Event name="AdversaryAccelerates" priority="overwrite">
<Action name="AdversaryAccelerates">
<PrivateAction>
<LongitudinalAction>
<SpeedAction>
<SpeedActionDynamics dynamicsShape="step" value="50" dynamicsDimension="distance"/>
<SpeedActionTarget>
<AbsoluteTargetSpeed value="5.0"/>
</SpeedActionTarget>
</SpeedAction>
</LongitudinalAction>
</PrivateAction>
</Action>
<StartTrigger>
<ConditionGroup>
<Condition name="StartCondition" delay="0" conditionEdge="rising">
<ByEntityCondition>
<TriggeringEntities triggeringEntitiesRule="any">
<EntityRef entityRef="hero"/>
</TriggeringEntities>
<EntityCondition>
<RelativeDistanceCondition entityRef="adversary" relativeDistanceType="cartesianDistance" value="40.0" freespace="false" rule="lessThan"/>
</EntityCondition>
</ByEntityCondition>
</Condition>
</ConditionGroup>
</StartTrigger>
</Event>
<Event name="AdversaryChangesLane" priority="overwrite">
<Action name="AdversaryChangesLane">
<PrivateAction>
<LateralAction>
<LaneChangeAction>
<LaneChangeActionDynamics dynamicsShape="linear" value="25" dynamicsDimension="distance"/>
<LaneChangeTarget>
<RelativeTargetLane entityRef="adversary" value="-1"/>
</LaneChangeTarget>
</LaneChangeAction>
</LateralAction>
</PrivateAction>
</Action>
<StartTrigger>
<ConditionGroup>
<Condition name="AfterAdversaryAccelerates" delay="0" conditionEdge="rising">
<ByValueCondition>
<StoryboardElementStateCondition storyboardElementType="action" storyboardElementRef="AdversaryAccelerates" state="completeState"/>
</ByValueCondition>
</Condition>
</ConditionGroup>
</StartTrigger>
</Event>
</Maneuver>
</ManeuverGroup>
<StartTrigger>
<ConditionGroup>
<Condition name="OverallStartCondition" delay="0" conditionEdge="rising">
<ByEntityCondition>
<TriggeringEntities triggeringEntitiesRule="any">
<EntityRef entityRef="hero"/>
</TriggeringEntities>
<EntityCondition>
<TraveledDistanceCondition value="1.0"/>
</EntityCondition>
</ByEntityCondition>
</Condition>
<Condition name="StartTime" delay="0" conditionEdge="rising">
<ByValueCondition>
<SimulationTimeCondition value="0" rule="equalTo"/>
</ByValueCondition>
</Condition>
</ConditionGroup>
</StartTrigger>
<StopTrigger>
<ConditionGroup>
<Condition name="EndCondition" delay="0" conditionEdge="rising">
<ByEntityCondition>
<TriggeringEntities triggeringEntitiesRule="any">
<EntityRef entityRef="hero"/>
</TriggeringEntities>
<EntityCondition>
<TraveledDistanceCondition value="200.0"/>
</EntityCondition>
</ByEntityCondition>
</Condition>
</ConditionGroup>
</StopTrigger>
</Act>
</Story>
<StopTrigger>
<ConditionGroup>
<Condition name="criteria_RunningStopTest" delay="0" conditionEdge="rising">
<ByValueCondition>
<ParameterCondition parameterRef="" value="" rule="lessThan"/>
</ByValueCondition>
</Condition>
<Condition name="criteria_RunningRedLightTest" delay="0" conditionEdge="rising">
<ByValueCondition>
<ParameterCondition parameterRef="" value="" rule="lessThan"/>
</ByValueCondition>
</Condition>
<Condition name="criteria_WrongLaneTest" delay="0" conditionEdge="rising">
<ByValueCondition>
<ParameterCondition parameterRef="" value="" rule="lessThan"/>
</ByValueCondition>
</Condition>
<Condition name="criteria_OnSidewalkTest" delay="0" conditionEdge="rising">
<ByValueCondition>
<ParameterCondition parameterRef="" value="" rule="lessThan"/>
</ByValueCondition>
</Condition>
<Condition name="criteria_KeepLaneTest" delay="0" conditionEdge="rising">
<ByValueCondition>
<ParameterCondition parameterRef="" value="" rule="lessThan"/>
</ByValueCondition>
</Condition>
<Condition name="criteria_CollisionTest" delay="0" conditionEdge="rising">
<ByValueCondition>
<ParameterCondition parameterRef="" value="" rule="lessThan"/>
</ByValueCondition>
</Condition>
<Condition name="criteria_DrivenDistanceTest" delay="0" conditionEdge="rising">
<ByValueCondition>
<ParameterCondition parameterRef="distance_success" value="100" rule="lessThan"/>
</ByValueCondition>
</Condition>
</ConditionGroup>
</StopTrigger>
</Storyboard>
</OpenSCENARIO>
``` | Here is the result:
```
<?xml version="1.0" ?>
<OpenSCENARIO>
<FileHeader revMajor="1" revMinor="0" date="2020-03-24T12:00:00" description="CARLA:LaneChangeSimple" author=""/>
<ParameterDeclarations/>
<CatalogLocations/>
<RoadNetwork>
<LogicFile filepath="Town04"/>
<SceneGraphFile filepath=""/>
</RoadNetwork>
<Entities>
<ScenarioObject name="hero">
<Vehicle name="vehicle.tesla.model3" vehicleCategory="car">
<ParameterDeclarations/>
<Performance maxSpeed="69.444" maxAcceleration="200" maxDeceleration="10.0"/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2.1" length="4.5" height="1.8"/>
</BoundingBox>
<Axles>
<FrontAxle maxSteering="0.5" wheelDiameter="0.6" trackWidth="1.8" positionX="3.1" positionZ="0.3"/>
<RearAxle maxSteering="0.0" wheelDiameter="0.6" trackWidth="1.8" positionX="0.0" positionZ="0.3"/>
</Axles>
<Properties>
<Property name="type" value="ego_vehicle"/>
</Properties>
</Vehicle>
</ScenarioObject>
<ScenarioObject name="adversary">
<Vehicle name="vehicle.lincoln.mkz_2017" vehicleCategory="car">
<ParameterDeclarations/>
<Performance maxSpeed="69.444" maxAcceleration="200" maxDeceleration="10.0"/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2.1" length="4.5" height="1.8"/>
</BoundingBox>
<Axles>
<FrontAxle maxSteering="0.5" wheelDiameter="0.6" trackWidth="1.8" positionX="3.1" positionZ="0.3"/>
<RearAxle maxSteering="0.0" wheelDiameter="0.6" trackWidth="1.8" positionX="0.0" positionZ="0.3"/>
</Axles>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Vehicle>
</ScenarioObject>
<ScenarioObject name="standing">
<Vehicle name="vehicle.volkswagen.t2" vehicleCategory="car">
<ParameterDeclarations/>
<Performance maxSpeed="69.444" maxAcceleration="200" maxDeceleration="10.0"/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2.1" length="4.5" height="1.8"/>
</BoundingBox>
<Axles>
<FrontAxle maxSteering="0.5" wheelDiameter="0.6" trackWidth="1.8" positionX="3.1" positionZ="0.3"/>
<RearAxle maxSteering="0.0" wheelDiameter="0.6" trackWidth="1.8" positionX="0.0" positionZ="0.3"/>
</Axles>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Vehicle>
</ScenarioObject>
<ScenarioObject name="pedestrian_close_to_adversary_5336">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_close_to_hero_5337">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_w_transform_5338">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_w_transform_5339">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_close_to_hero_5340">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_w_transform_5341">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_close_to_hero_5342">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_close_to_standing_5343">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_close_to_adversary_5344">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_close_to_hero_5345">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_w_transform_5346">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
</Entities>
<Storyboard>
<Init>
<Actions>
<GlobalAction>
<EnvironmentAction>
<Environment name="Environment1">
<TimeOfDay animation="false" dateTime="2019-06-25T12:00:00"/>
<Weather cloudState="free">
<Sun intensity="0.85" azimuth="0" elevation="1.31"/>
<Fog visualRange="100000.0"/>
<Precipitation precipitationType="dry" intensity="0.0"/>
</Weather>
<RoadCondition frictionScaleFactor="1.0"/>
</Environment>
</EnvironmentAction>
</GlobalAction>
<Private entityRef="hero">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-9.4" y="-152.8" z="0.5" h="1.57079632679"/>
</Position>
</TeleportAction>
</PrivateAction>
<PrivateAction>
<ControllerAction>
<AssignControllerAction>
<Controller name="HeroAgent">
<Properties>
<Property name="module" value="external_control"/>
</Properties>
</Controller>
</AssignControllerAction>
<OverrideControllerValueAction>
<Throttle value="0" active="false"/>
<Brake value="0" active="false"/>
<Clutch value="0" active="false"/>
<ParkingBrake value="0" active="false"/>
<SteeringWheel value="0" active="false"/>
<Gear number="0" active="false"/>
</OverrideControllerValueAction>
</ControllerAction>
</PrivateAction>
</Private>
<Private entityRef="adversary">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-9.4" y="-71.0" z="0.5" h="1.57079632679"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="standing">
<PrivateAction>
<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_5336">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-17.288904190063477" y="-63.480010986328125" z="0.033690109848976135"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_close_to_hero_5337">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="8.729842185974121" y="-147.53887939453125" z="0.0014286803780123591"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_w_transform_5338">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-31.17618751525879" y="3.3593289852142334" z="0.5"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_w_transform_5339">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="62.07156753540039" y="85.35646057128906" z="0.5"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_close_to_hero_5340">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="7.23569917678833" y="-144.3526153564453" z="0.0014286803780123591"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_w_transform_5341">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="27.737112045288086" y="-15.322697639465332" z="0.5"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_close_to_hero_5342">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-10.724614143371582" y="-161.27871704101562" z="0.0014286803780123591"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_close_to_standing_5343">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-9.692373275756836" y="32.56467056274414" z="0.0030640792101621628"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_close_to_adversary_5344">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-16.513242721557617" y="-86.67698669433594" z="0.033840980380773544"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_close_to_hero_5345">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-1.4758700132369995" y="-159.2855224609375" z="0.0014286803780123591"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_w_transform_5346">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="36.240299224853516" y="84.58306884765625" 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 (39.91, -90.49, 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_6061">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_w_transform_6062">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_close_to_hero_6063">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_close_to_adversary_6064">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
</Entities>
<Storyboard>
<Init>
<Actions>
<GlobalAction>
<EnvironmentAction>
<Environment name="Environment1">
<TimeOfDay animation="false" dateTime="2019-06-25T12:00:00"/>
<Weather cloudState="free">
<Sun intensity="0.85" azimuth="0" elevation="1.31"/>
<Fog visualRange="100000.0"/>
<Precipitation precipitationType="dry" intensity="0.0"/>
</Weather>
<RoadCondition frictionScaleFactor="1.0"/>
</Environment>
</EnvironmentAction>
</GlobalAction>
<Private entityRef="hero">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-9.4" y="-152.8" z="0.5" h="1.57079632679"/>
</Position>
</TeleportAction>
</PrivateAction>
<PrivateAction>
<ControllerAction>
<AssignControllerAction>
<Controller name="HeroAgent">
<Properties>
<Property name="module" value="external_control"/>
</Properties>
</Controller>
</AssignControllerAction>
<OverrideControllerValueAction>
<Throttle value="0" active="false"/>
<Brake value="0" active="false"/>
<Clutch value="0" active="false"/>
<ParkingBrake value="0" active="false"/>
<SteeringWheel value="0" active="false"/>
<Gear number="0" active="false"/>
</OverrideControllerValueAction>
</ControllerAction>
</PrivateAction>
</Private>
<Private entityRef="adversary">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-9.4" y="-71.0" z="0.5" h="1.57079632679"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="standing">
<PrivateAction>
<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_6061">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-14.017901420593262" y="-158.80557250976562" z="0.0014286803780123591"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_w_transform_6062">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-70.59046936035156" y="81.01487731933594" z="0.5"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_close_to_hero_6063">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-14.938528060913086" y="-144.6502685546875" z="0.0014286803780123591"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_close_to_adversary_6064">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="2.172609567642212" y="-75.2496109008789" z="0.03378215804696083"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
</Actions>
</Init>
<Story name="MyStory">
<Act name="Behavior">
<ManeuverGroup maximumExecutionCount="1" name="ManeuverSequence">
<Actors selectTriggeringEntities="false">
<EntityRef entityRef="adversary"/>
</Actors>
<Maneuver name="LaneChangeSimpleManeuver">
<Event name="AdversaryAccelerates" priority="overwrite">
<Action name="AdversaryAccelerates">
<PrivateAction>
<LongitudinalAction>
<SpeedAction>
<SpeedActionDynamics dynamicsShape="step" value="50" dynamicsDimension="distance"/>
<SpeedActionTarget>
<AbsoluteTargetSpeed value="5.0"/>
</SpeedActionTarget>
</SpeedAction>
</LongitudinalAction>
</PrivateAction>
</Action>
<StartTrigger>
<ConditionGroup>
<Condition name="StartCondition" delay="0" conditionEdge="rising">
<ByEntityCondition>
<TriggeringEntities triggeringEntitiesRule="any">
<EntityRef entityRef="hero"/>
</TriggeringEntities>
<EntityCondition>
<RelativeDistanceCondition entityRef="adversary" relativeDistanceType="cartesianDistance" value="40.0" freespace="false" rule="lessThan"/>
</EntityCondition>
</ByEntityCondition>
</Condition>
</ConditionGroup>
</StartTrigger>
</Event>
<Event name="AdversaryChangesLane" priority="overwrite">
<Action name="AdversaryChangesLane">
<PrivateAction>
<LateralAction>
<LaneChangeAction>
<LaneChangeActionDynamics dynamicsShape="linear" value="25" dynamicsDimension="distance"/>
<LaneChangeTarget>
<RelativeTargetLane entityRef="adversary" value="-1"/>
</LaneChangeTarget>
</LaneChangeAction>
</LateralAction>
</PrivateAction>
</Action>
<StartTrigger>
<ConditionGroup>
<Condition name="AfterAdversaryAccelerates" delay="0" conditionEdge="rising">
<ByValueCondition>
<StoryboardElementStateCondition storyboardElementType="action" storyboardElementRef="AdversaryAccelerates" state="completeState"/>
</ByValueCondition>
</Condition>
</ConditionGroup>
</StartTrigger>
</Event>
</Maneuver>
</ManeuverGroup>
<StartTrigger>
<ConditionGroup>
<Condition name="OverallStartCondition" delay="0" conditionEdge="rising">
<ByEntityCondition>
<TriggeringEntities triggeringEntitiesRule="any">
<EntityRef entityRef="hero"/>
</TriggeringEntities>
<EntityCondition>
<TraveledDistanceCondition value="1.0"/>
</EntityCondition>
</ByEntityCondition>
</Condition>
<Condition name="StartTime" delay="0" conditionEdge="rising">
<ByValueCondition>
<SimulationTimeCondition value="0" rule="equalTo"/>
</ByValueCondition>
</Condition>
</ConditionGroup>
</StartTrigger>
<StopTrigger>
<ConditionGroup>
<Condition name="EndCondition" delay="0" conditionEdge="rising">
<ByEntityCondition>
<TriggeringEntities triggeringEntitiesRule="any">
<EntityRef entityRef="hero"/>
</TriggeringEntities>
<EntityCondition>
<TraveledDistanceCondition value="200.0"/>
</EntityCondition>
</ByEntityCondition>
</Condition>
</ConditionGroup>
</StopTrigger>
</Act>
</Story>
<StopTrigger>
<ConditionGroup>
<Condition name="criteria_RunningStopTest" delay="0" conditionEdge="rising">
<ByValueCondition>
<ParameterCondition parameterRef="" value="" rule="lessThan"/>
</ByValueCondition>
</Condition>
<Condition name="criteria_RunningRedLightTest" delay="0" conditionEdge="rising">
<ByValueCondition>
<ParameterCondition parameterRef="" value="" rule="lessThan"/>
</ByValueCondition>
</Condition>
<Condition name="criteria_WrongLaneTest" delay="0" conditionEdge="rising">
<ByValueCondition>
<ParameterCondition parameterRef="" value="" rule="lessThan"/>
</ByValueCondition>
</Condition>
<Condition name="criteria_OnSidewalkTest" delay="0" conditionEdge="rising">
<ByValueCondition>
<ParameterCondition parameterRef="" value="" rule="lessThan"/>
</ByValueCondition>
</Condition>
<Condition name="criteria_KeepLaneTest" delay="0" conditionEdge="rising">
<ByValueCondition>
<ParameterCondition parameterRef="" value="" rule="lessThan"/>
</ByValueCondition>
</Condition>
<Condition name="criteria_CollisionTest" delay="0" conditionEdge="rising">
<ByValueCondition>
<ParameterCondition parameterRef="" value="" rule="lessThan"/>
</ByValueCondition>
</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_6061">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_w_transform_6062">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_close_to_hero_6063">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_close_to_adversary_6064">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_w_transform_6065">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
</Entities>
<Storyboard>
<Init>
<Actions>
<GlobalAction>
<EnvironmentAction>
<Environment name="Environment1">
<TimeOfDay animation="false" dateTime="2019-06-25T12:00:00"/>
<Weather cloudState="free">
<Sun intensity="0.85" azimuth="0" elevation="1.31"/>
<Fog visualRange="100000.0"/>
<Precipitation precipitationType="dry" intensity="0.0"/>
</Weather>
<RoadCondition frictionScaleFactor="1.0"/>
</Environment>
</EnvironmentAction>
</GlobalAction>
<Private entityRef="hero">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-9.4" y="-152.8" z="0.5" h="1.57079632679"/>
</Position>
</TeleportAction>
</PrivateAction>
<PrivateAction>
<ControllerAction>
<AssignControllerAction>
<Controller name="HeroAgent">
<Properties>
<Property name="module" value="external_control"/>
</Properties>
</Controller>
</AssignControllerAction>
<OverrideControllerValueAction>
<Throttle value="0" active="false"/>
<Brake value="0" active="false"/>
<Clutch value="0" active="false"/>
<ParkingBrake value="0" active="false"/>
<SteeringWheel value="0" active="false"/>
<Gear number="0" active="false"/>
</OverrideControllerValueAction>
</ControllerAction>
</PrivateAction>
</Private>
<Private entityRef="adversary">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-9.4" y="-71.0" z="0.5" h="1.57079632679"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="standing">
<PrivateAction>
<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_6061">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-14.017901420593262" y="-158.80557250976562" z="0.0014286803780123591"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_w_transform_6062">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-70.59046936035156" y="81.01487731933594" z="0.5"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_close_to_hero_6063">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-14.938528060913086" y="-144.6502685546875" z="0.0014286803780123591"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_close_to_adversary_6064">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="2.172609567642212" y="-75.2496109008789" z="0.03378215804696083"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_w_transform_6065">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="39.913856506347656" y="-90.48843383789062" 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_standing_18783">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
</Entities>
<Storyboard>
<Init>
<Actions>
<GlobalAction>
<EnvironmentAction>
<Environment name="Environment1">
<TimeOfDay animation="false" dateTime="2019-06-25T12:00:00"/>
<Weather cloudState="free">
<Sun intensity="0.85" azimuth="0" elevation="1.31"/>
<Fog visualRange="100000.0"/>
<Precipitation precipitationType="dry" intensity="0.0"/>
</Weather>
<RoadCondition frictionScaleFactor="1.0"/>
</Environment>
</EnvironmentAction>
</GlobalAction>
<Private entityRef="hero">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-9.4" y="-152.8" z="0.5" h="1.57079632679"/>
</Position>
</TeleportAction>
</PrivateAction>
<PrivateAction>
<ControllerAction>
<AssignControllerAction>
<Controller name="HeroAgent">
<Properties>
<Property name="module" value="external_control"/>
</Properties>
</Controller>
</AssignControllerAction>
<OverrideControllerValueAction>
<Throttle value="0" active="false"/>
<Brake value="0" active="false"/>
<Clutch value="0" active="false"/>
<ParkingBrake value="0" active="false"/>
<SteeringWheel value="0" active="false"/>
<Gear number="0" active="false"/>
</OverrideControllerValueAction>
</ControllerAction>
</PrivateAction>
</Private>
<Private entityRef="adversary">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-9.4" y="-71.0" z="0.5" h="1.57079632679"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="standing">
<PrivateAction>
<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_18783">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-15.040445327758789" y="29.104463577270508" z="0.0030327225103974342"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
</Actions>
</Init>
<Story name="MyStory">
<Act name="Behavior">
<ManeuverGroup maximumExecutionCount="1" name="ManeuverSequence">
<Actors selectTriggeringEntities="false">
<EntityRef entityRef="adversary"/>
</Actors>
<Maneuver name="LaneChangeSimpleManeuver">
<Event name="AdversaryAccelerates" priority="overwrite">
<Action name="AdversaryAccelerates">
<PrivateAction>
<LongitudinalAction>
<SpeedAction>
<SpeedActionDynamics dynamicsShape="step" value="50" dynamicsDimension="distance"/>
<SpeedActionTarget>
<AbsoluteTargetSpeed value="5.0"/>
</SpeedActionTarget>
</SpeedAction>
</LongitudinalAction>
</PrivateAction>
</Action>
<StartTrigger>
<ConditionGroup>
<Condition name="StartCondition" delay="0" conditionEdge="rising">
<ByEntityCondition>
<TriggeringEntities triggeringEntitiesRule="any">
<EntityRef entityRef="hero"/>
</TriggeringEntities>
<EntityCondition>
<RelativeDistanceCondition entityRef="adversary" relativeDistanceType="cartesianDistance" value="40.0" freespace="false" rule="lessThan"/>
</EntityCondition>
</ByEntityCondition>
</Condition>
</ConditionGroup>
</StartTrigger>
</Event>
<Event name="AdversaryChangesLane" priority="overwrite">
<Action name="AdversaryChangesLane">
<PrivateAction>
<LateralAction>
<LaneChangeAction>
<LaneChangeActionDynamics dynamicsShape="linear" value="25" dynamicsDimension="distance"/>
<LaneChangeTarget>
<RelativeTargetLane entityRef="adversary" value="-1"/>
</LaneChangeTarget>
</LaneChangeAction>
</LateralAction>
</PrivateAction>
</Action>
<StartTrigger>
<ConditionGroup>
<Condition name="AfterAdversaryAccelerates" delay="0" conditionEdge="rising">
<ByValueCondition>
<StoryboardElementStateCondition storyboardElementType="action" storyboardElementRef="AdversaryAccelerates" state="completeState"/>
</ByValueCondition>
</Condition>
</ConditionGroup>
</StartTrigger>
</Event>
</Maneuver>
</ManeuverGroup>
<StartTrigger>
<ConditionGroup>
<Condition name="OverallStartCondition" delay="0" conditionEdge="rising">
<ByEntityCondition>
<TriggeringEntities triggeringEntitiesRule="any">
<EntityRef entityRef="hero"/>
</TriggeringEntities>
<EntityCondition>
<TraveledDistanceCondition value="1.0"/>
</EntityCondition>
</ByEntityCondition>
</Condition>
<Condition name="StartTime" delay="0" conditionEdge="rising">
<ByValueCondition>
<SimulationTimeCondition value="0" rule="equalTo"/>
</ByValueCondition>
</Condition>
</ConditionGroup>
</StartTrigger>
<StopTrigger>
<ConditionGroup>
<Condition name="EndCondition" delay="0" conditionEdge="rising">
<ByEntityCondition>
<TriggeringEntities triggeringEntitiesRule="any">
<EntityRef entityRef="hero"/>
</TriggeringEntities>
<EntityCondition>
<TraveledDistanceCondition value="200.0"/>
</EntityCondition>
</ByEntityCondition>
</Condition>
</ConditionGroup>
</StopTrigger>
</Act>
</Story>
<StopTrigger>
<ConditionGroup>
<Condition name="criteria_RunningStopTest" delay="0" conditionEdge="rising">
<ByValueCondition>
<ParameterCondition parameterRef="" value="" rule="lessThan"/>
</ByValueCondition>
</Condition>
<Condition name="criteria_RunningRedLightTest" delay="0" conditionEdge="rising">
<ByValueCondition>
<ParameterCondition parameterRef="" value="" rule="lessThan"/>
</ByValueCondition>
</Condition>
<Condition name="criteria_WrongLaneTest" delay="0" conditionEdge="rising">
<ByValueCondition>
<ParameterCondition parameterRef="" value="" rule="lessThan"/>
</ByValueCondition>
</Condition>
<Condition name="criteria_OnSidewalkTest" delay="0" conditionEdge="rising">
<ByValueCondition>
<ParameterCondition parameterRef="" value="" rule="lessThan"/>
</ByValueCondition>
</Condition>
<Condition name="criteria_KeepLaneTest" delay="0" conditionEdge="rising">
<ByValueCondition>
<ParameterCondition parameterRef="" value="" rule="lessThan"/>
</ByValueCondition>
</Condition>
<Condition name="criteria_CollisionTest" delay="0" conditionEdge="rising">
<ByValueCondition>
<ParameterCondition parameterRef="" value="" rule="lessThan"/>
</ByValueCondition>
</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_18783">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_close_to_hero_18784">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
</Entities>
<Storyboard>
<Init>
<Actions>
<GlobalAction>
<EnvironmentAction>
<Environment name="Environment1">
<TimeOfDay animation="false" dateTime="2019-06-25T12:00:00"/>
<Weather cloudState="free">
<Sun intensity="0.85" azimuth="0" elevation="1.31"/>
<Fog visualRange="100000.0"/>
<Precipitation precipitationType="dry" intensity="0.0"/>
</Weather>
<RoadCondition frictionScaleFactor="1.0"/>
</Environment>
</EnvironmentAction>
</GlobalAction>
<Private entityRef="hero">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-9.4" y="-152.8" z="0.5" h="1.57079632679"/>
</Position>
</TeleportAction>
</PrivateAction>
<PrivateAction>
<ControllerAction>
<AssignControllerAction>
<Controller name="HeroAgent">
<Properties>
<Property name="module" value="external_control"/>
</Properties>
</Controller>
</AssignControllerAction>
<OverrideControllerValueAction>
<Throttle value="0" active="false"/>
<Brake value="0" active="false"/>
<Clutch value="0" active="false"/>
<ParkingBrake value="0" active="false"/>
<SteeringWheel value="0" active="false"/>
<Gear number="0" active="false"/>
</OverrideControllerValueAction>
</ControllerAction>
</PrivateAction>
</Private>
<Private entityRef="adversary">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-9.4" y="-71.0" z="0.5" h="1.57079632679"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="standing">
<PrivateAction>
<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_18783">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-15.040445327758789" y="29.104463577270508" z="0.0030327225103974342"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_close_to_hero_18784">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="1.3718585968017578" y="-145.1729736328125" z="0.0014286803780123591"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
</Actions>
</Init>
<Story name="MyStory">
<Act name="Behavior">
<ManeuverGroup maximumExecutionCount="1" name="ManeuverSequence">
<Actors selectTriggeringEntities="false">
<EntityRef entityRef="adversary"/>
</Actors>
<Maneuver name="LaneChangeSimpleManeuver">
<Event name="AdversaryAccelerates" priority="overwrite">
<Action name="AdversaryAccelerates">
<PrivateAction>
<LongitudinalAction>
<SpeedAction>
<SpeedActionDynamics dynamicsShape="step" value="50" dynamicsDimension="distance"/>
<SpeedActionTarget>
<AbsoluteTargetSpeed value="5.0"/>
</SpeedActionTarget>
</SpeedAction>
</LongitudinalAction>
</PrivateAction>
</Action>
<StartTrigger>
<ConditionGroup>
<Condition name="StartCondition" delay="0" conditionEdge="rising">
<ByEntityCondition>
<TriggeringEntities triggeringEntitiesRule="any">
<EntityRef entityRef="hero"/>
</TriggeringEntities>
<EntityCondition>
<RelativeDistanceCondition entityRef="adversary" relativeDistanceType="cartesianDistance" value="40.0" freespace="false" rule="lessThan"/>
</EntityCondition>
</ByEntityCondition>
</Condition>
</ConditionGroup>
</StartTrigger>
</Event>
<Event name="AdversaryChangesLane" priority="overwrite">
<Action name="AdversaryChangesLane">
<PrivateAction>
<LateralAction>
<LaneChangeAction>
<LaneChangeActionDynamics dynamicsShape="linear" value="25" dynamicsDimension="distance"/>
<LaneChangeTarget>
<RelativeTargetLane entityRef="adversary" value="-1"/>
</LaneChangeTarget>
</LaneChangeAction>
</LateralAction>
</PrivateAction>
</Action>
<StartTrigger>
<ConditionGroup>
<Condition name="AfterAdversaryAccelerates" delay="0" conditionEdge="rising">
<ByValueCondition>
<StoryboardElementStateCondition storyboardElementType="action" storyboardElementRef="AdversaryAccelerates" state="completeState"/>
</ByValueCondition>
</Condition>
</ConditionGroup>
</StartTrigger>
</Event>
</Maneuver>
</ManeuverGroup>
<StartTrigger>
<ConditionGroup>
<Condition name="OverallStartCondition" delay="0" conditionEdge="rising">
<ByEntityCondition>
<TriggeringEntities triggeringEntitiesRule="any">
<EntityRef entityRef="hero"/>
</TriggeringEntities>
<EntityCondition>
<TraveledDistanceCondition value="1.0"/>
</EntityCondition>
</ByEntityCondition>
</Condition>
<Condition name="StartTime" delay="0" conditionEdge="rising">
<ByValueCondition>
<SimulationTimeCondition value="0" rule="equalTo"/>
</ByValueCondition>
</Condition>
</ConditionGroup>
</StartTrigger>
<StopTrigger>
<ConditionGroup>
<Condition name="EndCondition" delay="0" conditionEdge="rising">
<ByEntityCondition>
<TriggeringEntities triggeringEntitiesRule="any">
<EntityRef entityRef="hero"/>
</TriggeringEntities>
<EntityCondition>
<TraveledDistanceCondition value="200.0"/>
</EntityCondition>
</ByEntityCondition>
</Condition>
</ConditionGroup>
</StopTrigger>
</Act>
</Story>
<StopTrigger>
<ConditionGroup>
<Condition name="criteria_RunningStopTest" delay="0" conditionEdge="rising">
<ByValueCondition>
<ParameterCondition parameterRef="" value="" rule="lessThan"/>
</ByValueCondition>
</Condition>
<Condition name="criteria_RunningRedLightTest" delay="0" conditionEdge="rising">
<ByValueCondition>
<ParameterCondition parameterRef="" value="" rule="lessThan"/>
</ByValueCondition>
</Condition>
<Condition name="criteria_WrongLaneTest" delay="0" conditionEdge="rising">
<ByValueCondition>
<ParameterCondition parameterRef="" value="" rule="lessThan"/>
</ByValueCondition>
</Condition>
<Condition name="criteria_OnSidewalkTest" delay="0" conditionEdge="rising">
<ByValueCondition>
<ParameterCondition parameterRef="" value="" rule="lessThan"/>
</ByValueCondition>
</Condition>
<Condition name="criteria_KeepLaneTest" delay="0" conditionEdge="rising">
<ByValueCondition>
<ParameterCondition parameterRef="" value="" rule="lessThan"/>
</ByValueCondition>
</Condition>
<Condition name="criteria_CollisionTest" delay="0" conditionEdge="rising">
<ByValueCondition>
<ParameterCondition parameterRef="" value="" rule="lessThan"/>
</ByValueCondition>
</Condition>
<Condition name="criteria_DrivenDistanceTest" delay="0" conditionEdge="rising">
<ByValueCondition>
<ParameterCondition parameterRef="distance_success" value="100" rule="lessThan"/>
</ByValueCondition>
</Condition>
</ConditionGroup>
</StopTrigger>
</Storyboard>
</OpenSCENARIO>
``` |
add pedestrian at location (85.42, -63.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_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_close_to_standing_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_w_transform_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_w_transform_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_close_to_adversary_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_w_transform_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_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>
<ScenarioObject name="pedestrian_w_transform_20429">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_w_transform_20430">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_w_transform_20431">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_close_to_adversary_20433">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_w_transform_20434">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_close_to_hero_20435">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_w_transform_20436">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_w_transform_20437">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
</Entities>
<Storyboard>
<Init>
<Actions>
<GlobalAction>
<EnvironmentAction>
<Environment name="Environment1">
<TimeOfDay animation="false" dateTime="2019-06-25T12:00:00"/>
<Weather cloudState="free">
<Sun intensity="0.85" azimuth="0" elevation="1.31"/>
<Fog visualRange="100000.0"/>
<Precipitation precipitationType="dry" intensity="0.0"/>
</Weather>
<RoadCondition frictionScaleFactor="1.0"/>
</Environment>
</EnvironmentAction>
</GlobalAction>
<Private entityRef="hero">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-9.4" y="-152.8" z="0.5" h="1.57079632679"/>
</Position>
</TeleportAction>
</PrivateAction>
<PrivateAction>
<ControllerAction>
<AssignControllerAction>
<Controller name="HeroAgent">
<Properties>
<Property name="module" value="external_control"/>
</Properties>
</Controller>
</AssignControllerAction>
<OverrideControllerValueAction>
<Throttle value="0" active="false"/>
<Brake value="0" active="false"/>
<Clutch value="0" active="false"/>
<ParkingBrake value="0" active="false"/>
<SteeringWheel value="0" active="false"/>
<Gear number="0" active="false"/>
</OverrideControllerValueAction>
</ControllerAction>
</PrivateAction>
</Private>
<Private entityRef="adversary">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-9.4" y="-71.0" z="0.5" h="1.57079632679"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="standing">
<PrivateAction>
<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_20420">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-12.644553184509277" y="21.72638511657715" z="0.003060912946239114"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_close_to_standing_20421">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-7.506824970245361" y="32.18842697143555" z="0.0030349730513989925"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_w_transform_20422">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="6.350664138793945" y="-35.33245086669922" z="0.5"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_w_transform_20423">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="85.28402709960938" y="-26.24201774597168" z="0.5"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_close_to_adversary_20424">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-9.032634735107422" y="-77.87466430664062" z="0.03377227857708931"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_w_transform_20425">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="55.01755142211914" y="-58.87698745727539" z="0.5"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_w_transform_20428">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-69.96961975097656" y="55.45270919799805" z="0.5"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_w_transform_20429">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="9.063312530517578" y="-82.88365173339844" z="0.5"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_w_transform_20430">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="13.610097885131836" y="96.17695617675781" z="0.5"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_w_transform_20431">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-71.51123809814453" y="30.9616756439209" z="0.5"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_close_to_adversary_20433">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-5.023204326629639" y="-74.74597930908203" z="0.03383853659033775"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_w_transform_20434">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-90.09623718261719" y="-44.44568634033203" z="0.5"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_close_to_hero_20435">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-13.197185516357422" y="-151.63180541992188" z="0.0014286803780123591"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_w_transform_20436">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="33.59206008911133" y="35.37862777709961" z="0.5"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_w_transform_20437">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-16.268310546875" y="-51.42569351196289" 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_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_close_to_standing_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_w_transform_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_w_transform_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_close_to_adversary_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_w_transform_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_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>
<ScenarioObject name="pedestrian_w_transform_20429">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_w_transform_20430">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_w_transform_20431">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_close_to_adversary_20433">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_w_transform_20434">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_close_to_hero_20435">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_w_transform_20436">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_w_transform_20437">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_w_transform_20438">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
</Entities>
<Storyboard>
<Init>
<Actions>
<GlobalAction>
<EnvironmentAction>
<Environment name="Environment1">
<TimeOfDay animation="false" dateTime="2019-06-25T12:00:00"/>
<Weather cloudState="free">
<Sun intensity="0.85" azimuth="0" elevation="1.31"/>
<Fog visualRange="100000.0"/>
<Precipitation precipitationType="dry" intensity="0.0"/>
</Weather>
<RoadCondition frictionScaleFactor="1.0"/>
</Environment>
</EnvironmentAction>
</GlobalAction>
<Private entityRef="hero">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-9.4" y="-152.8" z="0.5" h="1.57079632679"/>
</Position>
</TeleportAction>
</PrivateAction>
<PrivateAction>
<ControllerAction>
<AssignControllerAction>
<Controller name="HeroAgent">
<Properties>
<Property name="module" value="external_control"/>
</Properties>
</Controller>
</AssignControllerAction>
<OverrideControllerValueAction>
<Throttle value="0" active="false"/>
<Brake value="0" active="false"/>
<Clutch value="0" active="false"/>
<ParkingBrake value="0" active="false"/>
<SteeringWheel value="0" active="false"/>
<Gear number="0" active="false"/>
</OverrideControllerValueAction>
</ControllerAction>
</PrivateAction>
</Private>
<Private entityRef="adversary">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-9.4" y="-71.0" z="0.5" h="1.57079632679"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="standing">
<PrivateAction>
<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_20420">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-12.644553184509277" y="21.72638511657715" z="0.003060912946239114"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_close_to_standing_20421">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-7.506824970245361" y="32.18842697143555" z="0.0030349730513989925"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_w_transform_20422">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="6.350664138793945" y="-35.33245086669922" z="0.5"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_w_transform_20423">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="85.28402709960938" y="-26.24201774597168" z="0.5"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_close_to_adversary_20424">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-9.032634735107422" y="-77.87466430664062" z="0.03377227857708931"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_w_transform_20425">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="55.01755142211914" y="-58.87698745727539" z="0.5"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_w_transform_20428">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-69.96961975097656" y="55.45270919799805" z="0.5"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_w_transform_20429">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="9.063312530517578" y="-82.88365173339844" z="0.5"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_w_transform_20430">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="13.610097885131836" y="96.17695617675781" z="0.5"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_w_transform_20431">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-71.51123809814453" y="30.9616756439209" z="0.5"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_close_to_adversary_20433">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-5.023204326629639" y="-74.74597930908203" z="0.03383853659033775"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_w_transform_20434">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-90.09623718261719" y="-44.44568634033203" z="0.5"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_close_to_hero_20435">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-13.197185516357422" y="-151.63180541992188" z="0.0014286803780123591"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_w_transform_20436">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="33.59206008911133" y="35.37862777709961" z="0.5"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_w_transform_20437">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-16.268310546875" y="-51.42569351196289" z="0.5"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_w_transform_20438">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="85.42334747314453" y="-63.27404022216797" 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 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_156">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_w_transform_157">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_close_to_standing_158">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_w_transform_159">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_close_to_hero_160">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_close_to_adversary_161">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_w_transform_162">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_close_to_standing_163">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_w_transform_164">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_w_transform_166">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_close_to_hero_167">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_close_to_hero_168">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_close_to_hero_169">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_close_to_adversary_170">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_w_transform_171">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
</Entities>
<Storyboard>
<Init>
<Actions>
<GlobalAction>
<EnvironmentAction>
<Environment name="Environment1">
<TimeOfDay animation="false" dateTime="2019-06-25T12:00:00"/>
<Weather cloudState="free">
<Sun intensity="0.85" azimuth="0" elevation="1.31"/>
<Fog visualRange="100000.0"/>
<Precipitation precipitationType="dry" intensity="0.0"/>
</Weather>
<RoadCondition frictionScaleFactor="1.0"/>
</Environment>
</EnvironmentAction>
</GlobalAction>
<Private entityRef="hero">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-9.4" y="-152.8" z="0.5" h="1.57079632679"/>
</Position>
</TeleportAction>
</PrivateAction>
<PrivateAction>
<ControllerAction>
<AssignControllerAction>
<Controller name="HeroAgent">
<Properties>
<Property name="module" value="external_control"/>
</Properties>
</Controller>
</AssignControllerAction>
<OverrideControllerValueAction>
<Throttle value="0" active="false"/>
<Brake value="0" active="false"/>
<Clutch value="0" active="false"/>
<ParkingBrake value="0" active="false"/>
<SteeringWheel value="0" active="false"/>
<Gear number="0" active="false"/>
</OverrideControllerValueAction>
</ControllerAction>
</PrivateAction>
</Private>
<Private entityRef="adversary">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-9.4" y="-71.0" z="0.5" h="1.57079632679"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="standing">
<PrivateAction>
<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_156">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-15.76103687286377" y="29.353952407836914" z="0.003063850337639451"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_w_transform_157">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="98.11602020263672" y="46.81037139892578" z="0.5"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_close_to_standing_158">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-7.4397807121276855" y="41.543739318847656" z="0.0030701826326549053"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_w_transform_159">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-41.868980407714844" y="-40.496639251708984" z="0.5"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_close_to_hero_160">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-7.538870811462402" y="-152.7632293701172" z="0.0014286803780123591"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_close_to_adversary_161">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-8.021154403686523" y="-79.51778411865234" z="0.03380134329199791"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_w_transform_162">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-73.33277893066406" y="16.08094024658203" z="0.5"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_close_to_standing_163">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-11.202692031860352" y="32.617435455322266" z="0.0031032562255859375"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_w_transform_164">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="63.565185546875" y="87.94251251220703" z="0.5"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_w_transform_166">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="84.58045959472656" y="10.603653907775879" z="0.5"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_close_to_hero_167">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-10.502372741699219" y="-148.9876708984375" z="0.0014286803780123591"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_close_to_hero_168">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-6.5446038246154785" y="-147.85763549804688" z="0.0014286803780123591"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_close_to_hero_169">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-5.943624973297119" y="-143.08766174316406" z="0.0014286803780123591"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_close_to_adversary_170">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-15.737662315368652" y="-73.78240966796875" z="0.033785171806812286"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_w_transform_171">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-63.08668518066406" y="85.2863540649414" 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_156">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_w_transform_157">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_close_to_standing_158">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_w_transform_159">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_close_to_hero_160">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_close_to_adversary_161">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_w_transform_162">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_close_to_standing_163">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_w_transform_164">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_w_transform_166">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_close_to_hero_167">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_close_to_hero_168">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_close_to_hero_169">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_close_to_adversary_170">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_w_transform_171">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_close_to_adversary_172">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
</Entities>
<Storyboard>
<Init>
<Actions>
<GlobalAction>
<EnvironmentAction>
<Environment name="Environment1">
<TimeOfDay animation="false" dateTime="2019-06-25T12:00:00"/>
<Weather cloudState="free">
<Sun intensity="0.85" azimuth="0" elevation="1.31"/>
<Fog visualRange="100000.0"/>
<Precipitation precipitationType="dry" intensity="0.0"/>
</Weather>
<RoadCondition frictionScaleFactor="1.0"/>
</Environment>
</EnvironmentAction>
</GlobalAction>
<Private entityRef="hero">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-9.4" y="-152.8" z="0.5" h="1.57079632679"/>
</Position>
</TeleportAction>
</PrivateAction>
<PrivateAction>
<ControllerAction>
<AssignControllerAction>
<Controller name="HeroAgent">
<Properties>
<Property name="module" value="external_control"/>
</Properties>
</Controller>
</AssignControllerAction>
<OverrideControllerValueAction>
<Throttle value="0" active="false"/>
<Brake value="0" active="false"/>
<Clutch value="0" active="false"/>
<ParkingBrake value="0" active="false"/>
<SteeringWheel value="0" active="false"/>
<Gear number="0" active="false"/>
</OverrideControllerValueAction>
</ControllerAction>
</PrivateAction>
</Private>
<Private entityRef="adversary">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-9.4" y="-71.0" z="0.5" h="1.57079632679"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="standing">
<PrivateAction>
<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_156">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-15.76103687286377" y="29.353952407836914" z="0.003063850337639451"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_w_transform_157">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="98.11602020263672" y="46.81037139892578" z="0.5"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_close_to_standing_158">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-7.4397807121276855" y="41.543739318847656" z="0.0030701826326549053"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_w_transform_159">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-41.868980407714844" y="-40.496639251708984" z="0.5"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_close_to_hero_160">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-7.538870811462402" y="-152.7632293701172" z="0.0014286803780123591"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_close_to_adversary_161">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-8.021154403686523" y="-79.51778411865234" z="0.03380134329199791"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_w_transform_162">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-73.33277893066406" y="16.08094024658203" z="0.5"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_close_to_standing_163">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-11.202692031860352" y="32.617435455322266" z="0.0031032562255859375"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_w_transform_164">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="63.565185546875" y="87.94251251220703" z="0.5"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_w_transform_166">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="84.58045959472656" y="10.603653907775879" z="0.5"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_close_to_hero_167">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-10.502372741699219" y="-148.9876708984375" z="0.0014286803780123591"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_close_to_hero_168">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-6.5446038246154785" y="-147.85763549804688" z="0.0014286803780123591"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_close_to_hero_169">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-5.943624973297119" y="-143.08766174316406" z="0.0014286803780123591"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_close_to_adversary_170">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-15.737662315368652" y="-73.78240966796875" z="0.033785171806812286"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_w_transform_171">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-63.08668518066406" y="85.2863540649414" z="0.5"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_close_to_adversary_172">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-2.6297149658203125" y="-80.47515106201172" z="0.03377674147486687"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
</Actions>
</Init>
<Story name="MyStory">
<Act name="Behavior">
<ManeuverGroup maximumExecutionCount="1" name="ManeuverSequence">
<Actors selectTriggeringEntities="false">
<EntityRef entityRef="adversary"/>
</Actors>
<Maneuver name="LaneChangeSimpleManeuver">
<Event name="AdversaryAccelerates" priority="overwrite">
<Action name="AdversaryAccelerates">
<PrivateAction>
<LongitudinalAction>
<SpeedAction>
<SpeedActionDynamics dynamicsShape="step" value="50" dynamicsDimension="distance"/>
<SpeedActionTarget>
<AbsoluteTargetSpeed value="5.0"/>
</SpeedActionTarget>
</SpeedAction>
</LongitudinalAction>
</PrivateAction>
</Action>
<StartTrigger>
<ConditionGroup>
<Condition name="StartCondition" delay="0" conditionEdge="rising">
<ByEntityCondition>
<TriggeringEntities triggeringEntitiesRule="any">
<EntityRef entityRef="hero"/>
</TriggeringEntities>
<EntityCondition>
<RelativeDistanceCondition entityRef="adversary" relativeDistanceType="cartesianDistance" value="40.0" freespace="false" rule="lessThan"/>
</EntityCondition>
</ByEntityCondition>
</Condition>
</ConditionGroup>
</StartTrigger>
</Event>
<Event name="AdversaryChangesLane" priority="overwrite">
<Action name="AdversaryChangesLane">
<PrivateAction>
<LateralAction>
<LaneChangeAction>
<LaneChangeActionDynamics dynamicsShape="linear" value="25" dynamicsDimension="distance"/>
<LaneChangeTarget>
<RelativeTargetLane entityRef="adversary" value="-1"/>
</LaneChangeTarget>
</LaneChangeAction>
</LateralAction>
</PrivateAction>
</Action>
<StartTrigger>
<ConditionGroup>
<Condition name="AfterAdversaryAccelerates" delay="0" conditionEdge="rising">
<ByValueCondition>
<StoryboardElementStateCondition storyboardElementType="action" storyboardElementRef="AdversaryAccelerates" state="completeState"/>
</ByValueCondition>
</Condition>
</ConditionGroup>
</StartTrigger>
</Event>
</Maneuver>
</ManeuverGroup>
<StartTrigger>
<ConditionGroup>
<Condition name="OverallStartCondition" delay="0" conditionEdge="rising">
<ByEntityCondition>
<TriggeringEntities triggeringEntitiesRule="any">
<EntityRef entityRef="hero"/>
</TriggeringEntities>
<EntityCondition>
<TraveledDistanceCondition value="1.0"/>
</EntityCondition>
</ByEntityCondition>
</Condition>
<Condition name="StartTime" delay="0" conditionEdge="rising">
<ByValueCondition>
<SimulationTimeCondition value="0" rule="equalTo"/>
</ByValueCondition>
</Condition>
</ConditionGroup>
</StartTrigger>
<StopTrigger>
<ConditionGroup>
<Condition name="EndCondition" delay="0" conditionEdge="rising">
<ByEntityCondition>
<TriggeringEntities triggeringEntitiesRule="any">
<EntityRef entityRef="hero"/>
</TriggeringEntities>
<EntityCondition>
<TraveledDistanceCondition value="200.0"/>
</EntityCondition>
</ByEntityCondition>
</Condition>
</ConditionGroup>
</StopTrigger>
</Act>
</Story>
<StopTrigger>
<ConditionGroup>
<Condition name="criteria_RunningStopTest" delay="0" conditionEdge="rising">
<ByValueCondition>
<ParameterCondition parameterRef="" value="" rule="lessThan"/>
</ByValueCondition>
</Condition>
<Condition name="criteria_RunningRedLightTest" delay="0" conditionEdge="rising">
<ByValueCondition>
<ParameterCondition parameterRef="" value="" rule="lessThan"/>
</ByValueCondition>
</Condition>
<Condition name="criteria_WrongLaneTest" delay="0" conditionEdge="rising">
<ByValueCondition>
<ParameterCondition parameterRef="" value="" rule="lessThan"/>
</ByValueCondition>
</Condition>
<Condition name="criteria_OnSidewalkTest" delay="0" conditionEdge="rising">
<ByValueCondition>
<ParameterCondition parameterRef="" value="" rule="lessThan"/>
</ByValueCondition>
</Condition>
<Condition name="criteria_KeepLaneTest" delay="0" conditionEdge="rising">
<ByValueCondition>
<ParameterCondition parameterRef="" value="" rule="lessThan"/>
</ByValueCondition>
</Condition>
<Condition name="criteria_CollisionTest" delay="0" conditionEdge="rising">
<ByValueCondition>
<ParameterCondition parameterRef="" value="" rule="lessThan"/>
</ByValueCondition>
</Condition>
<Condition name="criteria_DrivenDistanceTest" delay="0" conditionEdge="rising">
<ByValueCondition>
<ParameterCondition parameterRef="distance_success" value="100" rule="lessThan"/>
</ByValueCondition>
</Condition>
</ConditionGroup>
</StopTrigger>
</Storyboard>
</OpenSCENARIO>
``` |
please add pedestrian close to hero?
```
<?xml version="1.0" ?>
<OpenSCENARIO>
<FileHeader revMajor="1" revMinor="0" date="2020-03-24T12:00:00" description="CARLA:LaneChangeSimple" author=""/>
<ParameterDeclarations/>
<CatalogLocations/>
<RoadNetwork>
<LogicFile filepath="Town04"/>
<SceneGraphFile filepath=""/>
</RoadNetwork>
<Entities>
<ScenarioObject name="hero">
<Vehicle name="vehicle.tesla.model3" vehicleCategory="car">
<ParameterDeclarations/>
<Performance maxSpeed="69.444" maxAcceleration="200" maxDeceleration="10.0"/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2.1" length="4.5" height="1.8"/>
</BoundingBox>
<Axles>
<FrontAxle maxSteering="0.5" wheelDiameter="0.6" trackWidth="1.8" positionX="3.1" positionZ="0.3"/>
<RearAxle maxSteering="0.0" wheelDiameter="0.6" trackWidth="1.8" positionX="0.0" positionZ="0.3"/>
</Axles>
<Properties>
<Property name="type" value="ego_vehicle"/>
</Properties>
</Vehicle>
</ScenarioObject>
<ScenarioObject name="adversary">
<Vehicle name="vehicle.lincoln.mkz_2017" vehicleCategory="car">
<ParameterDeclarations/>
<Performance maxSpeed="69.444" maxAcceleration="200" maxDeceleration="10.0"/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2.1" length="4.5" height="1.8"/>
</BoundingBox>
<Axles>
<FrontAxle maxSteering="0.5" wheelDiameter="0.6" trackWidth="1.8" positionX="3.1" positionZ="0.3"/>
<RearAxle maxSteering="0.0" wheelDiameter="0.6" trackWidth="1.8" positionX="0.0" positionZ="0.3"/>
</Axles>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Vehicle>
</ScenarioObject>
<ScenarioObject name="standing">
<Vehicle name="vehicle.volkswagen.t2" vehicleCategory="car">
<ParameterDeclarations/>
<Performance maxSpeed="69.444" maxAcceleration="200" maxDeceleration="10.0"/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2.1" length="4.5" height="1.8"/>
</BoundingBox>
<Axles>
<FrontAxle maxSteering="0.5" wheelDiameter="0.6" trackWidth="1.8" positionX="3.1" positionZ="0.3"/>
<RearAxle maxSteering="0.0" wheelDiameter="0.6" trackWidth="1.8" positionX="0.0" positionZ="0.3"/>
</Axles>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Vehicle>
</ScenarioObject>
<ScenarioObject name="pedestrian_close_to_adversary_20289">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_close_to_hero_20290">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_w_transform_20291">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_close_to_adversary_20293">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_close_to_standing_20294">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_close_to_adversary_20295">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_w_transform_20296">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_w_transform_20297">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_close_to_hero_20298">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
</Entities>
<Storyboard>
<Init>
<Actions>
<GlobalAction>
<EnvironmentAction>
<Environment name="Environment1">
<TimeOfDay animation="false" dateTime="2019-06-25T12:00:00"/>
<Weather cloudState="free">
<Sun intensity="0.85" azimuth="0" elevation="1.31"/>
<Fog visualRange="100000.0"/>
<Precipitation precipitationType="dry" intensity="0.0"/>
</Weather>
<RoadCondition frictionScaleFactor="1.0"/>
</Environment>
</EnvironmentAction>
</GlobalAction>
<Private entityRef="hero">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-9.4" y="-152.8" z="0.5" h="1.57079632679"/>
</Position>
</TeleportAction>
</PrivateAction>
<PrivateAction>
<ControllerAction>
<AssignControllerAction>
<Controller name="HeroAgent">
<Properties>
<Property name="module" value="external_control"/>
</Properties>
</Controller>
</AssignControllerAction>
<OverrideControllerValueAction>
<Throttle value="0" active="false"/>
<Brake value="0" active="false"/>
<Clutch value="0" active="false"/>
<ParkingBrake value="0" active="false"/>
<SteeringWheel value="0" active="false"/>
<Gear number="0" active="false"/>
</OverrideControllerValueAction>
</ControllerAction>
</PrivateAction>
</Private>
<Private entityRef="adversary">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-9.4" y="-71.0" z="0.5" h="1.57079632679"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="standing">
<PrivateAction>
<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_20289">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-6.346599102020264" y="-70.36936950683594" z="0.03379733860492706"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_close_to_hero_20290">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-2.8698689937591553" y="-146.81924438476562" z="0.0014286803780123591"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_w_transform_20291">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="61.10934829711914" y="43.206417083740234" z="0.5"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_close_to_adversary_20293">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-4.9671125411987305" y="-72.3353500366211" z="0.03375415876507759"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_close_to_standing_20294">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-13.707623481750488" y="25.509994506835938" z="0.0030513000674545765"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_close_to_adversary_20295">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-7.778529167175293" y="-65.9120864868164" z="0.03378986194729805"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_w_transform_20296">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-20.096338272094727" y="-32.74016571044922" z="0.5"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_w_transform_20297">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="99.1844253540039" y="-17.983734130859375" z="0.5"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_close_to_hero_20298">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-2.0313689708709717" y="-146.3583984375" z="0.0014286803780123591"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
</Actions>
</Init>
<Story name="MyStory">
<Act name="Behavior">
<ManeuverGroup maximumExecutionCount="1" name="ManeuverSequence">
<Actors selectTriggeringEntities="false">
<EntityRef entityRef="adversary"/>
</Actors>
<Maneuver name="LaneChangeSimpleManeuver">
<Event name="AdversaryAccelerates" priority="overwrite">
<Action name="AdversaryAccelerates">
<PrivateAction>
<LongitudinalAction>
<SpeedAction>
<SpeedActionDynamics dynamicsShape="step" value="50" dynamicsDimension="distance"/>
<SpeedActionTarget>
<AbsoluteTargetSpeed value="5.0"/>
</SpeedActionTarget>
</SpeedAction>
</LongitudinalAction>
</PrivateAction>
</Action>
<StartTrigger>
<ConditionGroup>
<Condition name="StartCondition" delay="0" conditionEdge="rising">
<ByEntityCondition>
<TriggeringEntities triggeringEntitiesRule="any">
<EntityRef entityRef="hero"/>
</TriggeringEntities>
<EntityCondition>
<RelativeDistanceCondition entityRef="adversary" relativeDistanceType="cartesianDistance" value="40.0" freespace="false" rule="lessThan"/>
</EntityCondition>
</ByEntityCondition>
</Condition>
</ConditionGroup>
</StartTrigger>
</Event>
<Event name="AdversaryChangesLane" priority="overwrite">
<Action name="AdversaryChangesLane">
<PrivateAction>
<LateralAction>
<LaneChangeAction>
<LaneChangeActionDynamics dynamicsShape="linear" value="25" dynamicsDimension="distance"/>
<LaneChangeTarget>
<RelativeTargetLane entityRef="adversary" value="-1"/>
</LaneChangeTarget>
</LaneChangeAction>
</LateralAction>
</PrivateAction>
</Action>
<StartTrigger>
<ConditionGroup>
<Condition name="AfterAdversaryAccelerates" delay="0" conditionEdge="rising">
<ByValueCondition>
<StoryboardElementStateCondition storyboardElementType="action" storyboardElementRef="AdversaryAccelerates" state="completeState"/>
</ByValueCondition>
</Condition>
</ConditionGroup>
</StartTrigger>
</Event>
</Maneuver>
</ManeuverGroup>
<StartTrigger>
<ConditionGroup>
<Condition name="OverallStartCondition" delay="0" conditionEdge="rising">
<ByEntityCondition>
<TriggeringEntities triggeringEntitiesRule="any">
<EntityRef entityRef="hero"/>
</TriggeringEntities>
<EntityCondition>
<TraveledDistanceCondition value="1.0"/>
</EntityCondition>
</ByEntityCondition>
</Condition>
<Condition name="StartTime" delay="0" conditionEdge="rising">
<ByValueCondition>
<SimulationTimeCondition value="0" rule="equalTo"/>
</ByValueCondition>
</Condition>
</ConditionGroup>
</StartTrigger>
<StopTrigger>
<ConditionGroup>
<Condition name="EndCondition" delay="0" conditionEdge="rising">
<ByEntityCondition>
<TriggeringEntities triggeringEntitiesRule="any">
<EntityRef entityRef="hero"/>
</TriggeringEntities>
<EntityCondition>
<TraveledDistanceCondition value="200.0"/>
</EntityCondition>
</ByEntityCondition>
</Condition>
</ConditionGroup>
</StopTrigger>
</Act>
</Story>
<StopTrigger>
<ConditionGroup>
<Condition name="criteria_RunningStopTest" delay="0" conditionEdge="rising">
<ByValueCondition>
<ParameterCondition parameterRef="" value="" rule="lessThan"/>
</ByValueCondition>
</Condition>
<Condition name="criteria_RunningRedLightTest" delay="0" conditionEdge="rising">
<ByValueCondition>
<ParameterCondition parameterRef="" value="" rule="lessThan"/>
</ByValueCondition>
</Condition>
<Condition name="criteria_WrongLaneTest" delay="0" conditionEdge="rising">
<ByValueCondition>
<ParameterCondition parameterRef="" value="" rule="lessThan"/>
</ByValueCondition>
</Condition>
<Condition name="criteria_OnSidewalkTest" delay="0" conditionEdge="rising">
<ByValueCondition>
<ParameterCondition parameterRef="" value="" rule="lessThan"/>
</ByValueCondition>
</Condition>
<Condition name="criteria_KeepLaneTest" delay="0" conditionEdge="rising">
<ByValueCondition>
<ParameterCondition parameterRef="" value="" rule="lessThan"/>
</ByValueCondition>
</Condition>
<Condition name="criteria_CollisionTest" delay="0" conditionEdge="rising">
<ByValueCondition>
<ParameterCondition parameterRef="" value="" rule="lessThan"/>
</ByValueCondition>
</Condition>
<Condition name="criteria_DrivenDistanceTest" delay="0" conditionEdge="rising">
<ByValueCondition>
<ParameterCondition parameterRef="distance_success" value="100" rule="lessThan"/>
</ByValueCondition>
</Condition>
</ConditionGroup>
</StopTrigger>
</Storyboard>
</OpenSCENARIO>
``` | Here is the result:
```
<?xml version="1.0" ?>
<OpenSCENARIO>
<FileHeader revMajor="1" revMinor="0" date="2020-03-24T12:00:00" description="CARLA:LaneChangeSimple" author=""/>
<ParameterDeclarations/>
<CatalogLocations/>
<RoadNetwork>
<LogicFile filepath="Town04"/>
<SceneGraphFile filepath=""/>
</RoadNetwork>
<Entities>
<ScenarioObject name="hero">
<Vehicle name="vehicle.tesla.model3" vehicleCategory="car">
<ParameterDeclarations/>
<Performance maxSpeed="69.444" maxAcceleration="200" maxDeceleration="10.0"/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2.1" length="4.5" height="1.8"/>
</BoundingBox>
<Axles>
<FrontAxle maxSteering="0.5" wheelDiameter="0.6" trackWidth="1.8" positionX="3.1" positionZ="0.3"/>
<RearAxle maxSteering="0.0" wheelDiameter="0.6" trackWidth="1.8" positionX="0.0" positionZ="0.3"/>
</Axles>
<Properties>
<Property name="type" value="ego_vehicle"/>
</Properties>
</Vehicle>
</ScenarioObject>
<ScenarioObject name="adversary">
<Vehicle name="vehicle.lincoln.mkz_2017" vehicleCategory="car">
<ParameterDeclarations/>
<Performance maxSpeed="69.444" maxAcceleration="200" maxDeceleration="10.0"/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2.1" length="4.5" height="1.8"/>
</BoundingBox>
<Axles>
<FrontAxle maxSteering="0.5" wheelDiameter="0.6" trackWidth="1.8" positionX="3.1" positionZ="0.3"/>
<RearAxle maxSteering="0.0" wheelDiameter="0.6" trackWidth="1.8" positionX="0.0" positionZ="0.3"/>
</Axles>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Vehicle>
</ScenarioObject>
<ScenarioObject name="standing">
<Vehicle name="vehicle.volkswagen.t2" vehicleCategory="car">
<ParameterDeclarations/>
<Performance maxSpeed="69.444" maxAcceleration="200" maxDeceleration="10.0"/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2.1" length="4.5" height="1.8"/>
</BoundingBox>
<Axles>
<FrontAxle maxSteering="0.5" wheelDiameter="0.6" trackWidth="1.8" positionX="3.1" positionZ="0.3"/>
<RearAxle maxSteering="0.0" wheelDiameter="0.6" trackWidth="1.8" positionX="0.0" positionZ="0.3"/>
</Axles>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Vehicle>
</ScenarioObject>
<ScenarioObject name="pedestrian_close_to_adversary_20289">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_close_to_hero_20290">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_w_transform_20291">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_close_to_adversary_20293">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_close_to_standing_20294">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_close_to_adversary_20295">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_w_transform_20296">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_w_transform_20297">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_close_to_hero_20298">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_close_to_hero_20299">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
</Entities>
<Storyboard>
<Init>
<Actions>
<GlobalAction>
<EnvironmentAction>
<Environment name="Environment1">
<TimeOfDay animation="false" dateTime="2019-06-25T12:00:00"/>
<Weather cloudState="free">
<Sun intensity="0.85" azimuth="0" elevation="1.31"/>
<Fog visualRange="100000.0"/>
<Precipitation precipitationType="dry" intensity="0.0"/>
</Weather>
<RoadCondition frictionScaleFactor="1.0"/>
</Environment>
</EnvironmentAction>
</GlobalAction>
<Private entityRef="hero">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-9.4" y="-152.8" z="0.5" h="1.57079632679"/>
</Position>
</TeleportAction>
</PrivateAction>
<PrivateAction>
<ControllerAction>
<AssignControllerAction>
<Controller name="HeroAgent">
<Properties>
<Property name="module" value="external_control"/>
</Properties>
</Controller>
</AssignControllerAction>
<OverrideControllerValueAction>
<Throttle value="0" active="false"/>
<Brake value="0" active="false"/>
<Clutch value="0" active="false"/>
<ParkingBrake value="0" active="false"/>
<SteeringWheel value="0" active="false"/>
<Gear number="0" active="false"/>
</OverrideControllerValueAction>
</ControllerAction>
</PrivateAction>
</Private>
<Private entityRef="adversary">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-9.4" y="-71.0" z="0.5" h="1.57079632679"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="standing">
<PrivateAction>
<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_20289">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-6.346599102020264" y="-70.36936950683594" z="0.03379733860492706"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_close_to_hero_20290">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-2.8698689937591553" y="-146.81924438476562" z="0.0014286803780123591"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_w_transform_20291">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="61.10934829711914" y="43.206417083740234" z="0.5"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_close_to_adversary_20293">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-4.9671125411987305" y="-72.3353500366211" z="0.03375415876507759"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_close_to_standing_20294">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-13.707623481750488" y="25.509994506835938" z="0.0030513000674545765"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_close_to_adversary_20295">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-7.778529167175293" y="-65.9120864868164" z="0.03378986194729805"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_w_transform_20296">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-20.096338272094727" y="-32.74016571044922" z="0.5"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_w_transform_20297">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="99.1844253540039" y="-17.983734130859375" z="0.5"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_close_to_hero_20298">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-2.0313689708709717" y="-146.3583984375" z="0.0014286803780123591"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_close_to_hero_20299">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-12.035634994506836" y="-145.3052520751953" z="0.0014286803780123591"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
</Actions>
</Init>
<Story name="MyStory">
<Act name="Behavior">
<ManeuverGroup maximumExecutionCount="1" name="ManeuverSequence">
<Actors selectTriggeringEntities="false">
<EntityRef entityRef="adversary"/>
</Actors>
<Maneuver name="LaneChangeSimpleManeuver">
<Event name="AdversaryAccelerates" priority="overwrite">
<Action name="AdversaryAccelerates">
<PrivateAction>
<LongitudinalAction>
<SpeedAction>
<SpeedActionDynamics dynamicsShape="step" value="50" dynamicsDimension="distance"/>
<SpeedActionTarget>
<AbsoluteTargetSpeed value="5.0"/>
</SpeedActionTarget>
</SpeedAction>
</LongitudinalAction>
</PrivateAction>
</Action>
<StartTrigger>
<ConditionGroup>
<Condition name="StartCondition" delay="0" conditionEdge="rising">
<ByEntityCondition>
<TriggeringEntities triggeringEntitiesRule="any">
<EntityRef entityRef="hero"/>
</TriggeringEntities>
<EntityCondition>
<RelativeDistanceCondition entityRef="adversary" relativeDistanceType="cartesianDistance" value="40.0" freespace="false" rule="lessThan"/>
</EntityCondition>
</ByEntityCondition>
</Condition>
</ConditionGroup>
</StartTrigger>
</Event>
<Event name="AdversaryChangesLane" priority="overwrite">
<Action name="AdversaryChangesLane">
<PrivateAction>
<LateralAction>
<LaneChangeAction>
<LaneChangeActionDynamics dynamicsShape="linear" value="25" dynamicsDimension="distance"/>
<LaneChangeTarget>
<RelativeTargetLane entityRef="adversary" value="-1"/>
</LaneChangeTarget>
</LaneChangeAction>
</LateralAction>
</PrivateAction>
</Action>
<StartTrigger>
<ConditionGroup>
<Condition name="AfterAdversaryAccelerates" delay="0" conditionEdge="rising">
<ByValueCondition>
<StoryboardElementStateCondition storyboardElementType="action" storyboardElementRef="AdversaryAccelerates" state="completeState"/>
</ByValueCondition>
</Condition>
</ConditionGroup>
</StartTrigger>
</Event>
</Maneuver>
</ManeuverGroup>
<StartTrigger>
<ConditionGroup>
<Condition name="OverallStartCondition" delay="0" conditionEdge="rising">
<ByEntityCondition>
<TriggeringEntities triggeringEntitiesRule="any">
<EntityRef entityRef="hero"/>
</TriggeringEntities>
<EntityCondition>
<TraveledDistanceCondition value="1.0"/>
</EntityCondition>
</ByEntityCondition>
</Condition>
<Condition name="StartTime" delay="0" conditionEdge="rising">
<ByValueCondition>
<SimulationTimeCondition value="0" rule="equalTo"/>
</ByValueCondition>
</Condition>
</ConditionGroup>
</StartTrigger>
<StopTrigger>
<ConditionGroup>
<Condition name="EndCondition" delay="0" conditionEdge="rising">
<ByEntityCondition>
<TriggeringEntities triggeringEntitiesRule="any">
<EntityRef entityRef="hero"/>
</TriggeringEntities>
<EntityCondition>
<TraveledDistanceCondition value="200.0"/>
</EntityCondition>
</ByEntityCondition>
</Condition>
</ConditionGroup>
</StopTrigger>
</Act>
</Story>
<StopTrigger>
<ConditionGroup>
<Condition name="criteria_RunningStopTest" delay="0" conditionEdge="rising">
<ByValueCondition>
<ParameterCondition parameterRef="" value="" rule="lessThan"/>
</ByValueCondition>
</Condition>
<Condition name="criteria_RunningRedLightTest" delay="0" conditionEdge="rising">
<ByValueCondition>
<ParameterCondition parameterRef="" value="" rule="lessThan"/>
</ByValueCondition>
</Condition>
<Condition name="criteria_WrongLaneTest" delay="0" conditionEdge="rising">
<ByValueCondition>
<ParameterCondition parameterRef="" value="" rule="lessThan"/>
</ByValueCondition>
</Condition>
<Condition name="criteria_OnSidewalkTest" delay="0" conditionEdge="rising">
<ByValueCondition>
<ParameterCondition parameterRef="" value="" rule="lessThan"/>
</ByValueCondition>
</Condition>
<Condition name="criteria_KeepLaneTest" delay="0" conditionEdge="rising">
<ByValueCondition>
<ParameterCondition parameterRef="" value="" rule="lessThan"/>
</ByValueCondition>
</Condition>
<Condition name="criteria_CollisionTest" delay="0" conditionEdge="rising">
<ByValueCondition>
<ParameterCondition parameterRef="" value="" rule="lessThan"/>
</ByValueCondition>
</Condition>
<Condition name="criteria_DrivenDistanceTest" delay="0" conditionEdge="rising">
<ByValueCondition>
<ParameterCondition parameterRef="distance_success" value="100" rule="lessThan"/>
</ByValueCondition>
</Condition>
</ConditionGroup>
</StopTrigger>
</Storyboard>
</OpenSCENARIO>
``` |
i would like to command you to add pedestrian 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_15220">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_w_transform_15221">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
</Entities>
<Storyboard>
<Init>
<Actions>
<GlobalAction>
<EnvironmentAction>
<Environment name="Environment1">
<TimeOfDay animation="false" dateTime="2019-06-25T12:00:00"/>
<Weather cloudState="free">
<Sun intensity="0.85" azimuth="0" elevation="1.31"/>
<Fog visualRange="100000.0"/>
<Precipitation precipitationType="dry" intensity="0.0"/>
</Weather>
<RoadCondition frictionScaleFactor="1.0"/>
</Environment>
</EnvironmentAction>
</GlobalAction>
<Private entityRef="hero">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-9.4" y="-152.8" z="0.5" h="1.57079632679"/>
</Position>
</TeleportAction>
</PrivateAction>
<PrivateAction>
<ControllerAction>
<AssignControllerAction>
<Controller name="HeroAgent">
<Properties>
<Property name="module" value="external_control"/>
</Properties>
</Controller>
</AssignControllerAction>
<OverrideControllerValueAction>
<Throttle value="0" active="false"/>
<Brake value="0" active="false"/>
<Clutch value="0" active="false"/>
<ParkingBrake value="0" active="false"/>
<SteeringWheel value="0" active="false"/>
<Gear number="0" active="false"/>
</OverrideControllerValueAction>
</ControllerAction>
</PrivateAction>
</Private>
<Private entityRef="adversary">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-9.4" y="-71.0" z="0.5" h="1.57079632679"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="standing">
<PrivateAction>
<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_15220">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="2.7449774742126465" y="-150.32620239257812" z="0.0014286803780123591"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_w_transform_15221">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-83.8262939453125" y="-47.12211227416992" 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_15220">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_w_transform_15221">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_close_to_hero_15222">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
</Entities>
<Storyboard>
<Init>
<Actions>
<GlobalAction>
<EnvironmentAction>
<Environment name="Environment1">
<TimeOfDay animation="false" dateTime="2019-06-25T12:00:00"/>
<Weather cloudState="free">
<Sun intensity="0.85" azimuth="0" elevation="1.31"/>
<Fog visualRange="100000.0"/>
<Precipitation precipitationType="dry" intensity="0.0"/>
</Weather>
<RoadCondition frictionScaleFactor="1.0"/>
</Environment>
</EnvironmentAction>
</GlobalAction>
<Private entityRef="hero">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-9.4" y="-152.8" z="0.5" h="1.57079632679"/>
</Position>
</TeleportAction>
</PrivateAction>
<PrivateAction>
<ControllerAction>
<AssignControllerAction>
<Controller name="HeroAgent">
<Properties>
<Property name="module" value="external_control"/>
</Properties>
</Controller>
</AssignControllerAction>
<OverrideControllerValueAction>
<Throttle value="0" active="false"/>
<Brake value="0" active="false"/>
<Clutch value="0" active="false"/>
<ParkingBrake value="0" active="false"/>
<SteeringWheel value="0" active="false"/>
<Gear number="0" active="false"/>
</OverrideControllerValueAction>
</ControllerAction>
</PrivateAction>
</Private>
<Private entityRef="adversary">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-9.4" y="-71.0" z="0.5" h="1.57079632679"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="standing">
<PrivateAction>
<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_15220">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="2.7449774742126465" y="-150.32620239257812" z="0.0014286803780123591"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_w_transform_15221">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-83.8262939453125" y="-47.12211227416992" z="0.5"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_close_to_hero_15222">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-12.942112922668457" y="-146.1875457763672" z="0.0014286803780123591"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
</Actions>
</Init>
<Story name="MyStory">
<Act name="Behavior">
<ManeuverGroup maximumExecutionCount="1" name="ManeuverSequence">
<Actors selectTriggeringEntities="false">
<EntityRef entityRef="adversary"/>
</Actors>
<Maneuver name="LaneChangeSimpleManeuver">
<Event name="AdversaryAccelerates" priority="overwrite">
<Action name="AdversaryAccelerates">
<PrivateAction>
<LongitudinalAction>
<SpeedAction>
<SpeedActionDynamics dynamicsShape="step" value="50" dynamicsDimension="distance"/>
<SpeedActionTarget>
<AbsoluteTargetSpeed value="5.0"/>
</SpeedActionTarget>
</SpeedAction>
</LongitudinalAction>
</PrivateAction>
</Action>
<StartTrigger>
<ConditionGroup>
<Condition name="StartCondition" delay="0" conditionEdge="rising">
<ByEntityCondition>
<TriggeringEntities triggeringEntitiesRule="any">
<EntityRef entityRef="hero"/>
</TriggeringEntities>
<EntityCondition>
<RelativeDistanceCondition entityRef="adversary" relativeDistanceType="cartesianDistance" value="40.0" freespace="false" rule="lessThan"/>
</EntityCondition>
</ByEntityCondition>
</Condition>
</ConditionGroup>
</StartTrigger>
</Event>
<Event name="AdversaryChangesLane" priority="overwrite">
<Action name="AdversaryChangesLane">
<PrivateAction>
<LateralAction>
<LaneChangeAction>
<LaneChangeActionDynamics dynamicsShape="linear" value="25" dynamicsDimension="distance"/>
<LaneChangeTarget>
<RelativeTargetLane entityRef="adversary" value="-1"/>
</LaneChangeTarget>
</LaneChangeAction>
</LateralAction>
</PrivateAction>
</Action>
<StartTrigger>
<ConditionGroup>
<Condition name="AfterAdversaryAccelerates" delay="0" conditionEdge="rising">
<ByValueCondition>
<StoryboardElementStateCondition storyboardElementType="action" storyboardElementRef="AdversaryAccelerates" state="completeState"/>
</ByValueCondition>
</Condition>
</ConditionGroup>
</StartTrigger>
</Event>
</Maneuver>
</ManeuverGroup>
<StartTrigger>
<ConditionGroup>
<Condition name="OverallStartCondition" delay="0" conditionEdge="rising">
<ByEntityCondition>
<TriggeringEntities triggeringEntitiesRule="any">
<EntityRef entityRef="hero"/>
</TriggeringEntities>
<EntityCondition>
<TraveledDistanceCondition value="1.0"/>
</EntityCondition>
</ByEntityCondition>
</Condition>
<Condition name="StartTime" delay="0" conditionEdge="rising">
<ByValueCondition>
<SimulationTimeCondition value="0" rule="equalTo"/>
</ByValueCondition>
</Condition>
</ConditionGroup>
</StartTrigger>
<StopTrigger>
<ConditionGroup>
<Condition name="EndCondition" delay="0" conditionEdge="rising">
<ByEntityCondition>
<TriggeringEntities triggeringEntitiesRule="any">
<EntityRef entityRef="hero"/>
</TriggeringEntities>
<EntityCondition>
<TraveledDistanceCondition value="200.0"/>
</EntityCondition>
</ByEntityCondition>
</Condition>
</ConditionGroup>
</StopTrigger>
</Act>
</Story>
<StopTrigger>
<ConditionGroup>
<Condition name="criteria_RunningStopTest" delay="0" conditionEdge="rising">
<ByValueCondition>
<ParameterCondition parameterRef="" value="" rule="lessThan"/>
</ByValueCondition>
</Condition>
<Condition name="criteria_RunningRedLightTest" delay="0" conditionEdge="rising">
<ByValueCondition>
<ParameterCondition parameterRef="" value="" rule="lessThan"/>
</ByValueCondition>
</Condition>
<Condition name="criteria_WrongLaneTest" delay="0" conditionEdge="rising">
<ByValueCondition>
<ParameterCondition parameterRef="" value="" rule="lessThan"/>
</ByValueCondition>
</Condition>
<Condition name="criteria_OnSidewalkTest" delay="0" conditionEdge="rising">
<ByValueCondition>
<ParameterCondition parameterRef="" value="" rule="lessThan"/>
</ByValueCondition>
</Condition>
<Condition name="criteria_KeepLaneTest" delay="0" conditionEdge="rising">
<ByValueCondition>
<ParameterCondition parameterRef="" value="" rule="lessThan"/>
</ByValueCondition>
</Condition>
<Condition name="criteria_CollisionTest" delay="0" conditionEdge="rising">
<ByValueCondition>
<ParameterCondition parameterRef="" value="" rule="lessThan"/>
</ByValueCondition>
</Condition>
<Condition name="criteria_DrivenDistanceTest" delay="0" conditionEdge="rising">
<ByValueCondition>
<ParameterCondition parameterRef="distance_success" value="100" rule="lessThan"/>
</ByValueCondition>
</Condition>
</ConditionGroup>
</StopTrigger>
</Storyboard>
</OpenSCENARIO>
``` |
i would like to lead you to add pedestrian at location (-11.27, 32.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_hero_3256">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_close_to_standing_3257">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_w_transform_3258">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_close_to_hero_3259">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_close_to_adversary_3260">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_close_to_standing_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_w_transform_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>
</Entities>
<Storyboard>
<Init>
<Actions>
<GlobalAction>
<EnvironmentAction>
<Environment name="Environment1">
<TimeOfDay animation="false" dateTime="2019-06-25T12:00:00"/>
<Weather cloudState="free">
<Sun intensity="0.85" azimuth="0" elevation="1.31"/>
<Fog visualRange="100000.0"/>
<Precipitation precipitationType="dry" intensity="0.0"/>
</Weather>
<RoadCondition frictionScaleFactor="1.0"/>
</Environment>
</EnvironmentAction>
</GlobalAction>
<Private entityRef="hero">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-9.4" y="-152.8" z="0.5" h="1.57079632679"/>
</Position>
</TeleportAction>
</PrivateAction>
<PrivateAction>
<ControllerAction>
<AssignControllerAction>
<Controller name="HeroAgent">
<Properties>
<Property name="module" value="external_control"/>
</Properties>
</Controller>
</AssignControllerAction>
<OverrideControllerValueAction>
<Throttle value="0" active="false"/>
<Brake value="0" active="false"/>
<Clutch value="0" active="false"/>
<ParkingBrake value="0" active="false"/>
<SteeringWheel value="0" active="false"/>
<Gear number="0" active="false"/>
</OverrideControllerValueAction>
</ControllerAction>
</PrivateAction>
</Private>
<Private entityRef="adversary">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-9.4" y="-71.0" z="0.5" h="1.57079632679"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="standing">
<PrivateAction>
<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_3256">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-9.393343925476074" y="-162.10400390625" z="0.0014286803780123591"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_close_to_standing_3257">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-12.269804954528809" y="37.104522705078125" z="0.003060684073716402"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_w_transform_3258">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-7.001920223236084" y="18.13625144958496" z="0.5"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_close_to_hero_3259">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-3.6292431354522705" y="-143.56756591796875" z="0.0014286803780123591"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_close_to_adversary_3260">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-19.390443801879883" y="-74.11681365966797" z="0.03383197635412216"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_close_to_standing_3261">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-4.8530354499816895" y="20.83396339416504" z="0.0030879592522978783"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_w_transform_3262">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="60.19411849975586" y="-24.058706283569336" 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_3256">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_close_to_standing_3257">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_w_transform_3258">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_close_to_hero_3259">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_close_to_adversary_3260">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_close_to_standing_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_w_transform_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>
</Entities>
<Storyboard>
<Init>
<Actions>
<GlobalAction>
<EnvironmentAction>
<Environment name="Environment1">
<TimeOfDay animation="false" dateTime="2019-06-25T12:00:00"/>
<Weather cloudState="free">
<Sun intensity="0.85" azimuth="0" elevation="1.31"/>
<Fog visualRange="100000.0"/>
<Precipitation precipitationType="dry" intensity="0.0"/>
</Weather>
<RoadCondition frictionScaleFactor="1.0"/>
</Environment>
</EnvironmentAction>
</GlobalAction>
<Private entityRef="hero">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-9.4" y="-152.8" z="0.5" h="1.57079632679"/>
</Position>
</TeleportAction>
</PrivateAction>
<PrivateAction>
<ControllerAction>
<AssignControllerAction>
<Controller name="HeroAgent">
<Properties>
<Property name="module" value="external_control"/>
</Properties>
</Controller>
</AssignControllerAction>
<OverrideControllerValueAction>
<Throttle value="0" active="false"/>
<Brake value="0" active="false"/>
<Clutch value="0" active="false"/>
<ParkingBrake value="0" active="false"/>
<SteeringWheel value="0" active="false"/>
<Gear number="0" active="false"/>
</OverrideControllerValueAction>
</ControllerAction>
</PrivateAction>
</Private>
<Private entityRef="adversary">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-9.4" y="-71.0" z="0.5" h="1.57079632679"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="standing">
<PrivateAction>
<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_3256">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-9.393343925476074" y="-162.10400390625" z="0.0014286803780123591"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_close_to_standing_3257">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-12.269804954528809" y="37.104522705078125" z="0.003060684073716402"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_w_transform_3258">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-7.001920223236084" y="18.13625144958496" z="0.5"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_close_to_hero_3259">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-3.6292431354522705" y="-143.56756591796875" z="0.0014286803780123591"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_close_to_adversary_3260">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-19.390443801879883" y="-74.11681365966797" z="0.03383197635412216"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_close_to_standing_3261">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-4.8530354499816895" y="20.83396339416504" z="0.0030879592522978783"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_w_transform_3262">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="60.19411849975586" y="-24.058706283569336" z="0.5"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_w_transform_3263">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-11.274802207946777" y="32.69581985473633" 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>
<ScenarioObject name="pedestrian_close_to_hero_3150">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_w_transform_3151">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_close_to_standing_3152">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_w_transform_3153">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_w_transform_3154">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_close_to_hero_3155">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
</Entities>
<Storyboard>
<Init>
<Actions>
<GlobalAction>
<EnvironmentAction>
<Environment name="Environment1">
<TimeOfDay animation="false" dateTime="2019-06-25T12:00:00"/>
<Weather cloudState="free">
<Sun intensity="0.85" azimuth="0" elevation="1.31"/>
<Fog visualRange="100000.0"/>
<Precipitation precipitationType="dry" intensity="0.0"/>
</Weather>
<RoadCondition frictionScaleFactor="1.0"/>
</Environment>
</EnvironmentAction>
</GlobalAction>
<Private entityRef="hero">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-9.4" y="-152.8" z="0.5" h="1.57079632679"/>
</Position>
</TeleportAction>
</PrivateAction>
<PrivateAction>
<ControllerAction>
<AssignControllerAction>
<Controller name="HeroAgent">
<Properties>
<Property name="module" value="external_control"/>
</Properties>
</Controller>
</AssignControllerAction>
<OverrideControllerValueAction>
<Throttle value="0" active="false"/>
<Brake value="0" active="false"/>
<Clutch value="0" active="false"/>
<ParkingBrake value="0" active="false"/>
<SteeringWheel value="0" active="false"/>
<Gear number="0" active="false"/>
</OverrideControllerValueAction>
</ControllerAction>
</PrivateAction>
</Private>
<Private entityRef="adversary">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-9.4" y="-71.0" z="0.5" h="1.57079632679"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="standing">
<PrivateAction>
<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_3150">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-4.947707176208496" y="-151.64089965820312" z="0.0014286803780123591"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_w_transform_3151">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-9.175606727600098" y="-0.991475522518158" z="0.5"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_close_to_standing_3152">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-9.699333190917969" y="26.09166145324707" z="0.003050956642255187"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_w_transform_3153">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="79.45640563964844" y="68.43892669677734" z="0.5"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_w_transform_3154">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-2.9132232666015625" y="76.56208801269531" z="0.5"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_close_to_hero_3155">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-6.934874057769775" y="-154.54029846191406" z="0.0014286803780123591"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
</Actions>
</Init>
<Story name="MyStory">
<Act name="Behavior">
<ManeuverGroup maximumExecutionCount="1" name="ManeuverSequence">
<Actors selectTriggeringEntities="false">
<EntityRef entityRef="adversary"/>
</Actors>
<Maneuver name="LaneChangeSimpleManeuver">
<Event name="AdversaryAccelerates" priority="overwrite">
<Action name="AdversaryAccelerates">
<PrivateAction>
<LongitudinalAction>
<SpeedAction>
<SpeedActionDynamics dynamicsShape="step" value="50" dynamicsDimension="distance"/>
<SpeedActionTarget>
<AbsoluteTargetSpeed value="5.0"/>
</SpeedActionTarget>
</SpeedAction>
</LongitudinalAction>
</PrivateAction>
</Action>
<StartTrigger>
<ConditionGroup>
<Condition name="StartCondition" delay="0" conditionEdge="rising">
<ByEntityCondition>
<TriggeringEntities triggeringEntitiesRule="any">
<EntityRef entityRef="hero"/>
</TriggeringEntities>
<EntityCondition>
<RelativeDistanceCondition entityRef="adversary" relativeDistanceType="cartesianDistance" value="40.0" freespace="false" rule="lessThan"/>
</EntityCondition>
</ByEntityCondition>
</Condition>
</ConditionGroup>
</StartTrigger>
</Event>
<Event name="AdversaryChangesLane" priority="overwrite">
<Action name="AdversaryChangesLane">
<PrivateAction>
<LateralAction>
<LaneChangeAction>
<LaneChangeActionDynamics dynamicsShape="linear" value="25" dynamicsDimension="distance"/>
<LaneChangeTarget>
<RelativeTargetLane entityRef="adversary" value="-1"/>
</LaneChangeTarget>
</LaneChangeAction>
</LateralAction>
</PrivateAction>
</Action>
<StartTrigger>
<ConditionGroup>
<Condition name="AfterAdversaryAccelerates" delay="0" conditionEdge="rising">
<ByValueCondition>
<StoryboardElementStateCondition storyboardElementType="action" storyboardElementRef="AdversaryAccelerates" state="completeState"/>
</ByValueCondition>
</Condition>
</ConditionGroup>
</StartTrigger>
</Event>
</Maneuver>
</ManeuverGroup>
<StartTrigger>
<ConditionGroup>
<Condition name="OverallStartCondition" delay="0" conditionEdge="rising">
<ByEntityCondition>
<TriggeringEntities triggeringEntitiesRule="any">
<EntityRef entityRef="hero"/>
</TriggeringEntities>
<EntityCondition>
<TraveledDistanceCondition value="1.0"/>
</EntityCondition>
</ByEntityCondition>
</Condition>
<Condition name="StartTime" delay="0" conditionEdge="rising">
<ByValueCondition>
<SimulationTimeCondition value="0" rule="equalTo"/>
</ByValueCondition>
</Condition>
</ConditionGroup>
</StartTrigger>
<StopTrigger>
<ConditionGroup>
<Condition name="EndCondition" delay="0" conditionEdge="rising">
<ByEntityCondition>
<TriggeringEntities triggeringEntitiesRule="any">
<EntityRef entityRef="hero"/>
</TriggeringEntities>
<EntityCondition>
<TraveledDistanceCondition value="200.0"/>
</EntityCondition>
</ByEntityCondition>
</Condition>
</ConditionGroup>
</StopTrigger>
</Act>
</Story>
<StopTrigger>
<ConditionGroup>
<Condition name="criteria_RunningStopTest" delay="0" conditionEdge="rising">
<ByValueCondition>
<ParameterCondition parameterRef="" value="" rule="lessThan"/>
</ByValueCondition>
</Condition>
<Condition name="criteria_RunningRedLightTest" delay="0" conditionEdge="rising">
<ByValueCondition>
<ParameterCondition parameterRef="" value="" rule="lessThan"/>
</ByValueCondition>
</Condition>
<Condition name="criteria_WrongLaneTest" delay="0" conditionEdge="rising">
<ByValueCondition>
<ParameterCondition parameterRef="" value="" rule="lessThan"/>
</ByValueCondition>
</Condition>
<Condition name="criteria_OnSidewalkTest" delay="0" conditionEdge="rising">
<ByValueCondition>
<ParameterCondition parameterRef="" value="" rule="lessThan"/>
</ByValueCondition>
</Condition>
<Condition name="criteria_KeepLaneTest" delay="0" conditionEdge="rising">
<ByValueCondition>
<ParameterCondition parameterRef="" value="" rule="lessThan"/>
</ByValueCondition>
</Condition>
<Condition name="criteria_CollisionTest" delay="0" conditionEdge="rising">
<ByValueCondition>
<ParameterCondition parameterRef="" value="" rule="lessThan"/>
</ByValueCondition>
</Condition>
<Condition name="criteria_DrivenDistanceTest" delay="0" conditionEdge="rising">
<ByValueCondition>
<ParameterCondition parameterRef="distance_success" value="100" rule="lessThan"/>
</ByValueCondition>
</Condition>
</ConditionGroup>
</StopTrigger>
</Storyboard>
</OpenSCENARIO>
``` | Here is the result:
```
<?xml version="1.0" ?>
<OpenSCENARIO>
<FileHeader revMajor="1" revMinor="0" date="2020-03-24T12:00:00" description="CARLA:LaneChangeSimple" author=""/>
<ParameterDeclarations/>
<CatalogLocations/>
<RoadNetwork>
<LogicFile filepath="Town04"/>
<SceneGraphFile filepath=""/>
</RoadNetwork>
<Entities>
<ScenarioObject name="hero">
<Vehicle name="vehicle.tesla.model3" vehicleCategory="car">
<ParameterDeclarations/>
<Performance maxSpeed="69.444" maxAcceleration="200" maxDeceleration="10.0"/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2.1" length="4.5" height="1.8"/>
</BoundingBox>
<Axles>
<FrontAxle maxSteering="0.5" wheelDiameter="0.6" trackWidth="1.8" positionX="3.1" positionZ="0.3"/>
<RearAxle maxSteering="0.0" wheelDiameter="0.6" trackWidth="1.8" positionX="0.0" positionZ="0.3"/>
</Axles>
<Properties>
<Property name="type" value="ego_vehicle"/>
</Properties>
</Vehicle>
</ScenarioObject>
<ScenarioObject name="adversary">
<Vehicle name="vehicle.lincoln.mkz_2017" vehicleCategory="car">
<ParameterDeclarations/>
<Performance maxSpeed="69.444" maxAcceleration="200" maxDeceleration="10.0"/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2.1" length="4.5" height="1.8"/>
</BoundingBox>
<Axles>
<FrontAxle maxSteering="0.5" wheelDiameter="0.6" trackWidth="1.8" positionX="3.1" positionZ="0.3"/>
<RearAxle maxSteering="0.0" wheelDiameter="0.6" trackWidth="1.8" positionX="0.0" positionZ="0.3"/>
</Axles>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Vehicle>
</ScenarioObject>
<ScenarioObject name="standing">
<Vehicle name="vehicle.volkswagen.t2" vehicleCategory="car">
<ParameterDeclarations/>
<Performance maxSpeed="69.444" maxAcceleration="200" maxDeceleration="10.0"/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2.1" length="4.5" height="1.8"/>
</BoundingBox>
<Axles>
<FrontAxle maxSteering="0.5" wheelDiameter="0.6" trackWidth="1.8" positionX="3.1" positionZ="0.3"/>
<RearAxle maxSteering="0.0" wheelDiameter="0.6" trackWidth="1.8" positionX="0.0" positionZ="0.3"/>
</Axles>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Vehicle>
</ScenarioObject>
<ScenarioObject name="pedestrian_close_to_hero_3150">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_w_transform_3151">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_close_to_standing_3152">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_w_transform_3153">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_w_transform_3154">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_close_to_hero_3155">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_close_to_hero_3156">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
</Entities>
<Storyboard>
<Init>
<Actions>
<GlobalAction>
<EnvironmentAction>
<Environment name="Environment1">
<TimeOfDay animation="false" dateTime="2019-06-25T12:00:00"/>
<Weather cloudState="free">
<Sun intensity="0.85" azimuth="0" elevation="1.31"/>
<Fog visualRange="100000.0"/>
<Precipitation precipitationType="dry" intensity="0.0"/>
</Weather>
<RoadCondition frictionScaleFactor="1.0"/>
</Environment>
</EnvironmentAction>
</GlobalAction>
<Private entityRef="hero">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-9.4" y="-152.8" z="0.5" h="1.57079632679"/>
</Position>
</TeleportAction>
</PrivateAction>
<PrivateAction>
<ControllerAction>
<AssignControllerAction>
<Controller name="HeroAgent">
<Properties>
<Property name="module" value="external_control"/>
</Properties>
</Controller>
</AssignControllerAction>
<OverrideControllerValueAction>
<Throttle value="0" active="false"/>
<Brake value="0" active="false"/>
<Clutch value="0" active="false"/>
<ParkingBrake value="0" active="false"/>
<SteeringWheel value="0" active="false"/>
<Gear number="0" active="false"/>
</OverrideControllerValueAction>
</ControllerAction>
</PrivateAction>
</Private>
<Private entityRef="adversary">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-9.4" y="-71.0" z="0.5" h="1.57079632679"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="standing">
<PrivateAction>
<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_3150">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-4.947707176208496" y="-151.64089965820312" z="0.0014286803780123591"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_w_transform_3151">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-9.175606727600098" y="-0.991475522518158" z="0.5"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_close_to_standing_3152">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-9.699333190917969" y="26.09166145324707" z="0.003050956642255187"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_w_transform_3153">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="79.45640563964844" y="68.43892669677734" z="0.5"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_w_transform_3154">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-2.9132232666015625" y="76.56208801269531" z="0.5"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_close_to_hero_3155">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-6.934874057769775" y="-154.54029846191406" z="0.0014286803780123591"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_close_to_hero_3156">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-13.070639610290527" y="-159.13775634765625" z="0.0014286803780123591"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
</Actions>
</Init>
<Story name="MyStory">
<Act name="Behavior">
<ManeuverGroup maximumExecutionCount="1" name="ManeuverSequence">
<Actors selectTriggeringEntities="false">
<EntityRef entityRef="adversary"/>
</Actors>
<Maneuver name="LaneChangeSimpleManeuver">
<Event name="AdversaryAccelerates" priority="overwrite">
<Action name="AdversaryAccelerates">
<PrivateAction>
<LongitudinalAction>
<SpeedAction>
<SpeedActionDynamics dynamicsShape="step" value="50" dynamicsDimension="distance"/>
<SpeedActionTarget>
<AbsoluteTargetSpeed value="5.0"/>
</SpeedActionTarget>
</SpeedAction>
</LongitudinalAction>
</PrivateAction>
</Action>
<StartTrigger>
<ConditionGroup>
<Condition name="StartCondition" delay="0" conditionEdge="rising">
<ByEntityCondition>
<TriggeringEntities triggeringEntitiesRule="any">
<EntityRef entityRef="hero"/>
</TriggeringEntities>
<EntityCondition>
<RelativeDistanceCondition entityRef="adversary" relativeDistanceType="cartesianDistance" value="40.0" freespace="false" rule="lessThan"/>
</EntityCondition>
</ByEntityCondition>
</Condition>
</ConditionGroup>
</StartTrigger>
</Event>
<Event name="AdversaryChangesLane" priority="overwrite">
<Action name="AdversaryChangesLane">
<PrivateAction>
<LateralAction>
<LaneChangeAction>
<LaneChangeActionDynamics dynamicsShape="linear" value="25" dynamicsDimension="distance"/>
<LaneChangeTarget>
<RelativeTargetLane entityRef="adversary" value="-1"/>
</LaneChangeTarget>
</LaneChangeAction>
</LateralAction>
</PrivateAction>
</Action>
<StartTrigger>
<ConditionGroup>
<Condition name="AfterAdversaryAccelerates" delay="0" conditionEdge="rising">
<ByValueCondition>
<StoryboardElementStateCondition storyboardElementType="action" storyboardElementRef="AdversaryAccelerates" state="completeState"/>
</ByValueCondition>
</Condition>
</ConditionGroup>
</StartTrigger>
</Event>
</Maneuver>
</ManeuverGroup>
<StartTrigger>
<ConditionGroup>
<Condition name="OverallStartCondition" delay="0" conditionEdge="rising">
<ByEntityCondition>
<TriggeringEntities triggeringEntitiesRule="any">
<EntityRef entityRef="hero"/>
</TriggeringEntities>
<EntityCondition>
<TraveledDistanceCondition value="1.0"/>
</EntityCondition>
</ByEntityCondition>
</Condition>
<Condition name="StartTime" delay="0" conditionEdge="rising">
<ByValueCondition>
<SimulationTimeCondition value="0" rule="equalTo"/>
</ByValueCondition>
</Condition>
</ConditionGroup>
</StartTrigger>
<StopTrigger>
<ConditionGroup>
<Condition name="EndCondition" delay="0" conditionEdge="rising">
<ByEntityCondition>
<TriggeringEntities triggeringEntitiesRule="any">
<EntityRef entityRef="hero"/>
</TriggeringEntities>
<EntityCondition>
<TraveledDistanceCondition value="200.0"/>
</EntityCondition>
</ByEntityCondition>
</Condition>
</ConditionGroup>
</StopTrigger>
</Act>
</Story>
<StopTrigger>
<ConditionGroup>
<Condition name="criteria_RunningStopTest" delay="0" conditionEdge="rising">
<ByValueCondition>
<ParameterCondition parameterRef="" value="" rule="lessThan"/>
</ByValueCondition>
</Condition>
<Condition name="criteria_RunningRedLightTest" delay="0" conditionEdge="rising">
<ByValueCondition>
<ParameterCondition parameterRef="" value="" rule="lessThan"/>
</ByValueCondition>
</Condition>
<Condition name="criteria_WrongLaneTest" delay="0" conditionEdge="rising">
<ByValueCondition>
<ParameterCondition parameterRef="" value="" rule="lessThan"/>
</ByValueCondition>
</Condition>
<Condition name="criteria_OnSidewalkTest" delay="0" conditionEdge="rising">
<ByValueCondition>
<ParameterCondition parameterRef="" value="" rule="lessThan"/>
</ByValueCondition>
</Condition>
<Condition name="criteria_KeepLaneTest" delay="0" conditionEdge="rising">
<ByValueCondition>
<ParameterCondition parameterRef="" value="" rule="lessThan"/>
</ByValueCondition>
</Condition>
<Condition name="criteria_CollisionTest" delay="0" conditionEdge="rising">
<ByValueCondition>
<ParameterCondition parameterRef="" value="" rule="lessThan"/>
</ByValueCondition>
</Condition>
<Condition name="criteria_DrivenDistanceTest" delay="0" conditionEdge="rising">
<ByValueCondition>
<ParameterCondition parameterRef="distance_success" value="100" rule="lessThan"/>
</ByValueCondition>
</Condition>
</ConditionGroup>
</StopTrigger>
</Storyboard>
</OpenSCENARIO>
``` |
i would like you to demonstrate 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_4585">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
</Entities>
<Storyboard>
<Init>
<Actions>
<GlobalAction>
<EnvironmentAction>
<Environment name="Environment1">
<TimeOfDay animation="false" dateTime="2019-06-25T12:00:00"/>
<Weather cloudState="free">
<Sun intensity="0.85" azimuth="0" elevation="1.31"/>
<Fog visualRange="100000.0"/>
<Precipitation precipitationType="dry" intensity="0.0"/>
</Weather>
<RoadCondition frictionScaleFactor="1.0"/>
</Environment>
</EnvironmentAction>
</GlobalAction>
<Private entityRef="hero">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-9.4" y="-152.8" z="0.5" h="1.57079632679"/>
</Position>
</TeleportAction>
</PrivateAction>
<PrivateAction>
<ControllerAction>
<AssignControllerAction>
<Controller name="HeroAgent">
<Properties>
<Property name="module" value="external_control"/>
</Properties>
</Controller>
</AssignControllerAction>
<OverrideControllerValueAction>
<Throttle value="0" active="false"/>
<Brake value="0" active="false"/>
<Clutch value="0" active="false"/>
<ParkingBrake value="0" active="false"/>
<SteeringWheel value="0" active="false"/>
<Gear number="0" active="false"/>
</OverrideControllerValueAction>
</ControllerAction>
</PrivateAction>
</Private>
<Private entityRef="adversary">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-9.4" y="-71.0" z="0.5" h="1.57079632679"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="standing">
<PrivateAction>
<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_4585">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-12.108567237854004" y="-66.45118713378906" z="0.03382453694939613"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
</Actions>
</Init>
<Story name="MyStory">
<Act name="Behavior">
<ManeuverGroup maximumExecutionCount="1" name="ManeuverSequence">
<Actors selectTriggeringEntities="false">
<EntityRef entityRef="adversary"/>
</Actors>
<Maneuver name="LaneChangeSimpleManeuver">
<Event name="AdversaryAccelerates" priority="overwrite">
<Action name="AdversaryAccelerates">
<PrivateAction>
<LongitudinalAction>
<SpeedAction>
<SpeedActionDynamics dynamicsShape="step" value="50" dynamicsDimension="distance"/>
<SpeedActionTarget>
<AbsoluteTargetSpeed value="5.0"/>
</SpeedActionTarget>
</SpeedAction>
</LongitudinalAction>
</PrivateAction>
</Action>
<StartTrigger>
<ConditionGroup>
<Condition name="StartCondition" delay="0" conditionEdge="rising">
<ByEntityCondition>
<TriggeringEntities triggeringEntitiesRule="any">
<EntityRef entityRef="hero"/>
</TriggeringEntities>
<EntityCondition>
<RelativeDistanceCondition entityRef="adversary" relativeDistanceType="cartesianDistance" value="40.0" freespace="false" rule="lessThan"/>
</EntityCondition>
</ByEntityCondition>
</Condition>
</ConditionGroup>
</StartTrigger>
</Event>
<Event name="AdversaryChangesLane" priority="overwrite">
<Action name="AdversaryChangesLane">
<PrivateAction>
<LateralAction>
<LaneChangeAction>
<LaneChangeActionDynamics dynamicsShape="linear" value="25" dynamicsDimension="distance"/>
<LaneChangeTarget>
<RelativeTargetLane entityRef="adversary" value="-1"/>
</LaneChangeTarget>
</LaneChangeAction>
</LateralAction>
</PrivateAction>
</Action>
<StartTrigger>
<ConditionGroup>
<Condition name="AfterAdversaryAccelerates" delay="0" conditionEdge="rising">
<ByValueCondition>
<StoryboardElementStateCondition storyboardElementType="action" storyboardElementRef="AdversaryAccelerates" state="completeState"/>
</ByValueCondition>
</Condition>
</ConditionGroup>
</StartTrigger>
</Event>
</Maneuver>
</ManeuverGroup>
<StartTrigger>
<ConditionGroup>
<Condition name="OverallStartCondition" delay="0" conditionEdge="rising">
<ByEntityCondition>
<TriggeringEntities triggeringEntitiesRule="any">
<EntityRef entityRef="hero"/>
</TriggeringEntities>
<EntityCondition>
<TraveledDistanceCondition value="1.0"/>
</EntityCondition>
</ByEntityCondition>
</Condition>
<Condition name="StartTime" delay="0" conditionEdge="rising">
<ByValueCondition>
<SimulationTimeCondition value="0" rule="equalTo"/>
</ByValueCondition>
</Condition>
</ConditionGroup>
</StartTrigger>
<StopTrigger>
<ConditionGroup>
<Condition name="EndCondition" delay="0" conditionEdge="rising">
<ByEntityCondition>
<TriggeringEntities triggeringEntitiesRule="any">
<EntityRef entityRef="hero"/>
</TriggeringEntities>
<EntityCondition>
<TraveledDistanceCondition value="200.0"/>
</EntityCondition>
</ByEntityCondition>
</Condition>
</ConditionGroup>
</StopTrigger>
</Act>
</Story>
<StopTrigger>
<ConditionGroup>
<Condition name="criteria_RunningStopTest" delay="0" conditionEdge="rising">
<ByValueCondition>
<ParameterCondition parameterRef="" value="" rule="lessThan"/>
</ByValueCondition>
</Condition>
<Condition name="criteria_RunningRedLightTest" delay="0" conditionEdge="rising">
<ByValueCondition>
<ParameterCondition parameterRef="" value="" rule="lessThan"/>
</ByValueCondition>
</Condition>
<Condition name="criteria_WrongLaneTest" delay="0" conditionEdge="rising">
<ByValueCondition>
<ParameterCondition parameterRef="" value="" rule="lessThan"/>
</ByValueCondition>
</Condition>
<Condition name="criteria_OnSidewalkTest" delay="0" conditionEdge="rising">
<ByValueCondition>
<ParameterCondition parameterRef="" value="" rule="lessThan"/>
</ByValueCondition>
</Condition>
<Condition name="criteria_KeepLaneTest" delay="0" conditionEdge="rising">
<ByValueCondition>
<ParameterCondition parameterRef="" value="" rule="lessThan"/>
</ByValueCondition>
</Condition>
<Condition name="criteria_CollisionTest" delay="0" conditionEdge="rising">
<ByValueCondition>
<ParameterCondition parameterRef="" value="" rule="lessThan"/>
</ByValueCondition>
</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_21991?
```
<?xml version="1.0" ?>
<OpenSCENARIO>
<FileHeader revMajor="1" revMinor="0" date="2020-03-24T12:00:00" description="CARLA:LaneChangeSimple" author=""/>
<ParameterDeclarations/>
<CatalogLocations/>
<RoadNetwork>
<LogicFile filepath="Town04"/>
<SceneGraphFile filepath=""/>
</RoadNetwork>
<Entities>
<ScenarioObject name="hero">
<Vehicle name="vehicle.tesla.model3" vehicleCategory="car">
<ParameterDeclarations/>
<Performance maxSpeed="69.444" maxAcceleration="200" maxDeceleration="10.0"/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2.1" length="4.5" height="1.8"/>
</BoundingBox>
<Axles>
<FrontAxle maxSteering="0.5" wheelDiameter="0.6" trackWidth="1.8" positionX="3.1" positionZ="0.3"/>
<RearAxle maxSteering="0.0" wheelDiameter="0.6" trackWidth="1.8" positionX="0.0" positionZ="0.3"/>
</Axles>
<Properties>
<Property name="type" value="ego_vehicle"/>
</Properties>
</Vehicle>
</ScenarioObject>
<ScenarioObject name="adversary">
<Vehicle name="vehicle.lincoln.mkz_2017" vehicleCategory="car">
<ParameterDeclarations/>
<Performance maxSpeed="69.444" maxAcceleration="200" maxDeceleration="10.0"/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2.1" length="4.5" height="1.8"/>
</BoundingBox>
<Axles>
<FrontAxle maxSteering="0.5" wheelDiameter="0.6" trackWidth="1.8" positionX="3.1" positionZ="0.3"/>
<RearAxle maxSteering="0.0" wheelDiameter="0.6" trackWidth="1.8" positionX="0.0" positionZ="0.3"/>
</Axles>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Vehicle>
</ScenarioObject>
<ScenarioObject name="standing">
<Vehicle name="vehicle.volkswagen.t2" vehicleCategory="car">
<ParameterDeclarations/>
<Performance maxSpeed="69.444" maxAcceleration="200" maxDeceleration="10.0"/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2.1" length="4.5" height="1.8"/>
</BoundingBox>
<Axles>
<FrontAxle maxSteering="0.5" wheelDiameter="0.6" trackWidth="1.8" positionX="3.1" positionZ="0.3"/>
<RearAxle maxSteering="0.0" wheelDiameter="0.6" 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_21988">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_close_to_hero_21991">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_close_to_adversary_21994">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_w_transform_21995">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
</Entities>
<Storyboard>
<Init>
<Actions>
<GlobalAction>
<EnvironmentAction>
<Environment name="Environment1">
<TimeOfDay animation="false" dateTime="2019-06-25T12:00:00"/>
<Weather cloudState="free">
<Sun intensity="0.85" azimuth="0" elevation="1.31"/>
<Fog visualRange="100000.0"/>
<Precipitation precipitationType="dry" intensity="0.0"/>
</Weather>
<RoadCondition frictionScaleFactor="1.0"/>
</Environment>
</EnvironmentAction>
</GlobalAction>
<Private entityRef="hero">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-9.4" y="-152.8" z="0.5" h="1.57079632679"/>
</Position>
</TeleportAction>
</PrivateAction>
<PrivateAction>
<ControllerAction>
<AssignControllerAction>
<Controller name="HeroAgent">
<Properties>
<Property name="module" value="external_control"/>
</Properties>
</Controller>
</AssignControllerAction>
<OverrideControllerValueAction>
<Throttle value="0" active="false"/>
<Brake value="0" active="false"/>
<Clutch value="0" active="false"/>
<ParkingBrake value="0" active="false"/>
<SteeringWheel value="0" active="false"/>
<Gear number="0" active="false"/>
</OverrideControllerValueAction>
</ControllerAction>
</PrivateAction>
</Private>
<Private entityRef="adversary">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-9.4" y="-71.0" z="0.5" h="1.57079632679"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="standing">
<PrivateAction>
<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_21988">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-2.222933292388916" y="-69.4962387084961" z="0.03375862166285515"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_close_to_hero_21991">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-15.073137283325195" y="-158.25103759765625" z="0.0014286803780123591"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_close_to_adversary_21994">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-5.778288841247559" y="-65.74324035644531" z="0.03374927490949631"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_w_transform_21995">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-37.50286865234375" y="78.9878158569336" 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_21988">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_close_to_adversary_21994">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_w_transform_21995">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
</Entities>
<Storyboard>
<Init>
<Actions>
<GlobalAction>
<EnvironmentAction>
<Environment name="Environment1">
<TimeOfDay animation="false" dateTime="2019-06-25T12:00:00"/>
<Weather cloudState="free">
<Sun intensity="0.85" azimuth="0" elevation="1.31"/>
<Fog visualRange="100000.0"/>
<Precipitation precipitationType="dry" intensity="0.0"/>
</Weather>
<RoadCondition frictionScaleFactor="1.0"/>
</Environment>
</EnvironmentAction>
</GlobalAction>
<Private entityRef="hero">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-9.4" y="-152.8" z="0.5" h="1.57079632679"/>
</Position>
</TeleportAction>
</PrivateAction>
<PrivateAction>
<ControllerAction>
<AssignControllerAction>
<Controller name="HeroAgent">
<Properties>
<Property name="module" value="external_control"/>
</Properties>
</Controller>
</AssignControllerAction>
<OverrideControllerValueAction>
<Throttle value="0" active="false"/>
<Brake value="0" active="false"/>
<Clutch value="0" active="false"/>
<ParkingBrake value="0" active="false"/>
<SteeringWheel value="0" active="false"/>
<Gear number="0" active="false"/>
</OverrideControllerValueAction>
</ControllerAction>
</PrivateAction>
</Private>
<Private entityRef="adversary">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-9.4" y="-71.0" z="0.5" h="1.57079632679"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="standing">
<PrivateAction>
<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_21988">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-2.222933292388916" y="-69.4962387084961" z="0.03375862166285515"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_close_to_adversary_21994">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-5.778288841247559" y="-65.74324035644531" z="0.03374927490949631"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_w_transform_21995">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-37.50286865234375" y="78.9878158569336" z="0.5"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
</Actions>
</Init>
<Story name="MyStory">
<Act name="Behavior">
<ManeuverGroup maximumExecutionCount="1" name="ManeuverSequence">
<Actors selectTriggeringEntities="false">
<EntityRef entityRef="adversary"/>
</Actors>
<Maneuver name="LaneChangeSimpleManeuver">
<Event name="AdversaryAccelerates" priority="overwrite">
<Action name="AdversaryAccelerates">
<PrivateAction>
<LongitudinalAction>
<SpeedAction>
<SpeedActionDynamics dynamicsShape="step" value="50" dynamicsDimension="distance"/>
<SpeedActionTarget>
<AbsoluteTargetSpeed value="5.0"/>
</SpeedActionTarget>
</SpeedAction>
</LongitudinalAction>
</PrivateAction>
</Action>
<StartTrigger>
<ConditionGroup>
<Condition name="StartCondition" delay="0" conditionEdge="rising">
<ByEntityCondition>
<TriggeringEntities triggeringEntitiesRule="any">
<EntityRef entityRef="hero"/>
</TriggeringEntities>
<EntityCondition>
<RelativeDistanceCondition entityRef="adversary" relativeDistanceType="cartesianDistance" value="40.0" freespace="false" rule="lessThan"/>
</EntityCondition>
</ByEntityCondition>
</Condition>
</ConditionGroup>
</StartTrigger>
</Event>
<Event name="AdversaryChangesLane" priority="overwrite">
<Action name="AdversaryChangesLane">
<PrivateAction>
<LateralAction>
<LaneChangeAction>
<LaneChangeActionDynamics dynamicsShape="linear" value="25" dynamicsDimension="distance"/>
<LaneChangeTarget>
<RelativeTargetLane entityRef="adversary" value="-1"/>
</LaneChangeTarget>
</LaneChangeAction>
</LateralAction>
</PrivateAction>
</Action>
<StartTrigger>
<ConditionGroup>
<Condition name="AfterAdversaryAccelerates" delay="0" conditionEdge="rising">
<ByValueCondition>
<StoryboardElementStateCondition storyboardElementType="action" storyboardElementRef="AdversaryAccelerates" state="completeState"/>
</ByValueCondition>
</Condition>
</ConditionGroup>
</StartTrigger>
</Event>
</Maneuver>
</ManeuverGroup>
<StartTrigger>
<ConditionGroup>
<Condition name="OverallStartCondition" delay="0" conditionEdge="rising">
<ByEntityCondition>
<TriggeringEntities triggeringEntitiesRule="any">
<EntityRef entityRef="hero"/>
</TriggeringEntities>
<EntityCondition>
<TraveledDistanceCondition value="1.0"/>
</EntityCondition>
</ByEntityCondition>
</Condition>
<Condition name="StartTime" delay="0" conditionEdge="rising">
<ByValueCondition>
<SimulationTimeCondition value="0" rule="equalTo"/>
</ByValueCondition>
</Condition>
</ConditionGroup>
</StartTrigger>
<StopTrigger>
<ConditionGroup>
<Condition name="EndCondition" delay="0" conditionEdge="rising">
<ByEntityCondition>
<TriggeringEntities triggeringEntitiesRule="any">
<EntityRef entityRef="hero"/>
</TriggeringEntities>
<EntityCondition>
<TraveledDistanceCondition value="200.0"/>
</EntityCondition>
</ByEntityCondition>
</Condition>
</ConditionGroup>
</StopTrigger>
</Act>
</Story>
<StopTrigger>
<ConditionGroup>
<Condition name="criteria_RunningStopTest" delay="0" conditionEdge="rising">
<ByValueCondition>
<ParameterCondition parameterRef="" value="" rule="lessThan"/>
</ByValueCondition>
</Condition>
<Condition name="criteria_RunningRedLightTest" delay="0" conditionEdge="rising">
<ByValueCondition>
<ParameterCondition parameterRef="" value="" rule="lessThan"/>
</ByValueCondition>
</Condition>
<Condition name="criteria_WrongLaneTest" delay="0" conditionEdge="rising">
<ByValueCondition>
<ParameterCondition parameterRef="" value="" rule="lessThan"/>
</ByValueCondition>
</Condition>
<Condition name="criteria_OnSidewalkTest" delay="0" conditionEdge="rising">
<ByValueCondition>
<ParameterCondition parameterRef="" value="" rule="lessThan"/>
</ByValueCondition>
</Condition>
<Condition name="criteria_KeepLaneTest" delay="0" conditionEdge="rising">
<ByValueCondition>
<ParameterCondition parameterRef="" value="" rule="lessThan"/>
</ByValueCondition>
</Condition>
<Condition name="criteria_CollisionTest" delay="0" conditionEdge="rising">
<ByValueCondition>
<ParameterCondition parameterRef="" value="" rule="lessThan"/>
</ByValueCondition>
</Condition>
<Condition name="criteria_DrivenDistanceTest" delay="0" conditionEdge="rising">
<ByValueCondition>
<ParameterCondition parameterRef="distance_success" value="100" rule="lessThan"/>
</ByValueCondition>
</Condition>
</ConditionGroup>
</StopTrigger>
</Storyboard>
</OpenSCENARIO>
``` |
add pedestrian at location (80.78, 86.02, 0.5)?
```
<?xml version="1.0" ?>
<OpenSCENARIO>
<FileHeader revMajor="1" revMinor="0" date="2020-03-24T12:00:00" description="CARLA:LaneChangeSimple" author=""/>
<ParameterDeclarations/>
<CatalogLocations/>
<RoadNetwork>
<LogicFile filepath="Town04"/>
<SceneGraphFile filepath=""/>
</RoadNetwork>
<Entities>
<ScenarioObject name="hero">
<Vehicle name="vehicle.tesla.model3" vehicleCategory="car">
<ParameterDeclarations/>
<Performance maxSpeed="69.444" maxAcceleration="200" maxDeceleration="10.0"/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2.1" length="4.5" height="1.8"/>
</BoundingBox>
<Axles>
<FrontAxle maxSteering="0.5" wheelDiameter="0.6" trackWidth="1.8" positionX="3.1" positionZ="0.3"/>
<RearAxle maxSteering="0.0" wheelDiameter="0.6" trackWidth="1.8" positionX="0.0" positionZ="0.3"/>
</Axles>
<Properties>
<Property name="type" value="ego_vehicle"/>
</Properties>
</Vehicle>
</ScenarioObject>
<ScenarioObject name="adversary">
<Vehicle name="vehicle.lincoln.mkz_2017" vehicleCategory="car">
<ParameterDeclarations/>
<Performance maxSpeed="69.444" maxAcceleration="200" maxDeceleration="10.0"/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2.1" length="4.5" height="1.8"/>
</BoundingBox>
<Axles>
<FrontAxle maxSteering="0.5" wheelDiameter="0.6" trackWidth="1.8" positionX="3.1" positionZ="0.3"/>
<RearAxle maxSteering="0.0" wheelDiameter="0.6" trackWidth="1.8" positionX="0.0" positionZ="0.3"/>
</Axles>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Vehicle>
</ScenarioObject>
<ScenarioObject name="standing">
<Vehicle name="vehicle.volkswagen.t2" vehicleCategory="car">
<ParameterDeclarations/>
<Performance maxSpeed="69.444" maxAcceleration="200" maxDeceleration="10.0"/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2.1" length="4.5" height="1.8"/>
</BoundingBox>
<Axles>
<FrontAxle maxSteering="0.5" wheelDiameter="0.6" trackWidth="1.8" positionX="3.1" positionZ="0.3"/>
<RearAxle maxSteering="0.0" wheelDiameter="0.6" trackWidth="1.8" positionX="0.0" positionZ="0.3"/>
</Axles>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Vehicle>
</ScenarioObject>
<ScenarioObject name="pedestrian_close_to_hero_23339">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_w_transform_23340">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_close_to_standing_23341">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_close_to_hero_23342">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_close_to_standing_23343">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_close_to_hero_23344">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_close_to_adversary_23345">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_close_to_hero_23346">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_w_transform_23347">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_close_to_adversary_23348">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_w_transform_23349">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_close_to_adversary_23350">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_w_transform_23351">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_close_to_adversary_23352">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_w_transform_23353">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
</Entities>
<Storyboard>
<Init>
<Actions>
<GlobalAction>
<EnvironmentAction>
<Environment name="Environment1">
<TimeOfDay animation="false" dateTime="2019-06-25T12:00:00"/>
<Weather cloudState="free">
<Sun intensity="0.85" azimuth="0" elevation="1.31"/>
<Fog visualRange="100000.0"/>
<Precipitation precipitationType="dry" intensity="0.0"/>
</Weather>
<RoadCondition frictionScaleFactor="1.0"/>
</Environment>
</EnvironmentAction>
</GlobalAction>
<Private entityRef="hero">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-9.4" y="-152.8" z="0.5" h="1.57079632679"/>
</Position>
</TeleportAction>
</PrivateAction>
<PrivateAction>
<ControllerAction>
<AssignControllerAction>
<Controller name="HeroAgent">
<Properties>
<Property name="module" value="external_control"/>
</Properties>
</Controller>
</AssignControllerAction>
<OverrideControllerValueAction>
<Throttle value="0" active="false"/>
<Brake value="0" active="false"/>
<Clutch value="0" active="false"/>
<ParkingBrake value="0" active="false"/>
<SteeringWheel value="0" active="false"/>
<Gear number="0" active="false"/>
</OverrideControllerValueAction>
</ControllerAction>
</PrivateAction>
</Private>
<Private entityRef="adversary">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-9.4" y="-71.0" z="0.5" h="1.57079632679"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="standing">
<PrivateAction>
<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_23339">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-8.89034366607666" y="-151.41232299804688" z="0.0014286803780123591"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_w_transform_23340">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-20.069095611572266" y="-87.66348266601562" z="0.5"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_close_to_standing_23341">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-10.751730918884277" y="31.683679580688477" z="0.0030220411717891693"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_close_to_hero_23342">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-15.472496032714844" y="-159.05337524414062" z="0.0014286803780123591"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_close_to_standing_23343">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="8.633298873901367" y="17.699600219726562" z="0.0030338286887854338"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_close_to_hero_23344">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-2.2117981910705566" y="-156.0297088623047" z="0.0014286803780123591"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_close_to_adversary_23345">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-16.568376541137695" y="-73.91239929199219" z="0.03379425033926964"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_close_to_hero_23346">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-7.705981731414795" y="-154.29930114746094" z="0.0014286803780123591"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_w_transform_23347">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-2.8135762214660645" y="-36.66600036621094" z="0.5"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_close_to_adversary_23348">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-6.656135082244873" y="-67.4902572631836" z="0.033858031034469604"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_w_transform_23349">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-97.0648193359375" y="-94.68763732910156" z="0.5"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_close_to_adversary_23350">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-18.97206687927246" y="-75.71692657470703" z="0.03383323550224304"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_w_transform_23351">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-79.21076202392578" y="26.458158493041992" z="0.5"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_close_to_adversary_23352">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-14.960060119628906" y="-68.24250793457031" z="0.03374595567584038"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_w_transform_23353">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-10.632816314697266" y="-28.155685424804688" 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_23339">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_w_transform_23340">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_close_to_standing_23341">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_close_to_hero_23342">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_close_to_standing_23343">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_close_to_hero_23344">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_close_to_adversary_23345">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_close_to_hero_23346">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_w_transform_23347">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_close_to_adversary_23348">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_w_transform_23349">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_close_to_adversary_23350">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_w_transform_23351">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_close_to_adversary_23352">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_w_transform_23353">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_w_transform_23354">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
</Entities>
<Storyboard>
<Init>
<Actions>
<GlobalAction>
<EnvironmentAction>
<Environment name="Environment1">
<TimeOfDay animation="false" dateTime="2019-06-25T12:00:00"/>
<Weather cloudState="free">
<Sun intensity="0.85" azimuth="0" elevation="1.31"/>
<Fog visualRange="100000.0"/>
<Precipitation precipitationType="dry" intensity="0.0"/>
</Weather>
<RoadCondition frictionScaleFactor="1.0"/>
</Environment>
</EnvironmentAction>
</GlobalAction>
<Private entityRef="hero">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-9.4" y="-152.8" z="0.5" h="1.57079632679"/>
</Position>
</TeleportAction>
</PrivateAction>
<PrivateAction>
<ControllerAction>
<AssignControllerAction>
<Controller name="HeroAgent">
<Properties>
<Property name="module" value="external_control"/>
</Properties>
</Controller>
</AssignControllerAction>
<OverrideControllerValueAction>
<Throttle value="0" active="false"/>
<Brake value="0" active="false"/>
<Clutch value="0" active="false"/>
<ParkingBrake value="0" active="false"/>
<SteeringWheel value="0" active="false"/>
<Gear number="0" active="false"/>
</OverrideControllerValueAction>
</ControllerAction>
</PrivateAction>
</Private>
<Private entityRef="adversary">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-9.4" y="-71.0" z="0.5" h="1.57079632679"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="standing">
<PrivateAction>
<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_23339">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-8.89034366607666" y="-151.41232299804688" z="0.0014286803780123591"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_w_transform_23340">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-20.069095611572266" y="-87.66348266601562" z="0.5"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_close_to_standing_23341">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-10.751730918884277" y="31.683679580688477" z="0.0030220411717891693"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_close_to_hero_23342">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-15.472496032714844" y="-159.05337524414062" z="0.0014286803780123591"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_close_to_standing_23343">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="8.633298873901367" y="17.699600219726562" z="0.0030338286887854338"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_close_to_hero_23344">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-2.2117981910705566" y="-156.0297088623047" z="0.0014286803780123591"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_close_to_adversary_23345">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-16.568376541137695" y="-73.91239929199219" z="0.03379425033926964"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_close_to_hero_23346">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-7.705981731414795" y="-154.29930114746094" z="0.0014286803780123591"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_w_transform_23347">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-2.8135762214660645" y="-36.66600036621094" z="0.5"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_close_to_adversary_23348">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-6.656135082244873" y="-67.4902572631836" z="0.033858031034469604"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_w_transform_23349">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-97.0648193359375" y="-94.68763732910156" z="0.5"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_close_to_adversary_23350">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-18.97206687927246" y="-75.71692657470703" z="0.03383323550224304"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_w_transform_23351">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-79.21076202392578" y="26.458158493041992" z="0.5"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_close_to_adversary_23352">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-14.960060119628906" y="-68.24250793457031" z="0.03374595567584038"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_w_transform_23353">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-10.632816314697266" y="-28.155685424804688" z="0.5"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_w_transform_23354">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="80.78175354003906" y="86.02098846435547" z="0.5"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
</Actions>
</Init>
<Story name="MyStory">
<Act name="Behavior">
<ManeuverGroup maximumExecutionCount="1" name="ManeuverSequence">
<Actors selectTriggeringEntities="false">
<EntityRef entityRef="adversary"/>
</Actors>
<Maneuver name="LaneChangeSimpleManeuver">
<Event name="AdversaryAccelerates" priority="overwrite">
<Action name="AdversaryAccelerates">
<PrivateAction>
<LongitudinalAction>
<SpeedAction>
<SpeedActionDynamics dynamicsShape="step" value="50" dynamicsDimension="distance"/>
<SpeedActionTarget>
<AbsoluteTargetSpeed value="5.0"/>
</SpeedActionTarget>
</SpeedAction>
</LongitudinalAction>
</PrivateAction>
</Action>
<StartTrigger>
<ConditionGroup>
<Condition name="StartCondition" delay="0" conditionEdge="rising">
<ByEntityCondition>
<TriggeringEntities triggeringEntitiesRule="any">
<EntityRef entityRef="hero"/>
</TriggeringEntities>
<EntityCondition>
<RelativeDistanceCondition entityRef="adversary" relativeDistanceType="cartesianDistance" value="40.0" freespace="false" rule="lessThan"/>
</EntityCondition>
</ByEntityCondition>
</Condition>
</ConditionGroup>
</StartTrigger>
</Event>
<Event name="AdversaryChangesLane" priority="overwrite">
<Action name="AdversaryChangesLane">
<PrivateAction>
<LateralAction>
<LaneChangeAction>
<LaneChangeActionDynamics dynamicsShape="linear" value="25" dynamicsDimension="distance"/>
<LaneChangeTarget>
<RelativeTargetLane entityRef="adversary" value="-1"/>
</LaneChangeTarget>
</LaneChangeAction>
</LateralAction>
</PrivateAction>
</Action>
<StartTrigger>
<ConditionGroup>
<Condition name="AfterAdversaryAccelerates" delay="0" conditionEdge="rising">
<ByValueCondition>
<StoryboardElementStateCondition storyboardElementType="action" storyboardElementRef="AdversaryAccelerates" state="completeState"/>
</ByValueCondition>
</Condition>
</ConditionGroup>
</StartTrigger>
</Event>
</Maneuver>
</ManeuverGroup>
<StartTrigger>
<ConditionGroup>
<Condition name="OverallStartCondition" delay="0" conditionEdge="rising">
<ByEntityCondition>
<TriggeringEntities triggeringEntitiesRule="any">
<EntityRef entityRef="hero"/>
</TriggeringEntities>
<EntityCondition>
<TraveledDistanceCondition value="1.0"/>
</EntityCondition>
</ByEntityCondition>
</Condition>
<Condition name="StartTime" delay="0" conditionEdge="rising">
<ByValueCondition>
<SimulationTimeCondition value="0" rule="equalTo"/>
</ByValueCondition>
</Condition>
</ConditionGroup>
</StartTrigger>
<StopTrigger>
<ConditionGroup>
<Condition name="EndCondition" delay="0" conditionEdge="rising">
<ByEntityCondition>
<TriggeringEntities triggeringEntitiesRule="any">
<EntityRef entityRef="hero"/>
</TriggeringEntities>
<EntityCondition>
<TraveledDistanceCondition value="200.0"/>
</EntityCondition>
</ByEntityCondition>
</Condition>
</ConditionGroup>
</StopTrigger>
</Act>
</Story>
<StopTrigger>
<ConditionGroup>
<Condition name="criteria_RunningStopTest" delay="0" conditionEdge="rising">
<ByValueCondition>
<ParameterCondition parameterRef="" value="" rule="lessThan"/>
</ByValueCondition>
</Condition>
<Condition name="criteria_RunningRedLightTest" delay="0" conditionEdge="rising">
<ByValueCondition>
<ParameterCondition parameterRef="" value="" rule="lessThan"/>
</ByValueCondition>
</Condition>
<Condition name="criteria_WrongLaneTest" delay="0" conditionEdge="rising">
<ByValueCondition>
<ParameterCondition parameterRef="" value="" rule="lessThan"/>
</ByValueCondition>
</Condition>
<Condition name="criteria_OnSidewalkTest" delay="0" conditionEdge="rising">
<ByValueCondition>
<ParameterCondition parameterRef="" value="" rule="lessThan"/>
</ByValueCondition>
</Condition>
<Condition name="criteria_KeepLaneTest" delay="0" conditionEdge="rising">
<ByValueCondition>
<ParameterCondition parameterRef="" value="" rule="lessThan"/>
</ByValueCondition>
</Condition>
<Condition name="criteria_CollisionTest" delay="0" conditionEdge="rising">
<ByValueCondition>
<ParameterCondition parameterRef="" value="" rule="lessThan"/>
</ByValueCondition>
</Condition>
<Condition name="criteria_DrivenDistanceTest" delay="0" conditionEdge="rising">
<ByValueCondition>
<ParameterCondition parameterRef="distance_success" value="100" rule="lessThan"/>
</ByValueCondition>
</Condition>
</ConditionGroup>
</StopTrigger>
</Storyboard>
</OpenSCENARIO>
``` |
add pedestrian close to 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_16318">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_w_transform_16319">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_close_to_adversary_16320">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_close_to_standing_16321">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_w_transform_16322">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_w_transform_16323">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_w_transform_16324">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_w_transform_16325">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_w_transform_16326">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_close_to_standing_16327">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_w_transform_16328">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_close_to_hero_16329">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_w_transform_16330">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
</Entities>
<Storyboard>
<Init>
<Actions>
<GlobalAction>
<EnvironmentAction>
<Environment name="Environment1">
<TimeOfDay animation="false" dateTime="2019-06-25T12:00:00"/>
<Weather cloudState="free">
<Sun intensity="0.85" azimuth="0" elevation="1.31"/>
<Fog visualRange="100000.0"/>
<Precipitation precipitationType="dry" intensity="0.0"/>
</Weather>
<RoadCondition frictionScaleFactor="1.0"/>
</Environment>
</EnvironmentAction>
</GlobalAction>
<Private entityRef="hero">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-9.4" y="-152.8" z="0.5" h="1.57079632679"/>
</Position>
</TeleportAction>
</PrivateAction>
<PrivateAction>
<ControllerAction>
<AssignControllerAction>
<Controller name="HeroAgent">
<Properties>
<Property name="module" value="external_control"/>
</Properties>
</Controller>
</AssignControllerAction>
<OverrideControllerValueAction>
<Throttle value="0" active="false"/>
<Brake value="0" active="false"/>
<Clutch value="0" active="false"/>
<ParkingBrake value="0" active="false"/>
<SteeringWheel value="0" active="false"/>
<Gear number="0" active="false"/>
</OverrideControllerValueAction>
</ControllerAction>
</PrivateAction>
</Private>
<Private entityRef="adversary">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-9.4" y="-71.0" z="0.5" h="1.57079632679"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="standing">
<PrivateAction>
<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_16318">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-9.600325584411621" y="28.75517463684082" z="0.003062095493078232"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_w_transform_16319">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="43.94606399536133" y="46.30027389526367" z="0.5"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_close_to_adversary_16320">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="2.0293569564819336" y="-79.00775909423828" z="0.03380611166357994"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_close_to_standing_16321">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-2.283137321472168" y="23.112947463989258" z="0.0030264281667768955"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_w_transform_16322">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-90.03166198730469" y="-87.96131134033203" z="0.5"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_w_transform_16323">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-69.18990325927734" y="-84.52616882324219" z="0.5"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_w_transform_16324">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-73.88459014892578" y="18.935739517211914" z="0.5"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_w_transform_16325">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-42.05868148803711" y="-44.49631881713867" z="0.5"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_w_transform_16326">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="94.97418975830078" y="-20.15251922607422" z="0.5"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_close_to_standing_16327">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-12.081217765808105" y="22.63196563720703" z="0.003007812425494194"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_w_transform_16328">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-8.86522102355957" y="-85.58541870117188" z="0.5"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_close_to_hero_16329">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-16.924903869628906" y="-160.81915283203125" z="0.0014286803780123591"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_w_transform_16330">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="72.4588394165039" y="-22.74622344970703" 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_16318">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_w_transform_16319">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_close_to_adversary_16320">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_close_to_standing_16321">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_w_transform_16322">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_w_transform_16323">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_w_transform_16324">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_w_transform_16325">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_w_transform_16326">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_close_to_standing_16327">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_w_transform_16328">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_close_to_hero_16329">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_w_transform_16330">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_close_to_hero_16331">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
</Entities>
<Storyboard>
<Init>
<Actions>
<GlobalAction>
<EnvironmentAction>
<Environment name="Environment1">
<TimeOfDay animation="false" dateTime="2019-06-25T12:00:00"/>
<Weather cloudState="free">
<Sun intensity="0.85" azimuth="0" elevation="1.31"/>
<Fog visualRange="100000.0"/>
<Precipitation precipitationType="dry" intensity="0.0"/>
</Weather>
<RoadCondition frictionScaleFactor="1.0"/>
</Environment>
</EnvironmentAction>
</GlobalAction>
<Private entityRef="hero">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-9.4" y="-152.8" z="0.5" h="1.57079632679"/>
</Position>
</TeleportAction>
</PrivateAction>
<PrivateAction>
<ControllerAction>
<AssignControllerAction>
<Controller name="HeroAgent">
<Properties>
<Property name="module" value="external_control"/>
</Properties>
</Controller>
</AssignControllerAction>
<OverrideControllerValueAction>
<Throttle value="0" active="false"/>
<Brake value="0" active="false"/>
<Clutch value="0" active="false"/>
<ParkingBrake value="0" active="false"/>
<SteeringWheel value="0" active="false"/>
<Gear number="0" active="false"/>
</OverrideControllerValueAction>
</ControllerAction>
</PrivateAction>
</Private>
<Private entityRef="adversary">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-9.4" y="-71.0" z="0.5" h="1.57079632679"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="standing">
<PrivateAction>
<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_16318">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-9.600325584411621" y="28.75517463684082" z="0.003062095493078232"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_w_transform_16319">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="43.94606399536133" y="46.30027389526367" z="0.5"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_close_to_adversary_16320">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="2.0293569564819336" y="-79.00775909423828" z="0.03380611166357994"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_close_to_standing_16321">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-2.283137321472168" y="23.112947463989258" z="0.0030264281667768955"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_w_transform_16322">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-90.03166198730469" y="-87.96131134033203" z="0.5"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_w_transform_16323">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-69.18990325927734" y="-84.52616882324219" z="0.5"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_w_transform_16324">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-73.88459014892578" y="18.935739517211914" z="0.5"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_w_transform_16325">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-42.05868148803711" y="-44.49631881713867" z="0.5"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_w_transform_16326">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="94.97418975830078" y="-20.15251922607422" z="0.5"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_close_to_standing_16327">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-12.081217765808105" y="22.63196563720703" z="0.003007812425494194"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_w_transform_16328">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-8.86522102355957" y="-85.58541870117188" z="0.5"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_close_to_hero_16329">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-16.924903869628906" y="-160.81915283203125" z="0.0014286803780123591"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_w_transform_16330">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="72.4588394165039" y="-22.74622344970703" z="0.5"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_close_to_hero_16331">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-7.857285499572754" y="-160.38221740722656" z="0.0014286803780123591"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
</Actions>
</Init>
<Story name="MyStory">
<Act name="Behavior">
<ManeuverGroup maximumExecutionCount="1" name="ManeuverSequence">
<Actors selectTriggeringEntities="false">
<EntityRef entityRef="adversary"/>
</Actors>
<Maneuver name="LaneChangeSimpleManeuver">
<Event name="AdversaryAccelerates" priority="overwrite">
<Action name="AdversaryAccelerates">
<PrivateAction>
<LongitudinalAction>
<SpeedAction>
<SpeedActionDynamics dynamicsShape="step" value="50" dynamicsDimension="distance"/>
<SpeedActionTarget>
<AbsoluteTargetSpeed value="5.0"/>
</SpeedActionTarget>
</SpeedAction>
</LongitudinalAction>
</PrivateAction>
</Action>
<StartTrigger>
<ConditionGroup>
<Condition name="StartCondition" delay="0" conditionEdge="rising">
<ByEntityCondition>
<TriggeringEntities triggeringEntitiesRule="any">
<EntityRef entityRef="hero"/>
</TriggeringEntities>
<EntityCondition>
<RelativeDistanceCondition entityRef="adversary" relativeDistanceType="cartesianDistance" value="40.0" freespace="false" rule="lessThan"/>
</EntityCondition>
</ByEntityCondition>
</Condition>
</ConditionGroup>
</StartTrigger>
</Event>
<Event name="AdversaryChangesLane" priority="overwrite">
<Action name="AdversaryChangesLane">
<PrivateAction>
<LateralAction>
<LaneChangeAction>
<LaneChangeActionDynamics dynamicsShape="linear" value="25" dynamicsDimension="distance"/>
<LaneChangeTarget>
<RelativeTargetLane entityRef="adversary" value="-1"/>
</LaneChangeTarget>
</LaneChangeAction>
</LateralAction>
</PrivateAction>
</Action>
<StartTrigger>
<ConditionGroup>
<Condition name="AfterAdversaryAccelerates" delay="0" conditionEdge="rising">
<ByValueCondition>
<StoryboardElementStateCondition storyboardElementType="action" storyboardElementRef="AdversaryAccelerates" state="completeState"/>
</ByValueCondition>
</Condition>
</ConditionGroup>
</StartTrigger>
</Event>
</Maneuver>
</ManeuverGroup>
<StartTrigger>
<ConditionGroup>
<Condition name="OverallStartCondition" delay="0" conditionEdge="rising">
<ByEntityCondition>
<TriggeringEntities triggeringEntitiesRule="any">
<EntityRef entityRef="hero"/>
</TriggeringEntities>
<EntityCondition>
<TraveledDistanceCondition value="1.0"/>
</EntityCondition>
</ByEntityCondition>
</Condition>
<Condition name="StartTime" delay="0" conditionEdge="rising">
<ByValueCondition>
<SimulationTimeCondition value="0" rule="equalTo"/>
</ByValueCondition>
</Condition>
</ConditionGroup>
</StartTrigger>
<StopTrigger>
<ConditionGroup>
<Condition name="EndCondition" delay="0" conditionEdge="rising">
<ByEntityCondition>
<TriggeringEntities triggeringEntitiesRule="any">
<EntityRef entityRef="hero"/>
</TriggeringEntities>
<EntityCondition>
<TraveledDistanceCondition value="200.0"/>
</EntityCondition>
</ByEntityCondition>
</Condition>
</ConditionGroup>
</StopTrigger>
</Act>
</Story>
<StopTrigger>
<ConditionGroup>
<Condition name="criteria_RunningStopTest" delay="0" conditionEdge="rising">
<ByValueCondition>
<ParameterCondition parameterRef="" value="" rule="lessThan"/>
</ByValueCondition>
</Condition>
<Condition name="criteria_RunningRedLightTest" delay="0" conditionEdge="rising">
<ByValueCondition>
<ParameterCondition parameterRef="" value="" rule="lessThan"/>
</ByValueCondition>
</Condition>
<Condition name="criteria_WrongLaneTest" delay="0" conditionEdge="rising">
<ByValueCondition>
<ParameterCondition parameterRef="" value="" rule="lessThan"/>
</ByValueCondition>
</Condition>
<Condition name="criteria_OnSidewalkTest" delay="0" conditionEdge="rising">
<ByValueCondition>
<ParameterCondition parameterRef="" value="" rule="lessThan"/>
</ByValueCondition>
</Condition>
<Condition name="criteria_KeepLaneTest" delay="0" conditionEdge="rising">
<ByValueCondition>
<ParameterCondition parameterRef="" value="" rule="lessThan"/>
</ByValueCondition>
</Condition>
<Condition name="criteria_CollisionTest" delay="0" conditionEdge="rising">
<ByValueCondition>
<ParameterCondition parameterRef="" value="" rule="lessThan"/>
</ByValueCondition>
</Condition>
<Condition name="criteria_DrivenDistanceTest" delay="0" conditionEdge="rising">
<ByValueCondition>
<ParameterCondition parameterRef="distance_success" value="100" rule="lessThan"/>
</ByValueCondition>
</Condition>
</ConditionGroup>
</StopTrigger>
</Storyboard>
</OpenSCENARIO>
``` |
would you add pedestrian 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_23562">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_close_to_standing_23563">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_close_to_standing_23564">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_w_transform_23565">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_w_transform_23566">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_w_transform_23567">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_close_to_adversary_23568">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_close_to_standing_23569">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_w_transform_23570">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_close_to_standing_23571">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_close_to_hero_23572">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_close_to_adversary_23573">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_w_transform_23574">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_w_transform_23575">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_w_transform_23576">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_close_to_standing_23577">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
</Entities>
<Storyboard>
<Init>
<Actions>
<GlobalAction>
<EnvironmentAction>
<Environment name="Environment1">
<TimeOfDay animation="false" dateTime="2019-06-25T12:00:00"/>
<Weather cloudState="free">
<Sun intensity="0.85" azimuth="0" elevation="1.31"/>
<Fog visualRange="100000.0"/>
<Precipitation precipitationType="dry" intensity="0.0"/>
</Weather>
<RoadCondition frictionScaleFactor="1.0"/>
</Environment>
</EnvironmentAction>
</GlobalAction>
<Private entityRef="hero">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-9.4" y="-152.8" z="0.5" h="1.57079632679"/>
</Position>
</TeleportAction>
</PrivateAction>
<PrivateAction>
<ControllerAction>
<AssignControllerAction>
<Controller name="HeroAgent">
<Properties>
<Property name="module" value="external_control"/>
</Properties>
</Controller>
</AssignControllerAction>
<OverrideControllerValueAction>
<Throttle value="0" active="false"/>
<Brake value="0" active="false"/>
<Clutch value="0" active="false"/>
<ParkingBrake value="0" active="false"/>
<SteeringWheel value="0" active="false"/>
<Gear number="0" active="false"/>
</OverrideControllerValueAction>
</ControllerAction>
</PrivateAction>
</Private>
<Private entityRef="adversary">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-9.4" y="-71.0" z="0.5" h="1.57079632679"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="standing">
<PrivateAction>
<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_23562">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-2.1065304279327393" y="-162.758056640625" z="0.0014286803780123591"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_close_to_standing_23563">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-11.689228057861328" y="32.110660552978516" z="0.0030629730317741632"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_close_to_standing_23564">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-4.4148850440979" y="24.957815170288086" z="0.0030700683128088713"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_w_transform_23565">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="40.093257904052734" y="-26.04060173034668" z="0.5"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_w_transform_23566">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-49.480594635009766" y="-17.15154266357422" z="0.5"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_w_transform_23567">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-76.48505401611328" y="-34.13433074951172" z="0.5"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_close_to_adversary_23568">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-1.1198627948760986" y="-75.78638458251953" z="0.033766746520996094"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_close_to_standing_23569">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-7.029214859008789" y="21.64743423461914" z="0.0030488967895507812"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_w_transform_23570">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-30.79651641845703" y="48.77362823486328" z="0.5"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_close_to_standing_23571">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-18.01842498779297" y="38.501983642578125" z="0.0030049514025449753"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_close_to_hero_23572">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-19.375892639160156" y="-161.98500061035156" z="0.0014286803780123591"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_close_to_adversary_23573">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-5.2200541496276855" y="-80.51176452636719" z="0.03374088183045387"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_w_transform_23574">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="92.41699981689453" y="-95.41249084472656" z="0.5"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_w_transform_23575">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="14.7618989944458" y="-12.508987426757812" z="0.5"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_w_transform_23576">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="20.178895950317383" y="44.93631362915039" z="0.5"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_close_to_standing_23577">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-16.203102111816406" y="37.13669967651367" z="0.0029782867059111595"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
</Actions>
</Init>
<Story name="MyStory">
<Act name="Behavior">
<ManeuverGroup maximumExecutionCount="1" name="ManeuverSequence">
<Actors selectTriggeringEntities="false">
<EntityRef entityRef="adversary"/>
</Actors>
<Maneuver name="LaneChangeSimpleManeuver">
<Event name="AdversaryAccelerates" priority="overwrite">
<Action name="AdversaryAccelerates">
<PrivateAction>
<LongitudinalAction>
<SpeedAction>
<SpeedActionDynamics dynamicsShape="step" value="50" dynamicsDimension="distance"/>
<SpeedActionTarget>
<AbsoluteTargetSpeed value="5.0"/>
</SpeedActionTarget>
</SpeedAction>
</LongitudinalAction>
</PrivateAction>
</Action>
<StartTrigger>
<ConditionGroup>
<Condition name="StartCondition" delay="0" conditionEdge="rising">
<ByEntityCondition>
<TriggeringEntities triggeringEntitiesRule="any">
<EntityRef entityRef="hero"/>
</TriggeringEntities>
<EntityCondition>
<RelativeDistanceCondition entityRef="adversary" relativeDistanceType="cartesianDistance" value="40.0" freespace="false" rule="lessThan"/>
</EntityCondition>
</ByEntityCondition>
</Condition>
</ConditionGroup>
</StartTrigger>
</Event>
<Event name="AdversaryChangesLane" priority="overwrite">
<Action name="AdversaryChangesLane">
<PrivateAction>
<LateralAction>
<LaneChangeAction>
<LaneChangeActionDynamics dynamicsShape="linear" value="25" dynamicsDimension="distance"/>
<LaneChangeTarget>
<RelativeTargetLane entityRef="adversary" value="-1"/>
</LaneChangeTarget>
</LaneChangeAction>
</LateralAction>
</PrivateAction>
</Action>
<StartTrigger>
<ConditionGroup>
<Condition name="AfterAdversaryAccelerates" delay="0" conditionEdge="rising">
<ByValueCondition>
<StoryboardElementStateCondition storyboardElementType="action" storyboardElementRef="AdversaryAccelerates" state="completeState"/>
</ByValueCondition>
</Condition>
</ConditionGroup>
</StartTrigger>
</Event>
</Maneuver>
</ManeuverGroup>
<StartTrigger>
<ConditionGroup>
<Condition name="OverallStartCondition" delay="0" conditionEdge="rising">
<ByEntityCondition>
<TriggeringEntities triggeringEntitiesRule="any">
<EntityRef entityRef="hero"/>
</TriggeringEntities>
<EntityCondition>
<TraveledDistanceCondition value="1.0"/>
</EntityCondition>
</ByEntityCondition>
</Condition>
<Condition name="StartTime" delay="0" conditionEdge="rising">
<ByValueCondition>
<SimulationTimeCondition value="0" rule="equalTo"/>
</ByValueCondition>
</Condition>
</ConditionGroup>
</StartTrigger>
<StopTrigger>
<ConditionGroup>
<Condition name="EndCondition" delay="0" conditionEdge="rising">
<ByEntityCondition>
<TriggeringEntities triggeringEntitiesRule="any">
<EntityRef entityRef="hero"/>
</TriggeringEntities>
<EntityCondition>
<TraveledDistanceCondition value="200.0"/>
</EntityCondition>
</ByEntityCondition>
</Condition>
</ConditionGroup>
</StopTrigger>
</Act>
</Story>
<StopTrigger>
<ConditionGroup>
<Condition name="criteria_RunningStopTest" delay="0" conditionEdge="rising">
<ByValueCondition>
<ParameterCondition parameterRef="" value="" rule="lessThan"/>
</ByValueCondition>
</Condition>
<Condition name="criteria_RunningRedLightTest" delay="0" conditionEdge="rising">
<ByValueCondition>
<ParameterCondition parameterRef="" value="" rule="lessThan"/>
</ByValueCondition>
</Condition>
<Condition name="criteria_WrongLaneTest" delay="0" conditionEdge="rising">
<ByValueCondition>
<ParameterCondition parameterRef="" value="" rule="lessThan"/>
</ByValueCondition>
</Condition>
<Condition name="criteria_OnSidewalkTest" delay="0" conditionEdge="rising">
<ByValueCondition>
<ParameterCondition parameterRef="" value="" rule="lessThan"/>
</ByValueCondition>
</Condition>
<Condition name="criteria_KeepLaneTest" delay="0" conditionEdge="rising">
<ByValueCondition>
<ParameterCondition parameterRef="" value="" rule="lessThan"/>
</ByValueCondition>
</Condition>
<Condition name="criteria_CollisionTest" delay="0" conditionEdge="rising">
<ByValueCondition>
<ParameterCondition parameterRef="" value="" rule="lessThan"/>
</ByValueCondition>
</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_23562">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_close_to_standing_23563">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_close_to_standing_23564">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_w_transform_23565">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_w_transform_23566">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_w_transform_23567">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_close_to_adversary_23568">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_close_to_standing_23569">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_w_transform_23570">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_close_to_standing_23571">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_close_to_hero_23572">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_close_to_adversary_23573">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_w_transform_23574">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_w_transform_23575">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_w_transform_23576">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_close_to_standing_23577">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_close_to_standing_23578">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
</Entities>
<Storyboard>
<Init>
<Actions>
<GlobalAction>
<EnvironmentAction>
<Environment name="Environment1">
<TimeOfDay animation="false" dateTime="2019-06-25T12:00:00"/>
<Weather cloudState="free">
<Sun intensity="0.85" azimuth="0" elevation="1.31"/>
<Fog visualRange="100000.0"/>
<Precipitation precipitationType="dry" intensity="0.0"/>
</Weather>
<RoadCondition frictionScaleFactor="1.0"/>
</Environment>
</EnvironmentAction>
</GlobalAction>
<Private entityRef="hero">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-9.4" y="-152.8" z="0.5" h="1.57079632679"/>
</Position>
</TeleportAction>
</PrivateAction>
<PrivateAction>
<ControllerAction>
<AssignControllerAction>
<Controller name="HeroAgent">
<Properties>
<Property name="module" value="external_control"/>
</Properties>
</Controller>
</AssignControllerAction>
<OverrideControllerValueAction>
<Throttle value="0" active="false"/>
<Brake value="0" active="false"/>
<Clutch value="0" active="false"/>
<ParkingBrake value="0" active="false"/>
<SteeringWheel value="0" active="false"/>
<Gear number="0" active="false"/>
</OverrideControllerValueAction>
</ControllerAction>
</PrivateAction>
</Private>
<Private entityRef="adversary">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-9.4" y="-71.0" z="0.5" h="1.57079632679"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="standing">
<PrivateAction>
<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_23562">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-2.1065304279327393" y="-162.758056640625" z="0.0014286803780123591"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_close_to_standing_23563">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-11.689228057861328" y="32.110660552978516" z="0.0030629730317741632"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_close_to_standing_23564">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-4.4148850440979" y="24.957815170288086" z="0.0030700683128088713"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_w_transform_23565">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="40.093257904052734" y="-26.04060173034668" z="0.5"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_w_transform_23566">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-49.480594635009766" y="-17.15154266357422" z="0.5"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_w_transform_23567">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-76.48505401611328" y="-34.13433074951172" z="0.5"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_close_to_adversary_23568">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-1.1198627948760986" y="-75.78638458251953" z="0.033766746520996094"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_close_to_standing_23569">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-7.029214859008789" y="21.64743423461914" z="0.0030488967895507812"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_w_transform_23570">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-30.79651641845703" y="48.77362823486328" z="0.5"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_close_to_standing_23571">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-18.01842498779297" y="38.501983642578125" z="0.0030049514025449753"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_close_to_hero_23572">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-19.375892639160156" y="-161.98500061035156" z="0.0014286803780123591"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_close_to_adversary_23573">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-5.2200541496276855" y="-80.51176452636719" z="0.03374088183045387"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_w_transform_23574">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="92.41699981689453" y="-95.41249084472656" z="0.5"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_w_transform_23575">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="14.7618989944458" y="-12.508987426757812" z="0.5"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_w_transform_23576">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="20.178895950317383" y="44.93631362915039" z="0.5"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_close_to_standing_23577">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-16.203102111816406" y="37.13669967651367" z="0.0029782867059111595"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_close_to_standing_23578">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-10.662446975708008" y="33.949066162109375" z="0.0029763029888272285"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
</Actions>
</Init>
<Story name="MyStory">
<Act name="Behavior">
<ManeuverGroup maximumExecutionCount="1" name="ManeuverSequence">
<Actors selectTriggeringEntities="false">
<EntityRef entityRef="adversary"/>
</Actors>
<Maneuver name="LaneChangeSimpleManeuver">
<Event name="AdversaryAccelerates" priority="overwrite">
<Action name="AdversaryAccelerates">
<PrivateAction>
<LongitudinalAction>
<SpeedAction>
<SpeedActionDynamics dynamicsShape="step" value="50" dynamicsDimension="distance"/>
<SpeedActionTarget>
<AbsoluteTargetSpeed value="5.0"/>
</SpeedActionTarget>
</SpeedAction>
</LongitudinalAction>
</PrivateAction>
</Action>
<StartTrigger>
<ConditionGroup>
<Condition name="StartCondition" delay="0" conditionEdge="rising">
<ByEntityCondition>
<TriggeringEntities triggeringEntitiesRule="any">
<EntityRef entityRef="hero"/>
</TriggeringEntities>
<EntityCondition>
<RelativeDistanceCondition entityRef="adversary" relativeDistanceType="cartesianDistance" value="40.0" freespace="false" rule="lessThan"/>
</EntityCondition>
</ByEntityCondition>
</Condition>
</ConditionGroup>
</StartTrigger>
</Event>
<Event name="AdversaryChangesLane" priority="overwrite">
<Action name="AdversaryChangesLane">
<PrivateAction>
<LateralAction>
<LaneChangeAction>
<LaneChangeActionDynamics dynamicsShape="linear" value="25" dynamicsDimension="distance"/>
<LaneChangeTarget>
<RelativeTargetLane entityRef="adversary" value="-1"/>
</LaneChangeTarget>
</LaneChangeAction>
</LateralAction>
</PrivateAction>
</Action>
<StartTrigger>
<ConditionGroup>
<Condition name="AfterAdversaryAccelerates" delay="0" conditionEdge="rising">
<ByValueCondition>
<StoryboardElementStateCondition storyboardElementType="action" storyboardElementRef="AdversaryAccelerates" state="completeState"/>
</ByValueCondition>
</Condition>
</ConditionGroup>
</StartTrigger>
</Event>
</Maneuver>
</ManeuverGroup>
<StartTrigger>
<ConditionGroup>
<Condition name="OverallStartCondition" delay="0" conditionEdge="rising">
<ByEntityCondition>
<TriggeringEntities triggeringEntitiesRule="any">
<EntityRef entityRef="hero"/>
</TriggeringEntities>
<EntityCondition>
<TraveledDistanceCondition value="1.0"/>
</EntityCondition>
</ByEntityCondition>
</Condition>
<Condition name="StartTime" delay="0" conditionEdge="rising">
<ByValueCondition>
<SimulationTimeCondition value="0" rule="equalTo"/>
</ByValueCondition>
</Condition>
</ConditionGroup>
</StartTrigger>
<StopTrigger>
<ConditionGroup>
<Condition name="EndCondition" delay="0" conditionEdge="rising">
<ByEntityCondition>
<TriggeringEntities triggeringEntitiesRule="any">
<EntityRef entityRef="hero"/>
</TriggeringEntities>
<EntityCondition>
<TraveledDistanceCondition value="200.0"/>
</EntityCondition>
</ByEntityCondition>
</Condition>
</ConditionGroup>
</StopTrigger>
</Act>
</Story>
<StopTrigger>
<ConditionGroup>
<Condition name="criteria_RunningStopTest" delay="0" conditionEdge="rising">
<ByValueCondition>
<ParameterCondition parameterRef="" value="" rule="lessThan"/>
</ByValueCondition>
</Condition>
<Condition name="criteria_RunningRedLightTest" delay="0" conditionEdge="rising">
<ByValueCondition>
<ParameterCondition parameterRef="" value="" rule="lessThan"/>
</ByValueCondition>
</Condition>
<Condition name="criteria_WrongLaneTest" delay="0" conditionEdge="rising">
<ByValueCondition>
<ParameterCondition parameterRef="" value="" rule="lessThan"/>
</ByValueCondition>
</Condition>
<Condition name="criteria_OnSidewalkTest" delay="0" conditionEdge="rising">
<ByValueCondition>
<ParameterCondition parameterRef="" value="" rule="lessThan"/>
</ByValueCondition>
</Condition>
<Condition name="criteria_KeepLaneTest" delay="0" conditionEdge="rising">
<ByValueCondition>
<ParameterCondition parameterRef="" value="" rule="lessThan"/>
</ByValueCondition>
</Condition>
<Condition name="criteria_CollisionTest" delay="0" conditionEdge="rising">
<ByValueCondition>
<ParameterCondition parameterRef="" value="" rule="lessThan"/>
</ByValueCondition>
</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_21361">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_w_transform_21362">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_close_to_standing_21363">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_w_transform_21364">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_w_transform_21365">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_close_to_standing_21366">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_close_to_hero_21367">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_w_transform_21369">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_close_to_hero_21370">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_w_transform_21371">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_close_to_adversary_21372">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_w_transform_21373">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_w_transform_21374">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_close_to_hero_21375">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_w_transform_21376">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
</Entities>
<Storyboard>
<Init>
<Actions>
<GlobalAction>
<EnvironmentAction>
<Environment name="Environment1">
<TimeOfDay animation="false" dateTime="2019-06-25T12:00:00"/>
<Weather cloudState="free">
<Sun intensity="0.85" azimuth="0" elevation="1.31"/>
<Fog visualRange="100000.0"/>
<Precipitation precipitationType="dry" intensity="0.0"/>
</Weather>
<RoadCondition frictionScaleFactor="1.0"/>
</Environment>
</EnvironmentAction>
</GlobalAction>
<Private entityRef="hero">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-9.4" y="-152.8" z="0.5" h="1.57079632679"/>
</Position>
</TeleportAction>
</PrivateAction>
<PrivateAction>
<ControllerAction>
<AssignControllerAction>
<Controller name="HeroAgent">
<Properties>
<Property name="module" value="external_control"/>
</Properties>
</Controller>
</AssignControllerAction>
<OverrideControllerValueAction>
<Throttle value="0" active="false"/>
<Brake value="0" active="false"/>
<Clutch value="0" active="false"/>
<ParkingBrake value="0" active="false"/>
<SteeringWheel value="0" active="false"/>
<Gear number="0" active="false"/>
</OverrideControllerValueAction>
</ControllerAction>
</PrivateAction>
</Private>
<Private entityRef="adversary">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-9.4" y="-71.0" z="0.5" h="1.57079632679"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="standing">
<PrivateAction>
<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_21361">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-15.397501945495605" y="-151.64747619628906" z="0.0014286803780123591"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_w_transform_21362">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-28.10017967224121" y="10.893830299377441" z="0.5"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_close_to_standing_21363">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-1.3238258361816406" y="23.822872161865234" z="0.0030619811732321978"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_w_transform_21364">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-40.2105827331543" y="-90.00169372558594" z="0.5"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_w_transform_21365">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="76.86343383789062" y="62.28240203857422" z="0.5"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_close_to_standing_21366">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-6.469459056854248" y="28.680763244628906" z="0.0030107498168945312"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_close_to_hero_21367">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-9.913256645202637" y="-155.5952606201172" z="0.0014286803780123591"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_w_transform_21369">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="96.84829711914062" y="98.67298126220703" z="0.5"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_close_to_hero_21370">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="9.497878074645996" y="-160.3638458251953" z="0.0014286803780123591"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_w_transform_21371">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-28.8752498626709" y="-81.20404815673828" z="0.5"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_close_to_adversary_21372">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-8.170441627502441" y="-68.30152130126953" z="0.03380477800965309"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_w_transform_21373">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="73.95175170898438" y="-45.376617431640625" z="0.5"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_w_transform_21374">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-12.107674598693848" y="-87.07905578613281" z="0.5"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_close_to_hero_21375">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-7.6671953201293945" y="-154.15164184570312" z="0.0014286803780123591"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_w_transform_21376">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-52.40660858154297" y="82.67369842529297" 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_21361">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_w_transform_21362">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_close_to_standing_21363">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_w_transform_21364">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_w_transform_21365">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_close_to_standing_21366">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_close_to_hero_21367">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_w_transform_21369">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_close_to_hero_21370">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_w_transform_21371">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_close_to_adversary_21372">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_w_transform_21373">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_w_transform_21374">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_close_to_hero_21375">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_w_transform_21376">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_close_to_hero_21377">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
</Entities>
<Storyboard>
<Init>
<Actions>
<GlobalAction>
<EnvironmentAction>
<Environment name="Environment1">
<TimeOfDay animation="false" dateTime="2019-06-25T12:00:00"/>
<Weather cloudState="free">
<Sun intensity="0.85" azimuth="0" elevation="1.31"/>
<Fog visualRange="100000.0"/>
<Precipitation precipitationType="dry" intensity="0.0"/>
</Weather>
<RoadCondition frictionScaleFactor="1.0"/>
</Environment>
</EnvironmentAction>
</GlobalAction>
<Private entityRef="hero">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-9.4" y="-152.8" z="0.5" h="1.57079632679"/>
</Position>
</TeleportAction>
</PrivateAction>
<PrivateAction>
<ControllerAction>
<AssignControllerAction>
<Controller name="HeroAgent">
<Properties>
<Property name="module" value="external_control"/>
</Properties>
</Controller>
</AssignControllerAction>
<OverrideControllerValueAction>
<Throttle value="0" active="false"/>
<Brake value="0" active="false"/>
<Clutch value="0" active="false"/>
<ParkingBrake value="0" active="false"/>
<SteeringWheel value="0" active="false"/>
<Gear number="0" active="false"/>
</OverrideControllerValueAction>
</ControllerAction>
</PrivateAction>
</Private>
<Private entityRef="adversary">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-9.4" y="-71.0" z="0.5" h="1.57079632679"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="standing">
<PrivateAction>
<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_21361">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-15.397501945495605" y="-151.64747619628906" z="0.0014286803780123591"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_w_transform_21362">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-28.10017967224121" y="10.893830299377441" z="0.5"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_close_to_standing_21363">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-1.3238258361816406" y="23.822872161865234" z="0.0030619811732321978"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_w_transform_21364">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-40.2105827331543" y="-90.00169372558594" z="0.5"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_w_transform_21365">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="76.86343383789062" y="62.28240203857422" z="0.5"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_close_to_standing_21366">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-6.469459056854248" y="28.680763244628906" z="0.0030107498168945312"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_close_to_hero_21367">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-9.913256645202637" y="-155.5952606201172" z="0.0014286803780123591"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_w_transform_21369">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="96.84829711914062" y="98.67298126220703" z="0.5"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_close_to_hero_21370">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="9.497878074645996" y="-160.3638458251953" z="0.0014286803780123591"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_w_transform_21371">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-28.8752498626709" y="-81.20404815673828" z="0.5"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_close_to_adversary_21372">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-8.170441627502441" y="-68.30152130126953" z="0.03380477800965309"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_w_transform_21373">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="73.95175170898438" y="-45.376617431640625" z="0.5"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_w_transform_21374">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-12.107674598693848" y="-87.07905578613281" z="0.5"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_close_to_hero_21375">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-7.6671953201293945" y="-154.15164184570312" z="0.0014286803780123591"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_w_transform_21376">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-52.40660858154297" y="82.67369842529297" z="0.5"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_close_to_hero_21377">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-5.617734432220459" y="-157.6313934326172" z="0.0014286803780123591"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
</Actions>
</Init>
<Story name="MyStory">
<Act name="Behavior">
<ManeuverGroup maximumExecutionCount="1" name="ManeuverSequence">
<Actors selectTriggeringEntities="false">
<EntityRef entityRef="adversary"/>
</Actors>
<Maneuver name="LaneChangeSimpleManeuver">
<Event name="AdversaryAccelerates" priority="overwrite">
<Action name="AdversaryAccelerates">
<PrivateAction>
<LongitudinalAction>
<SpeedAction>
<SpeedActionDynamics dynamicsShape="step" value="50" dynamicsDimension="distance"/>
<SpeedActionTarget>
<AbsoluteTargetSpeed value="5.0"/>
</SpeedActionTarget>
</SpeedAction>
</LongitudinalAction>
</PrivateAction>
</Action>
<StartTrigger>
<ConditionGroup>
<Condition name="StartCondition" delay="0" conditionEdge="rising">
<ByEntityCondition>
<TriggeringEntities triggeringEntitiesRule="any">
<EntityRef entityRef="hero"/>
</TriggeringEntities>
<EntityCondition>
<RelativeDistanceCondition entityRef="adversary" relativeDistanceType="cartesianDistance" value="40.0" freespace="false" rule="lessThan"/>
</EntityCondition>
</ByEntityCondition>
</Condition>
</ConditionGroup>
</StartTrigger>
</Event>
<Event name="AdversaryChangesLane" priority="overwrite">
<Action name="AdversaryChangesLane">
<PrivateAction>
<LateralAction>
<LaneChangeAction>
<LaneChangeActionDynamics dynamicsShape="linear" value="25" dynamicsDimension="distance"/>
<LaneChangeTarget>
<RelativeTargetLane entityRef="adversary" value="-1"/>
</LaneChangeTarget>
</LaneChangeAction>
</LateralAction>
</PrivateAction>
</Action>
<StartTrigger>
<ConditionGroup>
<Condition name="AfterAdversaryAccelerates" delay="0" conditionEdge="rising">
<ByValueCondition>
<StoryboardElementStateCondition storyboardElementType="action" storyboardElementRef="AdversaryAccelerates" state="completeState"/>
</ByValueCondition>
</Condition>
</ConditionGroup>
</StartTrigger>
</Event>
</Maneuver>
</ManeuverGroup>
<StartTrigger>
<ConditionGroup>
<Condition name="OverallStartCondition" delay="0" conditionEdge="rising">
<ByEntityCondition>
<TriggeringEntities triggeringEntitiesRule="any">
<EntityRef entityRef="hero"/>
</TriggeringEntities>
<EntityCondition>
<TraveledDistanceCondition value="1.0"/>
</EntityCondition>
</ByEntityCondition>
</Condition>
<Condition name="StartTime" delay="0" conditionEdge="rising">
<ByValueCondition>
<SimulationTimeCondition value="0" rule="equalTo"/>
</ByValueCondition>
</Condition>
</ConditionGroup>
</StartTrigger>
<StopTrigger>
<ConditionGroup>
<Condition name="EndCondition" delay="0" conditionEdge="rising">
<ByEntityCondition>
<TriggeringEntities triggeringEntitiesRule="any">
<EntityRef entityRef="hero"/>
</TriggeringEntities>
<EntityCondition>
<TraveledDistanceCondition value="200.0"/>
</EntityCondition>
</ByEntityCondition>
</Condition>
</ConditionGroup>
</StopTrigger>
</Act>
</Story>
<StopTrigger>
<ConditionGroup>
<Condition name="criteria_RunningStopTest" delay="0" conditionEdge="rising">
<ByValueCondition>
<ParameterCondition parameterRef="" value="" rule="lessThan"/>
</ByValueCondition>
</Condition>
<Condition name="criteria_RunningRedLightTest" delay="0" conditionEdge="rising">
<ByValueCondition>
<ParameterCondition parameterRef="" value="" rule="lessThan"/>
</ByValueCondition>
</Condition>
<Condition name="criteria_WrongLaneTest" delay="0" conditionEdge="rising">
<ByValueCondition>
<ParameterCondition parameterRef="" value="" rule="lessThan"/>
</ByValueCondition>
</Condition>
<Condition name="criteria_OnSidewalkTest" delay="0" conditionEdge="rising">
<ByValueCondition>
<ParameterCondition parameterRef="" value="" rule="lessThan"/>
</ByValueCondition>
</Condition>
<Condition name="criteria_KeepLaneTest" delay="0" conditionEdge="rising">
<ByValueCondition>
<ParameterCondition parameterRef="" value="" rule="lessThan"/>
</ByValueCondition>
</Condition>
<Condition name="criteria_CollisionTest" delay="0" conditionEdge="rising">
<ByValueCondition>
<ParameterCondition parameterRef="" value="" rule="lessThan"/>
</ByValueCondition>
</Condition>
<Condition name="criteria_DrivenDistanceTest" delay="0" conditionEdge="rising">
<ByValueCondition>
<ParameterCondition parameterRef="distance_success" value="100" rule="lessThan"/>
</ByValueCondition>
</Condition>
</ConditionGroup>
</StopTrigger>
</Storyboard>
</OpenSCENARIO>
``` |
could you add pedestrian close to hero?
```
<?xml version="1.0" ?>
<OpenSCENARIO>
<FileHeader revMajor="1" revMinor="0" date="2020-03-24T12:00:00" description="CARLA:LaneChangeSimple" author=""/>
<ParameterDeclarations/>
<CatalogLocations/>
<RoadNetwork>
<LogicFile filepath="Town04"/>
<SceneGraphFile filepath=""/>
</RoadNetwork>
<Entities>
<ScenarioObject name="hero">
<Vehicle name="vehicle.tesla.model3" vehicleCategory="car">
<ParameterDeclarations/>
<Performance maxSpeed="69.444" maxAcceleration="200" maxDeceleration="10.0"/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2.1" length="4.5" height="1.8"/>
</BoundingBox>
<Axles>
<FrontAxle maxSteering="0.5" wheelDiameter="0.6" trackWidth="1.8" positionX="3.1" positionZ="0.3"/>
<RearAxle maxSteering="0.0" wheelDiameter="0.6" trackWidth="1.8" positionX="0.0" positionZ="0.3"/>
</Axles>
<Properties>
<Property name="type" value="ego_vehicle"/>
</Properties>
</Vehicle>
</ScenarioObject>
<ScenarioObject name="adversary">
<Vehicle name="vehicle.lincoln.mkz_2017" vehicleCategory="car">
<ParameterDeclarations/>
<Performance maxSpeed="69.444" maxAcceleration="200" maxDeceleration="10.0"/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2.1" length="4.5" height="1.8"/>
</BoundingBox>
<Axles>
<FrontAxle maxSteering="0.5" wheelDiameter="0.6" trackWidth="1.8" positionX="3.1" positionZ="0.3"/>
<RearAxle maxSteering="0.0" wheelDiameter="0.6" trackWidth="1.8" positionX="0.0" positionZ="0.3"/>
</Axles>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Vehicle>
</ScenarioObject>
<ScenarioObject name="standing">
<Vehicle name="vehicle.volkswagen.t2" vehicleCategory="car">
<ParameterDeclarations/>
<Performance maxSpeed="69.444" maxAcceleration="200" maxDeceleration="10.0"/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2.1" length="4.5" height="1.8"/>
</BoundingBox>
<Axles>
<FrontAxle maxSteering="0.5" wheelDiameter="0.6" trackWidth="1.8" positionX="3.1" positionZ="0.3"/>
<RearAxle maxSteering="0.0" wheelDiameter="0.6" trackWidth="1.8" positionX="0.0" positionZ="0.3"/>
</Axles>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Vehicle>
</ScenarioObject>
<ScenarioObject name="pedestrian_close_to_adversary_10391">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_w_transform_10392">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_w_transform_10394">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_close_to_hero_10395">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_w_transform_10396">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_close_to_hero_10398">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_close_to_standing_10399">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
</Entities>
<Storyboard>
<Init>
<Actions>
<GlobalAction>
<EnvironmentAction>
<Environment name="Environment1">
<TimeOfDay animation="false" dateTime="2019-06-25T12:00:00"/>
<Weather cloudState="free">
<Sun intensity="0.85" azimuth="0" elevation="1.31"/>
<Fog visualRange="100000.0"/>
<Precipitation precipitationType="dry" intensity="0.0"/>
</Weather>
<RoadCondition frictionScaleFactor="1.0"/>
</Environment>
</EnvironmentAction>
</GlobalAction>
<Private entityRef="hero">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-9.4" y="-152.8" z="0.5" h="1.57079632679"/>
</Position>
</TeleportAction>
</PrivateAction>
<PrivateAction>
<ControllerAction>
<AssignControllerAction>
<Controller name="HeroAgent">
<Properties>
<Property name="module" value="external_control"/>
</Properties>
</Controller>
</AssignControllerAction>
<OverrideControllerValueAction>
<Throttle value="0" active="false"/>
<Brake value="0" active="false"/>
<Clutch value="0" active="false"/>
<ParkingBrake value="0" active="false"/>
<SteeringWheel value="0" active="false"/>
<Gear number="0" active="false"/>
</OverrideControllerValueAction>
</ControllerAction>
</PrivateAction>
</Private>
<Private entityRef="adversary">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-9.4" y="-71.0" z="0.5" h="1.57079632679"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="standing">
<PrivateAction>
<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_10391">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-6.655394077301025" y="-73.71977233886719" z="0.033821068704128265"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_w_transform_10392">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-13.375970840454102" y="88.3409652709961" z="0.5"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_w_transform_10394">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="77.09696960449219" y="-61.82469940185547" z="0.5"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_close_to_hero_10395">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="4.329051971435547" y="-153.38412475585938" z="0.0014286803780123591"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_w_transform_10396">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="83.81324005126953" y="97.32951354980469" z="0.5"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_close_to_hero_10398">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-13.075077056884766" y="-145.15643310546875" z="0.0014286803780123591"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_close_to_standing_10399">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-6.85936164855957" y="33.39704132080078" z="0.003051490755751729"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
</Actions>
</Init>
<Story name="MyStory">
<Act name="Behavior">
<ManeuverGroup maximumExecutionCount="1" name="ManeuverSequence">
<Actors selectTriggeringEntities="false">
<EntityRef entityRef="adversary"/>
</Actors>
<Maneuver name="LaneChangeSimpleManeuver">
<Event name="AdversaryAccelerates" priority="overwrite">
<Action name="AdversaryAccelerates">
<PrivateAction>
<LongitudinalAction>
<SpeedAction>
<SpeedActionDynamics dynamicsShape="step" value="50" dynamicsDimension="distance"/>
<SpeedActionTarget>
<AbsoluteTargetSpeed value="5.0"/>
</SpeedActionTarget>
</SpeedAction>
</LongitudinalAction>
</PrivateAction>
</Action>
<StartTrigger>
<ConditionGroup>
<Condition name="StartCondition" delay="0" conditionEdge="rising">
<ByEntityCondition>
<TriggeringEntities triggeringEntitiesRule="any">
<EntityRef entityRef="hero"/>
</TriggeringEntities>
<EntityCondition>
<RelativeDistanceCondition entityRef="adversary" relativeDistanceType="cartesianDistance" value="40.0" freespace="false" rule="lessThan"/>
</EntityCondition>
</ByEntityCondition>
</Condition>
</ConditionGroup>
</StartTrigger>
</Event>
<Event name="AdversaryChangesLane" priority="overwrite">
<Action name="AdversaryChangesLane">
<PrivateAction>
<LateralAction>
<LaneChangeAction>
<LaneChangeActionDynamics dynamicsShape="linear" value="25" dynamicsDimension="distance"/>
<LaneChangeTarget>
<RelativeTargetLane entityRef="adversary" value="-1"/>
</LaneChangeTarget>
</LaneChangeAction>
</LateralAction>
</PrivateAction>
</Action>
<StartTrigger>
<ConditionGroup>
<Condition name="AfterAdversaryAccelerates" delay="0" conditionEdge="rising">
<ByValueCondition>
<StoryboardElementStateCondition storyboardElementType="action" storyboardElementRef="AdversaryAccelerates" state="completeState"/>
</ByValueCondition>
</Condition>
</ConditionGroup>
</StartTrigger>
</Event>
</Maneuver>
</ManeuverGroup>
<StartTrigger>
<ConditionGroup>
<Condition name="OverallStartCondition" delay="0" conditionEdge="rising">
<ByEntityCondition>
<TriggeringEntities triggeringEntitiesRule="any">
<EntityRef entityRef="hero"/>
</TriggeringEntities>
<EntityCondition>
<TraveledDistanceCondition value="1.0"/>
</EntityCondition>
</ByEntityCondition>
</Condition>
<Condition name="StartTime" delay="0" conditionEdge="rising">
<ByValueCondition>
<SimulationTimeCondition value="0" rule="equalTo"/>
</ByValueCondition>
</Condition>
</ConditionGroup>
</StartTrigger>
<StopTrigger>
<ConditionGroup>
<Condition name="EndCondition" delay="0" conditionEdge="rising">
<ByEntityCondition>
<TriggeringEntities triggeringEntitiesRule="any">
<EntityRef entityRef="hero"/>
</TriggeringEntities>
<EntityCondition>
<TraveledDistanceCondition value="200.0"/>
</EntityCondition>
</ByEntityCondition>
</Condition>
</ConditionGroup>
</StopTrigger>
</Act>
</Story>
<StopTrigger>
<ConditionGroup>
<Condition name="criteria_RunningStopTest" delay="0" conditionEdge="rising">
<ByValueCondition>
<ParameterCondition parameterRef="" value="" rule="lessThan"/>
</ByValueCondition>
</Condition>
<Condition name="criteria_RunningRedLightTest" delay="0" conditionEdge="rising">
<ByValueCondition>
<ParameterCondition parameterRef="" value="" rule="lessThan"/>
</ByValueCondition>
</Condition>
<Condition name="criteria_WrongLaneTest" delay="0" conditionEdge="rising">
<ByValueCondition>
<ParameterCondition parameterRef="" value="" rule="lessThan"/>
</ByValueCondition>
</Condition>
<Condition name="criteria_OnSidewalkTest" delay="0" conditionEdge="rising">
<ByValueCondition>
<ParameterCondition parameterRef="" value="" rule="lessThan"/>
</ByValueCondition>
</Condition>
<Condition name="criteria_KeepLaneTest" delay="0" conditionEdge="rising">
<ByValueCondition>
<ParameterCondition parameterRef="" value="" rule="lessThan"/>
</ByValueCondition>
</Condition>
<Condition name="criteria_CollisionTest" delay="0" conditionEdge="rising">
<ByValueCondition>
<ParameterCondition parameterRef="" value="" rule="lessThan"/>
</ByValueCondition>
</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_10391">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_w_transform_10392">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_w_transform_10394">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_close_to_hero_10395">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_w_transform_10396">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_close_to_hero_10398">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_close_to_standing_10399">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_close_to_hero_10400">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
</Entities>
<Storyboard>
<Init>
<Actions>
<GlobalAction>
<EnvironmentAction>
<Environment name="Environment1">
<TimeOfDay animation="false" dateTime="2019-06-25T12:00:00"/>
<Weather cloudState="free">
<Sun intensity="0.85" azimuth="0" elevation="1.31"/>
<Fog visualRange="100000.0"/>
<Precipitation precipitationType="dry" intensity="0.0"/>
</Weather>
<RoadCondition frictionScaleFactor="1.0"/>
</Environment>
</EnvironmentAction>
</GlobalAction>
<Private entityRef="hero">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-9.4" y="-152.8" z="0.5" h="1.57079632679"/>
</Position>
</TeleportAction>
</PrivateAction>
<PrivateAction>
<ControllerAction>
<AssignControllerAction>
<Controller name="HeroAgent">
<Properties>
<Property name="module" value="external_control"/>
</Properties>
</Controller>
</AssignControllerAction>
<OverrideControllerValueAction>
<Throttle value="0" active="false"/>
<Brake value="0" active="false"/>
<Clutch value="0" active="false"/>
<ParkingBrake value="0" active="false"/>
<SteeringWheel value="0" active="false"/>
<Gear number="0" active="false"/>
</OverrideControllerValueAction>
</ControllerAction>
</PrivateAction>
</Private>
<Private entityRef="adversary">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-9.4" y="-71.0" z="0.5" h="1.57079632679"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="standing">
<PrivateAction>
<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_10391">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-6.655394077301025" y="-73.71977233886719" z="0.033821068704128265"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_w_transform_10392">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-13.375970840454102" y="88.3409652709961" z="0.5"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_w_transform_10394">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="77.09696960449219" y="-61.82469940185547" z="0.5"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_close_to_hero_10395">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="4.329051971435547" y="-153.38412475585938" z="0.0014286803780123591"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_w_transform_10396">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="83.81324005126953" y="97.32951354980469" z="0.5"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_close_to_hero_10398">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-13.075077056884766" y="-145.15643310546875" z="0.0014286803780123591"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_close_to_standing_10399">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-6.85936164855957" y="33.39704132080078" z="0.003051490755751729"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_close_to_hero_10400">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-18.69816780090332" y="-149.2077178955078" z="0.0014286803780123591"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
</Actions>
</Init>
<Story name="MyStory">
<Act name="Behavior">
<ManeuverGroup maximumExecutionCount="1" name="ManeuverSequence">
<Actors selectTriggeringEntities="false">
<EntityRef entityRef="adversary"/>
</Actors>
<Maneuver name="LaneChangeSimpleManeuver">
<Event name="AdversaryAccelerates" priority="overwrite">
<Action name="AdversaryAccelerates">
<PrivateAction>
<LongitudinalAction>
<SpeedAction>
<SpeedActionDynamics dynamicsShape="step" value="50" dynamicsDimension="distance"/>
<SpeedActionTarget>
<AbsoluteTargetSpeed value="5.0"/>
</SpeedActionTarget>
</SpeedAction>
</LongitudinalAction>
</PrivateAction>
</Action>
<StartTrigger>
<ConditionGroup>
<Condition name="StartCondition" delay="0" conditionEdge="rising">
<ByEntityCondition>
<TriggeringEntities triggeringEntitiesRule="any">
<EntityRef entityRef="hero"/>
</TriggeringEntities>
<EntityCondition>
<RelativeDistanceCondition entityRef="adversary" relativeDistanceType="cartesianDistance" value="40.0" freespace="false" rule="lessThan"/>
</EntityCondition>
</ByEntityCondition>
</Condition>
</ConditionGroup>
</StartTrigger>
</Event>
<Event name="AdversaryChangesLane" priority="overwrite">
<Action name="AdversaryChangesLane">
<PrivateAction>
<LateralAction>
<LaneChangeAction>
<LaneChangeActionDynamics dynamicsShape="linear" value="25" dynamicsDimension="distance"/>
<LaneChangeTarget>
<RelativeTargetLane entityRef="adversary" value="-1"/>
</LaneChangeTarget>
</LaneChangeAction>
</LateralAction>
</PrivateAction>
</Action>
<StartTrigger>
<ConditionGroup>
<Condition name="AfterAdversaryAccelerates" delay="0" conditionEdge="rising">
<ByValueCondition>
<StoryboardElementStateCondition storyboardElementType="action" storyboardElementRef="AdversaryAccelerates" state="completeState"/>
</ByValueCondition>
</Condition>
</ConditionGroup>
</StartTrigger>
</Event>
</Maneuver>
</ManeuverGroup>
<StartTrigger>
<ConditionGroup>
<Condition name="OverallStartCondition" delay="0" conditionEdge="rising">
<ByEntityCondition>
<TriggeringEntities triggeringEntitiesRule="any">
<EntityRef entityRef="hero"/>
</TriggeringEntities>
<EntityCondition>
<TraveledDistanceCondition value="1.0"/>
</EntityCondition>
</ByEntityCondition>
</Condition>
<Condition name="StartTime" delay="0" conditionEdge="rising">
<ByValueCondition>
<SimulationTimeCondition value="0" rule="equalTo"/>
</ByValueCondition>
</Condition>
</ConditionGroup>
</StartTrigger>
<StopTrigger>
<ConditionGroup>
<Condition name="EndCondition" delay="0" conditionEdge="rising">
<ByEntityCondition>
<TriggeringEntities triggeringEntitiesRule="any">
<EntityRef entityRef="hero"/>
</TriggeringEntities>
<EntityCondition>
<TraveledDistanceCondition value="200.0"/>
</EntityCondition>
</ByEntityCondition>
</Condition>
</ConditionGroup>
</StopTrigger>
</Act>
</Story>
<StopTrigger>
<ConditionGroup>
<Condition name="criteria_RunningStopTest" delay="0" conditionEdge="rising">
<ByValueCondition>
<ParameterCondition parameterRef="" value="" rule="lessThan"/>
</ByValueCondition>
</Condition>
<Condition name="criteria_RunningRedLightTest" delay="0" conditionEdge="rising">
<ByValueCondition>
<ParameterCondition parameterRef="" value="" rule="lessThan"/>
</ByValueCondition>
</Condition>
<Condition name="criteria_WrongLaneTest" delay="0" conditionEdge="rising">
<ByValueCondition>
<ParameterCondition parameterRef="" value="" rule="lessThan"/>
</ByValueCondition>
</Condition>
<Condition name="criteria_OnSidewalkTest" delay="0" conditionEdge="rising">
<ByValueCondition>
<ParameterCondition parameterRef="" value="" rule="lessThan"/>
</ByValueCondition>
</Condition>
<Condition name="criteria_KeepLaneTest" delay="0" conditionEdge="rising">
<ByValueCondition>
<ParameterCondition parameterRef="" value="" rule="lessThan"/>
</ByValueCondition>
</Condition>
<Condition name="criteria_CollisionTest" delay="0" conditionEdge="rising">
<ByValueCondition>
<ParameterCondition parameterRef="" value="" rule="lessThan"/>
</ByValueCondition>
</Condition>
<Condition name="criteria_DrivenDistanceTest" delay="0" conditionEdge="rising">
<ByValueCondition>
<ParameterCondition parameterRef="distance_success" value="100" rule="lessThan"/>
</ByValueCondition>
</Condition>
</ConditionGroup>
</StopTrigger>
</Storyboard>
</OpenSCENARIO>
``` |
i would like to direct you to add pedestrian at location (-25.76, -88.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_hero_9357">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_w_transform_9358">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_close_to_adversary_9359">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_w_transform_9360">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_close_to_standing_9361">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_close_to_standing_9362">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
</Entities>
<Storyboard>
<Init>
<Actions>
<GlobalAction>
<EnvironmentAction>
<Environment name="Environment1">
<TimeOfDay animation="false" dateTime="2019-06-25T12:00:00"/>
<Weather cloudState="free">
<Sun intensity="0.85" azimuth="0" elevation="1.31"/>
<Fog visualRange="100000.0"/>
<Precipitation precipitationType="dry" intensity="0.0"/>
</Weather>
<RoadCondition frictionScaleFactor="1.0"/>
</Environment>
</EnvironmentAction>
</GlobalAction>
<Private entityRef="hero">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-9.4" y="-152.8" z="0.5" h="1.57079632679"/>
</Position>
</TeleportAction>
</PrivateAction>
<PrivateAction>
<ControllerAction>
<AssignControllerAction>
<Controller name="HeroAgent">
<Properties>
<Property name="module" value="external_control"/>
</Properties>
</Controller>
</AssignControllerAction>
<OverrideControllerValueAction>
<Throttle value="0" active="false"/>
<Brake value="0" active="false"/>
<Clutch value="0" active="false"/>
<ParkingBrake value="0" active="false"/>
<SteeringWheel value="0" active="false"/>
<Gear number="0" active="false"/>
</OverrideControllerValueAction>
</ControllerAction>
</PrivateAction>
</Private>
<Private entityRef="adversary">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-9.4" y="-71.0" z="0.5" h="1.57079632679"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="standing">
<PrivateAction>
<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_9357">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-5.35955286026001" y="-153.52569580078125" z="0.0014286803780123591"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_w_transform_9358">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="59.797523498535156" y="26.66803741455078" z="0.5"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_close_to_adversary_9359">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-16.650344848632812" y="-74.5401840209961" z="0.03378807008266449"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_w_transform_9360">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-95.0960922241211" y="-88.9717025756836" z="0.5"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_close_to_standing_9361">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-6.98607063293457" y="22.049726486206055" z="0.0030024717561900616"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_close_to_standing_9362">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="1.1648571491241455" y="31.223556518554688" z="0.0029953382909297943"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
</Actions>
</Init>
<Story name="MyStory">
<Act name="Behavior">
<ManeuverGroup maximumExecutionCount="1" name="ManeuverSequence">
<Actors selectTriggeringEntities="false">
<EntityRef entityRef="adversary"/>
</Actors>
<Maneuver name="LaneChangeSimpleManeuver">
<Event name="AdversaryAccelerates" priority="overwrite">
<Action name="AdversaryAccelerates">
<PrivateAction>
<LongitudinalAction>
<SpeedAction>
<SpeedActionDynamics dynamicsShape="step" value="50" dynamicsDimension="distance"/>
<SpeedActionTarget>
<AbsoluteTargetSpeed value="5.0"/>
</SpeedActionTarget>
</SpeedAction>
</LongitudinalAction>
</PrivateAction>
</Action>
<StartTrigger>
<ConditionGroup>
<Condition name="StartCondition" delay="0" conditionEdge="rising">
<ByEntityCondition>
<TriggeringEntities triggeringEntitiesRule="any">
<EntityRef entityRef="hero"/>
</TriggeringEntities>
<EntityCondition>
<RelativeDistanceCondition entityRef="adversary" relativeDistanceType="cartesianDistance" value="40.0" freespace="false" rule="lessThan"/>
</EntityCondition>
</ByEntityCondition>
</Condition>
</ConditionGroup>
</StartTrigger>
</Event>
<Event name="AdversaryChangesLane" priority="overwrite">
<Action name="AdversaryChangesLane">
<PrivateAction>
<LateralAction>
<LaneChangeAction>
<LaneChangeActionDynamics dynamicsShape="linear" value="25" dynamicsDimension="distance"/>
<LaneChangeTarget>
<RelativeTargetLane entityRef="adversary" value="-1"/>
</LaneChangeTarget>
</LaneChangeAction>
</LateralAction>
</PrivateAction>
</Action>
<StartTrigger>
<ConditionGroup>
<Condition name="AfterAdversaryAccelerates" delay="0" conditionEdge="rising">
<ByValueCondition>
<StoryboardElementStateCondition storyboardElementType="action" storyboardElementRef="AdversaryAccelerates" state="completeState"/>
</ByValueCondition>
</Condition>
</ConditionGroup>
</StartTrigger>
</Event>
</Maneuver>
</ManeuverGroup>
<StartTrigger>
<ConditionGroup>
<Condition name="OverallStartCondition" delay="0" conditionEdge="rising">
<ByEntityCondition>
<TriggeringEntities triggeringEntitiesRule="any">
<EntityRef entityRef="hero"/>
</TriggeringEntities>
<EntityCondition>
<TraveledDistanceCondition value="1.0"/>
</EntityCondition>
</ByEntityCondition>
</Condition>
<Condition name="StartTime" delay="0" conditionEdge="rising">
<ByValueCondition>
<SimulationTimeCondition value="0" rule="equalTo"/>
</ByValueCondition>
</Condition>
</ConditionGroup>
</StartTrigger>
<StopTrigger>
<ConditionGroup>
<Condition name="EndCondition" delay="0" conditionEdge="rising">
<ByEntityCondition>
<TriggeringEntities triggeringEntitiesRule="any">
<EntityRef entityRef="hero"/>
</TriggeringEntities>
<EntityCondition>
<TraveledDistanceCondition value="200.0"/>
</EntityCondition>
</ByEntityCondition>
</Condition>
</ConditionGroup>
</StopTrigger>
</Act>
</Story>
<StopTrigger>
<ConditionGroup>
<Condition name="criteria_RunningStopTest" delay="0" conditionEdge="rising">
<ByValueCondition>
<ParameterCondition parameterRef="" value="" rule="lessThan"/>
</ByValueCondition>
</Condition>
<Condition name="criteria_RunningRedLightTest" delay="0" conditionEdge="rising">
<ByValueCondition>
<ParameterCondition parameterRef="" value="" rule="lessThan"/>
</ByValueCondition>
</Condition>
<Condition name="criteria_WrongLaneTest" delay="0" conditionEdge="rising">
<ByValueCondition>
<ParameterCondition parameterRef="" value="" rule="lessThan"/>
</ByValueCondition>
</Condition>
<Condition name="criteria_OnSidewalkTest" delay="0" conditionEdge="rising">
<ByValueCondition>
<ParameterCondition parameterRef="" value="" rule="lessThan"/>
</ByValueCondition>
</Condition>
<Condition name="criteria_KeepLaneTest" delay="0" conditionEdge="rising">
<ByValueCondition>
<ParameterCondition parameterRef="" value="" rule="lessThan"/>
</ByValueCondition>
</Condition>
<Condition name="criteria_CollisionTest" delay="0" conditionEdge="rising">
<ByValueCondition>
<ParameterCondition parameterRef="" value="" rule="lessThan"/>
</ByValueCondition>
</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_9357">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_w_transform_9358">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_close_to_adversary_9359">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_w_transform_9360">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_close_to_standing_9361">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_close_to_standing_9362">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_w_transform_9363">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
</Entities>
<Storyboard>
<Init>
<Actions>
<GlobalAction>
<EnvironmentAction>
<Environment name="Environment1">
<TimeOfDay animation="false" dateTime="2019-06-25T12:00:00"/>
<Weather cloudState="free">
<Sun intensity="0.85" azimuth="0" elevation="1.31"/>
<Fog visualRange="100000.0"/>
<Precipitation precipitationType="dry" intensity="0.0"/>
</Weather>
<RoadCondition frictionScaleFactor="1.0"/>
</Environment>
</EnvironmentAction>
</GlobalAction>
<Private entityRef="hero">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-9.4" y="-152.8" z="0.5" h="1.57079632679"/>
</Position>
</TeleportAction>
</PrivateAction>
<PrivateAction>
<ControllerAction>
<AssignControllerAction>
<Controller name="HeroAgent">
<Properties>
<Property name="module" value="external_control"/>
</Properties>
</Controller>
</AssignControllerAction>
<OverrideControllerValueAction>
<Throttle value="0" active="false"/>
<Brake value="0" active="false"/>
<Clutch value="0" active="false"/>
<ParkingBrake value="0" active="false"/>
<SteeringWheel value="0" active="false"/>
<Gear number="0" active="false"/>
</OverrideControllerValueAction>
</ControllerAction>
</PrivateAction>
</Private>
<Private entityRef="adversary">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-9.4" y="-71.0" z="0.5" h="1.57079632679"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="standing">
<PrivateAction>
<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_9357">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-5.35955286026001" y="-153.52569580078125" z="0.0014286803780123591"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_w_transform_9358">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="59.797523498535156" y="26.66803741455078" z="0.5"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_close_to_adversary_9359">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-16.650344848632812" y="-74.5401840209961" z="0.03378807008266449"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_w_transform_9360">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-95.0960922241211" y="-88.9717025756836" z="0.5"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_close_to_standing_9361">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-6.98607063293457" y="22.049726486206055" z="0.0030024717561900616"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_close_to_standing_9362">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="1.1648571491241455" y="31.223556518554688" z="0.0029953382909297943"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_w_transform_9363">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-25.757539749145508" y="-88.07194519042969" 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>
``` |
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_18276">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_close_to_adversary_18277">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_close_to_hero_18278">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_w_transform_18279">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_close_to_adversary_18280">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_close_to_standing_18281">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_w_transform_18282">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_close_to_hero_18283">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_close_to_standing_18284">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_w_transform_18286">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_w_transform_18287">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_close_to_standing_18288">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_close_to_adversary_18289">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_w_transform_18290">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_w_transform_18291">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_w_transform_18292">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_close_to_hero_18294">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_w_transform_18296">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
</Entities>
<Storyboard>
<Init>
<Actions>
<GlobalAction>
<EnvironmentAction>
<Environment name="Environment1">
<TimeOfDay animation="false" dateTime="2019-06-25T12:00:00"/>
<Weather cloudState="free">
<Sun intensity="0.85" azimuth="0" elevation="1.31"/>
<Fog visualRange="100000.0"/>
<Precipitation precipitationType="dry" intensity="0.0"/>
</Weather>
<RoadCondition frictionScaleFactor="1.0"/>
</Environment>
</EnvironmentAction>
</GlobalAction>
<Private entityRef="hero">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-9.4" y="-152.8" z="0.5" h="1.57079632679"/>
</Position>
</TeleportAction>
</PrivateAction>
<PrivateAction>
<ControllerAction>
<AssignControllerAction>
<Controller name="HeroAgent">
<Properties>
<Property name="module" value="external_control"/>
</Properties>
</Controller>
</AssignControllerAction>
<OverrideControllerValueAction>
<Throttle value="0" active="false"/>
<Brake value="0" active="false"/>
<Clutch value="0" active="false"/>
<ParkingBrake value="0" active="false"/>
<SteeringWheel value="0" active="false"/>
<Gear number="0" active="false"/>
</OverrideControllerValueAction>
</ControllerAction>
</PrivateAction>
</Private>
<Private entityRef="adversary">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-9.4" y="-71.0" z="0.5" h="1.57079632679"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="standing">
<PrivateAction>
<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_18276">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-13.587947845458984" y="-80.61157989501953" z="0.03381427749991417"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_close_to_adversary_18277">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-9.83680534362793" y="-77.52598571777344" z="0.033791616559028625"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_close_to_hero_18278">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-2.3662540912628174" y="-159.60569763183594" z="0.0014286803780123591"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_w_transform_18279">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="62.766971588134766" y="-25.52117919921875" z="0.5"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_close_to_adversary_18280">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="0.3610125482082367" y="-79.51859283447266" z="0.033807411789894104"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_close_to_standing_18281">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-5.4860520362854" y="30.683406829833984" z="0.0030123137403279543"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_w_transform_18282">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-66.40011596679688" y="39.13377380371094" z="0.5"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_close_to_hero_18283">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-1.567106008529663" y="-162.4116668701172" z="0.0014286803780123591"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_close_to_standing_18284">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-3.2860970497131348" y="21.25586700439453" z="0.003078040899708867"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_w_transform_18286">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="75.13475036621094" y="-61.10643005371094" z="0.5"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_w_transform_18287">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-77.4599609375" y="42.825313568115234" z="0.5"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_close_to_standing_18288">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="1.518047571182251" y="35.01604080200195" z="0.003076705848798156"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_close_to_adversary_18289">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-6.612130165100098" y="-78.203857421875" z="0.033853836357593536"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_w_transform_18290">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-50.86802291870117" y="95.02332305908203" z="0.5"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_w_transform_18291">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-66.72955322265625" y="-4.128159523010254" z="0.5"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_w_transform_18292">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-51.51042175292969" y="-56.16870880126953" z="0.5"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_close_to_hero_18294">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-5.673020839691162" y="-151.6247100830078" z="0.0014286803780123591"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_w_transform_18296">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="76.62371826171875" y="74.29295349121094" 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_18276">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_close_to_adversary_18277">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_close_to_hero_18278">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_w_transform_18279">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_close_to_adversary_18280">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_close_to_standing_18281">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_w_transform_18282">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_close_to_hero_18283">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_close_to_standing_18284">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_w_transform_18286">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_w_transform_18287">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_close_to_standing_18288">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_close_to_adversary_18289">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_w_transform_18290">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_w_transform_18291">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_w_transform_18292">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_w_transform_18296">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
</Entities>
<Storyboard>
<Init>
<Actions>
<GlobalAction>
<EnvironmentAction>
<Environment name="Environment1">
<TimeOfDay animation="false" dateTime="2019-06-25T12:00:00"/>
<Weather cloudState="free">
<Sun intensity="0.85" azimuth="0" elevation="1.31"/>
<Fog visualRange="100000.0"/>
<Precipitation precipitationType="dry" intensity="0.0"/>
</Weather>
<RoadCondition frictionScaleFactor="1.0"/>
</Environment>
</EnvironmentAction>
</GlobalAction>
<Private entityRef="hero">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-9.4" y="-152.8" z="0.5" h="1.57079632679"/>
</Position>
</TeleportAction>
</PrivateAction>
<PrivateAction>
<ControllerAction>
<AssignControllerAction>
<Controller name="HeroAgent">
<Properties>
<Property name="module" value="external_control"/>
</Properties>
</Controller>
</AssignControllerAction>
<OverrideControllerValueAction>
<Throttle value="0" active="false"/>
<Brake value="0" active="false"/>
<Clutch value="0" active="false"/>
<ParkingBrake value="0" active="false"/>
<SteeringWheel value="0" active="false"/>
<Gear number="0" active="false"/>
</OverrideControllerValueAction>
</ControllerAction>
</PrivateAction>
</Private>
<Private entityRef="adversary">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-9.4" y="-71.0" z="0.5" h="1.57079632679"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="standing">
<PrivateAction>
<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_18276">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-13.587947845458984" y="-80.61157989501953" z="0.03381427749991417"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_close_to_adversary_18277">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-9.83680534362793" y="-77.52598571777344" z="0.033791616559028625"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_close_to_hero_18278">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-2.3662540912628174" y="-159.60569763183594" z="0.0014286803780123591"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_w_transform_18279">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="62.766971588134766" y="-25.52117919921875" z="0.5"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_close_to_adversary_18280">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="0.3610125482082367" y="-79.51859283447266" z="0.033807411789894104"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_close_to_standing_18281">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-5.4860520362854" y="30.683406829833984" z="0.0030123137403279543"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_w_transform_18282">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-66.40011596679688" y="39.13377380371094" z="0.5"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_close_to_hero_18283">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-1.567106008529663" y="-162.4116668701172" z="0.0014286803780123591"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_close_to_standing_18284">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-3.2860970497131348" y="21.25586700439453" z="0.003078040899708867"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_w_transform_18286">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="75.13475036621094" y="-61.10643005371094" z="0.5"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_w_transform_18287">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-77.4599609375" y="42.825313568115234" z="0.5"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_close_to_standing_18288">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="1.518047571182251" y="35.01604080200195" z="0.003076705848798156"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_close_to_adversary_18289">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-6.612130165100098" y="-78.203857421875" z="0.033853836357593536"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_w_transform_18290">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-50.86802291870117" y="95.02332305908203" z="0.5"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_w_transform_18291">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-66.72955322265625" y="-4.128159523010254" z="0.5"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_w_transform_18292">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-51.51042175292969" y="-56.16870880126953" z="0.5"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_w_transform_18296">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="76.62371826171875" y="74.29295349121094" 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 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_10370">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_close_to_adversary_10371">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_w_transform_10373">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_close_to_standing_10374">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_close_to_adversary_10375">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_close_to_adversary_10376">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_w_transform_10377">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_w_transform_10378">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_close_to_hero_10379">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_w_transform_10380">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_w_transform_10381">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_w_transform_10382">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_close_to_hero_10385">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
</Entities>
<Storyboard>
<Init>
<Actions>
<GlobalAction>
<EnvironmentAction>
<Environment name="Environment1">
<TimeOfDay animation="false" dateTime="2019-06-25T12:00:00"/>
<Weather cloudState="free">
<Sun intensity="0.85" azimuth="0" elevation="1.31"/>
<Fog visualRange="100000.0"/>
<Precipitation precipitationType="dry" intensity="0.0"/>
</Weather>
<RoadCondition frictionScaleFactor="1.0"/>
</Environment>
</EnvironmentAction>
</GlobalAction>
<Private entityRef="hero">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-9.4" y="-152.8" z="0.5" h="1.57079632679"/>
</Position>
</TeleportAction>
</PrivateAction>
<PrivateAction>
<ControllerAction>
<AssignControllerAction>
<Controller name="HeroAgent">
<Properties>
<Property name="module" value="external_control"/>
</Properties>
</Controller>
</AssignControllerAction>
<OverrideControllerValueAction>
<Throttle value="0" active="false"/>
<Brake value="0" active="false"/>
<Clutch value="0" active="false"/>
<ParkingBrake value="0" active="false"/>
<SteeringWheel value="0" active="false"/>
<Gear number="0" active="false"/>
</OverrideControllerValueAction>
</ControllerAction>
</PrivateAction>
</Private>
<Private entityRef="adversary">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-9.4" y="-71.0" z="0.5" h="1.57079632679"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="standing">
<PrivateAction>
<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_10370">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-11.333070755004883" y="21.85225486755371" z="0.003047790378332138"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_close_to_adversary_10371">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-17.266876220703125" y="-80.91535949707031" z="0.03379127383232117"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_w_transform_10373">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="47.794212341308594" y="-95.4873046875" z="0.5"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_close_to_standing_10374">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-6.390072345733643" y="21.1027889251709" z="0.003093147184699774"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_close_to_adversary_10375">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-18.082063674926758" y="-67.49067687988281" z="0.03379146382212639"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_close_to_adversary_10376">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-15.800287246704102" y="-71.3307113647461" z="0.03381805494427681"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_w_transform_10377">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="75.36298370361328" y="76.27884674072266" z="0.5"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_w_transform_10378">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-82.98436737060547" y="51.16215896606445" z="0.5"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_close_to_hero_10379">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-10.244967460632324" y="-156.0023956298828" z="0.0014286803780123591"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_w_transform_10380">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-1.2146861553192139" y="22.186716079711914" z="0.5"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_w_transform_10381">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="69.40485382080078" y="-75.28359985351562" z="0.5"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_w_transform_10382">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-45.0592155456543" y="-45.97367477416992" z="0.5"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_close_to_hero_10385">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-11.719911575317383" y="-170.024658203125" z="0.0014286803780123591"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
</Actions>
</Init>
<Story name="MyStory">
<Act name="Behavior">
<ManeuverGroup maximumExecutionCount="1" name="ManeuverSequence">
<Actors selectTriggeringEntities="false">
<EntityRef entityRef="adversary"/>
</Actors>
<Maneuver name="LaneChangeSimpleManeuver">
<Event name="AdversaryAccelerates" priority="overwrite">
<Action name="AdversaryAccelerates">
<PrivateAction>
<LongitudinalAction>
<SpeedAction>
<SpeedActionDynamics dynamicsShape="step" value="50" dynamicsDimension="distance"/>
<SpeedActionTarget>
<AbsoluteTargetSpeed value="5.0"/>
</SpeedActionTarget>
</SpeedAction>
</LongitudinalAction>
</PrivateAction>
</Action>
<StartTrigger>
<ConditionGroup>
<Condition name="StartCondition" delay="0" conditionEdge="rising">
<ByEntityCondition>
<TriggeringEntities triggeringEntitiesRule="any">
<EntityRef entityRef="hero"/>
</TriggeringEntities>
<EntityCondition>
<RelativeDistanceCondition entityRef="adversary" relativeDistanceType="cartesianDistance" value="40.0" freespace="false" rule="lessThan"/>
</EntityCondition>
</ByEntityCondition>
</Condition>
</ConditionGroup>
</StartTrigger>
</Event>
<Event name="AdversaryChangesLane" priority="overwrite">
<Action name="AdversaryChangesLane">
<PrivateAction>
<LateralAction>
<LaneChangeAction>
<LaneChangeActionDynamics dynamicsShape="linear" value="25" dynamicsDimension="distance"/>
<LaneChangeTarget>
<RelativeTargetLane entityRef="adversary" value="-1"/>
</LaneChangeTarget>
</LaneChangeAction>
</LateralAction>
</PrivateAction>
</Action>
<StartTrigger>
<ConditionGroup>
<Condition name="AfterAdversaryAccelerates" delay="0" conditionEdge="rising">
<ByValueCondition>
<StoryboardElementStateCondition storyboardElementType="action" storyboardElementRef="AdversaryAccelerates" state="completeState"/>
</ByValueCondition>
</Condition>
</ConditionGroup>
</StartTrigger>
</Event>
</Maneuver>
</ManeuverGroup>
<StartTrigger>
<ConditionGroup>
<Condition name="OverallStartCondition" delay="0" conditionEdge="rising">
<ByEntityCondition>
<TriggeringEntities triggeringEntitiesRule="any">
<EntityRef entityRef="hero"/>
</TriggeringEntities>
<EntityCondition>
<TraveledDistanceCondition value="1.0"/>
</EntityCondition>
</ByEntityCondition>
</Condition>
<Condition name="StartTime" delay="0" conditionEdge="rising">
<ByValueCondition>
<SimulationTimeCondition value="0" rule="equalTo"/>
</ByValueCondition>
</Condition>
</ConditionGroup>
</StartTrigger>
<StopTrigger>
<ConditionGroup>
<Condition name="EndCondition" delay="0" conditionEdge="rising">
<ByEntityCondition>
<TriggeringEntities triggeringEntitiesRule="any">
<EntityRef entityRef="hero"/>
</TriggeringEntities>
<EntityCondition>
<TraveledDistanceCondition value="200.0"/>
</EntityCondition>
</ByEntityCondition>
</Condition>
</ConditionGroup>
</StopTrigger>
</Act>
</Story>
<StopTrigger>
<ConditionGroup>
<Condition name="criteria_RunningStopTest" delay="0" conditionEdge="rising">
<ByValueCondition>
<ParameterCondition parameterRef="" value="" rule="lessThan"/>
</ByValueCondition>
</Condition>
<Condition name="criteria_RunningRedLightTest" delay="0" conditionEdge="rising">
<ByValueCondition>
<ParameterCondition parameterRef="" value="" rule="lessThan"/>
</ByValueCondition>
</Condition>
<Condition name="criteria_WrongLaneTest" delay="0" conditionEdge="rising">
<ByValueCondition>
<ParameterCondition parameterRef="" value="" rule="lessThan"/>
</ByValueCondition>
</Condition>
<Condition name="criteria_OnSidewalkTest" delay="0" conditionEdge="rising">
<ByValueCondition>
<ParameterCondition parameterRef="" value="" rule="lessThan"/>
</ByValueCondition>
</Condition>
<Condition name="criteria_KeepLaneTest" delay="0" conditionEdge="rising">
<ByValueCondition>
<ParameterCondition parameterRef="" value="" rule="lessThan"/>
</ByValueCondition>
</Condition>
<Condition name="criteria_CollisionTest" delay="0" conditionEdge="rising">
<ByValueCondition>
<ParameterCondition parameterRef="" value="" rule="lessThan"/>
</ByValueCondition>
</Condition>
<Condition name="criteria_DrivenDistanceTest" delay="0" conditionEdge="rising">
<ByValueCondition>
<ParameterCondition parameterRef="distance_success" value="100" rule="lessThan"/>
</ByValueCondition>
</Condition>
</ConditionGroup>
</StopTrigger>
</Storyboard>
</OpenSCENARIO>
``` | Here is the result:
```
<?xml version="1.0" ?>
<OpenSCENARIO>
<FileHeader revMajor="1" revMinor="0" date="2020-03-24T12:00:00" description="CARLA:LaneChangeSimple" author=""/>
<ParameterDeclarations/>
<CatalogLocations/>
<RoadNetwork>
<LogicFile filepath="Town04"/>
<SceneGraphFile filepath=""/>
</RoadNetwork>
<Entities>
<ScenarioObject name="hero">
<Vehicle name="vehicle.tesla.model3" vehicleCategory="car">
<ParameterDeclarations/>
<Performance maxSpeed="69.444" maxAcceleration="200" maxDeceleration="10.0"/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2.1" length="4.5" height="1.8"/>
</BoundingBox>
<Axles>
<FrontAxle maxSteering="0.5" wheelDiameter="0.6" trackWidth="1.8" positionX="3.1" positionZ="0.3"/>
<RearAxle maxSteering="0.0" wheelDiameter="0.6" trackWidth="1.8" positionX="0.0" positionZ="0.3"/>
</Axles>
<Properties>
<Property name="type" value="ego_vehicle"/>
</Properties>
</Vehicle>
</ScenarioObject>
<ScenarioObject name="adversary">
<Vehicle name="vehicle.lincoln.mkz_2017" vehicleCategory="car">
<ParameterDeclarations/>
<Performance maxSpeed="69.444" maxAcceleration="200" maxDeceleration="10.0"/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2.1" length="4.5" height="1.8"/>
</BoundingBox>
<Axles>
<FrontAxle maxSteering="0.5" wheelDiameter="0.6" trackWidth="1.8" positionX="3.1" positionZ="0.3"/>
<RearAxle maxSteering="0.0" wheelDiameter="0.6" trackWidth="1.8" positionX="0.0" positionZ="0.3"/>
</Axles>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Vehicle>
</ScenarioObject>
<ScenarioObject name="standing">
<Vehicle name="vehicle.volkswagen.t2" vehicleCategory="car">
<ParameterDeclarations/>
<Performance maxSpeed="69.444" maxAcceleration="200" maxDeceleration="10.0"/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2.1" length="4.5" height="1.8"/>
</BoundingBox>
<Axles>
<FrontAxle maxSteering="0.5" wheelDiameter="0.6" trackWidth="1.8" positionX="3.1" positionZ="0.3"/>
<RearAxle maxSteering="0.0" wheelDiameter="0.6" trackWidth="1.8" positionX="0.0" positionZ="0.3"/>
</Axles>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Vehicle>
</ScenarioObject>
<ScenarioObject name="pedestrian_close_to_standing_10370">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_close_to_adversary_10371">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_w_transform_10373">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_close_to_standing_10374">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_close_to_adversary_10375">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_close_to_adversary_10376">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_w_transform_10377">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_w_transform_10378">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_close_to_hero_10379">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_w_transform_10380">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_w_transform_10381">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_w_transform_10382">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_close_to_hero_10385">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_close_to_adversary_10386">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
</Entities>
<Storyboard>
<Init>
<Actions>
<GlobalAction>
<EnvironmentAction>
<Environment name="Environment1">
<TimeOfDay animation="false" dateTime="2019-06-25T12:00:00"/>
<Weather cloudState="free">
<Sun intensity="0.85" azimuth="0" elevation="1.31"/>
<Fog visualRange="100000.0"/>
<Precipitation precipitationType="dry" intensity="0.0"/>
</Weather>
<RoadCondition frictionScaleFactor="1.0"/>
</Environment>
</EnvironmentAction>
</GlobalAction>
<Private entityRef="hero">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-9.4" y="-152.8" z="0.5" h="1.57079632679"/>
</Position>
</TeleportAction>
</PrivateAction>
<PrivateAction>
<ControllerAction>
<AssignControllerAction>
<Controller name="HeroAgent">
<Properties>
<Property name="module" value="external_control"/>
</Properties>
</Controller>
</AssignControllerAction>
<OverrideControllerValueAction>
<Throttle value="0" active="false"/>
<Brake value="0" active="false"/>
<Clutch value="0" active="false"/>
<ParkingBrake value="0" active="false"/>
<SteeringWheel value="0" active="false"/>
<Gear number="0" active="false"/>
</OverrideControllerValueAction>
</ControllerAction>
</PrivateAction>
</Private>
<Private entityRef="adversary">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-9.4" y="-71.0" z="0.5" h="1.57079632679"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="standing">
<PrivateAction>
<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_10370">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-11.333070755004883" y="21.85225486755371" z="0.003047790378332138"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_close_to_adversary_10371">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-17.266876220703125" y="-80.91535949707031" z="0.03379127383232117"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_w_transform_10373">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="47.794212341308594" y="-95.4873046875" z="0.5"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_close_to_standing_10374">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-6.390072345733643" y="21.1027889251709" z="0.003093147184699774"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_close_to_adversary_10375">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-18.082063674926758" y="-67.49067687988281" z="0.03379146382212639"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_close_to_adversary_10376">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-15.800287246704102" y="-71.3307113647461" z="0.03381805494427681"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_w_transform_10377">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="75.36298370361328" y="76.27884674072266" z="0.5"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_w_transform_10378">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-82.98436737060547" y="51.16215896606445" z="0.5"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_close_to_hero_10379">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-10.244967460632324" y="-156.0023956298828" z="0.0014286803780123591"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_w_transform_10380">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-1.2146861553192139" y="22.186716079711914" z="0.5"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_w_transform_10381">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="69.40485382080078" y="-75.28359985351562" z="0.5"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_w_transform_10382">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-45.0592155456543" y="-45.97367477416992" z="0.5"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_close_to_hero_10385">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-11.719911575317383" y="-170.024658203125" z="0.0014286803780123591"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_close_to_adversary_10386">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-14.41234302520752" y="-68.65412902832031" z="0.03374091908335686"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
</Actions>
</Init>
<Story name="MyStory">
<Act name="Behavior">
<ManeuverGroup maximumExecutionCount="1" name="ManeuverSequence">
<Actors selectTriggeringEntities="false">
<EntityRef entityRef="adversary"/>
</Actors>
<Maneuver name="LaneChangeSimpleManeuver">
<Event name="AdversaryAccelerates" priority="overwrite">
<Action name="AdversaryAccelerates">
<PrivateAction>
<LongitudinalAction>
<SpeedAction>
<SpeedActionDynamics dynamicsShape="step" value="50" dynamicsDimension="distance"/>
<SpeedActionTarget>
<AbsoluteTargetSpeed value="5.0"/>
</SpeedActionTarget>
</SpeedAction>
</LongitudinalAction>
</PrivateAction>
</Action>
<StartTrigger>
<ConditionGroup>
<Condition name="StartCondition" delay="0" conditionEdge="rising">
<ByEntityCondition>
<TriggeringEntities triggeringEntitiesRule="any">
<EntityRef entityRef="hero"/>
</TriggeringEntities>
<EntityCondition>
<RelativeDistanceCondition entityRef="adversary" relativeDistanceType="cartesianDistance" value="40.0" freespace="false" rule="lessThan"/>
</EntityCondition>
</ByEntityCondition>
</Condition>
</ConditionGroup>
</StartTrigger>
</Event>
<Event name="AdversaryChangesLane" priority="overwrite">
<Action name="AdversaryChangesLane">
<PrivateAction>
<LateralAction>
<LaneChangeAction>
<LaneChangeActionDynamics dynamicsShape="linear" value="25" dynamicsDimension="distance"/>
<LaneChangeTarget>
<RelativeTargetLane entityRef="adversary" value="-1"/>
</LaneChangeTarget>
</LaneChangeAction>
</LateralAction>
</PrivateAction>
</Action>
<StartTrigger>
<ConditionGroup>
<Condition name="AfterAdversaryAccelerates" delay="0" conditionEdge="rising">
<ByValueCondition>
<StoryboardElementStateCondition storyboardElementType="action" storyboardElementRef="AdversaryAccelerates" state="completeState"/>
</ByValueCondition>
</Condition>
</ConditionGroup>
</StartTrigger>
</Event>
</Maneuver>
</ManeuverGroup>
<StartTrigger>
<ConditionGroup>
<Condition name="OverallStartCondition" delay="0" conditionEdge="rising">
<ByEntityCondition>
<TriggeringEntities triggeringEntitiesRule="any">
<EntityRef entityRef="hero"/>
</TriggeringEntities>
<EntityCondition>
<TraveledDistanceCondition value="1.0"/>
</EntityCondition>
</ByEntityCondition>
</Condition>
<Condition name="StartTime" delay="0" conditionEdge="rising">
<ByValueCondition>
<SimulationTimeCondition value="0" rule="equalTo"/>
</ByValueCondition>
</Condition>
</ConditionGroup>
</StartTrigger>
<StopTrigger>
<ConditionGroup>
<Condition name="EndCondition" delay="0" conditionEdge="rising">
<ByEntityCondition>
<TriggeringEntities triggeringEntitiesRule="any">
<EntityRef entityRef="hero"/>
</TriggeringEntities>
<EntityCondition>
<TraveledDistanceCondition value="200.0"/>
</EntityCondition>
</ByEntityCondition>
</Condition>
</ConditionGroup>
</StopTrigger>
</Act>
</Story>
<StopTrigger>
<ConditionGroup>
<Condition name="criteria_RunningStopTest" delay="0" conditionEdge="rising">
<ByValueCondition>
<ParameterCondition parameterRef="" value="" rule="lessThan"/>
</ByValueCondition>
</Condition>
<Condition name="criteria_RunningRedLightTest" delay="0" conditionEdge="rising">
<ByValueCondition>
<ParameterCondition parameterRef="" value="" rule="lessThan"/>
</ByValueCondition>
</Condition>
<Condition name="criteria_WrongLaneTest" delay="0" conditionEdge="rising">
<ByValueCondition>
<ParameterCondition parameterRef="" value="" rule="lessThan"/>
</ByValueCondition>
</Condition>
<Condition name="criteria_OnSidewalkTest" delay="0" conditionEdge="rising">
<ByValueCondition>
<ParameterCondition parameterRef="" value="" rule="lessThan"/>
</ByValueCondition>
</Condition>
<Condition name="criteria_KeepLaneTest" delay="0" conditionEdge="rising">
<ByValueCondition>
<ParameterCondition parameterRef="" value="" rule="lessThan"/>
</ByValueCondition>
</Condition>
<Condition name="criteria_CollisionTest" delay="0" conditionEdge="rising">
<ByValueCondition>
<ParameterCondition parameterRef="" value="" rule="lessThan"/>
</ByValueCondition>
</Condition>
<Condition name="criteria_DrivenDistanceTest" delay="0" conditionEdge="rising">
<ByValueCondition>
<ParameterCondition parameterRef="distance_success" value="100" rule="lessThan"/>
</ByValueCondition>
</Condition>
</ConditionGroup>
</StopTrigger>
</Storyboard>
</OpenSCENARIO>
``` |
could you add pedestrian at location (57.76, -4.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_13671">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_close_to_adversary_13672">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_w_transform_13673">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_close_to_standing_13674">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_close_to_adversary_13675">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_close_to_standing_13676">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_close_to_hero_13677">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_w_transform_13678">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_w_transform_13680">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_close_to_adversary_13681">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_w_transform_13682">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
</Entities>
<Storyboard>
<Init>
<Actions>
<GlobalAction>
<EnvironmentAction>
<Environment name="Environment1">
<TimeOfDay animation="false" dateTime="2019-06-25T12:00:00"/>
<Weather cloudState="free">
<Sun intensity="0.85" azimuth="0" elevation="1.31"/>
<Fog visualRange="100000.0"/>
<Precipitation precipitationType="dry" intensity="0.0"/>
</Weather>
<RoadCondition frictionScaleFactor="1.0"/>
</Environment>
</EnvironmentAction>
</GlobalAction>
<Private entityRef="hero">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-9.4" y="-152.8" z="0.5" h="1.57079632679"/>
</Position>
</TeleportAction>
</PrivateAction>
<PrivateAction>
<ControllerAction>
<AssignControllerAction>
<Controller name="HeroAgent">
<Properties>
<Property name="module" value="external_control"/>
</Properties>
</Controller>
</AssignControllerAction>
<OverrideControllerValueAction>
<Throttle value="0" active="false"/>
<Brake value="0" active="false"/>
<Clutch value="0" active="false"/>
<ParkingBrake value="0" active="false"/>
<SteeringWheel value="0" active="false"/>
<Gear number="0" active="false"/>
</OverrideControllerValueAction>
</ControllerAction>
</PrivateAction>
</Private>
<Private entityRef="adversary">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-9.4" y="-71.0" z="0.5" h="1.57079632679"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="standing">
<PrivateAction>
<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_13671">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-8.180140495300293" y="-157.8467559814453" z="0.0014286803780123591"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_close_to_adversary_13672">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-12.964946746826172" y="-60.130001068115234" z="0.03381786122918129"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_w_transform_13673">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-27.219524383544922" y="28.965171813964844" z="0.5"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_close_to_standing_13674">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-14.722859382629395" y="22.122051239013672" z="0.003040962154045701"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_close_to_adversary_13675">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-7.691449165344238" y="-69.48899841308594" z="0.033795472234487534"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_close_to_standing_13676">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-4.480794906616211" y="27.571056365966797" z="0.0030257797334343195"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_close_to_hero_13677">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-10.220208168029785" y="-150.9805450439453" z="0.0014286803780123591"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_w_transform_13678">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-1.4254295825958252" y="75.84725952148438" z="0.5"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_w_transform_13680">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="10.081809997558594" y="-51.12962341308594" z="0.5"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_close_to_adversary_13681">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="7.46620512008667" y="-74.26686096191406" z="0.03383849933743477"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_w_transform_13682">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="57.43342971801758" y="54.73834991455078" 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_13671">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_close_to_adversary_13672">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_w_transform_13673">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_close_to_standing_13674">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_close_to_adversary_13675">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_close_to_standing_13676">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_close_to_hero_13677">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_w_transform_13678">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_w_transform_13680">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_close_to_adversary_13681">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_w_transform_13682">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_w_transform_13683">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
</Entities>
<Storyboard>
<Init>
<Actions>
<GlobalAction>
<EnvironmentAction>
<Environment name="Environment1">
<TimeOfDay animation="false" dateTime="2019-06-25T12:00:00"/>
<Weather cloudState="free">
<Sun intensity="0.85" azimuth="0" elevation="1.31"/>
<Fog visualRange="100000.0"/>
<Precipitation precipitationType="dry" intensity="0.0"/>
</Weather>
<RoadCondition frictionScaleFactor="1.0"/>
</Environment>
</EnvironmentAction>
</GlobalAction>
<Private entityRef="hero">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-9.4" y="-152.8" z="0.5" h="1.57079632679"/>
</Position>
</TeleportAction>
</PrivateAction>
<PrivateAction>
<ControllerAction>
<AssignControllerAction>
<Controller name="HeroAgent">
<Properties>
<Property name="module" value="external_control"/>
</Properties>
</Controller>
</AssignControllerAction>
<OverrideControllerValueAction>
<Throttle value="0" active="false"/>
<Brake value="0" active="false"/>
<Clutch value="0" active="false"/>
<ParkingBrake value="0" active="false"/>
<SteeringWheel value="0" active="false"/>
<Gear number="0" active="false"/>
</OverrideControllerValueAction>
</ControllerAction>
</PrivateAction>
</Private>
<Private entityRef="adversary">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-9.4" y="-71.0" z="0.5" h="1.57079632679"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="standing">
<PrivateAction>
<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_13671">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-8.180140495300293" y="-157.8467559814453" z="0.0014286803780123591"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_close_to_adversary_13672">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-12.964946746826172" y="-60.130001068115234" z="0.03381786122918129"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_w_transform_13673">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-27.219524383544922" y="28.965171813964844" z="0.5"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_close_to_standing_13674">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-14.722859382629395" y="22.122051239013672" z="0.003040962154045701"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_close_to_adversary_13675">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-7.691449165344238" y="-69.48899841308594" z="0.033795472234487534"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_close_to_standing_13676">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-4.480794906616211" y="27.571056365966797" z="0.0030257797334343195"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_close_to_hero_13677">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-10.220208168029785" y="-150.9805450439453" z="0.0014286803780123591"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_w_transform_13678">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-1.4254295825958252" y="75.84725952148438" z="0.5"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_w_transform_13680">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="10.081809997558594" y="-51.12962341308594" z="0.5"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_close_to_adversary_13681">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="7.46620512008667" y="-74.26686096191406" z="0.03383849933743477"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_w_transform_13682">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="57.43342971801758" y="54.73834991455078" z="0.5"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_w_transform_13683">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="57.76128387451172" y="-4.865070343017578" 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_close_to_standing_14446?
```
<?xml version="1.0" ?>
<OpenSCENARIO>
<FileHeader revMajor="1" revMinor="0" date="2020-03-24T12:00:00" description="CARLA:LaneChangeSimple" author=""/>
<ParameterDeclarations/>
<CatalogLocations/>
<RoadNetwork>
<LogicFile filepath="Town04"/>
<SceneGraphFile filepath=""/>
</RoadNetwork>
<Entities>
<ScenarioObject name="hero">
<Vehicle name="vehicle.tesla.model3" vehicleCategory="car">
<ParameterDeclarations/>
<Performance maxSpeed="69.444" maxAcceleration="200" maxDeceleration="10.0"/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2.1" length="4.5" height="1.8"/>
</BoundingBox>
<Axles>
<FrontAxle maxSteering="0.5" wheelDiameter="0.6" trackWidth="1.8" positionX="3.1" positionZ="0.3"/>
<RearAxle maxSteering="0.0" wheelDiameter="0.6" trackWidth="1.8" positionX="0.0" positionZ="0.3"/>
</Axles>
<Properties>
<Property name="type" value="ego_vehicle"/>
</Properties>
</Vehicle>
</ScenarioObject>
<ScenarioObject name="adversary">
<Vehicle name="vehicle.lincoln.mkz_2017" vehicleCategory="car">
<ParameterDeclarations/>
<Performance maxSpeed="69.444" maxAcceleration="200" maxDeceleration="10.0"/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2.1" length="4.5" height="1.8"/>
</BoundingBox>
<Axles>
<FrontAxle maxSteering="0.5" wheelDiameter="0.6" trackWidth="1.8" positionX="3.1" positionZ="0.3"/>
<RearAxle maxSteering="0.0" wheelDiameter="0.6" trackWidth="1.8" positionX="0.0" positionZ="0.3"/>
</Axles>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Vehicle>
</ScenarioObject>
<ScenarioObject name="standing">
<Vehicle name="vehicle.volkswagen.t2" vehicleCategory="car">
<ParameterDeclarations/>
<Performance maxSpeed="69.444" maxAcceleration="200" maxDeceleration="10.0"/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2.1" length="4.5" height="1.8"/>
</BoundingBox>
<Axles>
<FrontAxle maxSteering="0.5" wheelDiameter="0.6" trackWidth="1.8" positionX="3.1" positionZ="0.3"/>
<RearAxle maxSteering="0.0" wheelDiameter="0.6" trackWidth="1.8" positionX="0.0" positionZ="0.3"/>
</Axles>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Vehicle>
</ScenarioObject>
<ScenarioObject name="pedestrian_close_to_hero_14444">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_close_to_adversary_14445">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_close_to_standing_14446">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_w_transform_14447">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_w_transform_14448">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_close_to_standing_14449">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_close_to_hero_14450">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_close_to_adversary_14451">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_close_to_standing_14452">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_close_to_adversary_14453">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_close_to_adversary_14454">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_w_transform_14456">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_w_transform_14457">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_w_transform_14458">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_close_to_hero_14459">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_w_transform_14460">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_close_to_adversary_14461">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_w_transform_14462">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_close_to_standing_14463">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_w_transform_14464">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_close_to_standing_14465">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_w_transform_14466">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_close_to_adversary_14467">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_close_to_standing_14468">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_w_transform_14469">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_w_transform_14470">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
</Entities>
<Storyboard>
<Init>
<Actions>
<GlobalAction>
<EnvironmentAction>
<Environment name="Environment1">
<TimeOfDay animation="false" dateTime="2019-06-25T12:00:00"/>
<Weather cloudState="free">
<Sun intensity="0.85" azimuth="0" elevation="1.31"/>
<Fog visualRange="100000.0"/>
<Precipitation precipitationType="dry" intensity="0.0"/>
</Weather>
<RoadCondition frictionScaleFactor="1.0"/>
</Environment>
</EnvironmentAction>
</GlobalAction>
<Private entityRef="hero">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-9.4" y="-152.8" z="0.5" h="1.57079632679"/>
</Position>
</TeleportAction>
</PrivateAction>
<PrivateAction>
<ControllerAction>
<AssignControllerAction>
<Controller name="HeroAgent">
<Properties>
<Property name="module" value="external_control"/>
</Properties>
</Controller>
</AssignControllerAction>
<OverrideControllerValueAction>
<Throttle value="0" active="false"/>
<Brake value="0" active="false"/>
<Clutch value="0" active="false"/>
<ParkingBrake value="0" active="false"/>
<SteeringWheel value="0" active="false"/>
<Gear number="0" active="false"/>
</OverrideControllerValueAction>
</ControllerAction>
</PrivateAction>
</Private>
<Private entityRef="adversary">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-9.4" y="-71.0" z="0.5" h="1.57079632679"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="standing">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-8.2" y="29.2" z="0.5" h="1.57079632679"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_close_to_hero_14444">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-16.661096572875977" y="-150.93014526367188" z="0.0014286803780123591"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_close_to_adversary_14445">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-9.191859245300293" y="-77.69051361083984" z="0.03385932743549347"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_close_to_standing_14446">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-14.030180931091309" y="35.0216064453125" z="0.0030765533447265625"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_w_transform_14447">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="90.7458724975586" y="86.59252166748047" z="0.5"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_w_transform_14448">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="73.98709106445312" y="44.88349533081055" z="0.5"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_close_to_standing_14449">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-16.842121124267578" y="35.30966567993164" z="0.0030631637200713158"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_close_to_hero_14450">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-8.948283195495605" y="-144.66822814941406" z="0.0014286803780123591"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_close_to_adversary_14451">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-5.674217224121094" y="-68.63804626464844" z="0.03379596769809723"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_close_to_standing_14452">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-1.0614033937454224" y="33.77029800415039" z="0.003060417016968131"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_close_to_adversary_14453">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-16.031768798828125" y="-78.73526000976562" z="0.03379371389746666"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_close_to_adversary_14454">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-18.484148025512695" y="-80.70632934570312" z="0.03386886417865753"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_w_transform_14456">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="40.65624237060547" y="-47.48716735839844" z="0.5"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_w_transform_14457">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-53.189727783203125" y="-56.97383117675781" z="0.5"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_w_transform_14458">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="60.87147903442383" y="14.86937141418457" z="0.5"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_close_to_hero_14459">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-8.904781341552734" y="-157.1243896484375" z="0.0014286803780123591"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_w_transform_14460">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-74.93948364257812" y="90.07937622070312" z="0.5"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_close_to_adversary_14461">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-11.195062637329102" y="-62.90701675415039" z="0.03378204256296158"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_w_transform_14462">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-71.68260192871094" y="-44.49747085571289" z="0.5"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_close_to_standing_14463">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-7.006968975067139" y="37.05004119873047" z="0.003036079229786992"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_w_transform_14464">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-98.0174331665039" y="-2.5312299728393555" z="0.5"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_close_to_standing_14465">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-8.348832130432129" y="23.787137985229492" z="0.0030525587499141693"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_w_transform_14466">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-20.81389808654785" y="92.84221649169922" z="0.5"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_close_to_adversary_14467">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-10.987662315368652" y="-73.38866424560547" z="0.03382602706551552"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_close_to_standing_14468">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-11.409873962402344" y="22.04670524597168" z="0.003054122906178236"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_w_transform_14469">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-3.745652198791504" y="-93.16148376464844" z="0.5"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_w_transform_14470">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="50.604896545410156" y="65.82585144042969" 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_14444">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_close_to_adversary_14445">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_w_transform_14447">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_w_transform_14448">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_close_to_standing_14449">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_close_to_hero_14450">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_close_to_adversary_14451">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_close_to_standing_14452">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_close_to_adversary_14453">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_close_to_adversary_14454">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_w_transform_14456">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_w_transform_14457">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_w_transform_14458">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_close_to_hero_14459">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_w_transform_14460">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_close_to_adversary_14461">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_w_transform_14462">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_close_to_standing_14463">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_w_transform_14464">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_close_to_standing_14465">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_w_transform_14466">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_close_to_adversary_14467">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_close_to_standing_14468">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_w_transform_14469">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_w_transform_14470">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
</Entities>
<Storyboard>
<Init>
<Actions>
<GlobalAction>
<EnvironmentAction>
<Environment name="Environment1">
<TimeOfDay animation="false" dateTime="2019-06-25T12:00:00"/>
<Weather cloudState="free">
<Sun intensity="0.85" azimuth="0" elevation="1.31"/>
<Fog visualRange="100000.0"/>
<Precipitation precipitationType="dry" intensity="0.0"/>
</Weather>
<RoadCondition frictionScaleFactor="1.0"/>
</Environment>
</EnvironmentAction>
</GlobalAction>
<Private entityRef="hero">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-9.4" y="-152.8" z="0.5" h="1.57079632679"/>
</Position>
</TeleportAction>
</PrivateAction>
<PrivateAction>
<ControllerAction>
<AssignControllerAction>
<Controller name="HeroAgent">
<Properties>
<Property name="module" value="external_control"/>
</Properties>
</Controller>
</AssignControllerAction>
<OverrideControllerValueAction>
<Throttle value="0" active="false"/>
<Brake value="0" active="false"/>
<Clutch value="0" active="false"/>
<ParkingBrake value="0" active="false"/>
<SteeringWheel value="0" active="false"/>
<Gear number="0" active="false"/>
</OverrideControllerValueAction>
</ControllerAction>
</PrivateAction>
</Private>
<Private entityRef="adversary">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-9.4" y="-71.0" z="0.5" h="1.57079632679"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="standing">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-8.2" y="29.2" z="0.5" h="1.57079632679"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_close_to_hero_14444">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-16.661096572875977" y="-150.93014526367188" z="0.0014286803780123591"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_close_to_adversary_14445">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-9.191859245300293" y="-77.69051361083984" z="0.03385932743549347"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_w_transform_14447">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="90.7458724975586" y="86.59252166748047" z="0.5"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_w_transform_14448">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="73.98709106445312" y="44.88349533081055" z="0.5"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_close_to_standing_14449">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-16.842121124267578" y="35.30966567993164" z="0.0030631637200713158"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_close_to_hero_14450">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-8.948283195495605" y="-144.66822814941406" z="0.0014286803780123591"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_close_to_adversary_14451">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-5.674217224121094" y="-68.63804626464844" z="0.03379596769809723"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_close_to_standing_14452">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-1.0614033937454224" y="33.77029800415039" z="0.003060417016968131"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_close_to_adversary_14453">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-16.031768798828125" y="-78.73526000976562" z="0.03379371389746666"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_close_to_adversary_14454">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-18.484148025512695" y="-80.70632934570312" z="0.03386886417865753"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_w_transform_14456">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="40.65624237060547" y="-47.48716735839844" z="0.5"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_w_transform_14457">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-53.189727783203125" y="-56.97383117675781" z="0.5"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_w_transform_14458">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="60.87147903442383" y="14.86937141418457" z="0.5"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_close_to_hero_14459">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-8.904781341552734" y="-157.1243896484375" z="0.0014286803780123591"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_w_transform_14460">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-74.93948364257812" y="90.07937622070312" z="0.5"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_close_to_adversary_14461">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-11.195062637329102" y="-62.90701675415039" z="0.03378204256296158"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_w_transform_14462">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-71.68260192871094" y="-44.49747085571289" z="0.5"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_close_to_standing_14463">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-7.006968975067139" y="37.05004119873047" z="0.003036079229786992"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_w_transform_14464">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-98.0174331665039" y="-2.5312299728393555" z="0.5"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_close_to_standing_14465">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-8.348832130432129" y="23.787137985229492" z="0.0030525587499141693"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_w_transform_14466">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-20.81389808654785" y="92.84221649169922" z="0.5"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_close_to_adversary_14467">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-10.987662315368652" y="-73.38866424560547" z="0.03382602706551552"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_close_to_standing_14468">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-11.409873962402344" y="22.04670524597168" z="0.003054122906178236"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_w_transform_14469">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-3.745652198791504" y="-93.16148376464844" z="0.5"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_w_transform_14470">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="50.604896545410156" y="65.82585144042969" z="0.5"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
</Actions>
</Init>
<Story name="MyStory">
<Act name="Behavior">
<ManeuverGroup maximumExecutionCount="1" name="ManeuverSequence">
<Actors selectTriggeringEntities="false">
<EntityRef entityRef="adversary"/>
</Actors>
<Maneuver name="LaneChangeSimpleManeuver">
<Event name="AdversaryAccelerates" priority="overwrite">
<Action name="AdversaryAccelerates">
<PrivateAction>
<LongitudinalAction>
<SpeedAction>
<SpeedActionDynamics dynamicsShape="step" value="50" dynamicsDimension="distance"/>
<SpeedActionTarget>
<AbsoluteTargetSpeed value="5.0"/>
</SpeedActionTarget>
</SpeedAction>
</LongitudinalAction>
</PrivateAction>
</Action>
<StartTrigger>
<ConditionGroup>
<Condition name="StartCondition" delay="0" conditionEdge="rising">
<ByEntityCondition>
<TriggeringEntities triggeringEntitiesRule="any">
<EntityRef entityRef="hero"/>
</TriggeringEntities>
<EntityCondition>
<RelativeDistanceCondition entityRef="adversary" relativeDistanceType="cartesianDistance" value="40.0" freespace="false" rule="lessThan"/>
</EntityCondition>
</ByEntityCondition>
</Condition>
</ConditionGroup>
</StartTrigger>
</Event>
<Event name="AdversaryChangesLane" priority="overwrite">
<Action name="AdversaryChangesLane">
<PrivateAction>
<LateralAction>
<LaneChangeAction>
<LaneChangeActionDynamics dynamicsShape="linear" value="25" dynamicsDimension="distance"/>
<LaneChangeTarget>
<RelativeTargetLane entityRef="adversary" value="-1"/>
</LaneChangeTarget>
</LaneChangeAction>
</LateralAction>
</PrivateAction>
</Action>
<StartTrigger>
<ConditionGroup>
<Condition name="AfterAdversaryAccelerates" delay="0" conditionEdge="rising">
<ByValueCondition>
<StoryboardElementStateCondition storyboardElementType="action" storyboardElementRef="AdversaryAccelerates" state="completeState"/>
</ByValueCondition>
</Condition>
</ConditionGroup>
</StartTrigger>
</Event>
</Maneuver>
</ManeuverGroup>
<StartTrigger>
<ConditionGroup>
<Condition name="OverallStartCondition" delay="0" conditionEdge="rising">
<ByEntityCondition>
<TriggeringEntities triggeringEntitiesRule="any">
<EntityRef entityRef="hero"/>
</TriggeringEntities>
<EntityCondition>
<TraveledDistanceCondition value="1.0"/>
</EntityCondition>
</ByEntityCondition>
</Condition>
<Condition name="StartTime" delay="0" conditionEdge="rising">
<ByValueCondition>
<SimulationTimeCondition value="0" rule="equalTo"/>
</ByValueCondition>
</Condition>
</ConditionGroup>
</StartTrigger>
<StopTrigger>
<ConditionGroup>
<Condition name="EndCondition" delay="0" conditionEdge="rising">
<ByEntityCondition>
<TriggeringEntities triggeringEntitiesRule="any">
<EntityRef entityRef="hero"/>
</TriggeringEntities>
<EntityCondition>
<TraveledDistanceCondition value="200.0"/>
</EntityCondition>
</ByEntityCondition>
</Condition>
</ConditionGroup>
</StopTrigger>
</Act>
</Story>
<StopTrigger>
<ConditionGroup>
<Condition name="criteria_RunningStopTest" delay="0" conditionEdge="rising">
<ByValueCondition>
<ParameterCondition parameterRef="" value="" rule="lessThan"/>
</ByValueCondition>
</Condition>
<Condition name="criteria_RunningRedLightTest" delay="0" conditionEdge="rising">
<ByValueCondition>
<ParameterCondition parameterRef="" value="" rule="lessThan"/>
</ByValueCondition>
</Condition>
<Condition name="criteria_WrongLaneTest" delay="0" conditionEdge="rising">
<ByValueCondition>
<ParameterCondition parameterRef="" value="" rule="lessThan"/>
</ByValueCondition>
</Condition>
<Condition name="criteria_OnSidewalkTest" delay="0" conditionEdge="rising">
<ByValueCondition>
<ParameterCondition parameterRef="" value="" rule="lessThan"/>
</ByValueCondition>
</Condition>
<Condition name="criteria_KeepLaneTest" delay="0" conditionEdge="rising">
<ByValueCondition>
<ParameterCondition parameterRef="" value="" rule="lessThan"/>
</ByValueCondition>
</Condition>
<Condition name="criteria_CollisionTest" delay="0" conditionEdge="rising">
<ByValueCondition>
<ParameterCondition parameterRef="" value="" rule="lessThan"/>
</ByValueCondition>
</Condition>
<Condition name="criteria_DrivenDistanceTest" delay="0" conditionEdge="rising">
<ByValueCondition>
<ParameterCondition parameterRef="distance_success" value="100" rule="lessThan"/>
</ByValueCondition>
</Condition>
</ConditionGroup>
</StopTrigger>
</Storyboard>
</OpenSCENARIO>
``` |
i would like to tell you to add pedestrian at location (-74.54, -96.76, 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_19841">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_w_transform_19842">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_close_to_standing_19843">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_close_to_adversary_19844">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_w_transform_19845">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_w_transform_19846">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_w_transform_19847">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_w_transform_19848">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_close_to_hero_19849">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
</Entities>
<Storyboard>
<Init>
<Actions>
<GlobalAction>
<EnvironmentAction>
<Environment name="Environment1">
<TimeOfDay animation="false" dateTime="2019-06-25T12:00:00"/>
<Weather cloudState="free">
<Sun intensity="0.85" azimuth="0" elevation="1.31"/>
<Fog visualRange="100000.0"/>
<Precipitation precipitationType="dry" intensity="0.0"/>
</Weather>
<RoadCondition frictionScaleFactor="1.0"/>
</Environment>
</EnvironmentAction>
</GlobalAction>
<Private entityRef="hero">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-9.4" y="-152.8" z="0.5" h="1.57079632679"/>
</Position>
</TeleportAction>
</PrivateAction>
<PrivateAction>
<ControllerAction>
<AssignControllerAction>
<Controller name="HeroAgent">
<Properties>
<Property name="module" value="external_control"/>
</Properties>
</Controller>
</AssignControllerAction>
<OverrideControllerValueAction>
<Throttle value="0" active="false"/>
<Brake value="0" active="false"/>
<Clutch value="0" active="false"/>
<ParkingBrake value="0" active="false"/>
<SteeringWheel value="0" active="false"/>
<Gear number="0" active="false"/>
</OverrideControllerValueAction>
</ControllerAction>
</PrivateAction>
</Private>
<Private entityRef="adversary">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-9.4" y="-71.0" z="0.5" h="1.57079632679"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="standing">
<PrivateAction>
<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_19841">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-9.536803245544434" y="-62.92353057861328" z="0.033792685717344284"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_w_transform_19842">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="62.15570831298828" y="74.11473083496094" z="0.5"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_close_to_standing_19843">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-2.051039218902588" y="32.428932189941406" z="0.003069648751989007"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_close_to_adversary_19844">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-1.6212670803070068" y="-77.59133911132812" z="0.03378627821803093"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_w_transform_19845">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-61.88656997680664" y="-36.26951599121094" z="0.5"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_w_transform_19846">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="81.48687744140625" y="35.243743896484375" z="0.5"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_w_transform_19847">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="64.88082885742188" y="-14.466689109802246" z="0.5"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_w_transform_19848">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="41.62342834472656" y="-82.75629425048828" z="0.5"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_close_to_hero_19849">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-9.873279571533203" y="-146.7307586669922" z="0.0014286803780123591"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
</Actions>
</Init>
<Story name="MyStory">
<Act name="Behavior">
<ManeuverGroup maximumExecutionCount="1" name="ManeuverSequence">
<Actors selectTriggeringEntities="false">
<EntityRef entityRef="adversary"/>
</Actors>
<Maneuver name="LaneChangeSimpleManeuver">
<Event name="AdversaryAccelerates" priority="overwrite">
<Action name="AdversaryAccelerates">
<PrivateAction>
<LongitudinalAction>
<SpeedAction>
<SpeedActionDynamics dynamicsShape="step" value="50" dynamicsDimension="distance"/>
<SpeedActionTarget>
<AbsoluteTargetSpeed value="5.0"/>
</SpeedActionTarget>
</SpeedAction>
</LongitudinalAction>
</PrivateAction>
</Action>
<StartTrigger>
<ConditionGroup>
<Condition name="StartCondition" delay="0" conditionEdge="rising">
<ByEntityCondition>
<TriggeringEntities triggeringEntitiesRule="any">
<EntityRef entityRef="hero"/>
</TriggeringEntities>
<EntityCondition>
<RelativeDistanceCondition entityRef="adversary" relativeDistanceType="cartesianDistance" value="40.0" freespace="false" rule="lessThan"/>
</EntityCondition>
</ByEntityCondition>
</Condition>
</ConditionGroup>
</StartTrigger>
</Event>
<Event name="AdversaryChangesLane" priority="overwrite">
<Action name="AdversaryChangesLane">
<PrivateAction>
<LateralAction>
<LaneChangeAction>
<LaneChangeActionDynamics dynamicsShape="linear" value="25" dynamicsDimension="distance"/>
<LaneChangeTarget>
<RelativeTargetLane entityRef="adversary" value="-1"/>
</LaneChangeTarget>
</LaneChangeAction>
</LateralAction>
</PrivateAction>
</Action>
<StartTrigger>
<ConditionGroup>
<Condition name="AfterAdversaryAccelerates" delay="0" conditionEdge="rising">
<ByValueCondition>
<StoryboardElementStateCondition storyboardElementType="action" storyboardElementRef="AdversaryAccelerates" state="completeState"/>
</ByValueCondition>
</Condition>
</ConditionGroup>
</StartTrigger>
</Event>
</Maneuver>
</ManeuverGroup>
<StartTrigger>
<ConditionGroup>
<Condition name="OverallStartCondition" delay="0" conditionEdge="rising">
<ByEntityCondition>
<TriggeringEntities triggeringEntitiesRule="any">
<EntityRef entityRef="hero"/>
</TriggeringEntities>
<EntityCondition>
<TraveledDistanceCondition value="1.0"/>
</EntityCondition>
</ByEntityCondition>
</Condition>
<Condition name="StartTime" delay="0" conditionEdge="rising">
<ByValueCondition>
<SimulationTimeCondition value="0" rule="equalTo"/>
</ByValueCondition>
</Condition>
</ConditionGroup>
</StartTrigger>
<StopTrigger>
<ConditionGroup>
<Condition name="EndCondition" delay="0" conditionEdge="rising">
<ByEntityCondition>
<TriggeringEntities triggeringEntitiesRule="any">
<EntityRef entityRef="hero"/>
</TriggeringEntities>
<EntityCondition>
<TraveledDistanceCondition value="200.0"/>
</EntityCondition>
</ByEntityCondition>
</Condition>
</ConditionGroup>
</StopTrigger>
</Act>
</Story>
<StopTrigger>
<ConditionGroup>
<Condition name="criteria_RunningStopTest" delay="0" conditionEdge="rising">
<ByValueCondition>
<ParameterCondition parameterRef="" value="" rule="lessThan"/>
</ByValueCondition>
</Condition>
<Condition name="criteria_RunningRedLightTest" delay="0" conditionEdge="rising">
<ByValueCondition>
<ParameterCondition parameterRef="" value="" rule="lessThan"/>
</ByValueCondition>
</Condition>
<Condition name="criteria_WrongLaneTest" delay="0" conditionEdge="rising">
<ByValueCondition>
<ParameterCondition parameterRef="" value="" rule="lessThan"/>
</ByValueCondition>
</Condition>
<Condition name="criteria_OnSidewalkTest" delay="0" conditionEdge="rising">
<ByValueCondition>
<ParameterCondition parameterRef="" value="" rule="lessThan"/>
</ByValueCondition>
</Condition>
<Condition name="criteria_KeepLaneTest" delay="0" conditionEdge="rising">
<ByValueCondition>
<ParameterCondition parameterRef="" value="" rule="lessThan"/>
</ByValueCondition>
</Condition>
<Condition name="criteria_CollisionTest" delay="0" conditionEdge="rising">
<ByValueCondition>
<ParameterCondition parameterRef="" value="" rule="lessThan"/>
</ByValueCondition>
</Condition>
<Condition name="criteria_DrivenDistanceTest" delay="0" conditionEdge="rising">
<ByValueCondition>
<ParameterCondition parameterRef="distance_success" value="100" rule="lessThan"/>
</ByValueCondition>
</Condition>
</ConditionGroup>
</StopTrigger>
</Storyboard>
</OpenSCENARIO>
``` | Here is the result:
```
<?xml version="1.0" ?>
<OpenSCENARIO>
<FileHeader revMajor="1" revMinor="0" date="2020-03-24T12:00:00" description="CARLA:LaneChangeSimple" author=""/>
<ParameterDeclarations/>
<CatalogLocations/>
<RoadNetwork>
<LogicFile filepath="Town04"/>
<SceneGraphFile filepath=""/>
</RoadNetwork>
<Entities>
<ScenarioObject name="hero">
<Vehicle name="vehicle.tesla.model3" vehicleCategory="car">
<ParameterDeclarations/>
<Performance maxSpeed="69.444" maxAcceleration="200" maxDeceleration="10.0"/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2.1" length="4.5" height="1.8"/>
</BoundingBox>
<Axles>
<FrontAxle maxSteering="0.5" wheelDiameter="0.6" trackWidth="1.8" positionX="3.1" positionZ="0.3"/>
<RearAxle maxSteering="0.0" wheelDiameter="0.6" trackWidth="1.8" positionX="0.0" positionZ="0.3"/>
</Axles>
<Properties>
<Property name="type" value="ego_vehicle"/>
</Properties>
</Vehicle>
</ScenarioObject>
<ScenarioObject name="adversary">
<Vehicle name="vehicle.lincoln.mkz_2017" vehicleCategory="car">
<ParameterDeclarations/>
<Performance maxSpeed="69.444" maxAcceleration="200" maxDeceleration="10.0"/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2.1" length="4.5" height="1.8"/>
</BoundingBox>
<Axles>
<FrontAxle maxSteering="0.5" wheelDiameter="0.6" trackWidth="1.8" positionX="3.1" positionZ="0.3"/>
<RearAxle maxSteering="0.0" wheelDiameter="0.6" trackWidth="1.8" positionX="0.0" positionZ="0.3"/>
</Axles>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Vehicle>
</ScenarioObject>
<ScenarioObject name="standing">
<Vehicle name="vehicle.volkswagen.t2" vehicleCategory="car">
<ParameterDeclarations/>
<Performance maxSpeed="69.444" maxAcceleration="200" maxDeceleration="10.0"/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2.1" length="4.5" height="1.8"/>
</BoundingBox>
<Axles>
<FrontAxle maxSteering="0.5" wheelDiameter="0.6" trackWidth="1.8" positionX="3.1" positionZ="0.3"/>
<RearAxle maxSteering="0.0" wheelDiameter="0.6" trackWidth="1.8" positionX="0.0" positionZ="0.3"/>
</Axles>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Vehicle>
</ScenarioObject>
<ScenarioObject name="pedestrian_close_to_adversary_19841">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_w_transform_19842">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_close_to_standing_19843">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_close_to_adversary_19844">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_w_transform_19845">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_w_transform_19846">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_w_transform_19847">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_w_transform_19848">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_close_to_hero_19849">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_w_transform_19850">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
</Entities>
<Storyboard>
<Init>
<Actions>
<GlobalAction>
<EnvironmentAction>
<Environment name="Environment1">
<TimeOfDay animation="false" dateTime="2019-06-25T12:00:00"/>
<Weather cloudState="free">
<Sun intensity="0.85" azimuth="0" elevation="1.31"/>
<Fog visualRange="100000.0"/>
<Precipitation precipitationType="dry" intensity="0.0"/>
</Weather>
<RoadCondition frictionScaleFactor="1.0"/>
</Environment>
</EnvironmentAction>
</GlobalAction>
<Private entityRef="hero">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-9.4" y="-152.8" z="0.5" h="1.57079632679"/>
</Position>
</TeleportAction>
</PrivateAction>
<PrivateAction>
<ControllerAction>
<AssignControllerAction>
<Controller name="HeroAgent">
<Properties>
<Property name="module" value="external_control"/>
</Properties>
</Controller>
</AssignControllerAction>
<OverrideControllerValueAction>
<Throttle value="0" active="false"/>
<Brake value="0" active="false"/>
<Clutch value="0" active="false"/>
<ParkingBrake value="0" active="false"/>
<SteeringWheel value="0" active="false"/>
<Gear number="0" active="false"/>
</OverrideControllerValueAction>
</ControllerAction>
</PrivateAction>
</Private>
<Private entityRef="adversary">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-9.4" y="-71.0" z="0.5" h="1.57079632679"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="standing">
<PrivateAction>
<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_19841">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-9.536803245544434" y="-62.92353057861328" z="0.033792685717344284"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_w_transform_19842">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="62.15570831298828" y="74.11473083496094" z="0.5"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_close_to_standing_19843">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-2.051039218902588" y="32.428932189941406" z="0.003069648751989007"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_close_to_adversary_19844">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-1.6212670803070068" y="-77.59133911132812" z="0.03378627821803093"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_w_transform_19845">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-61.88656997680664" y="-36.26951599121094" z="0.5"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_w_transform_19846">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="81.48687744140625" y="35.243743896484375" z="0.5"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_w_transform_19847">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="64.88082885742188" y="-14.466689109802246" z="0.5"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_w_transform_19848">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="41.62342834472656" y="-82.75629425048828" z="0.5"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_close_to_hero_19849">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-9.873279571533203" y="-146.7307586669922" z="0.0014286803780123591"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_w_transform_19850">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-74.54441833496094" y="-96.76402282714844" 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 (12.44, 19.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_standing_17686">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_w_transform_17687">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_close_to_adversary_17689">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_w_transform_17690">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_close_to_adversary_17691">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_close_to_standing_17692">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_w_transform_17693">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_close_to_hero_17694">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_close_to_standing_17695">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_w_transform_17696">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_w_transform_17697">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_w_transform_17698">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_close_to_hero_17699">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_w_transform_17700">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_w_transform_17701">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_close_to_adversary_17702">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_w_transform_17703">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_w_transform_17704">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_w_transform_17705">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_close_to_adversary_17706">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
</Entities>
<Storyboard>
<Init>
<Actions>
<GlobalAction>
<EnvironmentAction>
<Environment name="Environment1">
<TimeOfDay animation="false" dateTime="2019-06-25T12:00:00"/>
<Weather cloudState="free">
<Sun intensity="0.85" azimuth="0" elevation="1.31"/>
<Fog visualRange="100000.0"/>
<Precipitation precipitationType="dry" intensity="0.0"/>
</Weather>
<RoadCondition frictionScaleFactor="1.0"/>
</Environment>
</EnvironmentAction>
</GlobalAction>
<Private entityRef="hero">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-9.4" y="-152.8" z="0.5" h="1.57079632679"/>
</Position>
</TeleportAction>
</PrivateAction>
<PrivateAction>
<ControllerAction>
<AssignControllerAction>
<Controller name="HeroAgent">
<Properties>
<Property name="module" value="external_control"/>
</Properties>
</Controller>
</AssignControllerAction>
<OverrideControllerValueAction>
<Throttle value="0" active="false"/>
<Brake value="0" active="false"/>
<Clutch value="0" active="false"/>
<ParkingBrake value="0" active="false"/>
<SteeringWheel value="0" active="false"/>
<Gear number="0" active="false"/>
</OverrideControllerValueAction>
</ControllerAction>
</PrivateAction>
</Private>
<Private entityRef="adversary">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-9.4" y="-71.0" z="0.5" h="1.57079632679"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="standing">
<PrivateAction>
<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_17686">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-10.870774269104004" y="27.987638473510742" z="0.003023033030331135"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_w_transform_17687">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="13.512097358703613" y="-15.37880802154541" z="0.5"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_close_to_adversary_17689">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-12.737380981445312" y="-64.9415512084961" z="0.03377769514918327"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_w_transform_17690">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="56.036136627197266" y="-32.298927307128906" z="0.5"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_close_to_adversary_17691">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-14.083255767822266" y="-69.08158874511719" z="0.03377212584018707"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_close_to_standing_17692">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-9.316518783569336" y="29.485191345214844" z="0.003075027372688055"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_w_transform_17693">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-18.132356643676758" y="60.01486587524414" z="0.5"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_close_to_hero_17694">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-12.138871192932129" y="-144.57142639160156" z="0.0014286803780123591"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_close_to_standing_17695">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-16.22544288635254" y="36.33972930908203" z="0.0030906677711755037"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_w_transform_17696">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="27.07962417602539" y="-57.02163314819336" z="0.5"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_w_transform_17697">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-7.419345855712891" y="94.84222412109375" z="0.5"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_w_transform_17698">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="63.932952880859375" y="-3.856981039047241" z="0.5"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_close_to_hero_17699">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-6.10480260848999" y="-144.098388671875" z="0.0014286803780123591"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_w_transform_17700">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="90.9004135131836" y="94.30950927734375" z="0.5"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_w_transform_17701">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="13.428543090820312" y="-42.359031677246094" z="0.5"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_close_to_adversary_17702">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-10.025989532470703" y="-71.200439453125" z="0.03383868932723999"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_w_transform_17703">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-82.91725158691406" y="-97.17774963378906" z="0.5"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_w_transform_17704">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="50.53241729736328" y="-33.156593322753906" z="0.5"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_w_transform_17705">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-58.002777099609375" y="-74.51910400390625" z="0.5"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_close_to_adversary_17706">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-11.604331970214844" y="-72.1033935546875" z="0.033800963312387466"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
</Actions>
</Init>
<Story name="MyStory">
<Act name="Behavior">
<ManeuverGroup maximumExecutionCount="1" name="ManeuverSequence">
<Actors selectTriggeringEntities="false">
<EntityRef entityRef="adversary"/>
</Actors>
<Maneuver name="LaneChangeSimpleManeuver">
<Event name="AdversaryAccelerates" priority="overwrite">
<Action name="AdversaryAccelerates">
<PrivateAction>
<LongitudinalAction>
<SpeedAction>
<SpeedActionDynamics dynamicsShape="step" value="50" dynamicsDimension="distance"/>
<SpeedActionTarget>
<AbsoluteTargetSpeed value="5.0"/>
</SpeedActionTarget>
</SpeedAction>
</LongitudinalAction>
</PrivateAction>
</Action>
<StartTrigger>
<ConditionGroup>
<Condition name="StartCondition" delay="0" conditionEdge="rising">
<ByEntityCondition>
<TriggeringEntities triggeringEntitiesRule="any">
<EntityRef entityRef="hero"/>
</TriggeringEntities>
<EntityCondition>
<RelativeDistanceCondition entityRef="adversary" relativeDistanceType="cartesianDistance" value="40.0" freespace="false" rule="lessThan"/>
</EntityCondition>
</ByEntityCondition>
</Condition>
</ConditionGroup>
</StartTrigger>
</Event>
<Event name="AdversaryChangesLane" priority="overwrite">
<Action name="AdversaryChangesLane">
<PrivateAction>
<LateralAction>
<LaneChangeAction>
<LaneChangeActionDynamics dynamicsShape="linear" value="25" dynamicsDimension="distance"/>
<LaneChangeTarget>
<RelativeTargetLane entityRef="adversary" value="-1"/>
</LaneChangeTarget>
</LaneChangeAction>
</LateralAction>
</PrivateAction>
</Action>
<StartTrigger>
<ConditionGroup>
<Condition name="AfterAdversaryAccelerates" delay="0" conditionEdge="rising">
<ByValueCondition>
<StoryboardElementStateCondition storyboardElementType="action" storyboardElementRef="AdversaryAccelerates" state="completeState"/>
</ByValueCondition>
</Condition>
</ConditionGroup>
</StartTrigger>
</Event>
</Maneuver>
</ManeuverGroup>
<StartTrigger>
<ConditionGroup>
<Condition name="OverallStartCondition" delay="0" conditionEdge="rising">
<ByEntityCondition>
<TriggeringEntities triggeringEntitiesRule="any">
<EntityRef entityRef="hero"/>
</TriggeringEntities>
<EntityCondition>
<TraveledDistanceCondition value="1.0"/>
</EntityCondition>
</ByEntityCondition>
</Condition>
<Condition name="StartTime" delay="0" conditionEdge="rising">
<ByValueCondition>
<SimulationTimeCondition value="0" rule="equalTo"/>
</ByValueCondition>
</Condition>
</ConditionGroup>
</StartTrigger>
<StopTrigger>
<ConditionGroup>
<Condition name="EndCondition" delay="0" conditionEdge="rising">
<ByEntityCondition>
<TriggeringEntities triggeringEntitiesRule="any">
<EntityRef entityRef="hero"/>
</TriggeringEntities>
<EntityCondition>
<TraveledDistanceCondition value="200.0"/>
</EntityCondition>
</ByEntityCondition>
</Condition>
</ConditionGroup>
</StopTrigger>
</Act>
</Story>
<StopTrigger>
<ConditionGroup>
<Condition name="criteria_RunningStopTest" delay="0" conditionEdge="rising">
<ByValueCondition>
<ParameterCondition parameterRef="" value="" rule="lessThan"/>
</ByValueCondition>
</Condition>
<Condition name="criteria_RunningRedLightTest" delay="0" conditionEdge="rising">
<ByValueCondition>
<ParameterCondition parameterRef="" value="" rule="lessThan"/>
</ByValueCondition>
</Condition>
<Condition name="criteria_WrongLaneTest" delay="0" conditionEdge="rising">
<ByValueCondition>
<ParameterCondition parameterRef="" value="" rule="lessThan"/>
</ByValueCondition>
</Condition>
<Condition name="criteria_OnSidewalkTest" delay="0" conditionEdge="rising">
<ByValueCondition>
<ParameterCondition parameterRef="" value="" rule="lessThan"/>
</ByValueCondition>
</Condition>
<Condition name="criteria_KeepLaneTest" delay="0" conditionEdge="rising">
<ByValueCondition>
<ParameterCondition parameterRef="" value="" rule="lessThan"/>
</ByValueCondition>
</Condition>
<Condition name="criteria_CollisionTest" delay="0" conditionEdge="rising">
<ByValueCondition>
<ParameterCondition parameterRef="" value="" rule="lessThan"/>
</ByValueCondition>
</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_17686">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_w_transform_17687">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_close_to_adversary_17689">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_w_transform_17690">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_close_to_adversary_17691">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_close_to_standing_17692">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_w_transform_17693">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_close_to_hero_17694">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_close_to_standing_17695">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_w_transform_17696">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_w_transform_17697">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_w_transform_17698">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_close_to_hero_17699">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_w_transform_17700">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_w_transform_17701">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_close_to_adversary_17702">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_w_transform_17703">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_w_transform_17704">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_w_transform_17705">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_close_to_adversary_17706">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_w_transform_17707">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
</Entities>
<Storyboard>
<Init>
<Actions>
<GlobalAction>
<EnvironmentAction>
<Environment name="Environment1">
<TimeOfDay animation="false" dateTime="2019-06-25T12:00:00"/>
<Weather cloudState="free">
<Sun intensity="0.85" azimuth="0" elevation="1.31"/>
<Fog visualRange="100000.0"/>
<Precipitation precipitationType="dry" intensity="0.0"/>
</Weather>
<RoadCondition frictionScaleFactor="1.0"/>
</Environment>
</EnvironmentAction>
</GlobalAction>
<Private entityRef="hero">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-9.4" y="-152.8" z="0.5" h="1.57079632679"/>
</Position>
</TeleportAction>
</PrivateAction>
<PrivateAction>
<ControllerAction>
<AssignControllerAction>
<Controller name="HeroAgent">
<Properties>
<Property name="module" value="external_control"/>
</Properties>
</Controller>
</AssignControllerAction>
<OverrideControllerValueAction>
<Throttle value="0" active="false"/>
<Brake value="0" active="false"/>
<Clutch value="0" active="false"/>
<ParkingBrake value="0" active="false"/>
<SteeringWheel value="0" active="false"/>
<Gear number="0" active="false"/>
</OverrideControllerValueAction>
</ControllerAction>
</PrivateAction>
</Private>
<Private entityRef="adversary">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-9.4" y="-71.0" z="0.5" h="1.57079632679"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="standing">
<PrivateAction>
<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_17686">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-10.870774269104004" y="27.987638473510742" z="0.003023033030331135"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_w_transform_17687">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="13.512097358703613" y="-15.37880802154541" z="0.5"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_close_to_adversary_17689">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-12.737380981445312" y="-64.9415512084961" z="0.03377769514918327"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_w_transform_17690">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="56.036136627197266" y="-32.298927307128906" z="0.5"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_close_to_adversary_17691">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-14.083255767822266" y="-69.08158874511719" z="0.03377212584018707"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_close_to_standing_17692">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-9.316518783569336" y="29.485191345214844" z="0.003075027372688055"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_w_transform_17693">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-18.132356643676758" y="60.01486587524414" z="0.5"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_close_to_hero_17694">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-12.138871192932129" y="-144.57142639160156" z="0.0014286803780123591"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_close_to_standing_17695">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-16.22544288635254" y="36.33972930908203" z="0.0030906677711755037"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_w_transform_17696">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="27.07962417602539" y="-57.02163314819336" z="0.5"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_w_transform_17697">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-7.419345855712891" y="94.84222412109375" z="0.5"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_w_transform_17698">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="63.932952880859375" y="-3.856981039047241" z="0.5"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_close_to_hero_17699">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-6.10480260848999" y="-144.098388671875" z="0.0014286803780123591"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_w_transform_17700">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="90.9004135131836" y="94.30950927734375" z="0.5"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_w_transform_17701">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="13.428543090820312" y="-42.359031677246094" z="0.5"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_close_to_adversary_17702">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-10.025989532470703" y="-71.200439453125" z="0.03383868932723999"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_w_transform_17703">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-82.91725158691406" y="-97.17774963378906" z="0.5"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_w_transform_17704">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="50.53241729736328" y="-33.156593322753906" z="0.5"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_w_transform_17705">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-58.002777099609375" y="-74.51910400390625" z="0.5"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_close_to_adversary_17706">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-11.604331970214844" y="-72.1033935546875" z="0.033800963312387466"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_w_transform_17707">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="12.437353134155273" y="19.96849250793457" z="0.5"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
</Actions>
</Init>
<Story name="MyStory">
<Act name="Behavior">
<ManeuverGroup maximumExecutionCount="1" name="ManeuverSequence">
<Actors selectTriggeringEntities="false">
<EntityRef entityRef="adversary"/>
</Actors>
<Maneuver name="LaneChangeSimpleManeuver">
<Event name="AdversaryAccelerates" priority="overwrite">
<Action name="AdversaryAccelerates">
<PrivateAction>
<LongitudinalAction>
<SpeedAction>
<SpeedActionDynamics dynamicsShape="step" value="50" dynamicsDimension="distance"/>
<SpeedActionTarget>
<AbsoluteTargetSpeed value="5.0"/>
</SpeedActionTarget>
</SpeedAction>
</LongitudinalAction>
</PrivateAction>
</Action>
<StartTrigger>
<ConditionGroup>
<Condition name="StartCondition" delay="0" conditionEdge="rising">
<ByEntityCondition>
<TriggeringEntities triggeringEntitiesRule="any">
<EntityRef entityRef="hero"/>
</TriggeringEntities>
<EntityCondition>
<RelativeDistanceCondition entityRef="adversary" relativeDistanceType="cartesianDistance" value="40.0" freespace="false" rule="lessThan"/>
</EntityCondition>
</ByEntityCondition>
</Condition>
</ConditionGroup>
</StartTrigger>
</Event>
<Event name="AdversaryChangesLane" priority="overwrite">
<Action name="AdversaryChangesLane">
<PrivateAction>
<LateralAction>
<LaneChangeAction>
<LaneChangeActionDynamics dynamicsShape="linear" value="25" dynamicsDimension="distance"/>
<LaneChangeTarget>
<RelativeTargetLane entityRef="adversary" value="-1"/>
</LaneChangeTarget>
</LaneChangeAction>
</LateralAction>
</PrivateAction>
</Action>
<StartTrigger>
<ConditionGroup>
<Condition name="AfterAdversaryAccelerates" delay="0" conditionEdge="rising">
<ByValueCondition>
<StoryboardElementStateCondition storyboardElementType="action" storyboardElementRef="AdversaryAccelerates" state="completeState"/>
</ByValueCondition>
</Condition>
</ConditionGroup>
</StartTrigger>
</Event>
</Maneuver>
</ManeuverGroup>
<StartTrigger>
<ConditionGroup>
<Condition name="OverallStartCondition" delay="0" conditionEdge="rising">
<ByEntityCondition>
<TriggeringEntities triggeringEntitiesRule="any">
<EntityRef entityRef="hero"/>
</TriggeringEntities>
<EntityCondition>
<TraveledDistanceCondition value="1.0"/>
</EntityCondition>
</ByEntityCondition>
</Condition>
<Condition name="StartTime" delay="0" conditionEdge="rising">
<ByValueCondition>
<SimulationTimeCondition value="0" rule="equalTo"/>
</ByValueCondition>
</Condition>
</ConditionGroup>
</StartTrigger>
<StopTrigger>
<ConditionGroup>
<Condition name="EndCondition" delay="0" conditionEdge="rising">
<ByEntityCondition>
<TriggeringEntities triggeringEntitiesRule="any">
<EntityRef entityRef="hero"/>
</TriggeringEntities>
<EntityCondition>
<TraveledDistanceCondition value="200.0"/>
</EntityCondition>
</ByEntityCondition>
</Condition>
</ConditionGroup>
</StopTrigger>
</Act>
</Story>
<StopTrigger>
<ConditionGroup>
<Condition name="criteria_RunningStopTest" delay="0" conditionEdge="rising">
<ByValueCondition>
<ParameterCondition parameterRef="" value="" rule="lessThan"/>
</ByValueCondition>
</Condition>
<Condition name="criteria_RunningRedLightTest" delay="0" conditionEdge="rising">
<ByValueCondition>
<ParameterCondition parameterRef="" value="" rule="lessThan"/>
</ByValueCondition>
</Condition>
<Condition name="criteria_WrongLaneTest" delay="0" conditionEdge="rising">
<ByValueCondition>
<ParameterCondition parameterRef="" value="" rule="lessThan"/>
</ByValueCondition>
</Condition>
<Condition name="criteria_OnSidewalkTest" delay="0" conditionEdge="rising">
<ByValueCondition>
<ParameterCondition parameterRef="" value="" rule="lessThan"/>
</ByValueCondition>
</Condition>
<Condition name="criteria_KeepLaneTest" delay="0" conditionEdge="rising">
<ByValueCondition>
<ParameterCondition parameterRef="" value="" rule="lessThan"/>
</ByValueCondition>
</Condition>
<Condition name="criteria_CollisionTest" delay="0" conditionEdge="rising">
<ByValueCondition>
<ParameterCondition parameterRef="" value="" rule="lessThan"/>
</ByValueCondition>
</Condition>
<Condition name="criteria_DrivenDistanceTest" delay="0" conditionEdge="rising">
<ByValueCondition>
<ParameterCondition parameterRef="distance_success" value="100" rule="lessThan"/>
</ByValueCondition>
</Condition>
</ConditionGroup>
</StopTrigger>
</Storyboard>
</OpenSCENARIO>
``` |
i would like to order you to add pedestrian close to 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_13247">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_close_to_standing_13248">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_w_transform_13249">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_close_to_hero_13250">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_w_transform_13251">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_w_transform_13252">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_close_to_adversary_13254">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_w_transform_13255">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_close_to_standing_13256">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_close_to_adversary_13257">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
</Entities>
<Storyboard>
<Init>
<Actions>
<GlobalAction>
<EnvironmentAction>
<Environment name="Environment1">
<TimeOfDay animation="false" dateTime="2019-06-25T12:00:00"/>
<Weather cloudState="free">
<Sun intensity="0.85" azimuth="0" elevation="1.31"/>
<Fog visualRange="100000.0"/>
<Precipitation precipitationType="dry" intensity="0.0"/>
</Weather>
<RoadCondition frictionScaleFactor="1.0"/>
</Environment>
</EnvironmentAction>
</GlobalAction>
<Private entityRef="hero">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-9.4" y="-152.8" z="0.5" h="1.57079632679"/>
</Position>
</TeleportAction>
</PrivateAction>
<PrivateAction>
<ControllerAction>
<AssignControllerAction>
<Controller name="HeroAgent">
<Properties>
<Property name="module" value="external_control"/>
</Properties>
</Controller>
</AssignControllerAction>
<OverrideControllerValueAction>
<Throttle value="0" active="false"/>
<Brake value="0" active="false"/>
<Clutch value="0" active="false"/>
<ParkingBrake value="0" active="false"/>
<SteeringWheel value="0" active="false"/>
<Gear number="0" active="false"/>
</OverrideControllerValueAction>
</ControllerAction>
</PrivateAction>
</Private>
<Private entityRef="adversary">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-9.4" y="-71.0" z="0.5" h="1.57079632679"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="standing">
<PrivateAction>
<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_13247">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-2.3496344089508057" y="-68.68204498291016" z="0.03373512253165245"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_close_to_standing_13248">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-1.7529106140136719" y="20.053781509399414" z="0.003057632362470031"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_w_transform_13249">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="80.55570983886719" y="22.380247116088867" z="0.5"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_close_to_hero_13250">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-12.424589157104492" y="-152.16073608398438" z="0.0014286803780123591"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_w_transform_13251">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="78.16043853759766" y="-76.63697814941406" z="0.5"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_w_transform_13252">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-43.007930755615234" y="-55.58514404296875" z="0.5"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_close_to_adversary_13254">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-6.731595993041992" y="-72.6981201171875" z="0.03387989103794098"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_w_transform_13255">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-7.184001922607422" y="-97.41409301757812" z="0.5"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_close_to_standing_13256">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-6.458203315734863" y="34.484535217285156" z="0.0030595397111028433"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_close_to_adversary_13257">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="2.2472634315490723" y="-70.50045776367188" z="0.033836860209703445"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
</Actions>
</Init>
<Story name="MyStory">
<Act name="Behavior">
<ManeuverGroup maximumExecutionCount="1" name="ManeuverSequence">
<Actors selectTriggeringEntities="false">
<EntityRef entityRef="adversary"/>
</Actors>
<Maneuver name="LaneChangeSimpleManeuver">
<Event name="AdversaryAccelerates" priority="overwrite">
<Action name="AdversaryAccelerates">
<PrivateAction>
<LongitudinalAction>
<SpeedAction>
<SpeedActionDynamics dynamicsShape="step" value="50" dynamicsDimension="distance"/>
<SpeedActionTarget>
<AbsoluteTargetSpeed value="5.0"/>
</SpeedActionTarget>
</SpeedAction>
</LongitudinalAction>
</PrivateAction>
</Action>
<StartTrigger>
<ConditionGroup>
<Condition name="StartCondition" delay="0" conditionEdge="rising">
<ByEntityCondition>
<TriggeringEntities triggeringEntitiesRule="any">
<EntityRef entityRef="hero"/>
</TriggeringEntities>
<EntityCondition>
<RelativeDistanceCondition entityRef="adversary" relativeDistanceType="cartesianDistance" value="40.0" freespace="false" rule="lessThan"/>
</EntityCondition>
</ByEntityCondition>
</Condition>
</ConditionGroup>
</StartTrigger>
</Event>
<Event name="AdversaryChangesLane" priority="overwrite">
<Action name="AdversaryChangesLane">
<PrivateAction>
<LateralAction>
<LaneChangeAction>
<LaneChangeActionDynamics dynamicsShape="linear" value="25" dynamicsDimension="distance"/>
<LaneChangeTarget>
<RelativeTargetLane entityRef="adversary" value="-1"/>
</LaneChangeTarget>
</LaneChangeAction>
</LateralAction>
</PrivateAction>
</Action>
<StartTrigger>
<ConditionGroup>
<Condition name="AfterAdversaryAccelerates" delay="0" conditionEdge="rising">
<ByValueCondition>
<StoryboardElementStateCondition storyboardElementType="action" storyboardElementRef="AdversaryAccelerates" state="completeState"/>
</ByValueCondition>
</Condition>
</ConditionGroup>
</StartTrigger>
</Event>
</Maneuver>
</ManeuverGroup>
<StartTrigger>
<ConditionGroup>
<Condition name="OverallStartCondition" delay="0" conditionEdge="rising">
<ByEntityCondition>
<TriggeringEntities triggeringEntitiesRule="any">
<EntityRef entityRef="hero"/>
</TriggeringEntities>
<EntityCondition>
<TraveledDistanceCondition value="1.0"/>
</EntityCondition>
</ByEntityCondition>
</Condition>
<Condition name="StartTime" delay="0" conditionEdge="rising">
<ByValueCondition>
<SimulationTimeCondition value="0" rule="equalTo"/>
</ByValueCondition>
</Condition>
</ConditionGroup>
</StartTrigger>
<StopTrigger>
<ConditionGroup>
<Condition name="EndCondition" delay="0" conditionEdge="rising">
<ByEntityCondition>
<TriggeringEntities triggeringEntitiesRule="any">
<EntityRef entityRef="hero"/>
</TriggeringEntities>
<EntityCondition>
<TraveledDistanceCondition value="200.0"/>
</EntityCondition>
</ByEntityCondition>
</Condition>
</ConditionGroup>
</StopTrigger>
</Act>
</Story>
<StopTrigger>
<ConditionGroup>
<Condition name="criteria_RunningStopTest" delay="0" conditionEdge="rising">
<ByValueCondition>
<ParameterCondition parameterRef="" value="" rule="lessThan"/>
</ByValueCondition>
</Condition>
<Condition name="criteria_RunningRedLightTest" delay="0" conditionEdge="rising">
<ByValueCondition>
<ParameterCondition parameterRef="" value="" rule="lessThan"/>
</ByValueCondition>
</Condition>
<Condition name="criteria_WrongLaneTest" delay="0" conditionEdge="rising">
<ByValueCondition>
<ParameterCondition parameterRef="" value="" rule="lessThan"/>
</ByValueCondition>
</Condition>
<Condition name="criteria_OnSidewalkTest" delay="0" conditionEdge="rising">
<ByValueCondition>
<ParameterCondition parameterRef="" value="" rule="lessThan"/>
</ByValueCondition>
</Condition>
<Condition name="criteria_KeepLaneTest" delay="0" conditionEdge="rising">
<ByValueCondition>
<ParameterCondition parameterRef="" value="" rule="lessThan"/>
</ByValueCondition>
</Condition>
<Condition name="criteria_CollisionTest" delay="0" conditionEdge="rising">
<ByValueCondition>
<ParameterCondition parameterRef="" value="" rule="lessThan"/>
</ByValueCondition>
</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_13247">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_close_to_standing_13248">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_w_transform_13249">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_close_to_hero_13250">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_w_transform_13251">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_w_transform_13252">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_close_to_adversary_13254">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_w_transform_13255">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_close_to_standing_13256">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_close_to_adversary_13257">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_close_to_standing_13258">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
</Entities>
<Storyboard>
<Init>
<Actions>
<GlobalAction>
<EnvironmentAction>
<Environment name="Environment1">
<TimeOfDay animation="false" dateTime="2019-06-25T12:00:00"/>
<Weather cloudState="free">
<Sun intensity="0.85" azimuth="0" elevation="1.31"/>
<Fog visualRange="100000.0"/>
<Precipitation precipitationType="dry" intensity="0.0"/>
</Weather>
<RoadCondition frictionScaleFactor="1.0"/>
</Environment>
</EnvironmentAction>
</GlobalAction>
<Private entityRef="hero">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-9.4" y="-152.8" z="0.5" h="1.57079632679"/>
</Position>
</TeleportAction>
</PrivateAction>
<PrivateAction>
<ControllerAction>
<AssignControllerAction>
<Controller name="HeroAgent">
<Properties>
<Property name="module" value="external_control"/>
</Properties>
</Controller>
</AssignControllerAction>
<OverrideControllerValueAction>
<Throttle value="0" active="false"/>
<Brake value="0" active="false"/>
<Clutch value="0" active="false"/>
<ParkingBrake value="0" active="false"/>
<SteeringWheel value="0" active="false"/>
<Gear number="0" active="false"/>
</OverrideControllerValueAction>
</ControllerAction>
</PrivateAction>
</Private>
<Private entityRef="adversary">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-9.4" y="-71.0" z="0.5" h="1.57079632679"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="standing">
<PrivateAction>
<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_13247">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-2.3496344089508057" y="-68.68204498291016" z="0.03373512253165245"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_close_to_standing_13248">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-1.7529106140136719" y="20.053781509399414" z="0.003057632362470031"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_w_transform_13249">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="80.55570983886719" y="22.380247116088867" z="0.5"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_close_to_hero_13250">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-12.424589157104492" y="-152.16073608398438" z="0.0014286803780123591"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_w_transform_13251">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="78.16043853759766" y="-76.63697814941406" z="0.5"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_w_transform_13252">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-43.007930755615234" y="-55.58514404296875" z="0.5"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_close_to_adversary_13254">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-6.731595993041992" y="-72.6981201171875" z="0.03387989103794098"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_w_transform_13255">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-7.184001922607422" y="-97.41409301757812" z="0.5"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_close_to_standing_13256">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-6.458203315734863" y="34.484535217285156" z="0.0030595397111028433"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_close_to_adversary_13257">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="2.2472634315490723" y="-70.50045776367188" z="0.033836860209703445"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_close_to_standing_13258">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-7.450917720794678" y="33.25644302368164" z="0.0030226516537368298"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
</Actions>
</Init>
<Story name="MyStory">
<Act name="Behavior">
<ManeuverGroup maximumExecutionCount="1" name="ManeuverSequence">
<Actors selectTriggeringEntities="false">
<EntityRef entityRef="adversary"/>
</Actors>
<Maneuver name="LaneChangeSimpleManeuver">
<Event name="AdversaryAccelerates" priority="overwrite">
<Action name="AdversaryAccelerates">
<PrivateAction>
<LongitudinalAction>
<SpeedAction>
<SpeedActionDynamics dynamicsShape="step" value="50" dynamicsDimension="distance"/>
<SpeedActionTarget>
<AbsoluteTargetSpeed value="5.0"/>
</SpeedActionTarget>
</SpeedAction>
</LongitudinalAction>
</PrivateAction>
</Action>
<StartTrigger>
<ConditionGroup>
<Condition name="StartCondition" delay="0" conditionEdge="rising">
<ByEntityCondition>
<TriggeringEntities triggeringEntitiesRule="any">
<EntityRef entityRef="hero"/>
</TriggeringEntities>
<EntityCondition>
<RelativeDistanceCondition entityRef="adversary" relativeDistanceType="cartesianDistance" value="40.0" freespace="false" rule="lessThan"/>
</EntityCondition>
</ByEntityCondition>
</Condition>
</ConditionGroup>
</StartTrigger>
</Event>
<Event name="AdversaryChangesLane" priority="overwrite">
<Action name="AdversaryChangesLane">
<PrivateAction>
<LateralAction>
<LaneChangeAction>
<LaneChangeActionDynamics dynamicsShape="linear" value="25" dynamicsDimension="distance"/>
<LaneChangeTarget>
<RelativeTargetLane entityRef="adversary" value="-1"/>
</LaneChangeTarget>
</LaneChangeAction>
</LateralAction>
</PrivateAction>
</Action>
<StartTrigger>
<ConditionGroup>
<Condition name="AfterAdversaryAccelerates" delay="0" conditionEdge="rising">
<ByValueCondition>
<StoryboardElementStateCondition storyboardElementType="action" storyboardElementRef="AdversaryAccelerates" state="completeState"/>
</ByValueCondition>
</Condition>
</ConditionGroup>
</StartTrigger>
</Event>
</Maneuver>
</ManeuverGroup>
<StartTrigger>
<ConditionGroup>
<Condition name="OverallStartCondition" delay="0" conditionEdge="rising">
<ByEntityCondition>
<TriggeringEntities triggeringEntitiesRule="any">
<EntityRef entityRef="hero"/>
</TriggeringEntities>
<EntityCondition>
<TraveledDistanceCondition value="1.0"/>
</EntityCondition>
</ByEntityCondition>
</Condition>
<Condition name="StartTime" delay="0" conditionEdge="rising">
<ByValueCondition>
<SimulationTimeCondition value="0" rule="equalTo"/>
</ByValueCondition>
</Condition>
</ConditionGroup>
</StartTrigger>
<StopTrigger>
<ConditionGroup>
<Condition name="EndCondition" delay="0" conditionEdge="rising">
<ByEntityCondition>
<TriggeringEntities triggeringEntitiesRule="any">
<EntityRef entityRef="hero"/>
</TriggeringEntities>
<EntityCondition>
<TraveledDistanceCondition value="200.0"/>
</EntityCondition>
</ByEntityCondition>
</Condition>
</ConditionGroup>
</StopTrigger>
</Act>
</Story>
<StopTrigger>
<ConditionGroup>
<Condition name="criteria_RunningStopTest" delay="0" conditionEdge="rising">
<ByValueCondition>
<ParameterCondition parameterRef="" value="" rule="lessThan"/>
</ByValueCondition>
</Condition>
<Condition name="criteria_RunningRedLightTest" delay="0" conditionEdge="rising">
<ByValueCondition>
<ParameterCondition parameterRef="" value="" rule="lessThan"/>
</ByValueCondition>
</Condition>
<Condition name="criteria_WrongLaneTest" delay="0" conditionEdge="rising">
<ByValueCondition>
<ParameterCondition parameterRef="" value="" rule="lessThan"/>
</ByValueCondition>
</Condition>
<Condition name="criteria_OnSidewalkTest" delay="0" conditionEdge="rising">
<ByValueCondition>
<ParameterCondition parameterRef="" value="" rule="lessThan"/>
</ByValueCondition>
</Condition>
<Condition name="criteria_KeepLaneTest" delay="0" conditionEdge="rising">
<ByValueCondition>
<ParameterCondition parameterRef="" value="" rule="lessThan"/>
</ByValueCondition>
</Condition>
<Condition name="criteria_CollisionTest" delay="0" conditionEdge="rising">
<ByValueCondition>
<ParameterCondition parameterRef="" value="" rule="lessThan"/>
</ByValueCondition>
</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 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_11299">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_close_to_adversary_11300">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_close_to_hero_11301">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_w_transform_11302">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_w_transform_11303">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_close_to_hero_11304">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_w_transform_11305">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_close_to_standing_11306">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_w_transform_11307">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_close_to_standing_11308">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_close_to_adversary_11309">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_w_transform_11310">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_w_transform_11312">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_w_transform_11313">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_close_to_hero_11315">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_w_transform_11316">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_close_to_standing_11317">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_close_to_hero_11318">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_w_transform_11319">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_close_to_hero_11320">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_close_to_standing_11321">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_close_to_standing_11322">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_close_to_hero_11323">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_close_to_standing_11324">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
</Entities>
<Storyboard>
<Init>
<Actions>
<GlobalAction>
<EnvironmentAction>
<Environment name="Environment1">
<TimeOfDay animation="false" dateTime="2019-06-25T12:00:00"/>
<Weather cloudState="free">
<Sun intensity="0.85" azimuth="0" elevation="1.31"/>
<Fog visualRange="100000.0"/>
<Precipitation precipitationType="dry" intensity="0.0"/>
</Weather>
<RoadCondition frictionScaleFactor="1.0"/>
</Environment>
</EnvironmentAction>
</GlobalAction>
<Private entityRef="hero">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-9.4" y="-152.8" z="0.5" h="1.57079632679"/>
</Position>
</TeleportAction>
</PrivateAction>
<PrivateAction>
<ControllerAction>
<AssignControllerAction>
<Controller name="HeroAgent">
<Properties>
<Property name="module" value="external_control"/>
</Properties>
</Controller>
</AssignControllerAction>
<OverrideControllerValueAction>
<Throttle value="0" active="false"/>
<Brake value="0" active="false"/>
<Clutch value="0" active="false"/>
<ParkingBrake value="0" active="false"/>
<SteeringWheel value="0" active="false"/>
<Gear number="0" active="false"/>
</OverrideControllerValueAction>
</ControllerAction>
</PrivateAction>
</Private>
<Private entityRef="adversary">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-9.4" y="-71.0" z="0.5" h="1.57079632679"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="standing">
<PrivateAction>
<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_11299">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-7.726715564727783" y="33.26907730102539" z="0.003062400734052062"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_close_to_adversary_11300">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-4.877978324890137" y="-74.43325805664062" z="0.03382613882422447"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_close_to_hero_11301">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-8.585856437683105" y="-152.3339385986328" z="0.0014286803780123591"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_w_transform_11302">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="31.115215301513672" y="-91.7213134765625" z="0.5"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_w_transform_11303">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-59.095882415771484" y="-79.88545989990234" z="0.5"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_close_to_hero_11304">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-14.105798721313477" y="-149.4984130859375" z="0.0014286803780123591"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_w_transform_11305">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="0.6844713687896729" y="56.49277114868164" z="0.5"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_close_to_standing_11306">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-7.746196269989014" y="25.20406723022461" z="0.003135261358693242"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_w_transform_11307">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="44.04150390625" y="84.7950668334961" z="0.5"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_close_to_standing_11308">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-5.764044284820557" y="38.57447814941406" z="0.003108978271484375"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_close_to_adversary_11309">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="0.3840510845184326" y="-67.8414077758789" z="0.033772047609090805"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_w_transform_11310">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="2.4514522552490234" y="-89.43980407714844" z="0.5"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_w_transform_11312">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="6.131800174713135" y="9.322089195251465" z="0.5"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_w_transform_11313">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="97.8114013671875" y="-18.618816375732422" z="0.5"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_close_to_hero_11315">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-14.512110710144043" y="-159.44061279296875" z="0.0014286803780123591"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_w_transform_11316">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-10.300655364990234" y="72.09815216064453" z="0.5"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_close_to_standing_11317">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="0.7766394019126892" y="21.635345458984375" z="0.0030564116314053535"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_close_to_hero_11318">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-10.707829475402832" y="-153.60601806640625" z="0.0014286803780123591"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_w_transform_11319">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-7.481983661651611" y="35.46417999267578" z="0.5"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_close_to_hero_11320">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-22.351499557495117" y="-161.68270874023438" z="0.0014286803780123591"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_close_to_standing_11321">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-2.7628934383392334" y="38.74701690673828" z="0.003037948627024889"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_close_to_standing_11322">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-1.933090090751648" y="25.856689453125" z="0.003028030274435878"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_close_to_hero_11323">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-19.89426040649414" y="-160.5803680419922" z="0.0014286803780123591"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_close_to_standing_11324">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-18.326534271240234" y="31.178783416748047" z="0.002995185786858201"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
</Actions>
</Init>
<Story name="MyStory">
<Act name="Behavior">
<ManeuverGroup maximumExecutionCount="1" name="ManeuverSequence">
<Actors selectTriggeringEntities="false">
<EntityRef entityRef="adversary"/>
</Actors>
<Maneuver name="LaneChangeSimpleManeuver">
<Event name="AdversaryAccelerates" priority="overwrite">
<Action name="AdversaryAccelerates">
<PrivateAction>
<LongitudinalAction>
<SpeedAction>
<SpeedActionDynamics dynamicsShape="step" value="50" dynamicsDimension="distance"/>
<SpeedActionTarget>
<AbsoluteTargetSpeed value="5.0"/>
</SpeedActionTarget>
</SpeedAction>
</LongitudinalAction>
</PrivateAction>
</Action>
<StartTrigger>
<ConditionGroup>
<Condition name="StartCondition" delay="0" conditionEdge="rising">
<ByEntityCondition>
<TriggeringEntities triggeringEntitiesRule="any">
<EntityRef entityRef="hero"/>
</TriggeringEntities>
<EntityCondition>
<RelativeDistanceCondition entityRef="adversary" relativeDistanceType="cartesianDistance" value="40.0" freespace="false" rule="lessThan"/>
</EntityCondition>
</ByEntityCondition>
</Condition>
</ConditionGroup>
</StartTrigger>
</Event>
<Event name="AdversaryChangesLane" priority="overwrite">
<Action name="AdversaryChangesLane">
<PrivateAction>
<LateralAction>
<LaneChangeAction>
<LaneChangeActionDynamics dynamicsShape="linear" value="25" dynamicsDimension="distance"/>
<LaneChangeTarget>
<RelativeTargetLane entityRef="adversary" value="-1"/>
</LaneChangeTarget>
</LaneChangeAction>
</LateralAction>
</PrivateAction>
</Action>
<StartTrigger>
<ConditionGroup>
<Condition name="AfterAdversaryAccelerates" delay="0" conditionEdge="rising">
<ByValueCondition>
<StoryboardElementStateCondition storyboardElementType="action" storyboardElementRef="AdversaryAccelerates" state="completeState"/>
</ByValueCondition>
</Condition>
</ConditionGroup>
</StartTrigger>
</Event>
</Maneuver>
</ManeuverGroup>
<StartTrigger>
<ConditionGroup>
<Condition name="OverallStartCondition" delay="0" conditionEdge="rising">
<ByEntityCondition>
<TriggeringEntities triggeringEntitiesRule="any">
<EntityRef entityRef="hero"/>
</TriggeringEntities>
<EntityCondition>
<TraveledDistanceCondition value="1.0"/>
</EntityCondition>
</ByEntityCondition>
</Condition>
<Condition name="StartTime" delay="0" conditionEdge="rising">
<ByValueCondition>
<SimulationTimeCondition value="0" rule="equalTo"/>
</ByValueCondition>
</Condition>
</ConditionGroup>
</StartTrigger>
<StopTrigger>
<ConditionGroup>
<Condition name="EndCondition" delay="0" conditionEdge="rising">
<ByEntityCondition>
<TriggeringEntities triggeringEntitiesRule="any">
<EntityRef entityRef="hero"/>
</TriggeringEntities>
<EntityCondition>
<TraveledDistanceCondition value="200.0"/>
</EntityCondition>
</ByEntityCondition>
</Condition>
</ConditionGroup>
</StopTrigger>
</Act>
</Story>
<StopTrigger>
<ConditionGroup>
<Condition name="criteria_RunningStopTest" delay="0" conditionEdge="rising">
<ByValueCondition>
<ParameterCondition parameterRef="" value="" rule="lessThan"/>
</ByValueCondition>
</Condition>
<Condition name="criteria_RunningRedLightTest" delay="0" conditionEdge="rising">
<ByValueCondition>
<ParameterCondition parameterRef="" value="" rule="lessThan"/>
</ByValueCondition>
</Condition>
<Condition name="criteria_WrongLaneTest" delay="0" conditionEdge="rising">
<ByValueCondition>
<ParameterCondition parameterRef="" value="" rule="lessThan"/>
</ByValueCondition>
</Condition>
<Condition name="criteria_OnSidewalkTest" delay="0" conditionEdge="rising">
<ByValueCondition>
<ParameterCondition parameterRef="" value="" rule="lessThan"/>
</ByValueCondition>
</Condition>
<Condition name="criteria_KeepLaneTest" delay="0" conditionEdge="rising">
<ByValueCondition>
<ParameterCondition parameterRef="" value="" rule="lessThan"/>
</ByValueCondition>
</Condition>
<Condition name="criteria_CollisionTest" delay="0" conditionEdge="rising">
<ByValueCondition>
<ParameterCondition parameterRef="" value="" rule="lessThan"/>
</ByValueCondition>
</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_11299">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_close_to_adversary_11300">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_close_to_hero_11301">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_w_transform_11302">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_w_transform_11303">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_close_to_hero_11304">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_w_transform_11305">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_close_to_standing_11306">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_w_transform_11307">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_close_to_standing_11308">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_close_to_adversary_11309">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_w_transform_11310">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_w_transform_11312">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_w_transform_11313">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_close_to_hero_11315">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_w_transform_11316">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_close_to_standing_11317">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_close_to_hero_11318">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_w_transform_11319">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_close_to_hero_11320">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_close_to_standing_11321">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_close_to_standing_11322">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_close_to_hero_11323">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_close_to_standing_11324">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_close_to_hero_11325">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
</Entities>
<Storyboard>
<Init>
<Actions>
<GlobalAction>
<EnvironmentAction>
<Environment name="Environment1">
<TimeOfDay animation="false" dateTime="2019-06-25T12:00:00"/>
<Weather cloudState="free">
<Sun intensity="0.85" azimuth="0" elevation="1.31"/>
<Fog visualRange="100000.0"/>
<Precipitation precipitationType="dry" intensity="0.0"/>
</Weather>
<RoadCondition frictionScaleFactor="1.0"/>
</Environment>
</EnvironmentAction>
</GlobalAction>
<Private entityRef="hero">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-9.4" y="-152.8" z="0.5" h="1.57079632679"/>
</Position>
</TeleportAction>
</PrivateAction>
<PrivateAction>
<ControllerAction>
<AssignControllerAction>
<Controller name="HeroAgent">
<Properties>
<Property name="module" value="external_control"/>
</Properties>
</Controller>
</AssignControllerAction>
<OverrideControllerValueAction>
<Throttle value="0" active="false"/>
<Brake value="0" active="false"/>
<Clutch value="0" active="false"/>
<ParkingBrake value="0" active="false"/>
<SteeringWheel value="0" active="false"/>
<Gear number="0" active="false"/>
</OverrideControllerValueAction>
</ControllerAction>
</PrivateAction>
</Private>
<Private entityRef="adversary">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-9.4" y="-71.0" z="0.5" h="1.57079632679"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="standing">
<PrivateAction>
<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_11299">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-7.726715564727783" y="33.26907730102539" z="0.003062400734052062"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_close_to_adversary_11300">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-4.877978324890137" y="-74.43325805664062" z="0.03382613882422447"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_close_to_hero_11301">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-8.585856437683105" y="-152.3339385986328" z="0.0014286803780123591"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_w_transform_11302">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="31.115215301513672" y="-91.7213134765625" z="0.5"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_w_transform_11303">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-59.095882415771484" y="-79.88545989990234" z="0.5"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_close_to_hero_11304">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-14.105798721313477" y="-149.4984130859375" z="0.0014286803780123591"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_w_transform_11305">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="0.6844713687896729" y="56.49277114868164" z="0.5"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_close_to_standing_11306">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-7.746196269989014" y="25.20406723022461" z="0.003135261358693242"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_w_transform_11307">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="44.04150390625" y="84.7950668334961" z="0.5"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_close_to_standing_11308">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-5.764044284820557" y="38.57447814941406" z="0.003108978271484375"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_close_to_adversary_11309">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="0.3840510845184326" y="-67.8414077758789" z="0.033772047609090805"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_w_transform_11310">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="2.4514522552490234" y="-89.43980407714844" z="0.5"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_w_transform_11312">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="6.131800174713135" y="9.322089195251465" z="0.5"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_w_transform_11313">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="97.8114013671875" y="-18.618816375732422" z="0.5"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_close_to_hero_11315">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-14.512110710144043" y="-159.44061279296875" z="0.0014286803780123591"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_w_transform_11316">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-10.300655364990234" y="72.09815216064453" z="0.5"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_close_to_standing_11317">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="0.7766394019126892" y="21.635345458984375" z="0.0030564116314053535"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_close_to_hero_11318">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-10.707829475402832" y="-153.60601806640625" z="0.0014286803780123591"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_w_transform_11319">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-7.481983661651611" y="35.46417999267578" z="0.5"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_close_to_hero_11320">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-22.351499557495117" y="-161.68270874023438" z="0.0014286803780123591"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_close_to_standing_11321">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-2.7628934383392334" y="38.74701690673828" z="0.003037948627024889"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_close_to_standing_11322">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-1.933090090751648" y="25.856689453125" z="0.003028030274435878"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_close_to_hero_11323">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-19.89426040649414" y="-160.5803680419922" z="0.0014286803780123591"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_close_to_standing_11324">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-18.326534271240234" y="31.178783416748047" z="0.002995185786858201"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_close_to_hero_11325">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-9.792352676391602" y="-161.91354370117188" z="0.0014286803780123591"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
</Actions>
</Init>
<Story name="MyStory">
<Act name="Behavior">
<ManeuverGroup maximumExecutionCount="1" name="ManeuverSequence">
<Actors selectTriggeringEntities="false">
<EntityRef entityRef="adversary"/>
</Actors>
<Maneuver name="LaneChangeSimpleManeuver">
<Event name="AdversaryAccelerates" priority="overwrite">
<Action name="AdversaryAccelerates">
<PrivateAction>
<LongitudinalAction>
<SpeedAction>
<SpeedActionDynamics dynamicsShape="step" value="50" dynamicsDimension="distance"/>
<SpeedActionTarget>
<AbsoluteTargetSpeed value="5.0"/>
</SpeedActionTarget>
</SpeedAction>
</LongitudinalAction>
</PrivateAction>
</Action>
<StartTrigger>
<ConditionGroup>
<Condition name="StartCondition" delay="0" conditionEdge="rising">
<ByEntityCondition>
<TriggeringEntities triggeringEntitiesRule="any">
<EntityRef entityRef="hero"/>
</TriggeringEntities>
<EntityCondition>
<RelativeDistanceCondition entityRef="adversary" relativeDistanceType="cartesianDistance" value="40.0" freespace="false" rule="lessThan"/>
</EntityCondition>
</ByEntityCondition>
</Condition>
</ConditionGroup>
</StartTrigger>
</Event>
<Event name="AdversaryChangesLane" priority="overwrite">
<Action name="AdversaryChangesLane">
<PrivateAction>
<LateralAction>
<LaneChangeAction>
<LaneChangeActionDynamics dynamicsShape="linear" value="25" dynamicsDimension="distance"/>
<LaneChangeTarget>
<RelativeTargetLane entityRef="adversary" value="-1"/>
</LaneChangeTarget>
</LaneChangeAction>
</LateralAction>
</PrivateAction>
</Action>
<StartTrigger>
<ConditionGroup>
<Condition name="AfterAdversaryAccelerates" delay="0" conditionEdge="rising">
<ByValueCondition>
<StoryboardElementStateCondition storyboardElementType="action" storyboardElementRef="AdversaryAccelerates" state="completeState"/>
</ByValueCondition>
</Condition>
</ConditionGroup>
</StartTrigger>
</Event>
</Maneuver>
</ManeuverGroup>
<StartTrigger>
<ConditionGroup>
<Condition name="OverallStartCondition" delay="0" conditionEdge="rising">
<ByEntityCondition>
<TriggeringEntities triggeringEntitiesRule="any">
<EntityRef entityRef="hero"/>
</TriggeringEntities>
<EntityCondition>
<TraveledDistanceCondition value="1.0"/>
</EntityCondition>
</ByEntityCondition>
</Condition>
<Condition name="StartTime" delay="0" conditionEdge="rising">
<ByValueCondition>
<SimulationTimeCondition value="0" rule="equalTo"/>
</ByValueCondition>
</Condition>
</ConditionGroup>
</StartTrigger>
<StopTrigger>
<ConditionGroup>
<Condition name="EndCondition" delay="0" conditionEdge="rising">
<ByEntityCondition>
<TriggeringEntities triggeringEntitiesRule="any">
<EntityRef entityRef="hero"/>
</TriggeringEntities>
<EntityCondition>
<TraveledDistanceCondition value="200.0"/>
</EntityCondition>
</ByEntityCondition>
</Condition>
</ConditionGroup>
</StopTrigger>
</Act>
</Story>
<StopTrigger>
<ConditionGroup>
<Condition name="criteria_RunningStopTest" delay="0" conditionEdge="rising">
<ByValueCondition>
<ParameterCondition parameterRef="" value="" rule="lessThan"/>
</ByValueCondition>
</Condition>
<Condition name="criteria_RunningRedLightTest" delay="0" conditionEdge="rising">
<ByValueCondition>
<ParameterCondition parameterRef="" value="" rule="lessThan"/>
</ByValueCondition>
</Condition>
<Condition name="criteria_WrongLaneTest" delay="0" conditionEdge="rising">
<ByValueCondition>
<ParameterCondition parameterRef="" value="" rule="lessThan"/>
</ByValueCondition>
</Condition>
<Condition name="criteria_OnSidewalkTest" delay="0" conditionEdge="rising">
<ByValueCondition>
<ParameterCondition parameterRef="" value="" rule="lessThan"/>
</ByValueCondition>
</Condition>
<Condition name="criteria_KeepLaneTest" delay="0" conditionEdge="rising">
<ByValueCondition>
<ParameterCondition parameterRef="" value="" rule="lessThan"/>
</ByValueCondition>
</Condition>
<Condition name="criteria_CollisionTest" delay="0" conditionEdge="rising">
<ByValueCondition>
<ParameterCondition parameterRef="" value="" rule="lessThan"/>
</ByValueCondition>
</Condition>
<Condition name="criteria_DrivenDistanceTest" delay="0" conditionEdge="rising">
<ByValueCondition>
<ParameterCondition parameterRef="distance_success" value="100" rule="lessThan"/>
</ByValueCondition>
</Condition>
</ConditionGroup>
</StopTrigger>
</Storyboard>
</OpenSCENARIO>
``` |
please add pedestrian at location (-34.72, 38.08, 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_6761">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_close_to_standing_6762">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_w_transform_6763">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_close_to_adversary_6764">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_w_transform_6765">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_w_transform_6766">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_close_to_adversary_6767">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_close_to_standing_6768">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_w_transform_6769">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_w_transform_6770">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_close_to_hero_6772">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_close_to_standing_6773">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_w_transform_6774">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_close_to_adversary_6775">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_close_to_hero_6776">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_close_to_hero_6777">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_w_transform_6778">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_close_to_standing_6779">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_close_to_adversary_6780">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_w_transform_6781">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_w_transform_6783">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
</Entities>
<Storyboard>
<Init>
<Actions>
<GlobalAction>
<EnvironmentAction>
<Environment name="Environment1">
<TimeOfDay animation="false" dateTime="2019-06-25T12:00:00"/>
<Weather cloudState="free">
<Sun intensity="0.85" azimuth="0" elevation="1.31"/>
<Fog visualRange="100000.0"/>
<Precipitation precipitationType="dry" intensity="0.0"/>
</Weather>
<RoadCondition frictionScaleFactor="1.0"/>
</Environment>
</EnvironmentAction>
</GlobalAction>
<Private entityRef="hero">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-9.4" y="-152.8" z="0.5" h="1.57079632679"/>
</Position>
</TeleportAction>
</PrivateAction>
<PrivateAction>
<ControllerAction>
<AssignControllerAction>
<Controller name="HeroAgent">
<Properties>
<Property name="module" value="external_control"/>
</Properties>
</Controller>
</AssignControllerAction>
<OverrideControllerValueAction>
<Throttle value="0" active="false"/>
<Brake value="0" active="false"/>
<Clutch value="0" active="false"/>
<ParkingBrake value="0" active="false"/>
<SteeringWheel value="0" active="false"/>
<Gear number="0" active="false"/>
</OverrideControllerValueAction>
</ControllerAction>
</PrivateAction>
</Private>
<Private entityRef="adversary">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-9.4" y="-71.0" z="0.5" h="1.57079632679"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="standing">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-8.2" y="29.2" z="0.5" h="1.57079632679"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_close_to_adversary_6761">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="2.4460108280181885" y="-67.28922271728516" z="0.0338037870824337"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_close_to_standing_6762">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-6.449036121368408" y="29.51570701599121" z="0.003067283658310771"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_w_transform_6763">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-28.855592727661133" y="-87.71188354492188" z="0.5"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_close_to_adversary_6764">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-10.085835456848145" y="-64.40291595458984" z="0.033770788460969925"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_w_transform_6765">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="52.94699478149414" y="-38.580020904541016" z="0.5"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_w_transform_6766">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="32.27488327026367" y="6.192735195159912" z="0.5"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_close_to_adversary_6767">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-4.862687110900879" y="-58.81227111816406" z="0.03377334401011467"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_close_to_standing_6768">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="0.7054691910743713" y="32.82971954345703" z="0.003039131173864007"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_w_transform_6769">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-20.053640365600586" y="-85.25825500488281" z="0.5"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_w_transform_6770">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-73.05460357666016" y="-31.622434616088867" z="0.5"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_close_to_hero_6772">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-16.678110122680664" y="-143.1956787109375" z="0.0014286803780123591"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_close_to_standing_6773">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-8.940803527832031" y="33.434730529785156" z="0.0030155563727021217"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_w_transform_6774">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-58.9252815246582" y="31.036502838134766" z="0.5"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_close_to_adversary_6775">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-2.3624260425567627" y="-76.34788513183594" z="0.03377395495772362"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_close_to_hero_6776">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-9.805150032043457" y="-157.0419464111328" z="0.0014286803780123591"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_close_to_hero_6777">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-14.458284378051758" y="-155.74583435058594" z="0.0014286803780123591"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_w_transform_6778">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-68.21623229980469" y="-1.6754944324493408" z="0.5"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_close_to_standing_6779">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-16.171998977661133" y="20.401519775390625" z="0.0030505370814353228"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_close_to_adversary_6780">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-9.48734188079834" y="-84.05396270751953" z="0.03379058837890625"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_w_transform_6781">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="54.130638122558594" y="83.37744140625" z="0.5"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_w_transform_6783">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="33.67890167236328" y="73.6740951538086" z="0.5"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
</Actions>
</Init>
<Story name="MyStory">
<Act name="Behavior">
<ManeuverGroup maximumExecutionCount="1" name="ManeuverSequence">
<Actors selectTriggeringEntities="false">
<EntityRef entityRef="adversary"/>
</Actors>
<Maneuver name="LaneChangeSimpleManeuver">
<Event name="AdversaryAccelerates" priority="overwrite">
<Action name="AdversaryAccelerates">
<PrivateAction>
<LongitudinalAction>
<SpeedAction>
<SpeedActionDynamics dynamicsShape="step" value="50" dynamicsDimension="distance"/>
<SpeedActionTarget>
<AbsoluteTargetSpeed value="5.0"/>
</SpeedActionTarget>
</SpeedAction>
</LongitudinalAction>
</PrivateAction>
</Action>
<StartTrigger>
<ConditionGroup>
<Condition name="StartCondition" delay="0" conditionEdge="rising">
<ByEntityCondition>
<TriggeringEntities triggeringEntitiesRule="any">
<EntityRef entityRef="hero"/>
</TriggeringEntities>
<EntityCondition>
<RelativeDistanceCondition entityRef="adversary" relativeDistanceType="cartesianDistance" value="40.0" freespace="false" rule="lessThan"/>
</EntityCondition>
</ByEntityCondition>
</Condition>
</ConditionGroup>
</StartTrigger>
</Event>
<Event name="AdversaryChangesLane" priority="overwrite">
<Action name="AdversaryChangesLane">
<PrivateAction>
<LateralAction>
<LaneChangeAction>
<LaneChangeActionDynamics dynamicsShape="linear" value="25" dynamicsDimension="distance"/>
<LaneChangeTarget>
<RelativeTargetLane entityRef="adversary" value="-1"/>
</LaneChangeTarget>
</LaneChangeAction>
</LateralAction>
</PrivateAction>
</Action>
<StartTrigger>
<ConditionGroup>
<Condition name="AfterAdversaryAccelerates" delay="0" conditionEdge="rising">
<ByValueCondition>
<StoryboardElementStateCondition storyboardElementType="action" storyboardElementRef="AdversaryAccelerates" state="completeState"/>
</ByValueCondition>
</Condition>
</ConditionGroup>
</StartTrigger>
</Event>
</Maneuver>
</ManeuverGroup>
<StartTrigger>
<ConditionGroup>
<Condition name="OverallStartCondition" delay="0" conditionEdge="rising">
<ByEntityCondition>
<TriggeringEntities triggeringEntitiesRule="any">
<EntityRef entityRef="hero"/>
</TriggeringEntities>
<EntityCondition>
<TraveledDistanceCondition value="1.0"/>
</EntityCondition>
</ByEntityCondition>
</Condition>
<Condition name="StartTime" delay="0" conditionEdge="rising">
<ByValueCondition>
<SimulationTimeCondition value="0" rule="equalTo"/>
</ByValueCondition>
</Condition>
</ConditionGroup>
</StartTrigger>
<StopTrigger>
<ConditionGroup>
<Condition name="EndCondition" delay="0" conditionEdge="rising">
<ByEntityCondition>
<TriggeringEntities triggeringEntitiesRule="any">
<EntityRef entityRef="hero"/>
</TriggeringEntities>
<EntityCondition>
<TraveledDistanceCondition value="200.0"/>
</EntityCondition>
</ByEntityCondition>
</Condition>
</ConditionGroup>
</StopTrigger>
</Act>
</Story>
<StopTrigger>
<ConditionGroup>
<Condition name="criteria_RunningStopTest" delay="0" conditionEdge="rising">
<ByValueCondition>
<ParameterCondition parameterRef="" value="" rule="lessThan"/>
</ByValueCondition>
</Condition>
<Condition name="criteria_RunningRedLightTest" delay="0" conditionEdge="rising">
<ByValueCondition>
<ParameterCondition parameterRef="" value="" rule="lessThan"/>
</ByValueCondition>
</Condition>
<Condition name="criteria_WrongLaneTest" delay="0" conditionEdge="rising">
<ByValueCondition>
<ParameterCondition parameterRef="" value="" rule="lessThan"/>
</ByValueCondition>
</Condition>
<Condition name="criteria_OnSidewalkTest" delay="0" conditionEdge="rising">
<ByValueCondition>
<ParameterCondition parameterRef="" value="" rule="lessThan"/>
</ByValueCondition>
</Condition>
<Condition name="criteria_KeepLaneTest" delay="0" conditionEdge="rising">
<ByValueCondition>
<ParameterCondition parameterRef="" value="" rule="lessThan"/>
</ByValueCondition>
</Condition>
<Condition name="criteria_CollisionTest" delay="0" conditionEdge="rising">
<ByValueCondition>
<ParameterCondition parameterRef="" value="" rule="lessThan"/>
</ByValueCondition>
</Condition>
<Condition name="criteria_DrivenDistanceTest" delay="0" conditionEdge="rising">
<ByValueCondition>
<ParameterCondition parameterRef="distance_success" value="100" rule="lessThan"/>
</ByValueCondition>
</Condition>
</ConditionGroup>
</StopTrigger>
</Storyboard>
</OpenSCENARIO>
``` | Here is the result:
```
<?xml version="1.0" ?>
<OpenSCENARIO>
<FileHeader revMajor="1" revMinor="0" date="2020-03-24T12:00:00" description="CARLA:LaneChangeSimple" author=""/>
<ParameterDeclarations/>
<CatalogLocations/>
<RoadNetwork>
<LogicFile filepath="Town04"/>
<SceneGraphFile filepath=""/>
</RoadNetwork>
<Entities>
<ScenarioObject name="hero">
<Vehicle name="vehicle.tesla.model3" vehicleCategory="car">
<ParameterDeclarations/>
<Performance maxSpeed="69.444" maxAcceleration="200" maxDeceleration="10.0"/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2.1" length="4.5" height="1.8"/>
</BoundingBox>
<Axles>
<FrontAxle maxSteering="0.5" wheelDiameter="0.6" trackWidth="1.8" positionX="3.1" positionZ="0.3"/>
<RearAxle maxSteering="0.0" wheelDiameter="0.6" trackWidth="1.8" positionX="0.0" positionZ="0.3"/>
</Axles>
<Properties>
<Property name="type" value="ego_vehicle"/>
</Properties>
</Vehicle>
</ScenarioObject>
<ScenarioObject name="adversary">
<Vehicle name="vehicle.lincoln.mkz_2017" vehicleCategory="car">
<ParameterDeclarations/>
<Performance maxSpeed="69.444" maxAcceleration="200" maxDeceleration="10.0"/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2.1" length="4.5" height="1.8"/>
</BoundingBox>
<Axles>
<FrontAxle maxSteering="0.5" wheelDiameter="0.6" trackWidth="1.8" positionX="3.1" positionZ="0.3"/>
<RearAxle maxSteering="0.0" wheelDiameter="0.6" trackWidth="1.8" positionX="0.0" positionZ="0.3"/>
</Axles>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Vehicle>
</ScenarioObject>
<ScenarioObject name="standing">
<Vehicle name="vehicle.volkswagen.t2" vehicleCategory="car">
<ParameterDeclarations/>
<Performance maxSpeed="69.444" maxAcceleration="200" maxDeceleration="10.0"/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2.1" length="4.5" height="1.8"/>
</BoundingBox>
<Axles>
<FrontAxle maxSteering="0.5" wheelDiameter="0.6" trackWidth="1.8" positionX="3.1" positionZ="0.3"/>
<RearAxle maxSteering="0.0" wheelDiameter="0.6" trackWidth="1.8" positionX="0.0" positionZ="0.3"/>
</Axles>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Vehicle>
</ScenarioObject>
<ScenarioObject name="pedestrian_close_to_adversary_6761">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_close_to_standing_6762">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_w_transform_6763">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_close_to_adversary_6764">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_w_transform_6765">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_w_transform_6766">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_close_to_adversary_6767">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_close_to_standing_6768">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_w_transform_6769">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_w_transform_6770">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_close_to_hero_6772">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_close_to_standing_6773">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_w_transform_6774">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_close_to_adversary_6775">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_close_to_hero_6776">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_close_to_hero_6777">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_w_transform_6778">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_close_to_standing_6779">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_close_to_adversary_6780">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_w_transform_6781">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_w_transform_6783">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_w_transform_6784">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
</Entities>
<Storyboard>
<Init>
<Actions>
<GlobalAction>
<EnvironmentAction>
<Environment name="Environment1">
<TimeOfDay animation="false" dateTime="2019-06-25T12:00:00"/>
<Weather cloudState="free">
<Sun intensity="0.85" azimuth="0" elevation="1.31"/>
<Fog visualRange="100000.0"/>
<Precipitation precipitationType="dry" intensity="0.0"/>
</Weather>
<RoadCondition frictionScaleFactor="1.0"/>
</Environment>
</EnvironmentAction>
</GlobalAction>
<Private entityRef="hero">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-9.4" y="-152.8" z="0.5" h="1.57079632679"/>
</Position>
</TeleportAction>
</PrivateAction>
<PrivateAction>
<ControllerAction>
<AssignControllerAction>
<Controller name="HeroAgent">
<Properties>
<Property name="module" value="external_control"/>
</Properties>
</Controller>
</AssignControllerAction>
<OverrideControllerValueAction>
<Throttle value="0" active="false"/>
<Brake value="0" active="false"/>
<Clutch value="0" active="false"/>
<ParkingBrake value="0" active="false"/>
<SteeringWheel value="0" active="false"/>
<Gear number="0" active="false"/>
</OverrideControllerValueAction>
</ControllerAction>
</PrivateAction>
</Private>
<Private entityRef="adversary">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-9.4" y="-71.0" z="0.5" h="1.57079632679"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="standing">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-8.2" y="29.2" z="0.5" h="1.57079632679"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_close_to_adversary_6761">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="2.4460108280181885" y="-67.28922271728516" z="0.0338037870824337"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_close_to_standing_6762">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-6.449036121368408" y="29.51570701599121" z="0.003067283658310771"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_w_transform_6763">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-28.855592727661133" y="-87.71188354492188" z="0.5"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_close_to_adversary_6764">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-10.085835456848145" y="-64.40291595458984" z="0.033770788460969925"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_w_transform_6765">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="52.94699478149414" y="-38.580020904541016" z="0.5"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_w_transform_6766">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="32.27488327026367" y="6.192735195159912" z="0.5"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_close_to_adversary_6767">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-4.862687110900879" y="-58.81227111816406" z="0.03377334401011467"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_close_to_standing_6768">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="0.7054691910743713" y="32.82971954345703" z="0.003039131173864007"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_w_transform_6769">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-20.053640365600586" y="-85.25825500488281" z="0.5"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_w_transform_6770">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-73.05460357666016" y="-31.622434616088867" z="0.5"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_close_to_hero_6772">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-16.678110122680664" y="-143.1956787109375" z="0.0014286803780123591"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_close_to_standing_6773">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-8.940803527832031" y="33.434730529785156" z="0.0030155563727021217"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_w_transform_6774">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-58.9252815246582" y="31.036502838134766" z="0.5"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_close_to_adversary_6775">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-2.3624260425567627" y="-76.34788513183594" z="0.03377395495772362"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_close_to_hero_6776">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-9.805150032043457" y="-157.0419464111328" z="0.0014286803780123591"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_close_to_hero_6777">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-14.458284378051758" y="-155.74583435058594" z="0.0014286803780123591"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_w_transform_6778">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-68.21623229980469" y="-1.6754944324493408" z="0.5"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_close_to_standing_6779">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-16.171998977661133" y="20.401519775390625" z="0.0030505370814353228"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_close_to_adversary_6780">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-9.48734188079834" y="-84.05396270751953" z="0.03379058837890625"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_w_transform_6781">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="54.130638122558594" y="83.37744140625" z="0.5"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_w_transform_6783">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="33.67890167236328" y="73.6740951538086" z="0.5"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_w_transform_6784">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-34.722843170166016" y="38.07624816894531" z="0.5"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
</Actions>
</Init>
<Story name="MyStory">
<Act name="Behavior">
<ManeuverGroup maximumExecutionCount="1" name="ManeuverSequence">
<Actors selectTriggeringEntities="false">
<EntityRef entityRef="adversary"/>
</Actors>
<Maneuver name="LaneChangeSimpleManeuver">
<Event name="AdversaryAccelerates" priority="overwrite">
<Action name="AdversaryAccelerates">
<PrivateAction>
<LongitudinalAction>
<SpeedAction>
<SpeedActionDynamics dynamicsShape="step" value="50" dynamicsDimension="distance"/>
<SpeedActionTarget>
<AbsoluteTargetSpeed value="5.0"/>
</SpeedActionTarget>
</SpeedAction>
</LongitudinalAction>
</PrivateAction>
</Action>
<StartTrigger>
<ConditionGroup>
<Condition name="StartCondition" delay="0" conditionEdge="rising">
<ByEntityCondition>
<TriggeringEntities triggeringEntitiesRule="any">
<EntityRef entityRef="hero"/>
</TriggeringEntities>
<EntityCondition>
<RelativeDistanceCondition entityRef="adversary" relativeDistanceType="cartesianDistance" value="40.0" freespace="false" rule="lessThan"/>
</EntityCondition>
</ByEntityCondition>
</Condition>
</ConditionGroup>
</StartTrigger>
</Event>
<Event name="AdversaryChangesLane" priority="overwrite">
<Action name="AdversaryChangesLane">
<PrivateAction>
<LateralAction>
<LaneChangeAction>
<LaneChangeActionDynamics dynamicsShape="linear" value="25" dynamicsDimension="distance"/>
<LaneChangeTarget>
<RelativeTargetLane entityRef="adversary" value="-1"/>
</LaneChangeTarget>
</LaneChangeAction>
</LateralAction>
</PrivateAction>
</Action>
<StartTrigger>
<ConditionGroup>
<Condition name="AfterAdversaryAccelerates" delay="0" conditionEdge="rising">
<ByValueCondition>
<StoryboardElementStateCondition storyboardElementType="action" storyboardElementRef="AdversaryAccelerates" state="completeState"/>
</ByValueCondition>
</Condition>
</ConditionGroup>
</StartTrigger>
</Event>
</Maneuver>
</ManeuverGroup>
<StartTrigger>
<ConditionGroup>
<Condition name="OverallStartCondition" delay="0" conditionEdge="rising">
<ByEntityCondition>
<TriggeringEntities triggeringEntitiesRule="any">
<EntityRef entityRef="hero"/>
</TriggeringEntities>
<EntityCondition>
<TraveledDistanceCondition value="1.0"/>
</EntityCondition>
</ByEntityCondition>
</Condition>
<Condition name="StartTime" delay="0" conditionEdge="rising">
<ByValueCondition>
<SimulationTimeCondition value="0" rule="equalTo"/>
</ByValueCondition>
</Condition>
</ConditionGroup>
</StartTrigger>
<StopTrigger>
<ConditionGroup>
<Condition name="EndCondition" delay="0" conditionEdge="rising">
<ByEntityCondition>
<TriggeringEntities triggeringEntitiesRule="any">
<EntityRef entityRef="hero"/>
</TriggeringEntities>
<EntityCondition>
<TraveledDistanceCondition value="200.0"/>
</EntityCondition>
</ByEntityCondition>
</Condition>
</ConditionGroup>
</StopTrigger>
</Act>
</Story>
<StopTrigger>
<ConditionGroup>
<Condition name="criteria_RunningStopTest" delay="0" conditionEdge="rising">
<ByValueCondition>
<ParameterCondition parameterRef="" value="" rule="lessThan"/>
</ByValueCondition>
</Condition>
<Condition name="criteria_RunningRedLightTest" delay="0" conditionEdge="rising">
<ByValueCondition>
<ParameterCondition parameterRef="" value="" rule="lessThan"/>
</ByValueCondition>
</Condition>
<Condition name="criteria_WrongLaneTest" delay="0" conditionEdge="rising">
<ByValueCondition>
<ParameterCondition parameterRef="" value="" rule="lessThan"/>
</ByValueCondition>
</Condition>
<Condition name="criteria_OnSidewalkTest" delay="0" conditionEdge="rising">
<ByValueCondition>
<ParameterCondition parameterRef="" value="" rule="lessThan"/>
</ByValueCondition>
</Condition>
<Condition name="criteria_KeepLaneTest" delay="0" conditionEdge="rising">
<ByValueCondition>
<ParameterCondition parameterRef="" value="" rule="lessThan"/>
</ByValueCondition>
</Condition>
<Condition name="criteria_CollisionTest" delay="0" conditionEdge="rising">
<ByValueCondition>
<ParameterCondition parameterRef="" value="" rule="lessThan"/>
</ByValueCondition>
</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 (46.41, 5.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_22481">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_close_to_adversary_22482">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_w_transform_22483">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_close_to_standing_22484">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_w_transform_22485">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_close_to_standing_22486">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_w_transform_22487">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_close_to_standing_22488">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_close_to_standing_22489">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_close_to_standing_22490">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_close_to_adversary_22491">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_close_to_adversary_22492">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_w_transform_22493">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
</Entities>
<Storyboard>
<Init>
<Actions>
<GlobalAction>
<EnvironmentAction>
<Environment name="Environment1">
<TimeOfDay animation="false" dateTime="2019-06-25T12:00:00"/>
<Weather cloudState="free">
<Sun intensity="0.85" azimuth="0" elevation="1.31"/>
<Fog visualRange="100000.0"/>
<Precipitation precipitationType="dry" intensity="0.0"/>
</Weather>
<RoadCondition frictionScaleFactor="1.0"/>
</Environment>
</EnvironmentAction>
</GlobalAction>
<Private entityRef="hero">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-9.4" y="-152.8" z="0.5" h="1.57079632679"/>
</Position>
</TeleportAction>
</PrivateAction>
<PrivateAction>
<ControllerAction>
<AssignControllerAction>
<Controller name="HeroAgent">
<Properties>
<Property name="module" value="external_control"/>
</Properties>
</Controller>
</AssignControllerAction>
<OverrideControllerValueAction>
<Throttle value="0" active="false"/>
<Brake value="0" active="false"/>
<Clutch value="0" active="false"/>
<ParkingBrake value="0" active="false"/>
<SteeringWheel value="0" active="false"/>
<Gear number="0" active="false"/>
</OverrideControllerValueAction>
</ControllerAction>
</PrivateAction>
</Private>
<Private entityRef="adversary">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-9.4" y="-71.0" z="0.5" h="1.57079632679"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="standing">
<PrivateAction>
<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_22481">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-17.931379318237305" y="-67.59270477294922" z="0.033799588680267334"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_close_to_adversary_22482">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-6.473543167114258" y="-66.03520965576172" z="0.03381229192018509"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_w_transform_22483">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="82.92207336425781" y="-6.7092156410217285" z="0.5"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_close_to_standing_22484">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-2.0515286922454834" y="30.34687614440918" z="0.0030651474371552467"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_w_transform_22485">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-16.4072208404541" y="95.1153335571289" z="0.5"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_close_to_standing_22486">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="1.5190552473068237" y="35.24112319946289" z="0.0030464171431958675"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_w_transform_22487">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-50.926002502441406" y="15.909331321716309" z="0.5"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_close_to_standing_22488">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-10.250947952270508" y="35.588768005371094" z="0.003059463342651725"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_close_to_standing_22489">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="1.2706252336502075" y="36.188724517822266" z="0.0030657576862722635"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_close_to_standing_22490">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="1.5875715017318726" y="35.56293487548828" z="0.003051338018849492"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_close_to_adversary_22491">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-7.532848834991455" y="-74.48470306396484" z="0.03380504623055458"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_close_to_adversary_22492">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-13.90121078491211" y="-64.60494232177734" z="0.03381668031215668"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_w_transform_22493">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-29.229394912719727" y="49.253047943115234" 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_22481">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_close_to_adversary_22482">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_w_transform_22483">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_close_to_standing_22484">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_w_transform_22485">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_close_to_standing_22486">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_w_transform_22487">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_close_to_standing_22488">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_close_to_standing_22489">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_close_to_standing_22490">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_close_to_adversary_22491">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_close_to_adversary_22492">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_w_transform_22493">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_w_transform_22494">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
</Entities>
<Storyboard>
<Init>
<Actions>
<GlobalAction>
<EnvironmentAction>
<Environment name="Environment1">
<TimeOfDay animation="false" dateTime="2019-06-25T12:00:00"/>
<Weather cloudState="free">
<Sun intensity="0.85" azimuth="0" elevation="1.31"/>
<Fog visualRange="100000.0"/>
<Precipitation precipitationType="dry" intensity="0.0"/>
</Weather>
<RoadCondition frictionScaleFactor="1.0"/>
</Environment>
</EnvironmentAction>
</GlobalAction>
<Private entityRef="hero">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-9.4" y="-152.8" z="0.5" h="1.57079632679"/>
</Position>
</TeleportAction>
</PrivateAction>
<PrivateAction>
<ControllerAction>
<AssignControllerAction>
<Controller name="HeroAgent">
<Properties>
<Property name="module" value="external_control"/>
</Properties>
</Controller>
</AssignControllerAction>
<OverrideControllerValueAction>
<Throttle value="0" active="false"/>
<Brake value="0" active="false"/>
<Clutch value="0" active="false"/>
<ParkingBrake value="0" active="false"/>
<SteeringWheel value="0" active="false"/>
<Gear number="0" active="false"/>
</OverrideControllerValueAction>
</ControllerAction>
</PrivateAction>
</Private>
<Private entityRef="adversary">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-9.4" y="-71.0" z="0.5" h="1.57079632679"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="standing">
<PrivateAction>
<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_22481">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-17.931379318237305" y="-67.59270477294922" z="0.033799588680267334"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_close_to_adversary_22482">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-6.473543167114258" y="-66.03520965576172" z="0.03381229192018509"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_w_transform_22483">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="82.92207336425781" y="-6.7092156410217285" z="0.5"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_close_to_standing_22484">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-2.0515286922454834" y="30.34687614440918" z="0.0030651474371552467"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_w_transform_22485">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-16.4072208404541" y="95.1153335571289" z="0.5"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_close_to_standing_22486">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="1.5190552473068237" y="35.24112319946289" z="0.0030464171431958675"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_w_transform_22487">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-50.926002502441406" y="15.909331321716309" z="0.5"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_close_to_standing_22488">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-10.250947952270508" y="35.588768005371094" z="0.003059463342651725"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_close_to_standing_22489">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="1.2706252336502075" y="36.188724517822266" z="0.0030657576862722635"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_close_to_standing_22490">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="1.5875715017318726" y="35.56293487548828" z="0.003051338018849492"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_close_to_adversary_22491">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-7.532848834991455" y="-74.48470306396484" z="0.03380504623055458"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_close_to_adversary_22492">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-13.90121078491211" y="-64.60494232177734" z="0.03381668031215668"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_w_transform_22493">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-29.229394912719727" y="49.253047943115234" z="0.5"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_w_transform_22494">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="46.40923309326172" y="5.628351211547852" 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 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_19958">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_close_to_standing_19959">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_w_transform_19961">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_close_to_adversary_19962">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_w_transform_19963">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_close_to_adversary_19964">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_w_transform_19965">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_w_transform_19967">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_w_transform_19968">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_close_to_adversary_19969">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_w_transform_19970">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_close_to_hero_19971">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_w_transform_19972">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_close_to_adversary_19973">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_w_transform_19974">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_close_to_adversary_19975">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_w_transform_19976">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_close_to_standing_19977">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_close_to_standing_19979">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_w_transform_19980">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_w_transform_19981">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_close_to_adversary_19982">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
</Entities>
<Storyboard>
<Init>
<Actions>
<GlobalAction>
<EnvironmentAction>
<Environment name="Environment1">
<TimeOfDay animation="false" dateTime="2019-06-25T12:00:00"/>
<Weather cloudState="free">
<Sun intensity="0.85" azimuth="0" elevation="1.31"/>
<Fog visualRange="100000.0"/>
<Precipitation precipitationType="dry" intensity="0.0"/>
</Weather>
<RoadCondition frictionScaleFactor="1.0"/>
</Environment>
</EnvironmentAction>
</GlobalAction>
<Private entityRef="hero">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-9.4" y="-152.8" z="0.5" h="1.57079632679"/>
</Position>
</TeleportAction>
</PrivateAction>
<PrivateAction>
<ControllerAction>
<AssignControllerAction>
<Controller name="HeroAgent">
<Properties>
<Property name="module" value="external_control"/>
</Properties>
</Controller>
</AssignControllerAction>
<OverrideControllerValueAction>
<Throttle value="0" active="false"/>
<Brake value="0" active="false"/>
<Clutch value="0" active="false"/>
<ParkingBrake value="0" active="false"/>
<SteeringWheel value="0" active="false"/>
<Gear number="0" active="false"/>
</OverrideControllerValueAction>
</ControllerAction>
</PrivateAction>
</Private>
<Private entityRef="adversary">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-9.4" y="-71.0" z="0.5" h="1.57079632679"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="standing">
<PrivateAction>
<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_19958">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-8.526895523071289" y="-156.96817016601562" z="0.0014286803780123591"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_close_to_standing_19959">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-6.2508673667907715" y="31.579673767089844" z="0.003046226454898715"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_w_transform_19961">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="92.23485565185547" y="-44.566856384277344" z="0.5"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_close_to_adversary_19962">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-5.538885593414307" y="-62.69538879394531" z="0.033822592347860336"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_w_transform_19963">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="92.20530700683594" y="-3.7218384742736816" z="0.5"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_close_to_adversary_19964">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-5.367124557495117" y="-70.53658294677734" z="0.03381847217679024"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_w_transform_19965">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-56.877685546875" y="-26.83835792541504" z="0.5"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_w_transform_19967">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="10.413885116577148" y="-3.6783242225646973" z="0.5"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_w_transform_19968">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-22.087177276611328" y="-47.39189910888672" z="0.5"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_close_to_adversary_19969">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-12.843998908996582" y="-70.8131332397461" z="0.03376857563853264"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_w_transform_19970">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-53.36238098144531" y="32.04876708984375" z="0.5"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_close_to_hero_19971">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-4.257627010345459" y="-148.8526153564453" z="0.0014286803780123591"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_w_transform_19972">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-3.2922604084014893" y="21.521533966064453" z="0.5"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_close_to_adversary_19973">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-11.606645584106445" y="-61.62210464477539" z="0.03383678197860718"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_w_transform_19974">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="84.44046020507812" y="-48.80355453491211" z="0.5"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_close_to_adversary_19975">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-18.68799591064453" y="-74.59319305419922" z="0.03383884206414223"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_w_transform_19976">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-55.36106491088867" y="-0.5770300626754761" z="0.5"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_close_to_standing_19977">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-12.196507453918457" y="22.936506271362305" z="0.003032417269423604"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_close_to_standing_19979">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-14.921892166137695" y="38.638309478759766" z="0.0030158995650708675"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_w_transform_19980">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-53.2631950378418" y="-39.04631805419922" z="0.5"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_w_transform_19981">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="91.67857360839844" y="95.90848541259766" z="0.5"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_close_to_adversary_19982">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-16.9483699798584" y="-67.37213134765625" z="0.03384510055184364"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
</Actions>
</Init>
<Story name="MyStory">
<Act name="Behavior">
<ManeuverGroup maximumExecutionCount="1" name="ManeuverSequence">
<Actors selectTriggeringEntities="false">
<EntityRef entityRef="adversary"/>
</Actors>
<Maneuver name="LaneChangeSimpleManeuver">
<Event name="AdversaryAccelerates" priority="overwrite">
<Action name="AdversaryAccelerates">
<PrivateAction>
<LongitudinalAction>
<SpeedAction>
<SpeedActionDynamics dynamicsShape="step" value="50" dynamicsDimension="distance"/>
<SpeedActionTarget>
<AbsoluteTargetSpeed value="5.0"/>
</SpeedActionTarget>
</SpeedAction>
</LongitudinalAction>
</PrivateAction>
</Action>
<StartTrigger>
<ConditionGroup>
<Condition name="StartCondition" delay="0" conditionEdge="rising">
<ByEntityCondition>
<TriggeringEntities triggeringEntitiesRule="any">
<EntityRef entityRef="hero"/>
</TriggeringEntities>
<EntityCondition>
<RelativeDistanceCondition entityRef="adversary" relativeDistanceType="cartesianDistance" value="40.0" freespace="false" rule="lessThan"/>
</EntityCondition>
</ByEntityCondition>
</Condition>
</ConditionGroup>
</StartTrigger>
</Event>
<Event name="AdversaryChangesLane" priority="overwrite">
<Action name="AdversaryChangesLane">
<PrivateAction>
<LateralAction>
<LaneChangeAction>
<LaneChangeActionDynamics dynamicsShape="linear" value="25" dynamicsDimension="distance"/>
<LaneChangeTarget>
<RelativeTargetLane entityRef="adversary" value="-1"/>
</LaneChangeTarget>
</LaneChangeAction>
</LateralAction>
</PrivateAction>
</Action>
<StartTrigger>
<ConditionGroup>
<Condition name="AfterAdversaryAccelerates" delay="0" conditionEdge="rising">
<ByValueCondition>
<StoryboardElementStateCondition storyboardElementType="action" storyboardElementRef="AdversaryAccelerates" state="completeState"/>
</ByValueCondition>
</Condition>
</ConditionGroup>
</StartTrigger>
</Event>
</Maneuver>
</ManeuverGroup>
<StartTrigger>
<ConditionGroup>
<Condition name="OverallStartCondition" delay="0" conditionEdge="rising">
<ByEntityCondition>
<TriggeringEntities triggeringEntitiesRule="any">
<EntityRef entityRef="hero"/>
</TriggeringEntities>
<EntityCondition>
<TraveledDistanceCondition value="1.0"/>
</EntityCondition>
</ByEntityCondition>
</Condition>
<Condition name="StartTime" delay="0" conditionEdge="rising">
<ByValueCondition>
<SimulationTimeCondition value="0" rule="equalTo"/>
</ByValueCondition>
</Condition>
</ConditionGroup>
</StartTrigger>
<StopTrigger>
<ConditionGroup>
<Condition name="EndCondition" delay="0" conditionEdge="rising">
<ByEntityCondition>
<TriggeringEntities triggeringEntitiesRule="any">
<EntityRef entityRef="hero"/>
</TriggeringEntities>
<EntityCondition>
<TraveledDistanceCondition value="200.0"/>
</EntityCondition>
</ByEntityCondition>
</Condition>
</ConditionGroup>
</StopTrigger>
</Act>
</Story>
<StopTrigger>
<ConditionGroup>
<Condition name="criteria_RunningStopTest" delay="0" conditionEdge="rising">
<ByValueCondition>
<ParameterCondition parameterRef="" value="" rule="lessThan"/>
</ByValueCondition>
</Condition>
<Condition name="criteria_RunningRedLightTest" delay="0" conditionEdge="rising">
<ByValueCondition>
<ParameterCondition parameterRef="" value="" rule="lessThan"/>
</ByValueCondition>
</Condition>
<Condition name="criteria_WrongLaneTest" delay="0" conditionEdge="rising">
<ByValueCondition>
<ParameterCondition parameterRef="" value="" rule="lessThan"/>
</ByValueCondition>
</Condition>
<Condition name="criteria_OnSidewalkTest" delay="0" conditionEdge="rising">
<ByValueCondition>
<ParameterCondition parameterRef="" value="" rule="lessThan"/>
</ByValueCondition>
</Condition>
<Condition name="criteria_KeepLaneTest" delay="0" conditionEdge="rising">
<ByValueCondition>
<ParameterCondition parameterRef="" value="" rule="lessThan"/>
</ByValueCondition>
</Condition>
<Condition name="criteria_CollisionTest" delay="0" conditionEdge="rising">
<ByValueCondition>
<ParameterCondition parameterRef="" value="" rule="lessThan"/>
</ByValueCondition>
</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_19958">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_close_to_standing_19959">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_w_transform_19961">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_close_to_adversary_19962">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_w_transform_19963">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_close_to_adversary_19964">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_w_transform_19965">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_w_transform_19967">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_w_transform_19968">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_close_to_adversary_19969">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_w_transform_19970">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_close_to_hero_19971">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_w_transform_19972">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_close_to_adversary_19973">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_w_transform_19974">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_close_to_adversary_19975">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_w_transform_19976">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_close_to_standing_19977">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_close_to_standing_19979">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_w_transform_19980">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_w_transform_19981">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_close_to_adversary_19982">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_close_to_hero_19983">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
</Entities>
<Storyboard>
<Init>
<Actions>
<GlobalAction>
<EnvironmentAction>
<Environment name="Environment1">
<TimeOfDay animation="false" dateTime="2019-06-25T12:00:00"/>
<Weather cloudState="free">
<Sun intensity="0.85" azimuth="0" elevation="1.31"/>
<Fog visualRange="100000.0"/>
<Precipitation precipitationType="dry" intensity="0.0"/>
</Weather>
<RoadCondition frictionScaleFactor="1.0"/>
</Environment>
</EnvironmentAction>
</GlobalAction>
<Private entityRef="hero">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-9.4" y="-152.8" z="0.5" h="1.57079632679"/>
</Position>
</TeleportAction>
</PrivateAction>
<PrivateAction>
<ControllerAction>
<AssignControllerAction>
<Controller name="HeroAgent">
<Properties>
<Property name="module" value="external_control"/>
</Properties>
</Controller>
</AssignControllerAction>
<OverrideControllerValueAction>
<Throttle value="0" active="false"/>
<Brake value="0" active="false"/>
<Clutch value="0" active="false"/>
<ParkingBrake value="0" active="false"/>
<SteeringWheel value="0" active="false"/>
<Gear number="0" active="false"/>
</OverrideControllerValueAction>
</ControllerAction>
</PrivateAction>
</Private>
<Private entityRef="adversary">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-9.4" y="-71.0" z="0.5" h="1.57079632679"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="standing">
<PrivateAction>
<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_19958">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-8.526895523071289" y="-156.96817016601562" z="0.0014286803780123591"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_close_to_standing_19959">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-6.2508673667907715" y="31.579673767089844" z="0.003046226454898715"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_w_transform_19961">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="92.23485565185547" y="-44.566856384277344" z="0.5"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_close_to_adversary_19962">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-5.538885593414307" y="-62.69538879394531" z="0.033822592347860336"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_w_transform_19963">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="92.20530700683594" y="-3.7218384742736816" z="0.5"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_close_to_adversary_19964">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-5.367124557495117" y="-70.53658294677734" z="0.03381847217679024"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_w_transform_19965">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-56.877685546875" y="-26.83835792541504" z="0.5"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_w_transform_19967">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="10.413885116577148" y="-3.6783242225646973" z="0.5"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_w_transform_19968">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-22.087177276611328" y="-47.39189910888672" z="0.5"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_close_to_adversary_19969">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-12.843998908996582" y="-70.8131332397461" z="0.03376857563853264"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_w_transform_19970">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-53.36238098144531" y="32.04876708984375" z="0.5"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_close_to_hero_19971">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-4.257627010345459" y="-148.8526153564453" z="0.0014286803780123591"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_w_transform_19972">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-3.2922604084014893" y="21.521533966064453" z="0.5"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_close_to_adversary_19973">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-11.606645584106445" y="-61.62210464477539" z="0.03383678197860718"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_w_transform_19974">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="84.44046020507812" y="-48.80355453491211" z="0.5"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_close_to_adversary_19975">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-18.68799591064453" y="-74.59319305419922" z="0.03383884206414223"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_w_transform_19976">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-55.36106491088867" y="-0.5770300626754761" z="0.5"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_close_to_standing_19977">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-12.196507453918457" y="22.936506271362305" z="0.003032417269423604"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_close_to_standing_19979">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-14.921892166137695" y="38.638309478759766" z="0.0030158995650708675"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_w_transform_19980">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-53.2631950378418" y="-39.04631805419922" z="0.5"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_w_transform_19981">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="91.67857360839844" y="95.90848541259766" z="0.5"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_close_to_adversary_19982">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-16.9483699798584" y="-67.37213134765625" z="0.03384510055184364"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_close_to_hero_19983">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-9.728065490722656" y="-156.72569274902344" z="0.0014286803780123591"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
</Actions>
</Init>
<Story name="MyStory">
<Act name="Behavior">
<ManeuverGroup maximumExecutionCount="1" name="ManeuverSequence">
<Actors selectTriggeringEntities="false">
<EntityRef entityRef="adversary"/>
</Actors>
<Maneuver name="LaneChangeSimpleManeuver">
<Event name="AdversaryAccelerates" priority="overwrite">
<Action name="AdversaryAccelerates">
<PrivateAction>
<LongitudinalAction>
<SpeedAction>
<SpeedActionDynamics dynamicsShape="step" value="50" dynamicsDimension="distance"/>
<SpeedActionTarget>
<AbsoluteTargetSpeed value="5.0"/>
</SpeedActionTarget>
</SpeedAction>
</LongitudinalAction>
</PrivateAction>
</Action>
<StartTrigger>
<ConditionGroup>
<Condition name="StartCondition" delay="0" conditionEdge="rising">
<ByEntityCondition>
<TriggeringEntities triggeringEntitiesRule="any">
<EntityRef entityRef="hero"/>
</TriggeringEntities>
<EntityCondition>
<RelativeDistanceCondition entityRef="adversary" relativeDistanceType="cartesianDistance" value="40.0" freespace="false" rule="lessThan"/>
</EntityCondition>
</ByEntityCondition>
</Condition>
</ConditionGroup>
</StartTrigger>
</Event>
<Event name="AdversaryChangesLane" priority="overwrite">
<Action name="AdversaryChangesLane">
<PrivateAction>
<LateralAction>
<LaneChangeAction>
<LaneChangeActionDynamics dynamicsShape="linear" value="25" dynamicsDimension="distance"/>
<LaneChangeTarget>
<RelativeTargetLane entityRef="adversary" value="-1"/>
</LaneChangeTarget>
</LaneChangeAction>
</LateralAction>
</PrivateAction>
</Action>
<StartTrigger>
<ConditionGroup>
<Condition name="AfterAdversaryAccelerates" delay="0" conditionEdge="rising">
<ByValueCondition>
<StoryboardElementStateCondition storyboardElementType="action" storyboardElementRef="AdversaryAccelerates" state="completeState"/>
</ByValueCondition>
</Condition>
</ConditionGroup>
</StartTrigger>
</Event>
</Maneuver>
</ManeuverGroup>
<StartTrigger>
<ConditionGroup>
<Condition name="OverallStartCondition" delay="0" conditionEdge="rising">
<ByEntityCondition>
<TriggeringEntities triggeringEntitiesRule="any">
<EntityRef entityRef="hero"/>
</TriggeringEntities>
<EntityCondition>
<TraveledDistanceCondition value="1.0"/>
</EntityCondition>
</ByEntityCondition>
</Condition>
<Condition name="StartTime" delay="0" conditionEdge="rising">
<ByValueCondition>
<SimulationTimeCondition value="0" rule="equalTo"/>
</ByValueCondition>
</Condition>
</ConditionGroup>
</StartTrigger>
<StopTrigger>
<ConditionGroup>
<Condition name="EndCondition" delay="0" conditionEdge="rising">
<ByEntityCondition>
<TriggeringEntities triggeringEntitiesRule="any">
<EntityRef entityRef="hero"/>
</TriggeringEntities>
<EntityCondition>
<TraveledDistanceCondition value="200.0"/>
</EntityCondition>
</ByEntityCondition>
</Condition>
</ConditionGroup>
</StopTrigger>
</Act>
</Story>
<StopTrigger>
<ConditionGroup>
<Condition name="criteria_RunningStopTest" delay="0" conditionEdge="rising">
<ByValueCondition>
<ParameterCondition parameterRef="" value="" rule="lessThan"/>
</ByValueCondition>
</Condition>
<Condition name="criteria_RunningRedLightTest" delay="0" conditionEdge="rising">
<ByValueCondition>
<ParameterCondition parameterRef="" value="" rule="lessThan"/>
</ByValueCondition>
</Condition>
<Condition name="criteria_WrongLaneTest" delay="0" conditionEdge="rising">
<ByValueCondition>
<ParameterCondition parameterRef="" value="" rule="lessThan"/>
</ByValueCondition>
</Condition>
<Condition name="criteria_OnSidewalkTest" delay="0" conditionEdge="rising">
<ByValueCondition>
<ParameterCondition parameterRef="" value="" rule="lessThan"/>
</ByValueCondition>
</Condition>
<Condition name="criteria_KeepLaneTest" delay="0" conditionEdge="rising">
<ByValueCondition>
<ParameterCondition parameterRef="" value="" rule="lessThan"/>
</ByValueCondition>
</Condition>
<Condition name="criteria_CollisionTest" delay="0" conditionEdge="rising">
<ByValueCondition>
<ParameterCondition parameterRef="" value="" rule="lessThan"/>
</ByValueCondition>
</Condition>
<Condition name="criteria_DrivenDistanceTest" delay="0" conditionEdge="rising">
<ByValueCondition>
<ParameterCondition parameterRef="distance_success" value="100" rule="lessThan"/>
</ByValueCondition>
</Condition>
</ConditionGroup>
</StopTrigger>
</Storyboard>
</OpenSCENARIO>
``` |
i would like to instruct you to add pedestrian at location (63.91, -73.94, 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_12627">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_close_to_adversary_12628">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_close_to_hero_12629">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_w_transform_12630">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_w_transform_12631">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_w_transform_12632">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_close_to_hero_12633">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_close_to_standing_12634">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_w_transform_12635">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_w_transform_12636">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_close_to_adversary_12637">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_close_to_standing_12638">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_close_to_standing_12639">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_close_to_adversary_12640">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_close_to_adversary_12641">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_w_transform_12642">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_w_transform_12643">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_w_transform_12644">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_w_transform_12645">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_close_to_adversary_12646">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_w_transform_12647">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
</Entities>
<Storyboard>
<Init>
<Actions>
<GlobalAction>
<EnvironmentAction>
<Environment name="Environment1">
<TimeOfDay animation="false" dateTime="2019-06-25T12:00:00"/>
<Weather cloudState="free">
<Sun intensity="0.85" azimuth="0" elevation="1.31"/>
<Fog visualRange="100000.0"/>
<Precipitation precipitationType="dry" intensity="0.0"/>
</Weather>
<RoadCondition frictionScaleFactor="1.0"/>
</Environment>
</EnvironmentAction>
</GlobalAction>
<Private entityRef="hero">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-9.4" y="-152.8" z="0.5" h="1.57079632679"/>
</Position>
</TeleportAction>
</PrivateAction>
<PrivateAction>
<ControllerAction>
<AssignControllerAction>
<Controller name="HeroAgent">
<Properties>
<Property name="module" value="external_control"/>
</Properties>
</Controller>
</AssignControllerAction>
<OverrideControllerValueAction>
<Throttle value="0" active="false"/>
<Brake value="0" active="false"/>
<Clutch value="0" active="false"/>
<ParkingBrake value="0" active="false"/>
<SteeringWheel value="0" active="false"/>
<Gear number="0" active="false"/>
</OverrideControllerValueAction>
</ControllerAction>
</PrivateAction>
</Private>
<Private entityRef="adversary">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-9.4" y="-71.0" z="0.5" h="1.57079632679"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="standing">
<PrivateAction>
<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_12627">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-17.922666549682617" y="-162.341064453125" z="0.0014286803780123591"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_close_to_adversary_12628">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-1.1527596712112427" y="-64.03152465820312" z="0.03379810228943825"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_close_to_hero_12629">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-13.725943565368652" y="-154.8909149169922" z="0.0014286803780123591"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_w_transform_12630">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="44.1960563659668" y="54.45394515991211" z="0.5"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_w_transform_12631">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="60.37681198120117" y="-99.21851348876953" z="0.5"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_w_transform_12632">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="26.23194122314453" y="1.1421209573745728" z="0.5"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_close_to_hero_12633">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="4.320336818695068" y="-156.23646545410156" z="0.0014286803780123591"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_close_to_standing_12634">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-1.015392541885376" y="30.862211227416992" z="0.003069991944357753"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_w_transform_12635">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="62.30667495727539" y="80.08965301513672" z="0.5"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_w_transform_12636">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-81.64292907714844" y="6.627233982086182" z="0.5"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_close_to_adversary_12637">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-6.923661708831787" y="-75.50931549072266" z="0.033752746880054474"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_close_to_standing_12638">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="0.764305591583252" y="27.340518951416016" z="0.0030837629456073046"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_close_to_standing_12639">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-9.3369722366333" y="36.35287857055664" z="0.0030580901075154543"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_close_to_adversary_12640">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-11.238101959228516" y="-73.24190521240234" z="0.03381664305925369"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_close_to_adversary_12641">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-18.621967315673828" y="-64.03337097167969" z="0.03377334401011467"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_w_transform_12642">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-71.29006958007812" y="37.57612228393555" z="0.5"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_w_transform_12643">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="60.28359603881836" y="-56.816532135009766" z="0.5"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_w_transform_12644">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="1.4768022298812866" y="33.65926742553711" z="0.5"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_w_transform_12645">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="93.20027923583984" y="18.76690101623535" z="0.5"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_close_to_adversary_12646">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-6.107131004333496" y="-61.35569381713867" z="0.0337933711707592"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_w_transform_12647">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="97.28347778320312" y="-54.3213996887207" 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_12627">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_close_to_adversary_12628">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_close_to_hero_12629">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_w_transform_12630">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_w_transform_12631">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_w_transform_12632">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_close_to_hero_12633">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_close_to_standing_12634">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_w_transform_12635">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_w_transform_12636">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_close_to_adversary_12637">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_close_to_standing_12638">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_close_to_standing_12639">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_close_to_adversary_12640">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_close_to_adversary_12641">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_w_transform_12642">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_w_transform_12643">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_w_transform_12644">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_w_transform_12645">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_close_to_adversary_12646">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_w_transform_12647">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_w_transform_12648">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
</Entities>
<Storyboard>
<Init>
<Actions>
<GlobalAction>
<EnvironmentAction>
<Environment name="Environment1">
<TimeOfDay animation="false" dateTime="2019-06-25T12:00:00"/>
<Weather cloudState="free">
<Sun intensity="0.85" azimuth="0" elevation="1.31"/>
<Fog visualRange="100000.0"/>
<Precipitation precipitationType="dry" intensity="0.0"/>
</Weather>
<RoadCondition frictionScaleFactor="1.0"/>
</Environment>
</EnvironmentAction>
</GlobalAction>
<Private entityRef="hero">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-9.4" y="-152.8" z="0.5" h="1.57079632679"/>
</Position>
</TeleportAction>
</PrivateAction>
<PrivateAction>
<ControllerAction>
<AssignControllerAction>
<Controller name="HeroAgent">
<Properties>
<Property name="module" value="external_control"/>
</Properties>
</Controller>
</AssignControllerAction>
<OverrideControllerValueAction>
<Throttle value="0" active="false"/>
<Brake value="0" active="false"/>
<Clutch value="0" active="false"/>
<ParkingBrake value="0" active="false"/>
<SteeringWheel value="0" active="false"/>
<Gear number="0" active="false"/>
</OverrideControllerValueAction>
</ControllerAction>
</PrivateAction>
</Private>
<Private entityRef="adversary">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-9.4" y="-71.0" z="0.5" h="1.57079632679"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="standing">
<PrivateAction>
<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_12627">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-17.922666549682617" y="-162.341064453125" z="0.0014286803780123591"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_close_to_adversary_12628">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-1.1527596712112427" y="-64.03152465820312" z="0.03379810228943825"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_close_to_hero_12629">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-13.725943565368652" y="-154.8909149169922" z="0.0014286803780123591"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_w_transform_12630">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="44.1960563659668" y="54.45394515991211" z="0.5"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_w_transform_12631">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="60.37681198120117" y="-99.21851348876953" z="0.5"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_w_transform_12632">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="26.23194122314453" y="1.1421209573745728" z="0.5"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_close_to_hero_12633">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="4.320336818695068" y="-156.23646545410156" z="0.0014286803780123591"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_close_to_standing_12634">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-1.015392541885376" y="30.862211227416992" z="0.003069991944357753"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_w_transform_12635">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="62.30667495727539" y="80.08965301513672" z="0.5"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_w_transform_12636">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-81.64292907714844" y="6.627233982086182" z="0.5"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_close_to_adversary_12637">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-6.923661708831787" y="-75.50931549072266" z="0.033752746880054474"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_close_to_standing_12638">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="0.764305591583252" y="27.340518951416016" z="0.0030837629456073046"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_close_to_standing_12639">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-9.3369722366333" y="36.35287857055664" z="0.0030580901075154543"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_close_to_adversary_12640">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-11.238101959228516" y="-73.24190521240234" z="0.03381664305925369"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_close_to_adversary_12641">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-18.621967315673828" y="-64.03337097167969" z="0.03377334401011467"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_w_transform_12642">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-71.29006958007812" y="37.57612228393555" z="0.5"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_w_transform_12643">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="60.28359603881836" y="-56.816532135009766" z="0.5"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_w_transform_12644">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="1.4768022298812866" y="33.65926742553711" z="0.5"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_w_transform_12645">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="93.20027923583984" y="18.76690101623535" z="0.5"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_close_to_adversary_12646">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-6.107131004333496" y="-61.35569381713867" z="0.0337933711707592"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_w_transform_12647">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="97.28347778320312" y="-54.3213996887207" z="0.5"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_w_transform_12648">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="63.9079475402832" y="-73.94107818603516" 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 remove pedestrian actor named pedestrian_w_transform_13207?
```
<?xml version="1.0" ?>
<OpenSCENARIO>
<FileHeader revMajor="1" revMinor="0" date="2020-03-24T12:00:00" description="CARLA:LaneChangeSimple" author=""/>
<ParameterDeclarations/>
<CatalogLocations/>
<RoadNetwork>
<LogicFile filepath="Town04"/>
<SceneGraphFile filepath=""/>
</RoadNetwork>
<Entities>
<ScenarioObject name="hero">
<Vehicle name="vehicle.tesla.model3" vehicleCategory="car">
<ParameterDeclarations/>
<Performance maxSpeed="69.444" maxAcceleration="200" maxDeceleration="10.0"/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2.1" length="4.5" height="1.8"/>
</BoundingBox>
<Axles>
<FrontAxle maxSteering="0.5" wheelDiameter="0.6" trackWidth="1.8" positionX="3.1" positionZ="0.3"/>
<RearAxle maxSteering="0.0" wheelDiameter="0.6" trackWidth="1.8" positionX="0.0" positionZ="0.3"/>
</Axles>
<Properties>
<Property name="type" value="ego_vehicle"/>
</Properties>
</Vehicle>
</ScenarioObject>
<ScenarioObject name="adversary">
<Vehicle name="vehicle.lincoln.mkz_2017" vehicleCategory="car">
<ParameterDeclarations/>
<Performance maxSpeed="69.444" maxAcceleration="200" maxDeceleration="10.0"/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2.1" length="4.5" height="1.8"/>
</BoundingBox>
<Axles>
<FrontAxle maxSteering="0.5" wheelDiameter="0.6" trackWidth="1.8" positionX="3.1" positionZ="0.3"/>
<RearAxle maxSteering="0.0" wheelDiameter="0.6" trackWidth="1.8" positionX="0.0" positionZ="0.3"/>
</Axles>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Vehicle>
</ScenarioObject>
<ScenarioObject name="standing">
<Vehicle name="vehicle.volkswagen.t2" vehicleCategory="car">
<ParameterDeclarations/>
<Performance maxSpeed="69.444" maxAcceleration="200" maxDeceleration="10.0"/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2.1" length="4.5" height="1.8"/>
</BoundingBox>
<Axles>
<FrontAxle maxSteering="0.5" wheelDiameter="0.6" trackWidth="1.8" positionX="3.1" positionZ="0.3"/>
<RearAxle maxSteering="0.0" wheelDiameter="0.6" 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_13180">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_w_transform_13181">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_close_to_hero_13183">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_close_to_hero_13184">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_close_to_hero_13185">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_w_transform_13186">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_close_to_adversary_13187">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_close_to_adversary_13188">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_w_transform_13189">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_w_transform_13190">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_close_to_adversary_13191">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_w_transform_13192">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_close_to_adversary_13194">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_w_transform_13195">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_w_transform_13196">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_close_to_hero_13198">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_w_transform_13199">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_w_transform_13200">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_w_transform_13201">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_w_transform_13202">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_w_transform_13203">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_close_to_standing_13204">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_w_transform_13205">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_close_to_standing_13206">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_w_transform_13207">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
</Entities>
<Storyboard>
<Init>
<Actions>
<GlobalAction>
<EnvironmentAction>
<Environment name="Environment1">
<TimeOfDay animation="false" dateTime="2019-06-25T12:00:00"/>
<Weather cloudState="free">
<Sun intensity="0.85" azimuth="0" elevation="1.31"/>
<Fog visualRange="100000.0"/>
<Precipitation precipitationType="dry" intensity="0.0"/>
</Weather>
<RoadCondition frictionScaleFactor="1.0"/>
</Environment>
</EnvironmentAction>
</GlobalAction>
<Private entityRef="hero">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-9.4" y="-152.8" z="0.5" h="1.57079632679"/>
</Position>
</TeleportAction>
</PrivateAction>
<PrivateAction>
<ControllerAction>
<AssignControllerAction>
<Controller name="HeroAgent">
<Properties>
<Property name="module" value="external_control"/>
</Properties>
</Controller>
</AssignControllerAction>
<OverrideControllerValueAction>
<Throttle value="0" active="false"/>
<Brake value="0" active="false"/>
<Clutch value="0" active="false"/>
<ParkingBrake value="0" active="false"/>
<SteeringWheel value="0" active="false"/>
<Gear number="0" active="false"/>
</OverrideControllerValueAction>
</ControllerAction>
</PrivateAction>
</Private>
<Private entityRef="adversary">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-9.4" y="-71.0" z="0.5" h="1.57079632679"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="standing">
<PrivateAction>
<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_13180">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-2.2149131298065186" y="29.458820343017578" z="0.003031577914953232"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_w_transform_13181">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="45.90741729736328" y="-43.39455032348633" z="0.5"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_close_to_hero_13183">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-16.84180450439453" y="-152.03317260742188" z="0.0014286803780123591"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_close_to_hero_13184">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-3.5652928352355957" y="-143.30764770507812" z="0.0014286803780123591"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_close_to_hero_13185">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-16.422332763671875" y="-161.39642333984375" z="0.0014286803780123591"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_w_transform_13186">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-18.255250930786133" y="-82.9731674194336" z="0.5"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_close_to_adversary_13187">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-11.075394630432129" y="-66.6892318725586" z="0.03382858261466026"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_close_to_adversary_13188">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-15.162643432617188" y="-60.74297332763672" z="0.03376148268580437"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_w_transform_13189">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="56.59981918334961" y="79.42404174804688" z="0.5"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_w_transform_13190">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-56.63389205932617" y="-32.63149642944336" z="0.5"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_close_to_adversary_13191">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-15.523435592651367" y="-78.15153503417969" z="0.033795662224292755"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_w_transform_13192">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-9.124987602233887" y="-12.193115234375" z="0.5"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_close_to_adversary_13194">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-5.171431064605713" y="-68.11266326904297" z="0.03377647325396538"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_w_transform_13195">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="60.56993865966797" y="51.071693420410156" z="0.5"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_w_transform_13196">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-71.62892150878906" y="-49.607513427734375" z="0.5"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_close_to_hero_13198">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-6.245009899139404" y="-153.32850646972656" z="0.0014286803780123591"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_w_transform_13199">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-12.426342010498047" y="67.36192321777344" z="0.5"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_w_transform_13200">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="98.8062973022461" y="-30.765850067138672" z="0.5"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_w_transform_13201">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="70.31555938720703" y="34.166259765625" z="0.5"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_w_transform_13202">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-9.597173690795898" y="-52.40620422363281" z="0.5"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_w_transform_13203">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="56.84375762939453" y="-5.684765338897705" z="0.5"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_close_to_standing_13204">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-7.0651936531066895" y="38.564979553222656" z="0.003025703364983201"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_w_transform_13205">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-47.988731384277344" y="-34.450958251953125" z="0.5"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_close_to_standing_13206">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-4.163463592529297" y="35.87495422363281" z="0.0030448150355368853"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_w_transform_13207">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="87.27542114257812" y="31.087900161743164" 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_13180">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_w_transform_13181">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_close_to_hero_13183">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_close_to_hero_13184">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_close_to_hero_13185">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_w_transform_13186">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_close_to_adversary_13187">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_close_to_adversary_13188">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_w_transform_13189">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_w_transform_13190">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_close_to_adversary_13191">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_w_transform_13192">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_close_to_adversary_13194">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_w_transform_13195">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_w_transform_13196">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_close_to_hero_13198">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_w_transform_13199">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_w_transform_13200">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_w_transform_13201">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_w_transform_13202">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_w_transform_13203">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_close_to_standing_13204">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_w_transform_13205">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_close_to_standing_13206">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
</Entities>
<Storyboard>
<Init>
<Actions>
<GlobalAction>
<EnvironmentAction>
<Environment name="Environment1">
<TimeOfDay animation="false" dateTime="2019-06-25T12:00:00"/>
<Weather cloudState="free">
<Sun intensity="0.85" azimuth="0" elevation="1.31"/>
<Fog visualRange="100000.0"/>
<Precipitation precipitationType="dry" intensity="0.0"/>
</Weather>
<RoadCondition frictionScaleFactor="1.0"/>
</Environment>
</EnvironmentAction>
</GlobalAction>
<Private entityRef="hero">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-9.4" y="-152.8" z="0.5" h="1.57079632679"/>
</Position>
</TeleportAction>
</PrivateAction>
<PrivateAction>
<ControllerAction>
<AssignControllerAction>
<Controller name="HeroAgent">
<Properties>
<Property name="module" value="external_control"/>
</Properties>
</Controller>
</AssignControllerAction>
<OverrideControllerValueAction>
<Throttle value="0" active="false"/>
<Brake value="0" active="false"/>
<Clutch value="0" active="false"/>
<ParkingBrake value="0" active="false"/>
<SteeringWheel value="0" active="false"/>
<Gear number="0" active="false"/>
</OverrideControllerValueAction>
</ControllerAction>
</PrivateAction>
</Private>
<Private entityRef="adversary">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-9.4" y="-71.0" z="0.5" h="1.57079632679"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="standing">
<PrivateAction>
<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_13180">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-2.2149131298065186" y="29.458820343017578" z="0.003031577914953232"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_w_transform_13181">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="45.90741729736328" y="-43.39455032348633" z="0.5"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_close_to_hero_13183">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-16.84180450439453" y="-152.03317260742188" z="0.0014286803780123591"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_close_to_hero_13184">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-3.5652928352355957" y="-143.30764770507812" z="0.0014286803780123591"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_close_to_hero_13185">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-16.422332763671875" y="-161.39642333984375" z="0.0014286803780123591"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_w_transform_13186">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-18.255250930786133" y="-82.9731674194336" z="0.5"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_close_to_adversary_13187">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-11.075394630432129" y="-66.6892318725586" z="0.03382858261466026"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_close_to_adversary_13188">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-15.162643432617188" y="-60.74297332763672" z="0.03376148268580437"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_w_transform_13189">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="56.59981918334961" y="79.42404174804688" z="0.5"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_w_transform_13190">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-56.63389205932617" y="-32.63149642944336" z="0.5"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_close_to_adversary_13191">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-15.523435592651367" y="-78.15153503417969" z="0.033795662224292755"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_w_transform_13192">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-9.124987602233887" y="-12.193115234375" z="0.5"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_close_to_adversary_13194">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-5.171431064605713" y="-68.11266326904297" z="0.03377647325396538"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_w_transform_13195">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="60.56993865966797" y="51.071693420410156" z="0.5"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_w_transform_13196">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-71.62892150878906" y="-49.607513427734375" z="0.5"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_close_to_hero_13198">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-6.245009899139404" y="-153.32850646972656" z="0.0014286803780123591"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_w_transform_13199">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-12.426342010498047" y="67.36192321777344" z="0.5"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_w_transform_13200">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="98.8062973022461" y="-30.765850067138672" z="0.5"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_w_transform_13201">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="70.31555938720703" y="34.166259765625" z="0.5"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_w_transform_13202">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-9.597173690795898" y="-52.40620422363281" z="0.5"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_w_transform_13203">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="56.84375762939453" y="-5.684765338897705" z="0.5"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_close_to_standing_13204">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-7.0651936531066895" y="38.564979553222656" z="0.003025703364983201"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_w_transform_13205">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-47.988731384277344" y="-34.450958251953125" z="0.5"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_close_to_standing_13206">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-4.163463592529297" y="35.87495422363281" z="0.0030448150355368853"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
</Actions>
</Init>
<Story name="MyStory">
<Act name="Behavior">
<ManeuverGroup maximumExecutionCount="1" name="ManeuverSequence">
<Actors selectTriggeringEntities="false">
<EntityRef entityRef="adversary"/>
</Actors>
<Maneuver name="LaneChangeSimpleManeuver">
<Event name="AdversaryAccelerates" priority="overwrite">
<Action name="AdversaryAccelerates">
<PrivateAction>
<LongitudinalAction>
<SpeedAction>
<SpeedActionDynamics dynamicsShape="step" value="50" dynamicsDimension="distance"/>
<SpeedActionTarget>
<AbsoluteTargetSpeed value="5.0"/>
</SpeedActionTarget>
</SpeedAction>
</LongitudinalAction>
</PrivateAction>
</Action>
<StartTrigger>
<ConditionGroup>
<Condition name="StartCondition" delay="0" conditionEdge="rising">
<ByEntityCondition>
<TriggeringEntities triggeringEntitiesRule="any">
<EntityRef entityRef="hero"/>
</TriggeringEntities>
<EntityCondition>
<RelativeDistanceCondition entityRef="adversary" relativeDistanceType="cartesianDistance" value="40.0" freespace="false" rule="lessThan"/>
</EntityCondition>
</ByEntityCondition>
</Condition>
</ConditionGroup>
</StartTrigger>
</Event>
<Event name="AdversaryChangesLane" priority="overwrite">
<Action name="AdversaryChangesLane">
<PrivateAction>
<LateralAction>
<LaneChangeAction>
<LaneChangeActionDynamics dynamicsShape="linear" value="25" dynamicsDimension="distance"/>
<LaneChangeTarget>
<RelativeTargetLane entityRef="adversary" value="-1"/>
</LaneChangeTarget>
</LaneChangeAction>
</LateralAction>
</PrivateAction>
</Action>
<StartTrigger>
<ConditionGroup>
<Condition name="AfterAdversaryAccelerates" delay="0" conditionEdge="rising">
<ByValueCondition>
<StoryboardElementStateCondition storyboardElementType="action" storyboardElementRef="AdversaryAccelerates" state="completeState"/>
</ByValueCondition>
</Condition>
</ConditionGroup>
</StartTrigger>
</Event>
</Maneuver>
</ManeuverGroup>
<StartTrigger>
<ConditionGroup>
<Condition name="OverallStartCondition" delay="0" conditionEdge="rising">
<ByEntityCondition>
<TriggeringEntities triggeringEntitiesRule="any">
<EntityRef entityRef="hero"/>
</TriggeringEntities>
<EntityCondition>
<TraveledDistanceCondition value="1.0"/>
</EntityCondition>
</ByEntityCondition>
</Condition>
<Condition name="StartTime" delay="0" conditionEdge="rising">
<ByValueCondition>
<SimulationTimeCondition value="0" rule="equalTo"/>
</ByValueCondition>
</Condition>
</ConditionGroup>
</StartTrigger>
<StopTrigger>
<ConditionGroup>
<Condition name="EndCondition" delay="0" conditionEdge="rising">
<ByEntityCondition>
<TriggeringEntities triggeringEntitiesRule="any">
<EntityRef entityRef="hero"/>
</TriggeringEntities>
<EntityCondition>
<TraveledDistanceCondition value="200.0"/>
</EntityCondition>
</ByEntityCondition>
</Condition>
</ConditionGroup>
</StopTrigger>
</Act>
</Story>
<StopTrigger>
<ConditionGroup>
<Condition name="criteria_RunningStopTest" delay="0" conditionEdge="rising">
<ByValueCondition>
<ParameterCondition parameterRef="" value="" rule="lessThan"/>
</ByValueCondition>
</Condition>
<Condition name="criteria_RunningRedLightTest" delay="0" conditionEdge="rising">
<ByValueCondition>
<ParameterCondition parameterRef="" value="" rule="lessThan"/>
</ByValueCondition>
</Condition>
<Condition name="criteria_WrongLaneTest" delay="0" conditionEdge="rising">
<ByValueCondition>
<ParameterCondition parameterRef="" value="" rule="lessThan"/>
</ByValueCondition>
</Condition>
<Condition name="criteria_OnSidewalkTest" delay="0" conditionEdge="rising">
<ByValueCondition>
<ParameterCondition parameterRef="" value="" rule="lessThan"/>
</ByValueCondition>
</Condition>
<Condition name="criteria_KeepLaneTest" delay="0" conditionEdge="rising">
<ByValueCondition>
<ParameterCondition parameterRef="" value="" rule="lessThan"/>
</ByValueCondition>
</Condition>
<Condition name="criteria_CollisionTest" delay="0" conditionEdge="rising">
<ByValueCondition>
<ParameterCondition parameterRef="" value="" rule="lessThan"/>
</ByValueCondition>
</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 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_1558">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_w_transform_1560">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_close_to_standing_1562">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_close_to_adversary_1565">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_w_transform_1566">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_close_to_adversary_1567">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_close_to_standing_1568">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_w_transform_1570">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_w_transform_1571">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_close_to_adversary_1572">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_w_transform_1573">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_w_transform_1574">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_w_transform_1575">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_close_to_adversary_1576">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_w_transform_1577">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_w_transform_1578">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_w_transform_1579">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_close_to_adversary_1580">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_w_transform_1582">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
</Entities>
<Storyboard>
<Init>
<Actions>
<GlobalAction>
<EnvironmentAction>
<Environment name="Environment1">
<TimeOfDay animation="false" dateTime="2019-06-25T12:00:00"/>
<Weather cloudState="free">
<Sun intensity="0.85" azimuth="0" elevation="1.31"/>
<Fog visualRange="100000.0"/>
<Precipitation precipitationType="dry" intensity="0.0"/>
</Weather>
<RoadCondition frictionScaleFactor="1.0"/>
</Environment>
</EnvironmentAction>
</GlobalAction>
<Private entityRef="hero">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-9.4" y="-152.8" z="0.5" h="1.57079632679"/>
</Position>
</TeleportAction>
</PrivateAction>
<PrivateAction>
<ControllerAction>
<AssignControllerAction>
<Controller name="HeroAgent">
<Properties>
<Property name="module" value="external_control"/>
</Properties>
</Controller>
</AssignControllerAction>
<OverrideControllerValueAction>
<Throttle value="0" active="false"/>
<Brake value="0" active="false"/>
<Clutch value="0" active="false"/>
<ParkingBrake value="0" active="false"/>
<SteeringWheel value="0" active="false"/>
<Gear number="0" active="false"/>
</OverrideControllerValueAction>
</ControllerAction>
</PrivateAction>
</Private>
<Private entityRef="adversary">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-9.4" y="-71.0" z="0.5" h="1.57079632679"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="standing">
<PrivateAction>
<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_1558">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-15.9425630569458" y="-67.84578704833984" z="0.033780287951231"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_w_transform_1560">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-66.87749481201172" y="-44.7907600402832" z="0.5"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_close_to_standing_1562">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-17.692533493041992" y="29.439407348632812" z="0.0030394361820071936"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_close_to_adversary_1565">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-17.005748748779297" y="-69.3143539428711" z="0.033753469586372375"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_w_transform_1566">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="69.38768005371094" y="-10.270122528076172" z="0.5"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_close_to_adversary_1567">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-8.836796760559082" y="-72.56045532226562" z="0.03375766798853874"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_close_to_standing_1568">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-9.72188949584961" y="21.817501068115234" z="0.0030496215913444757"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_w_transform_1570">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-73.30343627929688" y="-81.47185516357422" z="0.5"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_w_transform_1571">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-68.03755950927734" y="-29.93861961364746" z="0.5"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_close_to_adversary_1572">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-11.507176399230957" y="-73.6815414428711" z="0.033822670578956604"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_w_transform_1573">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="8.514074325561523" y="34.988197326660156" z="0.5"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_w_transform_1574">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-53.858707427978516" y="74.837646484375" z="0.5"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_w_transform_1575">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="5.658524990081787" y="-86.27130126953125" z="0.5"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_close_to_adversary_1576">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-18.961345672607422" y="-63.89306640625" z="0.03383376821875572"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_w_transform_1577">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="69.36274719238281" y="-71.66692352294922" z="0.5"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_w_transform_1578">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="89.66365814208984" y="-26.66535758972168" z="0.5"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_w_transform_1579">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="47.31938171386719" y="-88.06902313232422" z="0.5"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_close_to_adversary_1580">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-17.660295486450195" y="-79.81698608398438" z="0.03379501402378082"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_w_transform_1582">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-92.09884643554688" y="47.17768096923828" 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_1558">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_w_transform_1560">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_close_to_standing_1562">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_close_to_adversary_1565">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_w_transform_1566">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_close_to_adversary_1567">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_close_to_standing_1568">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_w_transform_1570">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_w_transform_1571">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_w_transform_1573">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_w_transform_1574">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_w_transform_1575">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_close_to_adversary_1576">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_w_transform_1577">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_w_transform_1578">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_w_transform_1579">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_close_to_adversary_1580">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_w_transform_1582">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
</Entities>
<Storyboard>
<Init>
<Actions>
<GlobalAction>
<EnvironmentAction>
<Environment name="Environment1">
<TimeOfDay animation="false" dateTime="2019-06-25T12:00:00"/>
<Weather cloudState="free">
<Sun intensity="0.85" azimuth="0" elevation="1.31"/>
<Fog visualRange="100000.0"/>
<Precipitation precipitationType="dry" intensity="0.0"/>
</Weather>
<RoadCondition frictionScaleFactor="1.0"/>
</Environment>
</EnvironmentAction>
</GlobalAction>
<Private entityRef="hero">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-9.4" y="-152.8" z="0.5" h="1.57079632679"/>
</Position>
</TeleportAction>
</PrivateAction>
<PrivateAction>
<ControllerAction>
<AssignControllerAction>
<Controller name="HeroAgent">
<Properties>
<Property name="module" value="external_control"/>
</Properties>
</Controller>
</AssignControllerAction>
<OverrideControllerValueAction>
<Throttle value="0" active="false"/>
<Brake value="0" active="false"/>
<Clutch value="0" active="false"/>
<ParkingBrake value="0" active="false"/>
<SteeringWheel value="0" active="false"/>
<Gear number="0" active="false"/>
</OverrideControllerValueAction>
</ControllerAction>
</PrivateAction>
</Private>
<Private entityRef="adversary">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-9.4" y="-71.0" z="0.5" h="1.57079632679"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="standing">
<PrivateAction>
<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_1558">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-15.9425630569458" y="-67.84578704833984" z="0.033780287951231"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_w_transform_1560">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-66.87749481201172" y="-44.7907600402832" z="0.5"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_close_to_standing_1562">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-17.692533493041992" y="29.439407348632812" z="0.0030394361820071936"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_close_to_adversary_1565">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-17.005748748779297" y="-69.3143539428711" z="0.033753469586372375"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_w_transform_1566">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="69.38768005371094" y="-10.270122528076172" z="0.5"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_close_to_adversary_1567">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-8.836796760559082" y="-72.56045532226562" z="0.03375766798853874"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_close_to_standing_1568">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-9.72188949584961" y="21.817501068115234" z="0.0030496215913444757"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_w_transform_1570">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-73.30343627929688" y="-81.47185516357422" z="0.5"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_w_transform_1571">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-68.03755950927734" y="-29.93861961364746" z="0.5"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_w_transform_1573">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="8.514074325561523" y="34.988197326660156" z="0.5"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_w_transform_1574">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-53.858707427978516" y="74.837646484375" z="0.5"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_w_transform_1575">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="5.658524990081787" y="-86.27130126953125" z="0.5"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_close_to_adversary_1576">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-18.961345672607422" y="-63.89306640625" z="0.03383376821875572"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_w_transform_1577">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="69.36274719238281" y="-71.66692352294922" z="0.5"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_w_transform_1578">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="89.66365814208984" y="-26.66535758972168" z="0.5"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_w_transform_1579">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="47.31938171386719" y="-88.06902313232422" z="0.5"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_close_to_adversary_1580">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-17.660295486450195" y="-79.81698608398438" z="0.03379501402378082"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_w_transform_1582">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-92.09884643554688" y="47.17768096923828" z="0.5"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
</Actions>
</Init>
<Story name="MyStory">
<Act name="Behavior">
<ManeuverGroup maximumExecutionCount="1" name="ManeuverSequence">
<Actors selectTriggeringEntities="false">
<EntityRef entityRef="adversary"/>
</Actors>
<Maneuver name="LaneChangeSimpleManeuver">
<Event name="AdversaryAccelerates" priority="overwrite">
<Action name="AdversaryAccelerates">
<PrivateAction>
<LongitudinalAction>
<SpeedAction>
<SpeedActionDynamics dynamicsShape="step" value="50" dynamicsDimension="distance"/>
<SpeedActionTarget>
<AbsoluteTargetSpeed value="5.0"/>
</SpeedActionTarget>
</SpeedAction>
</LongitudinalAction>
</PrivateAction>
</Action>
<StartTrigger>
<ConditionGroup>
<Condition name="StartCondition" delay="0" conditionEdge="rising">
<ByEntityCondition>
<TriggeringEntities triggeringEntitiesRule="any">
<EntityRef entityRef="hero"/>
</TriggeringEntities>
<EntityCondition>
<RelativeDistanceCondition entityRef="adversary" relativeDistanceType="cartesianDistance" value="40.0" freespace="false" rule="lessThan"/>
</EntityCondition>
</ByEntityCondition>
</Condition>
</ConditionGroup>
</StartTrigger>
</Event>
<Event name="AdversaryChangesLane" priority="overwrite">
<Action name="AdversaryChangesLane">
<PrivateAction>
<LateralAction>
<LaneChangeAction>
<LaneChangeActionDynamics dynamicsShape="linear" value="25" dynamicsDimension="distance"/>
<LaneChangeTarget>
<RelativeTargetLane entityRef="adversary" value="-1"/>
</LaneChangeTarget>
</LaneChangeAction>
</LateralAction>
</PrivateAction>
</Action>
<StartTrigger>
<ConditionGroup>
<Condition name="AfterAdversaryAccelerates" delay="0" conditionEdge="rising">
<ByValueCondition>
<StoryboardElementStateCondition storyboardElementType="action" storyboardElementRef="AdversaryAccelerates" state="completeState"/>
</ByValueCondition>
</Condition>
</ConditionGroup>
</StartTrigger>
</Event>
</Maneuver>
</ManeuverGroup>
<StartTrigger>
<ConditionGroup>
<Condition name="OverallStartCondition" delay="0" conditionEdge="rising">
<ByEntityCondition>
<TriggeringEntities triggeringEntitiesRule="any">
<EntityRef entityRef="hero"/>
</TriggeringEntities>
<EntityCondition>
<TraveledDistanceCondition value="1.0"/>
</EntityCondition>
</ByEntityCondition>
</Condition>
<Condition name="StartTime" delay="0" conditionEdge="rising">
<ByValueCondition>
<SimulationTimeCondition value="0" rule="equalTo"/>
</ByValueCondition>
</Condition>
</ConditionGroup>
</StartTrigger>
<StopTrigger>
<ConditionGroup>
<Condition name="EndCondition" delay="0" conditionEdge="rising">
<ByEntityCondition>
<TriggeringEntities triggeringEntitiesRule="any">
<EntityRef entityRef="hero"/>
</TriggeringEntities>
<EntityCondition>
<TraveledDistanceCondition value="200.0"/>
</EntityCondition>
</ByEntityCondition>
</Condition>
</ConditionGroup>
</StopTrigger>
</Act>
</Story>
<StopTrigger>
<ConditionGroup>
<Condition name="criteria_RunningStopTest" delay="0" conditionEdge="rising">
<ByValueCondition>
<ParameterCondition parameterRef="" value="" rule="lessThan"/>
</ByValueCondition>
</Condition>
<Condition name="criteria_RunningRedLightTest" delay="0" conditionEdge="rising">
<ByValueCondition>
<ParameterCondition parameterRef="" value="" rule="lessThan"/>
</ByValueCondition>
</Condition>
<Condition name="criteria_WrongLaneTest" delay="0" conditionEdge="rising">
<ByValueCondition>
<ParameterCondition parameterRef="" value="" rule="lessThan"/>
</ByValueCondition>
</Condition>
<Condition name="criteria_OnSidewalkTest" delay="0" conditionEdge="rising">
<ByValueCondition>
<ParameterCondition parameterRef="" value="" rule="lessThan"/>
</ByValueCondition>
</Condition>
<Condition name="criteria_KeepLaneTest" delay="0" conditionEdge="rising">
<ByValueCondition>
<ParameterCondition parameterRef="" value="" rule="lessThan"/>
</ByValueCondition>
</Condition>
<Condition name="criteria_CollisionTest" delay="0" conditionEdge="rising">
<ByValueCondition>
<ParameterCondition parameterRef="" value="" rule="lessThan"/>
</ByValueCondition>
</Condition>
<Condition name="criteria_DrivenDistanceTest" delay="0" conditionEdge="rising">
<ByValueCondition>
<ParameterCondition parameterRef="distance_success" value="100" rule="lessThan"/>
</ByValueCondition>
</Condition>
</ConditionGroup>
</StopTrigger>
</Storyboard>
</OpenSCENARIO>
``` |
i would like to command you to remove pedestrian actor named pedestrian_w_transform_19402?
```
<?xml version="1.0" ?>
<OpenSCENARIO>
<FileHeader revMajor="1" revMinor="0" date="2020-03-24T12:00:00" description="CARLA:LaneChangeSimple" author=""/>
<ParameterDeclarations/>
<CatalogLocations/>
<RoadNetwork>
<LogicFile filepath="Town04"/>
<SceneGraphFile filepath=""/>
</RoadNetwork>
<Entities>
<ScenarioObject name="hero">
<Vehicle name="vehicle.tesla.model3" vehicleCategory="car">
<ParameterDeclarations/>
<Performance maxSpeed="69.444" maxAcceleration="200" maxDeceleration="10.0"/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2.1" length="4.5" height="1.8"/>
</BoundingBox>
<Axles>
<FrontAxle maxSteering="0.5" wheelDiameter="0.6" trackWidth="1.8" positionX="3.1" positionZ="0.3"/>
<RearAxle maxSteering="0.0" wheelDiameter="0.6" trackWidth="1.8" positionX="0.0" positionZ="0.3"/>
</Axles>
<Properties>
<Property name="type" value="ego_vehicle"/>
</Properties>
</Vehicle>
</ScenarioObject>
<ScenarioObject name="adversary">
<Vehicle name="vehicle.lincoln.mkz_2017" vehicleCategory="car">
<ParameterDeclarations/>
<Performance maxSpeed="69.444" maxAcceleration="200" maxDeceleration="10.0"/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2.1" length="4.5" height="1.8"/>
</BoundingBox>
<Axles>
<FrontAxle maxSteering="0.5" wheelDiameter="0.6" trackWidth="1.8" positionX="3.1" positionZ="0.3"/>
<RearAxle maxSteering="0.0" wheelDiameter="0.6" trackWidth="1.8" positionX="0.0" positionZ="0.3"/>
</Axles>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Vehicle>
</ScenarioObject>
<ScenarioObject name="standing">
<Vehicle name="vehicle.volkswagen.t2" vehicleCategory="car">
<ParameterDeclarations/>
<Performance maxSpeed="69.444" maxAcceleration="200" maxDeceleration="10.0"/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2.1" length="4.5" height="1.8"/>
</BoundingBox>
<Axles>
<FrontAxle maxSteering="0.5" wheelDiameter="0.6" trackWidth="1.8" positionX="3.1" positionZ="0.3"/>
<RearAxle maxSteering="0.0" wheelDiameter="0.6" 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_19400">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_w_transform_19402">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_w_transform_19404">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_w_transform_19405">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_close_to_hero_19406">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_close_to_adversary_19407">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_w_transform_19408">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_w_transform_19409">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_close_to_hero_19410">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_w_transform_19411">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_close_to_hero_19413">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_w_transform_19415">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_close_to_hero_19416">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_w_transform_19417">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_close_to_hero_19418">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_w_transform_19421">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_w_transform_19422">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_w_transform_19423">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_close_to_hero_19425">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_w_transform_19427">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_w_transform_19428">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
</Entities>
<Storyboard>
<Init>
<Actions>
<GlobalAction>
<EnvironmentAction>
<Environment name="Environment1">
<TimeOfDay animation="false" dateTime="2019-06-25T12:00:00"/>
<Weather cloudState="free">
<Sun intensity="0.85" azimuth="0" elevation="1.31"/>
<Fog visualRange="100000.0"/>
<Precipitation precipitationType="dry" intensity="0.0"/>
</Weather>
<RoadCondition frictionScaleFactor="1.0"/>
</Environment>
</EnvironmentAction>
</GlobalAction>
<Private entityRef="hero">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-9.4" y="-152.8" z="0.5" h="1.57079632679"/>
</Position>
</TeleportAction>
</PrivateAction>
<PrivateAction>
<ControllerAction>
<AssignControllerAction>
<Controller name="HeroAgent">
<Properties>
<Property name="module" value="external_control"/>
</Properties>
</Controller>
</AssignControllerAction>
<OverrideControllerValueAction>
<Throttle value="0" active="false"/>
<Brake value="0" active="false"/>
<Clutch value="0" active="false"/>
<ParkingBrake value="0" active="false"/>
<SteeringWheel value="0" active="false"/>
<Gear number="0" active="false"/>
</OverrideControllerValueAction>
</ControllerAction>
</PrivateAction>
</Private>
<Private entityRef="adversary">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-9.4" y="-71.0" z="0.5" h="1.57079632679"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="standing">
<PrivateAction>
<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_19400">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-11.18385124206543" y="31.944316864013672" z="0.0030637357849627733"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_w_transform_19402">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="96.11972045898438" y="34.95068359375" z="0.5"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_w_transform_19404">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-39.217796325683594" y="84.25524139404297" z="0.5"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_w_transform_19405">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="59.79170608520508" y="-20.386096954345703" z="0.5"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_close_to_hero_19406">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-7.617887020111084" y="-147.5882568359375" z="0.0014286803780123591"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_close_to_adversary_19407">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-13.662525177001953" y="-61.95863723754883" z="0.03377269580960274"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_w_transform_19408">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="30.163997650146484" y="-1.6514966487884521" z="0.5"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_w_transform_19409">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="1.613424301147461" y="55.09214401245117" z="0.5"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_close_to_hero_19410">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-8.602672576904297" y="-149.7129364013672" z="0.0014286803780123591"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_w_transform_19411">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-62.444671630859375" y="86.70999908447266" z="0.5"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_close_to_hero_19413">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-7.037861347198486" y="-140.37730407714844" z="0.0014286803780123591"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_w_transform_19415">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="5.631897449493408" y="62.45943832397461" z="0.5"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_close_to_hero_19416">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-3.4680888652801514" y="-153.2067413330078" z="0.0014286803780123591"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_w_transform_19417">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-1.8485475778579712" y="52.029563903808594" z="0.5"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_close_to_hero_19418">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-10.707354545593262" y="-157.9624786376953" z="0.0014286803780123591"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_w_transform_19421">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="32.92047119140625" y="59.654212951660156" z="0.5"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_w_transform_19422">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-91.53236389160156" y="-80.05353546142578" z="0.5"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_w_transform_19423">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="65.82835388183594" y="8.475676536560059" z="0.5"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_close_to_hero_19425">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-19.293149948120117" y="-161.73800659179688" z="0.0014286803780123591"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_w_transform_19427">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-80.51882934570312" y="43.32194519042969" z="0.5"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_w_transform_19428">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="97.99630737304688" y="60.880409240722656" 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_19400">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_w_transform_19404">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_w_transform_19405">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_close_to_hero_19406">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_close_to_adversary_19407">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_w_transform_19408">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_w_transform_19409">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_close_to_hero_19410">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_w_transform_19411">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_close_to_hero_19413">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_w_transform_19415">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_close_to_hero_19416">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_w_transform_19417">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_close_to_hero_19418">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_w_transform_19421">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_w_transform_19422">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_w_transform_19423">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_close_to_hero_19425">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_w_transform_19427">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_w_transform_19428">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
</Entities>
<Storyboard>
<Init>
<Actions>
<GlobalAction>
<EnvironmentAction>
<Environment name="Environment1">
<TimeOfDay animation="false" dateTime="2019-06-25T12:00:00"/>
<Weather cloudState="free">
<Sun intensity="0.85" azimuth="0" elevation="1.31"/>
<Fog visualRange="100000.0"/>
<Precipitation precipitationType="dry" intensity="0.0"/>
</Weather>
<RoadCondition frictionScaleFactor="1.0"/>
</Environment>
</EnvironmentAction>
</GlobalAction>
<Private entityRef="hero">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-9.4" y="-152.8" z="0.5" h="1.57079632679"/>
</Position>
</TeleportAction>
</PrivateAction>
<PrivateAction>
<ControllerAction>
<AssignControllerAction>
<Controller name="HeroAgent">
<Properties>
<Property name="module" value="external_control"/>
</Properties>
</Controller>
</AssignControllerAction>
<OverrideControllerValueAction>
<Throttle value="0" active="false"/>
<Brake value="0" active="false"/>
<Clutch value="0" active="false"/>
<ParkingBrake value="0" active="false"/>
<SteeringWheel value="0" active="false"/>
<Gear number="0" active="false"/>
</OverrideControllerValueAction>
</ControllerAction>
</PrivateAction>
</Private>
<Private entityRef="adversary">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-9.4" y="-71.0" z="0.5" h="1.57079632679"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="standing">
<PrivateAction>
<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_19400">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-11.18385124206543" y="31.944316864013672" z="0.0030637357849627733"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_w_transform_19404">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-39.217796325683594" y="84.25524139404297" z="0.5"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_w_transform_19405">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="59.79170608520508" y="-20.386096954345703" z="0.5"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_close_to_hero_19406">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-7.617887020111084" y="-147.5882568359375" z="0.0014286803780123591"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_close_to_adversary_19407">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-13.662525177001953" y="-61.95863723754883" z="0.03377269580960274"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_w_transform_19408">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="30.163997650146484" y="-1.6514966487884521" z="0.5"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_w_transform_19409">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="1.613424301147461" y="55.09214401245117" z="0.5"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_close_to_hero_19410">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-8.602672576904297" y="-149.7129364013672" z="0.0014286803780123591"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_w_transform_19411">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-62.444671630859375" y="86.70999908447266" z="0.5"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_close_to_hero_19413">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-7.037861347198486" y="-140.37730407714844" z="0.0014286803780123591"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_w_transform_19415">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="5.631897449493408" y="62.45943832397461" z="0.5"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_close_to_hero_19416">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-3.4680888652801514" y="-153.2067413330078" z="0.0014286803780123591"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_w_transform_19417">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-1.8485475778579712" y="52.029563903808594" z="0.5"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_close_to_hero_19418">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-10.707354545593262" y="-157.9624786376953" z="0.0014286803780123591"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_w_transform_19421">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="32.92047119140625" y="59.654212951660156" z="0.5"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_w_transform_19422">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-91.53236389160156" y="-80.05353546142578" z="0.5"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_w_transform_19423">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="65.82835388183594" y="8.475676536560059" z="0.5"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_close_to_hero_19425">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-19.293149948120117" y="-161.73800659179688" z="0.0014286803780123591"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_w_transform_19427">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-80.51882934570312" y="43.32194519042969" z="0.5"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_w_transform_19428">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="97.99630737304688" y="60.880409240722656" z="0.5"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
</Actions>
</Init>
<Story name="MyStory">
<Act name="Behavior">
<ManeuverGroup maximumExecutionCount="1" name="ManeuverSequence">
<Actors selectTriggeringEntities="false">
<EntityRef entityRef="adversary"/>
</Actors>
<Maneuver name="LaneChangeSimpleManeuver">
<Event name="AdversaryAccelerates" priority="overwrite">
<Action name="AdversaryAccelerates">
<PrivateAction>
<LongitudinalAction>
<SpeedAction>
<SpeedActionDynamics dynamicsShape="step" value="50" dynamicsDimension="distance"/>
<SpeedActionTarget>
<AbsoluteTargetSpeed value="5.0"/>
</SpeedActionTarget>
</SpeedAction>
</LongitudinalAction>
</PrivateAction>
</Action>
<StartTrigger>
<ConditionGroup>
<Condition name="StartCondition" delay="0" conditionEdge="rising">
<ByEntityCondition>
<TriggeringEntities triggeringEntitiesRule="any">
<EntityRef entityRef="hero"/>
</TriggeringEntities>
<EntityCondition>
<RelativeDistanceCondition entityRef="adversary" relativeDistanceType="cartesianDistance" value="40.0" freespace="false" rule="lessThan"/>
</EntityCondition>
</ByEntityCondition>
</Condition>
</ConditionGroup>
</StartTrigger>
</Event>
<Event name="AdversaryChangesLane" priority="overwrite">
<Action name="AdversaryChangesLane">
<PrivateAction>
<LateralAction>
<LaneChangeAction>
<LaneChangeActionDynamics dynamicsShape="linear" value="25" dynamicsDimension="distance"/>
<LaneChangeTarget>
<RelativeTargetLane entityRef="adversary" value="-1"/>
</LaneChangeTarget>
</LaneChangeAction>
</LateralAction>
</PrivateAction>
</Action>
<StartTrigger>
<ConditionGroup>
<Condition name="AfterAdversaryAccelerates" delay="0" conditionEdge="rising">
<ByValueCondition>
<StoryboardElementStateCondition storyboardElementType="action" storyboardElementRef="AdversaryAccelerates" state="completeState"/>
</ByValueCondition>
</Condition>
</ConditionGroup>
</StartTrigger>
</Event>
</Maneuver>
</ManeuverGroup>
<StartTrigger>
<ConditionGroup>
<Condition name="OverallStartCondition" delay="0" conditionEdge="rising">
<ByEntityCondition>
<TriggeringEntities triggeringEntitiesRule="any">
<EntityRef entityRef="hero"/>
</TriggeringEntities>
<EntityCondition>
<TraveledDistanceCondition value="1.0"/>
</EntityCondition>
</ByEntityCondition>
</Condition>
<Condition name="StartTime" delay="0" conditionEdge="rising">
<ByValueCondition>
<SimulationTimeCondition value="0" rule="equalTo"/>
</ByValueCondition>
</Condition>
</ConditionGroup>
</StartTrigger>
<StopTrigger>
<ConditionGroup>
<Condition name="EndCondition" delay="0" conditionEdge="rising">
<ByEntityCondition>
<TriggeringEntities triggeringEntitiesRule="any">
<EntityRef entityRef="hero"/>
</TriggeringEntities>
<EntityCondition>
<TraveledDistanceCondition value="200.0"/>
</EntityCondition>
</ByEntityCondition>
</Condition>
</ConditionGroup>
</StopTrigger>
</Act>
</Story>
<StopTrigger>
<ConditionGroup>
<Condition name="criteria_RunningStopTest" delay="0" conditionEdge="rising">
<ByValueCondition>
<ParameterCondition parameterRef="" value="" rule="lessThan"/>
</ByValueCondition>
</Condition>
<Condition name="criteria_RunningRedLightTest" delay="0" conditionEdge="rising">
<ByValueCondition>
<ParameterCondition parameterRef="" value="" rule="lessThan"/>
</ByValueCondition>
</Condition>
<Condition name="criteria_WrongLaneTest" delay="0" conditionEdge="rising">
<ByValueCondition>
<ParameterCondition parameterRef="" value="" rule="lessThan"/>
</ByValueCondition>
</Condition>
<Condition name="criteria_OnSidewalkTest" delay="0" conditionEdge="rising">
<ByValueCondition>
<ParameterCondition parameterRef="" value="" rule="lessThan"/>
</ByValueCondition>
</Condition>
<Condition name="criteria_KeepLaneTest" delay="0" conditionEdge="rising">
<ByValueCondition>
<ParameterCondition parameterRef="" value="" rule="lessThan"/>
</ByValueCondition>
</Condition>
<Condition name="criteria_CollisionTest" delay="0" conditionEdge="rising">
<ByValueCondition>
<ParameterCondition parameterRef="" value="" rule="lessThan"/>
</ByValueCondition>
</Condition>
<Condition name="criteria_DrivenDistanceTest" delay="0" conditionEdge="rising">
<ByValueCondition>
<ParameterCondition parameterRef="distance_success" value="100" rule="lessThan"/>
</ByValueCondition>
</Condition>
</ConditionGroup>
</StopTrigger>
</Storyboard>
</OpenSCENARIO>
``` |
i would like to ask you to remove pedestrian actor named pedestrian_close_to_standing_13084?
```
<?xml version="1.0" ?>
<OpenSCENARIO>
<FileHeader revMajor="1" revMinor="0" date="2020-03-24T12:00:00" description="CARLA:LaneChangeSimple" author=""/>
<ParameterDeclarations/>
<CatalogLocations/>
<RoadNetwork>
<LogicFile filepath="Town04"/>
<SceneGraphFile filepath=""/>
</RoadNetwork>
<Entities>
<ScenarioObject name="hero">
<Vehicle name="vehicle.tesla.model3" vehicleCategory="car">
<ParameterDeclarations/>
<Performance maxSpeed="69.444" maxAcceleration="200" maxDeceleration="10.0"/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2.1" length="4.5" height="1.8"/>
</BoundingBox>
<Axles>
<FrontAxle maxSteering="0.5" wheelDiameter="0.6" trackWidth="1.8" positionX="3.1" positionZ="0.3"/>
<RearAxle maxSteering="0.0" wheelDiameter="0.6" trackWidth="1.8" positionX="0.0" positionZ="0.3"/>
</Axles>
<Properties>
<Property name="type" value="ego_vehicle"/>
</Properties>
</Vehicle>
</ScenarioObject>
<ScenarioObject name="adversary">
<Vehicle name="vehicle.lincoln.mkz_2017" vehicleCategory="car">
<ParameterDeclarations/>
<Performance maxSpeed="69.444" maxAcceleration="200" maxDeceleration="10.0"/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2.1" length="4.5" height="1.8"/>
</BoundingBox>
<Axles>
<FrontAxle maxSteering="0.5" wheelDiameter="0.6" trackWidth="1.8" positionX="3.1" positionZ="0.3"/>
<RearAxle maxSteering="0.0" wheelDiameter="0.6" trackWidth="1.8" positionX="0.0" positionZ="0.3"/>
</Axles>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Vehicle>
</ScenarioObject>
<ScenarioObject name="standing">
<Vehicle name="vehicle.volkswagen.t2" vehicleCategory="car">
<ParameterDeclarations/>
<Performance maxSpeed="69.444" maxAcceleration="200" maxDeceleration="10.0"/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2.1" length="4.5" height="1.8"/>
</BoundingBox>
<Axles>
<FrontAxle maxSteering="0.5" wheelDiameter="0.6" trackWidth="1.8" positionX="3.1" positionZ="0.3"/>
<RearAxle maxSteering="0.0" wheelDiameter="0.6" 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_13058">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_w_transform_13059">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_w_transform_13060">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_close_to_hero_13061">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_close_to_standing_13062">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_close_to_adversary_13063">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_close_to_hero_13064">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_w_transform_13065">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_close_to_standing_13066">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_w_transform_13067">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_w_transform_13068">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_close_to_adversary_13069">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_w_transform_13070">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_close_to_adversary_13071">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_w_transform_13072">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_w_transform_13073">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_close_to_adversary_13074">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_close_to_adversary_13075">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_close_to_hero_13076">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_close_to_standing_13077">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_close_to_standing_13078">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_w_transform_13079">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_w_transform_13080">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_w_transform_13081">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_w_transform_13082">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_w_transform_13083">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_close_to_standing_13084">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_w_transform_13085">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_w_transform_13086">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
</Entities>
<Storyboard>
<Init>
<Actions>
<GlobalAction>
<EnvironmentAction>
<Environment name="Environment1">
<TimeOfDay animation="false" dateTime="2019-06-25T12:00:00"/>
<Weather cloudState="free">
<Sun intensity="0.85" azimuth="0" elevation="1.31"/>
<Fog visualRange="100000.0"/>
<Precipitation precipitationType="dry" intensity="0.0"/>
</Weather>
<RoadCondition frictionScaleFactor="1.0"/>
</Environment>
</EnvironmentAction>
</GlobalAction>
<Private entityRef="hero">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-9.4" y="-152.8" z="0.5" h="1.57079632679"/>
</Position>
</TeleportAction>
</PrivateAction>
<PrivateAction>
<ControllerAction>
<AssignControllerAction>
<Controller name="HeroAgent">
<Properties>
<Property name="module" value="external_control"/>
</Properties>
</Controller>
</AssignControllerAction>
<OverrideControllerValueAction>
<Throttle value="0" active="false"/>
<Brake value="0" active="false"/>
<Clutch value="0" active="false"/>
<ParkingBrake value="0" active="false"/>
<SteeringWheel value="0" active="false"/>
<Gear number="0" active="false"/>
</OverrideControllerValueAction>
</ControllerAction>
</PrivateAction>
</Private>
<Private entityRef="adversary">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-9.4" y="-71.0" z="0.5" h="1.57079632679"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="standing">
<PrivateAction>
<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_13058">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-18.672130584716797" y="41.47966766357422" z="0.0030295944306999445"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_w_transform_13059">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-67.00978088378906" y="9.599142074584961" z="0.5"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_w_transform_13060">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-86.80728912353516" y="16.85989761352539" z="0.5"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_close_to_hero_13061">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="4.882762432098389" y="-162.45553588867188" z="0.0014286803780123591"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_close_to_standing_13062">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-2.619022846221924" y="36.838321685791016" z="0.003048972925171256"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_close_to_adversary_13063">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-13.576093673706055" y="-64.42161560058594" z="0.033754538744688034"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_close_to_hero_13064">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-11.813478469848633" y="-152.75765991210938" z="0.0014286803780123591"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_w_transform_13065">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-66.02782440185547" y="30.561845779418945" z="0.5"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_close_to_standing_13066">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-16.862695693969727" y="34.115108489990234" z="0.003049468854442239"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_w_transform_13067">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-59.91641616821289" y="-11.94601821899414" z="0.5"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_w_transform_13068">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="60.64731216430664" y="39.60227584838867" z="0.5"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_close_to_adversary_13069">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-8.545645713806152" y="-67.48174285888672" z="0.0338071808218956"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_w_transform_13070">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="7.461266040802002" y="29.296424865722656" z="0.5"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_close_to_adversary_13071">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-18.605958938598633" y="-65.6126480102539" z="0.033727340400218964"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_w_transform_13072">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-97.22176361083984" y="76.48211669921875" z="0.5"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_w_transform_13073">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="41.10393524169922" y="-87.6663818359375" z="0.5"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_close_to_adversary_13074">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-5.7880144119262695" y="-74.49781799316406" z="0.033819884061813354"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_close_to_adversary_13075">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-2.6078274250030518" y="-70.30517578125" z="0.033749427646398544"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_close_to_hero_13076">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-6.512181282043457" y="-153.08001708984375" z="0.0014286803780123591"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_close_to_standing_13077">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-7.239768981933594" y="34.83980941772461" z="0.003061599563807249"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_close_to_standing_13078">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-5.927363872528076" y="19.585947036743164" z="0.0030768204014748335"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_w_transform_13079">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-25.061199188232422" y="9.740249633789062" z="0.5"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_w_transform_13080">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="62.156742095947266" y="78.97362518310547" z="0.5"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_w_transform_13081">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="87.1357192993164" y="96.59281158447266" z="0.5"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_w_transform_13082">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-22.943967819213867" y="4.4326605796813965" z="0.5"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_w_transform_13083">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="92.42054748535156" y="81.21984100341797" z="0.5"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_close_to_standing_13084">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-4.688510894775391" y="38.71406936645508" z="0.003051872132346034"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_w_transform_13085">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="64.33341217041016" y="17.182527542114258" z="0.5"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_w_transform_13086">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-36.01250457763672" y="-34.616886138916016" 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_13058">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_w_transform_13059">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_w_transform_13060">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_close_to_hero_13061">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_close_to_standing_13062">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_close_to_adversary_13063">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_close_to_hero_13064">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_w_transform_13065">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_close_to_standing_13066">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_w_transform_13067">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_w_transform_13068">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_close_to_adversary_13069">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_w_transform_13070">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_close_to_adversary_13071">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_w_transform_13072">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_w_transform_13073">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_close_to_adversary_13074">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_close_to_adversary_13075">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_close_to_hero_13076">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_close_to_standing_13077">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_close_to_standing_13078">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_w_transform_13079">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_w_transform_13080">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_w_transform_13081">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_w_transform_13082">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_w_transform_13083">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_w_transform_13085">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_w_transform_13086">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
</Entities>
<Storyboard>
<Init>
<Actions>
<GlobalAction>
<EnvironmentAction>
<Environment name="Environment1">
<TimeOfDay animation="false" dateTime="2019-06-25T12:00:00"/>
<Weather cloudState="free">
<Sun intensity="0.85" azimuth="0" elevation="1.31"/>
<Fog visualRange="100000.0"/>
<Precipitation precipitationType="dry" intensity="0.0"/>
</Weather>
<RoadCondition frictionScaleFactor="1.0"/>
</Environment>
</EnvironmentAction>
</GlobalAction>
<Private entityRef="hero">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-9.4" y="-152.8" z="0.5" h="1.57079632679"/>
</Position>
</TeleportAction>
</PrivateAction>
<PrivateAction>
<ControllerAction>
<AssignControllerAction>
<Controller name="HeroAgent">
<Properties>
<Property name="module" value="external_control"/>
</Properties>
</Controller>
</AssignControllerAction>
<OverrideControllerValueAction>
<Throttle value="0" active="false"/>
<Brake value="0" active="false"/>
<Clutch value="0" active="false"/>
<ParkingBrake value="0" active="false"/>
<SteeringWheel value="0" active="false"/>
<Gear number="0" active="false"/>
</OverrideControllerValueAction>
</ControllerAction>
</PrivateAction>
</Private>
<Private entityRef="adversary">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-9.4" y="-71.0" z="0.5" h="1.57079632679"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="standing">
<PrivateAction>
<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_13058">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-18.672130584716797" y="41.47966766357422" z="0.0030295944306999445"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_w_transform_13059">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-67.00978088378906" y="9.599142074584961" z="0.5"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_w_transform_13060">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-86.80728912353516" y="16.85989761352539" z="0.5"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_close_to_hero_13061">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="4.882762432098389" y="-162.45553588867188" z="0.0014286803780123591"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_close_to_standing_13062">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-2.619022846221924" y="36.838321685791016" z="0.003048972925171256"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_close_to_adversary_13063">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-13.576093673706055" y="-64.42161560058594" z="0.033754538744688034"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_close_to_hero_13064">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-11.813478469848633" y="-152.75765991210938" z="0.0014286803780123591"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_w_transform_13065">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-66.02782440185547" y="30.561845779418945" z="0.5"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_close_to_standing_13066">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-16.862695693969727" y="34.115108489990234" z="0.003049468854442239"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_w_transform_13067">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-59.91641616821289" y="-11.94601821899414" z="0.5"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_w_transform_13068">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="60.64731216430664" y="39.60227584838867" z="0.5"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_close_to_adversary_13069">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-8.545645713806152" y="-67.48174285888672" z="0.0338071808218956"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_w_transform_13070">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="7.461266040802002" y="29.296424865722656" z="0.5"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_close_to_adversary_13071">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-18.605958938598633" y="-65.6126480102539" z="0.033727340400218964"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_w_transform_13072">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-97.22176361083984" y="76.48211669921875" z="0.5"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_w_transform_13073">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="41.10393524169922" y="-87.6663818359375" z="0.5"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_close_to_adversary_13074">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-5.7880144119262695" y="-74.49781799316406" z="0.033819884061813354"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_close_to_adversary_13075">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-2.6078274250030518" y="-70.30517578125" z="0.033749427646398544"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_close_to_hero_13076">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-6.512181282043457" y="-153.08001708984375" z="0.0014286803780123591"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_close_to_standing_13077">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-7.239768981933594" y="34.83980941772461" z="0.003061599563807249"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_close_to_standing_13078">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-5.927363872528076" y="19.585947036743164" z="0.0030768204014748335"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_w_transform_13079">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-25.061199188232422" y="9.740249633789062" z="0.5"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_w_transform_13080">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="62.156742095947266" y="78.97362518310547" z="0.5"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_w_transform_13081">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="87.1357192993164" y="96.59281158447266" z="0.5"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_w_transform_13082">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-22.943967819213867" y="4.4326605796813965" z="0.5"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_w_transform_13083">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="92.42054748535156" y="81.21984100341797" z="0.5"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_w_transform_13085">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="64.33341217041016" y="17.182527542114258" z="0.5"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_w_transform_13086">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-36.01250457763672" y="-34.616886138916016" z="0.5"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
</Actions>
</Init>
<Story name="MyStory">
<Act name="Behavior">
<ManeuverGroup maximumExecutionCount="1" name="ManeuverSequence">
<Actors selectTriggeringEntities="false">
<EntityRef entityRef="adversary"/>
</Actors>
<Maneuver name="LaneChangeSimpleManeuver">
<Event name="AdversaryAccelerates" priority="overwrite">
<Action name="AdversaryAccelerates">
<PrivateAction>
<LongitudinalAction>
<SpeedAction>
<SpeedActionDynamics dynamicsShape="step" value="50" dynamicsDimension="distance"/>
<SpeedActionTarget>
<AbsoluteTargetSpeed value="5.0"/>
</SpeedActionTarget>
</SpeedAction>
</LongitudinalAction>
</PrivateAction>
</Action>
<StartTrigger>
<ConditionGroup>
<Condition name="StartCondition" delay="0" conditionEdge="rising">
<ByEntityCondition>
<TriggeringEntities triggeringEntitiesRule="any">
<EntityRef entityRef="hero"/>
</TriggeringEntities>
<EntityCondition>
<RelativeDistanceCondition entityRef="adversary" relativeDistanceType="cartesianDistance" value="40.0" freespace="false" rule="lessThan"/>
</EntityCondition>
</ByEntityCondition>
</Condition>
</ConditionGroup>
</StartTrigger>
</Event>
<Event name="AdversaryChangesLane" priority="overwrite">
<Action name="AdversaryChangesLane">
<PrivateAction>
<LateralAction>
<LaneChangeAction>
<LaneChangeActionDynamics dynamicsShape="linear" value="25" dynamicsDimension="distance"/>
<LaneChangeTarget>
<RelativeTargetLane entityRef="adversary" value="-1"/>
</LaneChangeTarget>
</LaneChangeAction>
</LateralAction>
</PrivateAction>
</Action>
<StartTrigger>
<ConditionGroup>
<Condition name="AfterAdversaryAccelerates" delay="0" conditionEdge="rising">
<ByValueCondition>
<StoryboardElementStateCondition storyboardElementType="action" storyboardElementRef="AdversaryAccelerates" state="completeState"/>
</ByValueCondition>
</Condition>
</ConditionGroup>
</StartTrigger>
</Event>
</Maneuver>
</ManeuverGroup>
<StartTrigger>
<ConditionGroup>
<Condition name="OverallStartCondition" delay="0" conditionEdge="rising">
<ByEntityCondition>
<TriggeringEntities triggeringEntitiesRule="any">
<EntityRef entityRef="hero"/>
</TriggeringEntities>
<EntityCondition>
<TraveledDistanceCondition value="1.0"/>
</EntityCondition>
</ByEntityCondition>
</Condition>
<Condition name="StartTime" delay="0" conditionEdge="rising">
<ByValueCondition>
<SimulationTimeCondition value="0" rule="equalTo"/>
</ByValueCondition>
</Condition>
</ConditionGroup>
</StartTrigger>
<StopTrigger>
<ConditionGroup>
<Condition name="EndCondition" delay="0" conditionEdge="rising">
<ByEntityCondition>
<TriggeringEntities triggeringEntitiesRule="any">
<EntityRef entityRef="hero"/>
</TriggeringEntities>
<EntityCondition>
<TraveledDistanceCondition value="200.0"/>
</EntityCondition>
</ByEntityCondition>
</Condition>
</ConditionGroup>
</StopTrigger>
</Act>
</Story>
<StopTrigger>
<ConditionGroup>
<Condition name="criteria_RunningStopTest" delay="0" conditionEdge="rising">
<ByValueCondition>
<ParameterCondition parameterRef="" value="" rule="lessThan"/>
</ByValueCondition>
</Condition>
<Condition name="criteria_RunningRedLightTest" delay="0" conditionEdge="rising">
<ByValueCondition>
<ParameterCondition parameterRef="" value="" rule="lessThan"/>
</ByValueCondition>
</Condition>
<Condition name="criteria_WrongLaneTest" delay="0" conditionEdge="rising">
<ByValueCondition>
<ParameterCondition parameterRef="" value="" rule="lessThan"/>
</ByValueCondition>
</Condition>
<Condition name="criteria_OnSidewalkTest" delay="0" conditionEdge="rising">
<ByValueCondition>
<ParameterCondition parameterRef="" value="" rule="lessThan"/>
</ByValueCondition>
</Condition>
<Condition name="criteria_KeepLaneTest" delay="0" conditionEdge="rising">
<ByValueCondition>
<ParameterCondition parameterRef="" value="" rule="lessThan"/>
</ByValueCondition>
</Condition>
<Condition name="criteria_CollisionTest" delay="0" conditionEdge="rising">
<ByValueCondition>
<ParameterCondition parameterRef="" value="" rule="lessThan"/>
</ByValueCondition>
</Condition>
<Condition name="criteria_DrivenDistanceTest" delay="0" conditionEdge="rising">
<ByValueCondition>
<ParameterCondition parameterRef="distance_success" value="100" rule="lessThan"/>
</ByValueCondition>
</Condition>
</ConditionGroup>
</StopTrigger>
</Storyboard>
</OpenSCENARIO>
``` |
i would like to command you to add pedestrian at location (3.81, 34.01, 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_23069">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_w_transform_23070">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_close_to_adversary_23071">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_close_to_adversary_23072">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_w_transform_23073">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_close_to_standing_23074">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_close_to_hero_23075">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_w_transform_23076">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_w_transform_23077">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
</Entities>
<Storyboard>
<Init>
<Actions>
<GlobalAction>
<EnvironmentAction>
<Environment name="Environment1">
<TimeOfDay animation="false" dateTime="2019-06-25T12:00:00"/>
<Weather cloudState="free">
<Sun intensity="0.85" azimuth="0" elevation="1.31"/>
<Fog visualRange="100000.0"/>
<Precipitation precipitationType="dry" intensity="0.0"/>
</Weather>
<RoadCondition frictionScaleFactor="1.0"/>
</Environment>
</EnvironmentAction>
</GlobalAction>
<Private entityRef="hero">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-9.4" y="-152.8" z="0.5" h="1.57079632679"/>
</Position>
</TeleportAction>
</PrivateAction>
<PrivateAction>
<ControllerAction>
<AssignControllerAction>
<Controller name="HeroAgent">
<Properties>
<Property name="module" value="external_control"/>
</Properties>
</Controller>
</AssignControllerAction>
<OverrideControllerValueAction>
<Throttle value="0" active="false"/>
<Brake value="0" active="false"/>
<Clutch value="0" active="false"/>
<ParkingBrake value="0" active="false"/>
<SteeringWheel value="0" active="false"/>
<Gear number="0" active="false"/>
</OverrideControllerValueAction>
</ControllerAction>
</PrivateAction>
</Private>
<Private entityRef="adversary">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-9.4" y="-71.0" z="0.5" h="1.57079632679"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="standing">
<PrivateAction>
<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_23069">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-14.086338996887207" y="-160.26329040527344" z="0.0014286803780123591"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_w_transform_23070">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="0.8296036720275879" y="64.41657257080078" z="0.5"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_close_to_adversary_23071">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-17.50704574584961" y="-61.596824645996094" z="0.03382091596722603"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_close_to_adversary_23072">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-12.195208549499512" y="-65.03955078125" z="0.03379222750663757"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_w_transform_23073">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-38.904544830322266" y="-23.080324172973633" z="0.5"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_close_to_standing_23074">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-11.485456466674805" y="28.05015754699707" z="0.003045043908059597"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_close_to_hero_23075">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-9.980209350585938" y="-150.8316650390625" z="0.0014286803780123591"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_w_transform_23076">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="53.885799407958984" y="51.247535705566406" z="0.5"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_w_transform_23077">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-9.238242149353027" y="-5.716414451599121" 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_23069">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_w_transform_23070">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_close_to_adversary_23071">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_close_to_adversary_23072">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_w_transform_23073">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_close_to_standing_23074">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_close_to_hero_23075">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_w_transform_23076">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_w_transform_23077">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_w_transform_23078">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
</Entities>
<Storyboard>
<Init>
<Actions>
<GlobalAction>
<EnvironmentAction>
<Environment name="Environment1">
<TimeOfDay animation="false" dateTime="2019-06-25T12:00:00"/>
<Weather cloudState="free">
<Sun intensity="0.85" azimuth="0" elevation="1.31"/>
<Fog visualRange="100000.0"/>
<Precipitation precipitationType="dry" intensity="0.0"/>
</Weather>
<RoadCondition frictionScaleFactor="1.0"/>
</Environment>
</EnvironmentAction>
</GlobalAction>
<Private entityRef="hero">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-9.4" y="-152.8" z="0.5" h="1.57079632679"/>
</Position>
</TeleportAction>
</PrivateAction>
<PrivateAction>
<ControllerAction>
<AssignControllerAction>
<Controller name="HeroAgent">
<Properties>
<Property name="module" value="external_control"/>
</Properties>
</Controller>
</AssignControllerAction>
<OverrideControllerValueAction>
<Throttle value="0" active="false"/>
<Brake value="0" active="false"/>
<Clutch value="0" active="false"/>
<ParkingBrake value="0" active="false"/>
<SteeringWheel value="0" active="false"/>
<Gear number="0" active="false"/>
</OverrideControllerValueAction>
</ControllerAction>
</PrivateAction>
</Private>
<Private entityRef="adversary">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-9.4" y="-71.0" z="0.5" h="1.57079632679"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="standing">
<PrivateAction>
<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_23069">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-14.086338996887207" y="-160.26329040527344" z="0.0014286803780123591"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_w_transform_23070">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="0.8296036720275879" y="64.41657257080078" z="0.5"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_close_to_adversary_23071">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-17.50704574584961" y="-61.596824645996094" z="0.03382091596722603"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_close_to_adversary_23072">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-12.195208549499512" y="-65.03955078125" z="0.03379222750663757"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_w_transform_23073">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-38.904544830322266" y="-23.080324172973633" z="0.5"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_close_to_standing_23074">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-11.485456466674805" y="28.05015754699707" z="0.003045043908059597"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_close_to_hero_23075">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-9.980209350585938" y="-150.8316650390625" z="0.0014286803780123591"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_w_transform_23076">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="53.885799407958984" y="51.247535705566406" z="0.5"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_w_transform_23077">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-9.238242149353027" y="-5.716414451599121" z="0.5"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_w_transform_23078">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="3.809798240661621" y="34.00697708129883" 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 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_367">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_close_to_hero_368">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_w_transform_369">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_close_to_hero_370">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_close_to_standing_371">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_close_to_standing_372">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_w_transform_373">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
</Entities>
<Storyboard>
<Init>
<Actions>
<GlobalAction>
<EnvironmentAction>
<Environment name="Environment1">
<TimeOfDay animation="false" dateTime="2019-06-25T12:00:00"/>
<Weather cloudState="free">
<Sun intensity="0.85" azimuth="0" elevation="1.31"/>
<Fog visualRange="100000.0"/>
<Precipitation precipitationType="dry" intensity="0.0"/>
</Weather>
<RoadCondition frictionScaleFactor="1.0"/>
</Environment>
</EnvironmentAction>
</GlobalAction>
<Private entityRef="hero">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-9.4" y="-152.8" z="0.5" h="1.57079632679"/>
</Position>
</TeleportAction>
</PrivateAction>
<PrivateAction>
<ControllerAction>
<AssignControllerAction>
<Controller name="HeroAgent">
<Properties>
<Property name="module" value="external_control"/>
</Properties>
</Controller>
</AssignControllerAction>
<OverrideControllerValueAction>
<Throttle value="0" active="false"/>
<Brake value="0" active="false"/>
<Clutch value="0" active="false"/>
<ParkingBrake value="0" active="false"/>
<SteeringWheel value="0" active="false"/>
<Gear number="0" active="false"/>
</OverrideControllerValueAction>
</ControllerAction>
</PrivateAction>
</Private>
<Private entityRef="adversary">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-9.4" y="-71.0" z="0.5" h="1.57079632679"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="standing">
<PrivateAction>
<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_367">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-1.7354507446289062" y="24.638517379760742" z="0.0030440902337431908"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_close_to_hero_368">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-19.998823165893555" y="-158.51773071289062" z="0.0014286803780123591"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_w_transform_369">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="82.60643768310547" y="-81.666748046875" z="0.5"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_close_to_hero_370">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-13.711966514587402" y="-154.48153686523438" z="0.0014286803780123591"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_close_to_standing_371">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-2.0880634784698486" y="33.47072219848633" z="0.0030982971657067537"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_close_to_standing_372">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-11.526642799377441" y="31.671310424804688" z="0.0030878446996212006"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_w_transform_373">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-98.96316528320312" y="82.62608337402344" 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_367">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_close_to_hero_368">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_w_transform_369">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_close_to_hero_370">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_close_to_standing_371">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_close_to_standing_372">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_w_transform_373">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_close_to_standing_374">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
</Entities>
<Storyboard>
<Init>
<Actions>
<GlobalAction>
<EnvironmentAction>
<Environment name="Environment1">
<TimeOfDay animation="false" dateTime="2019-06-25T12:00:00"/>
<Weather cloudState="free">
<Sun intensity="0.85" azimuth="0" elevation="1.31"/>
<Fog visualRange="100000.0"/>
<Precipitation precipitationType="dry" intensity="0.0"/>
</Weather>
<RoadCondition frictionScaleFactor="1.0"/>
</Environment>
</EnvironmentAction>
</GlobalAction>
<Private entityRef="hero">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-9.4" y="-152.8" z="0.5" h="1.57079632679"/>
</Position>
</TeleportAction>
</PrivateAction>
<PrivateAction>
<ControllerAction>
<AssignControllerAction>
<Controller name="HeroAgent">
<Properties>
<Property name="module" value="external_control"/>
</Properties>
</Controller>
</AssignControllerAction>
<OverrideControllerValueAction>
<Throttle value="0" active="false"/>
<Brake value="0" active="false"/>
<Clutch value="0" active="false"/>
<ParkingBrake value="0" active="false"/>
<SteeringWheel value="0" active="false"/>
<Gear number="0" active="false"/>
</OverrideControllerValueAction>
</ControllerAction>
</PrivateAction>
</Private>
<Private entityRef="adversary">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-9.4" y="-71.0" z="0.5" h="1.57079632679"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="standing">
<PrivateAction>
<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_367">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-1.7354507446289062" y="24.638517379760742" z="0.0030440902337431908"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_close_to_hero_368">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-19.998823165893555" y="-158.51773071289062" z="0.0014286803780123591"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_w_transform_369">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="82.60643768310547" y="-81.666748046875" z="0.5"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_close_to_hero_370">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-13.711966514587402" y="-154.48153686523438" z="0.0014286803780123591"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_close_to_standing_371">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-2.0880634784698486" y="33.47072219848633" z="0.0030982971657067537"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_close_to_standing_372">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-11.526642799377441" y="31.671310424804688" z="0.0030878446996212006"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_w_transform_373">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-98.96316528320312" y="82.62608337402344" z="0.5"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_close_to_standing_374">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="9.425989151000977" y="26.180217742919922" z="0.0030840300023555756"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
</Actions>
</Init>
<Story name="MyStory">
<Act name="Behavior">
<ManeuverGroup maximumExecutionCount="1" name="ManeuverSequence">
<Actors selectTriggeringEntities="false">
<EntityRef entityRef="adversary"/>
</Actors>
<Maneuver name="LaneChangeSimpleManeuver">
<Event name="AdversaryAccelerates" priority="overwrite">
<Action name="AdversaryAccelerates">
<PrivateAction>
<LongitudinalAction>
<SpeedAction>
<SpeedActionDynamics dynamicsShape="step" value="50" dynamicsDimension="distance"/>
<SpeedActionTarget>
<AbsoluteTargetSpeed value="5.0"/>
</SpeedActionTarget>
</SpeedAction>
</LongitudinalAction>
</PrivateAction>
</Action>
<StartTrigger>
<ConditionGroup>
<Condition name="StartCondition" delay="0" conditionEdge="rising">
<ByEntityCondition>
<TriggeringEntities triggeringEntitiesRule="any">
<EntityRef entityRef="hero"/>
</TriggeringEntities>
<EntityCondition>
<RelativeDistanceCondition entityRef="adversary" relativeDistanceType="cartesianDistance" value="40.0" freespace="false" rule="lessThan"/>
</EntityCondition>
</ByEntityCondition>
</Condition>
</ConditionGroup>
</StartTrigger>
</Event>
<Event name="AdversaryChangesLane" priority="overwrite">
<Action name="AdversaryChangesLane">
<PrivateAction>
<LateralAction>
<LaneChangeAction>
<LaneChangeActionDynamics dynamicsShape="linear" value="25" dynamicsDimension="distance"/>
<LaneChangeTarget>
<RelativeTargetLane entityRef="adversary" value="-1"/>
</LaneChangeTarget>
</LaneChangeAction>
</LateralAction>
</PrivateAction>
</Action>
<StartTrigger>
<ConditionGroup>
<Condition name="AfterAdversaryAccelerates" delay="0" conditionEdge="rising">
<ByValueCondition>
<StoryboardElementStateCondition storyboardElementType="action" storyboardElementRef="AdversaryAccelerates" state="completeState"/>
</ByValueCondition>
</Condition>
</ConditionGroup>
</StartTrigger>
</Event>
</Maneuver>
</ManeuverGroup>
<StartTrigger>
<ConditionGroup>
<Condition name="OverallStartCondition" delay="0" conditionEdge="rising">
<ByEntityCondition>
<TriggeringEntities triggeringEntitiesRule="any">
<EntityRef entityRef="hero"/>
</TriggeringEntities>
<EntityCondition>
<TraveledDistanceCondition value="1.0"/>
</EntityCondition>
</ByEntityCondition>
</Condition>
<Condition name="StartTime" delay="0" conditionEdge="rising">
<ByValueCondition>
<SimulationTimeCondition value="0" rule="equalTo"/>
</ByValueCondition>
</Condition>
</ConditionGroup>
</StartTrigger>
<StopTrigger>
<ConditionGroup>
<Condition name="EndCondition" delay="0" conditionEdge="rising">
<ByEntityCondition>
<TriggeringEntities triggeringEntitiesRule="any">
<EntityRef entityRef="hero"/>
</TriggeringEntities>
<EntityCondition>
<TraveledDistanceCondition value="200.0"/>
</EntityCondition>
</ByEntityCondition>
</Condition>
</ConditionGroup>
</StopTrigger>
</Act>
</Story>
<StopTrigger>
<ConditionGroup>
<Condition name="criteria_RunningStopTest" delay="0" conditionEdge="rising">
<ByValueCondition>
<ParameterCondition parameterRef="" value="" rule="lessThan"/>
</ByValueCondition>
</Condition>
<Condition name="criteria_RunningRedLightTest" delay="0" conditionEdge="rising">
<ByValueCondition>
<ParameterCondition parameterRef="" value="" rule="lessThan"/>
</ByValueCondition>
</Condition>
<Condition name="criteria_WrongLaneTest" delay="0" conditionEdge="rising">
<ByValueCondition>
<ParameterCondition parameterRef="" value="" rule="lessThan"/>
</ByValueCondition>
</Condition>
<Condition name="criteria_OnSidewalkTest" delay="0" conditionEdge="rising">
<ByValueCondition>
<ParameterCondition parameterRef="" value="" rule="lessThan"/>
</ByValueCondition>
</Condition>
<Condition name="criteria_KeepLaneTest" delay="0" conditionEdge="rising">
<ByValueCondition>
<ParameterCondition parameterRef="" value="" rule="lessThan"/>
</ByValueCondition>
</Condition>
<Condition name="criteria_CollisionTest" delay="0" conditionEdge="rising">
<ByValueCondition>
<ParameterCondition parameterRef="" value="" rule="lessThan"/>
</ByValueCondition>
</Condition>
<Condition name="criteria_DrivenDistanceTest" delay="0" conditionEdge="rising">
<ByValueCondition>
<ParameterCondition parameterRef="distance_success" value="100" rule="lessThan"/>
</ByValueCondition>
</Condition>
</ConditionGroup>
</StopTrigger>
</Storyboard>
</OpenSCENARIO>
``` |
i would like to instruct you to remove pedestrian actor named pedestrian_close_to_adversary_17460?
```
<?xml version="1.0" ?>
<OpenSCENARIO>
<FileHeader revMajor="1" revMinor="0" date="2020-03-24T12:00:00" description="CARLA:LaneChangeSimple" author=""/>
<ParameterDeclarations/>
<CatalogLocations/>
<RoadNetwork>
<LogicFile filepath="Town04"/>
<SceneGraphFile filepath=""/>
</RoadNetwork>
<Entities>
<ScenarioObject name="hero">
<Vehicle name="vehicle.tesla.model3" vehicleCategory="car">
<ParameterDeclarations/>
<Performance maxSpeed="69.444" maxAcceleration="200" maxDeceleration="10.0"/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2.1" length="4.5" height="1.8"/>
</BoundingBox>
<Axles>
<FrontAxle maxSteering="0.5" wheelDiameter="0.6" trackWidth="1.8" positionX="3.1" positionZ="0.3"/>
<RearAxle maxSteering="0.0" wheelDiameter="0.6" trackWidth="1.8" positionX="0.0" positionZ="0.3"/>
</Axles>
<Properties>
<Property name="type" value="ego_vehicle"/>
</Properties>
</Vehicle>
</ScenarioObject>
<ScenarioObject name="adversary">
<Vehicle name="vehicle.lincoln.mkz_2017" vehicleCategory="car">
<ParameterDeclarations/>
<Performance maxSpeed="69.444" maxAcceleration="200" maxDeceleration="10.0"/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2.1" length="4.5" height="1.8"/>
</BoundingBox>
<Axles>
<FrontAxle maxSteering="0.5" wheelDiameter="0.6" trackWidth="1.8" positionX="3.1" positionZ="0.3"/>
<RearAxle maxSteering="0.0" wheelDiameter="0.6" trackWidth="1.8" positionX="0.0" positionZ="0.3"/>
</Axles>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Vehicle>
</ScenarioObject>
<ScenarioObject name="standing">
<Vehicle name="vehicle.volkswagen.t2" vehicleCategory="car">
<ParameterDeclarations/>
<Performance maxSpeed="69.444" maxAcceleration="200" maxDeceleration="10.0"/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2.1" length="4.5" height="1.8"/>
</BoundingBox>
<Axles>
<FrontAxle maxSteering="0.5" wheelDiameter="0.6" trackWidth="1.8" positionX="3.1" positionZ="0.3"/>
<RearAxle maxSteering="0.0" wheelDiameter="0.6" 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_17443">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_close_to_adversary_17444">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_w_transform_17445">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_w_transform_17446">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_close_to_standing_17447">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_close_to_standing_17448">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_w_transform_17449">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_close_to_adversary_17450">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_close_to_adversary_17451">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_close_to_standing_17453">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_close_to_hero_17454">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_w_transform_17457">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_close_to_adversary_17459">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_close_to_adversary_17460">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_close_to_adversary_17461">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_w_transform_17462">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_close_to_hero_17463">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_close_to_standing_17464">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
</Entities>
<Storyboard>
<Init>
<Actions>
<GlobalAction>
<EnvironmentAction>
<Environment name="Environment1">
<TimeOfDay animation="false" dateTime="2019-06-25T12:00:00"/>
<Weather cloudState="free">
<Sun intensity="0.85" azimuth="0" elevation="1.31"/>
<Fog visualRange="100000.0"/>
<Precipitation precipitationType="dry" intensity="0.0"/>
</Weather>
<RoadCondition frictionScaleFactor="1.0"/>
</Environment>
</EnvironmentAction>
</GlobalAction>
<Private entityRef="hero">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-9.4" y="-152.8" z="0.5" h="1.57079632679"/>
</Position>
</TeleportAction>
</PrivateAction>
<PrivateAction>
<ControllerAction>
<AssignControllerAction>
<Controller name="HeroAgent">
<Properties>
<Property name="module" value="external_control"/>
</Properties>
</Controller>
</AssignControllerAction>
<OverrideControllerValueAction>
<Throttle value="0" active="false"/>
<Brake value="0" active="false"/>
<Clutch value="0" active="false"/>
<ParkingBrake value="0" active="false"/>
<SteeringWheel value="0" active="false"/>
<Gear number="0" active="false"/>
</OverrideControllerValueAction>
</ControllerAction>
</PrivateAction>
</Private>
<Private entityRef="adversary">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-9.4" y="-71.0" z="0.5" h="1.57079632679"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="standing">
<PrivateAction>
<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_17443">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-4.069501876831055" y="-74.34779357910156" z="0.03382430970668793"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_close_to_adversary_17444">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-7.53084659576416" y="-75.48820495605469" z="0.033827513456344604"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_w_transform_17445">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="81.36668395996094" y="95.30689239501953" z="0.5"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_w_transform_17446">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="65.1628189086914" y="-2.748715877532959" z="0.5"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_close_to_standing_17447">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-16.5494441986084" y="30.307418823242188" z="0.0030257797334343195"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_close_to_standing_17448">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="1.3100693225860596" y="21.43201446533203" z="0.0030111311934888363"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_w_transform_17449">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="0.46550706028938293" y="39.45650863647461" z="0.5"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_close_to_adversary_17450">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="3.658400297164917" y="-73.4540786743164" z="0.03381866216659546"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_close_to_adversary_17451">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-12.36711311340332" y="-67.70463562011719" z="0.03382629156112671"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_close_to_standing_17453">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="0.24405047297477722" y="37.529361724853516" z="0.0030942154116928577"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_close_to_hero_17454">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-4.78595495223999" y="-143.49810791015625" z="0.0014286803780123591"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_w_transform_17457">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="16.82419204711914" y="-55.599632263183594" z="0.5"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_close_to_adversary_17459">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-1.7338632345199585" y="-78.13409423828125" z="0.03376327455043793"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_close_to_adversary_17460">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-4.28641939163208" y="-66.14148712158203" z="0.033777352422475815"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_close_to_adversary_17461">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-5.517692565917969" y="-70.1767578125" z="0.033811796456575394"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_w_transform_17462">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-86.07225036621094" y="-80.24140930175781" z="0.5"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_close_to_hero_17463">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-2.8115270137786865" y="-142.95071411132812" z="0.0014286803780123591"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_close_to_standing_17464">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-17.35240936279297" y="20.882421493530273" z="0.0029971313197165728"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
</Actions>
</Init>
<Story name="MyStory">
<Act name="Behavior">
<ManeuverGroup maximumExecutionCount="1" name="ManeuverSequence">
<Actors selectTriggeringEntities="false">
<EntityRef entityRef="adversary"/>
</Actors>
<Maneuver name="LaneChangeSimpleManeuver">
<Event name="AdversaryAccelerates" priority="overwrite">
<Action name="AdversaryAccelerates">
<PrivateAction>
<LongitudinalAction>
<SpeedAction>
<SpeedActionDynamics dynamicsShape="step" value="50" dynamicsDimension="distance"/>
<SpeedActionTarget>
<AbsoluteTargetSpeed value="5.0"/>
</SpeedActionTarget>
</SpeedAction>
</LongitudinalAction>
</PrivateAction>
</Action>
<StartTrigger>
<ConditionGroup>
<Condition name="StartCondition" delay="0" conditionEdge="rising">
<ByEntityCondition>
<TriggeringEntities triggeringEntitiesRule="any">
<EntityRef entityRef="hero"/>
</TriggeringEntities>
<EntityCondition>
<RelativeDistanceCondition entityRef="adversary" relativeDistanceType="cartesianDistance" value="40.0" freespace="false" rule="lessThan"/>
</EntityCondition>
</ByEntityCondition>
</Condition>
</ConditionGroup>
</StartTrigger>
</Event>
<Event name="AdversaryChangesLane" priority="overwrite">
<Action name="AdversaryChangesLane">
<PrivateAction>
<LateralAction>
<LaneChangeAction>
<LaneChangeActionDynamics dynamicsShape="linear" value="25" dynamicsDimension="distance"/>
<LaneChangeTarget>
<RelativeTargetLane entityRef="adversary" value="-1"/>
</LaneChangeTarget>
</LaneChangeAction>
</LateralAction>
</PrivateAction>
</Action>
<StartTrigger>
<ConditionGroup>
<Condition name="AfterAdversaryAccelerates" delay="0" conditionEdge="rising">
<ByValueCondition>
<StoryboardElementStateCondition storyboardElementType="action" storyboardElementRef="AdversaryAccelerates" state="completeState"/>
</ByValueCondition>
</Condition>
</ConditionGroup>
</StartTrigger>
</Event>
</Maneuver>
</ManeuverGroup>
<StartTrigger>
<ConditionGroup>
<Condition name="OverallStartCondition" delay="0" conditionEdge="rising">
<ByEntityCondition>
<TriggeringEntities triggeringEntitiesRule="any">
<EntityRef entityRef="hero"/>
</TriggeringEntities>
<EntityCondition>
<TraveledDistanceCondition value="1.0"/>
</EntityCondition>
</ByEntityCondition>
</Condition>
<Condition name="StartTime" delay="0" conditionEdge="rising">
<ByValueCondition>
<SimulationTimeCondition value="0" rule="equalTo"/>
</ByValueCondition>
</Condition>
</ConditionGroup>
</StartTrigger>
<StopTrigger>
<ConditionGroup>
<Condition name="EndCondition" delay="0" conditionEdge="rising">
<ByEntityCondition>
<TriggeringEntities triggeringEntitiesRule="any">
<EntityRef entityRef="hero"/>
</TriggeringEntities>
<EntityCondition>
<TraveledDistanceCondition value="200.0"/>
</EntityCondition>
</ByEntityCondition>
</Condition>
</ConditionGroup>
</StopTrigger>
</Act>
</Story>
<StopTrigger>
<ConditionGroup>
<Condition name="criteria_RunningStopTest" delay="0" conditionEdge="rising">
<ByValueCondition>
<ParameterCondition parameterRef="" value="" rule="lessThan"/>
</ByValueCondition>
</Condition>
<Condition name="criteria_RunningRedLightTest" delay="0" conditionEdge="rising">
<ByValueCondition>
<ParameterCondition parameterRef="" value="" rule="lessThan"/>
</ByValueCondition>
</Condition>
<Condition name="criteria_WrongLaneTest" delay="0" conditionEdge="rising">
<ByValueCondition>
<ParameterCondition parameterRef="" value="" rule="lessThan"/>
</ByValueCondition>
</Condition>
<Condition name="criteria_OnSidewalkTest" delay="0" conditionEdge="rising">
<ByValueCondition>
<ParameterCondition parameterRef="" value="" rule="lessThan"/>
</ByValueCondition>
</Condition>
<Condition name="criteria_KeepLaneTest" delay="0" conditionEdge="rising">
<ByValueCondition>
<ParameterCondition parameterRef="" value="" rule="lessThan"/>
</ByValueCondition>
</Condition>
<Condition name="criteria_CollisionTest" delay="0" conditionEdge="rising">
<ByValueCondition>
<ParameterCondition parameterRef="" value="" rule="lessThan"/>
</ByValueCondition>
</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_17443">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_close_to_adversary_17444">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_w_transform_17445">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_w_transform_17446">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_close_to_standing_17447">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_close_to_standing_17448">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_w_transform_17449">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_close_to_adversary_17450">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_close_to_adversary_17451">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_close_to_standing_17453">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_close_to_hero_17454">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_w_transform_17457">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_close_to_adversary_17459">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_close_to_adversary_17461">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_w_transform_17462">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_close_to_hero_17463">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_close_to_standing_17464">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
</Entities>
<Storyboard>
<Init>
<Actions>
<GlobalAction>
<EnvironmentAction>
<Environment name="Environment1">
<TimeOfDay animation="false" dateTime="2019-06-25T12:00:00"/>
<Weather cloudState="free">
<Sun intensity="0.85" azimuth="0" elevation="1.31"/>
<Fog visualRange="100000.0"/>
<Precipitation precipitationType="dry" intensity="0.0"/>
</Weather>
<RoadCondition frictionScaleFactor="1.0"/>
</Environment>
</EnvironmentAction>
</GlobalAction>
<Private entityRef="hero">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-9.4" y="-152.8" z="0.5" h="1.57079632679"/>
</Position>
</TeleportAction>
</PrivateAction>
<PrivateAction>
<ControllerAction>
<AssignControllerAction>
<Controller name="HeroAgent">
<Properties>
<Property name="module" value="external_control"/>
</Properties>
</Controller>
</AssignControllerAction>
<OverrideControllerValueAction>
<Throttle value="0" active="false"/>
<Brake value="0" active="false"/>
<Clutch value="0" active="false"/>
<ParkingBrake value="0" active="false"/>
<SteeringWheel value="0" active="false"/>
<Gear number="0" active="false"/>
</OverrideControllerValueAction>
</ControllerAction>
</PrivateAction>
</Private>
<Private entityRef="adversary">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-9.4" y="-71.0" z="0.5" h="1.57079632679"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="standing">
<PrivateAction>
<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_17443">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-4.069501876831055" y="-74.34779357910156" z="0.03382430970668793"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_close_to_adversary_17444">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-7.53084659576416" y="-75.48820495605469" z="0.033827513456344604"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_w_transform_17445">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="81.36668395996094" y="95.30689239501953" z="0.5"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_w_transform_17446">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="65.1628189086914" y="-2.748715877532959" z="0.5"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_close_to_standing_17447">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-16.5494441986084" y="30.307418823242188" z="0.0030257797334343195"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_close_to_standing_17448">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="1.3100693225860596" y="21.43201446533203" z="0.0030111311934888363"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_w_transform_17449">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="0.46550706028938293" y="39.45650863647461" z="0.5"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_close_to_adversary_17450">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="3.658400297164917" y="-73.4540786743164" z="0.03381866216659546"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_close_to_adversary_17451">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-12.36711311340332" y="-67.70463562011719" z="0.03382629156112671"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_close_to_standing_17453">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="0.24405047297477722" y="37.529361724853516" z="0.0030942154116928577"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_close_to_hero_17454">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-4.78595495223999" y="-143.49810791015625" z="0.0014286803780123591"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_w_transform_17457">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="16.82419204711914" y="-55.599632263183594" z="0.5"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_close_to_adversary_17459">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-1.7338632345199585" y="-78.13409423828125" z="0.03376327455043793"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_close_to_adversary_17461">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-5.517692565917969" y="-70.1767578125" z="0.033811796456575394"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_w_transform_17462">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-86.07225036621094" y="-80.24140930175781" z="0.5"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_close_to_hero_17463">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-2.8115270137786865" y="-142.95071411132812" z="0.0014286803780123591"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_close_to_standing_17464">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-17.35240936279297" y="20.882421493530273" z="0.0029971313197165728"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
</Actions>
</Init>
<Story name="MyStory">
<Act name="Behavior">
<ManeuverGroup maximumExecutionCount="1" name="ManeuverSequence">
<Actors selectTriggeringEntities="false">
<EntityRef entityRef="adversary"/>
</Actors>
<Maneuver name="LaneChangeSimpleManeuver">
<Event name="AdversaryAccelerates" priority="overwrite">
<Action name="AdversaryAccelerates">
<PrivateAction>
<LongitudinalAction>
<SpeedAction>
<SpeedActionDynamics dynamicsShape="step" value="50" dynamicsDimension="distance"/>
<SpeedActionTarget>
<AbsoluteTargetSpeed value="5.0"/>
</SpeedActionTarget>
</SpeedAction>
</LongitudinalAction>
</PrivateAction>
</Action>
<StartTrigger>
<ConditionGroup>
<Condition name="StartCondition" delay="0" conditionEdge="rising">
<ByEntityCondition>
<TriggeringEntities triggeringEntitiesRule="any">
<EntityRef entityRef="hero"/>
</TriggeringEntities>
<EntityCondition>
<RelativeDistanceCondition entityRef="adversary" relativeDistanceType="cartesianDistance" value="40.0" freespace="false" rule="lessThan"/>
</EntityCondition>
</ByEntityCondition>
</Condition>
</ConditionGroup>
</StartTrigger>
</Event>
<Event name="AdversaryChangesLane" priority="overwrite">
<Action name="AdversaryChangesLane">
<PrivateAction>
<LateralAction>
<LaneChangeAction>
<LaneChangeActionDynamics dynamicsShape="linear" value="25" dynamicsDimension="distance"/>
<LaneChangeTarget>
<RelativeTargetLane entityRef="adversary" value="-1"/>
</LaneChangeTarget>
</LaneChangeAction>
</LateralAction>
</PrivateAction>
</Action>
<StartTrigger>
<ConditionGroup>
<Condition name="AfterAdversaryAccelerates" delay="0" conditionEdge="rising">
<ByValueCondition>
<StoryboardElementStateCondition storyboardElementType="action" storyboardElementRef="AdversaryAccelerates" state="completeState"/>
</ByValueCondition>
</Condition>
</ConditionGroup>
</StartTrigger>
</Event>
</Maneuver>
</ManeuverGroup>
<StartTrigger>
<ConditionGroup>
<Condition name="OverallStartCondition" delay="0" conditionEdge="rising">
<ByEntityCondition>
<TriggeringEntities triggeringEntitiesRule="any">
<EntityRef entityRef="hero"/>
</TriggeringEntities>
<EntityCondition>
<TraveledDistanceCondition value="1.0"/>
</EntityCondition>
</ByEntityCondition>
</Condition>
<Condition name="StartTime" delay="0" conditionEdge="rising">
<ByValueCondition>
<SimulationTimeCondition value="0" rule="equalTo"/>
</ByValueCondition>
</Condition>
</ConditionGroup>
</StartTrigger>
<StopTrigger>
<ConditionGroup>
<Condition name="EndCondition" delay="0" conditionEdge="rising">
<ByEntityCondition>
<TriggeringEntities triggeringEntitiesRule="any">
<EntityRef entityRef="hero"/>
</TriggeringEntities>
<EntityCondition>
<TraveledDistanceCondition value="200.0"/>
</EntityCondition>
</ByEntityCondition>
</Condition>
</ConditionGroup>
</StopTrigger>
</Act>
</Story>
<StopTrigger>
<ConditionGroup>
<Condition name="criteria_RunningStopTest" delay="0" conditionEdge="rising">
<ByValueCondition>
<ParameterCondition parameterRef="" value="" rule="lessThan"/>
</ByValueCondition>
</Condition>
<Condition name="criteria_RunningRedLightTest" delay="0" conditionEdge="rising">
<ByValueCondition>
<ParameterCondition parameterRef="" value="" rule="lessThan"/>
</ByValueCondition>
</Condition>
<Condition name="criteria_WrongLaneTest" delay="0" conditionEdge="rising">
<ByValueCondition>
<ParameterCondition parameterRef="" value="" rule="lessThan"/>
</ByValueCondition>
</Condition>
<Condition name="criteria_OnSidewalkTest" delay="0" conditionEdge="rising">
<ByValueCondition>
<ParameterCondition parameterRef="" value="" rule="lessThan"/>
</ByValueCondition>
</Condition>
<Condition name="criteria_KeepLaneTest" delay="0" conditionEdge="rising">
<ByValueCondition>
<ParameterCondition parameterRef="" value="" rule="lessThan"/>
</ByValueCondition>
</Condition>
<Condition name="criteria_CollisionTest" delay="0" conditionEdge="rising">
<ByValueCondition>
<ParameterCondition parameterRef="" value="" rule="lessThan"/>
</ByValueCondition>
</Condition>
<Condition name="criteria_DrivenDistanceTest" delay="0" conditionEdge="rising">
<ByValueCondition>
<ParameterCondition parameterRef="distance_success" value="100" rule="lessThan"/>
</ByValueCondition>
</Condition>
</ConditionGroup>
</StopTrigger>
</Storyboard>
</OpenSCENARIO>
``` |
please add pedestrian close to standing?
```
<?xml version="1.0" ?>
<OpenSCENARIO>
<FileHeader revMajor="1" revMinor="0" date="2020-03-24T12:00:00" description="CARLA:LaneChangeSimple" author=""/>
<ParameterDeclarations/>
<CatalogLocations/>
<RoadNetwork>
<LogicFile filepath="Town04"/>
<SceneGraphFile filepath=""/>
</RoadNetwork>
<Entities>
<ScenarioObject name="hero">
<Vehicle name="vehicle.tesla.model3" vehicleCategory="car">
<ParameterDeclarations/>
<Performance maxSpeed="69.444" maxAcceleration="200" maxDeceleration="10.0"/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2.1" length="4.5" height="1.8"/>
</BoundingBox>
<Axles>
<FrontAxle maxSteering="0.5" wheelDiameter="0.6" trackWidth="1.8" positionX="3.1" positionZ="0.3"/>
<RearAxle maxSteering="0.0" wheelDiameter="0.6" trackWidth="1.8" positionX="0.0" positionZ="0.3"/>
</Axles>
<Properties>
<Property name="type" value="ego_vehicle"/>
</Properties>
</Vehicle>
</ScenarioObject>
<ScenarioObject name="adversary">
<Vehicle name="vehicle.lincoln.mkz_2017" vehicleCategory="car">
<ParameterDeclarations/>
<Performance maxSpeed="69.444" maxAcceleration="200" maxDeceleration="10.0"/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2.1" length="4.5" height="1.8"/>
</BoundingBox>
<Axles>
<FrontAxle maxSteering="0.5" wheelDiameter="0.6" trackWidth="1.8" positionX="3.1" positionZ="0.3"/>
<RearAxle maxSteering="0.0" wheelDiameter="0.6" trackWidth="1.8" positionX="0.0" positionZ="0.3"/>
</Axles>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Vehicle>
</ScenarioObject>
<ScenarioObject name="standing">
<Vehicle name="vehicle.volkswagen.t2" vehicleCategory="car">
<ParameterDeclarations/>
<Performance maxSpeed="69.444" maxAcceleration="200" maxDeceleration="10.0"/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2.1" length="4.5" height="1.8"/>
</BoundingBox>
<Axles>
<FrontAxle maxSteering="0.5" wheelDiameter="0.6" trackWidth="1.8" positionX="3.1" positionZ="0.3"/>
<RearAxle maxSteering="0.0" wheelDiameter="0.6" trackWidth="1.8" positionX="0.0" positionZ="0.3"/>
</Axles>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Vehicle>
</ScenarioObject>
<ScenarioObject name="pedestrian_close_to_standing_18345">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_close_to_hero_18347">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_close_to_hero_18348">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_w_transform_18349">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_w_transform_18350">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_close_to_hero_18351">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_close_to_hero_18352">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_w_transform_18353">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
</Entities>
<Storyboard>
<Init>
<Actions>
<GlobalAction>
<EnvironmentAction>
<Environment name="Environment1">
<TimeOfDay animation="false" dateTime="2019-06-25T12:00:00"/>
<Weather cloudState="free">
<Sun intensity="0.85" azimuth="0" elevation="1.31"/>
<Fog visualRange="100000.0"/>
<Precipitation precipitationType="dry" intensity="0.0"/>
</Weather>
<RoadCondition frictionScaleFactor="1.0"/>
</Environment>
</EnvironmentAction>
</GlobalAction>
<Private entityRef="hero">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-9.4" y="-152.8" z="0.5" h="1.57079632679"/>
</Position>
</TeleportAction>
</PrivateAction>
<PrivateAction>
<ControllerAction>
<AssignControllerAction>
<Controller name="HeroAgent">
<Properties>
<Property name="module" value="external_control"/>
</Properties>
</Controller>
</AssignControllerAction>
<OverrideControllerValueAction>
<Throttle value="0" active="false"/>
<Brake value="0" active="false"/>
<Clutch value="0" active="false"/>
<ParkingBrake value="0" active="false"/>
<SteeringWheel value="0" active="false"/>
<Gear number="0" active="false"/>
</OverrideControllerValueAction>
</ControllerAction>
</PrivateAction>
</Private>
<Private entityRef="adversary">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-9.4" y="-71.0" z="0.5" h="1.57079632679"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="standing">
<PrivateAction>
<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_18345">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="4.9996771812438965" y="22.774620056152344" z="0.003033599816262722"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_close_to_hero_18347">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="7.439037322998047" y="-139.06248474121094" z="0.0014286803780123591"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_close_to_hero_18348">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-19.201601028442383" y="-146.47996520996094" z="0.0014286803780123591"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_w_transform_18349">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-33.10002136230469" y="-86.6529769897461" z="0.5"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_w_transform_18350">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-75.92523956298828" y="23.666118621826172" z="0.5"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_close_to_hero_18351">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-14.952147483825684" y="-154.57369995117188" z="0.0014286803780123591"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_close_to_hero_18352">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-6.7449469566345215" y="-149.16070556640625" z="0.0014286803780123591"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_w_transform_18353">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-62.28620529174805" y="-57.8135986328125" 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_18345">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_close_to_hero_18347">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_close_to_hero_18348">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_w_transform_18349">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_w_transform_18350">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_close_to_hero_18351">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_close_to_hero_18352">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_w_transform_18353">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_close_to_standing_18354">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
</Entities>
<Storyboard>
<Init>
<Actions>
<GlobalAction>
<EnvironmentAction>
<Environment name="Environment1">
<TimeOfDay animation="false" dateTime="2019-06-25T12:00:00"/>
<Weather cloudState="free">
<Sun intensity="0.85" azimuth="0" elevation="1.31"/>
<Fog visualRange="100000.0"/>
<Precipitation precipitationType="dry" intensity="0.0"/>
</Weather>
<RoadCondition frictionScaleFactor="1.0"/>
</Environment>
</EnvironmentAction>
</GlobalAction>
<Private entityRef="hero">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-9.4" y="-152.8" z="0.5" h="1.57079632679"/>
</Position>
</TeleportAction>
</PrivateAction>
<PrivateAction>
<ControllerAction>
<AssignControllerAction>
<Controller name="HeroAgent">
<Properties>
<Property name="module" value="external_control"/>
</Properties>
</Controller>
</AssignControllerAction>
<OverrideControllerValueAction>
<Throttle value="0" active="false"/>
<Brake value="0" active="false"/>
<Clutch value="0" active="false"/>
<ParkingBrake value="0" active="false"/>
<SteeringWheel value="0" active="false"/>
<Gear number="0" active="false"/>
</OverrideControllerValueAction>
</ControllerAction>
</PrivateAction>
</Private>
<Private entityRef="adversary">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-9.4" y="-71.0" z="0.5" h="1.57079632679"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="standing">
<PrivateAction>
<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_18345">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="4.9996771812438965" y="22.774620056152344" z="0.003033599816262722"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_close_to_hero_18347">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="7.439037322998047" y="-139.06248474121094" z="0.0014286803780123591"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_close_to_hero_18348">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-19.201601028442383" y="-146.47996520996094" z="0.0014286803780123591"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_w_transform_18349">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-33.10002136230469" y="-86.6529769897461" z="0.5"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_w_transform_18350">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-75.92523956298828" y="23.666118621826172" z="0.5"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_close_to_hero_18351">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-14.952147483825684" y="-154.57369995117188" z="0.0014286803780123591"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_close_to_hero_18352">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-6.7449469566345215" y="-149.16070556640625" z="0.0014286803780123591"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_w_transform_18353">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-62.28620529174805" y="-57.8135986328125" z="0.5"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_close_to_standing_18354">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="0.9251792430877686" y="26.78470802307129" z="0.0030607986263930798"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
</Actions>
</Init>
<Story name="MyStory">
<Act name="Behavior">
<ManeuverGroup maximumExecutionCount="1" name="ManeuverSequence">
<Actors selectTriggeringEntities="false">
<EntityRef entityRef="adversary"/>
</Actors>
<Maneuver name="LaneChangeSimpleManeuver">
<Event name="AdversaryAccelerates" priority="overwrite">
<Action name="AdversaryAccelerates">
<PrivateAction>
<LongitudinalAction>
<SpeedAction>
<SpeedActionDynamics dynamicsShape="step" value="50" dynamicsDimension="distance"/>
<SpeedActionTarget>
<AbsoluteTargetSpeed value="5.0"/>
</SpeedActionTarget>
</SpeedAction>
</LongitudinalAction>
</PrivateAction>
</Action>
<StartTrigger>
<ConditionGroup>
<Condition name="StartCondition" delay="0" conditionEdge="rising">
<ByEntityCondition>
<TriggeringEntities triggeringEntitiesRule="any">
<EntityRef entityRef="hero"/>
</TriggeringEntities>
<EntityCondition>
<RelativeDistanceCondition entityRef="adversary" relativeDistanceType="cartesianDistance" value="40.0" freespace="false" rule="lessThan"/>
</EntityCondition>
</ByEntityCondition>
</Condition>
</ConditionGroup>
</StartTrigger>
</Event>
<Event name="AdversaryChangesLane" priority="overwrite">
<Action name="AdversaryChangesLane">
<PrivateAction>
<LateralAction>
<LaneChangeAction>
<LaneChangeActionDynamics dynamicsShape="linear" value="25" dynamicsDimension="distance"/>
<LaneChangeTarget>
<RelativeTargetLane entityRef="adversary" value="-1"/>
</LaneChangeTarget>
</LaneChangeAction>
</LateralAction>
</PrivateAction>
</Action>
<StartTrigger>
<ConditionGroup>
<Condition name="AfterAdversaryAccelerates" delay="0" conditionEdge="rising">
<ByValueCondition>
<StoryboardElementStateCondition storyboardElementType="action" storyboardElementRef="AdversaryAccelerates" state="completeState"/>
</ByValueCondition>
</Condition>
</ConditionGroup>
</StartTrigger>
</Event>
</Maneuver>
</ManeuverGroup>
<StartTrigger>
<ConditionGroup>
<Condition name="OverallStartCondition" delay="0" conditionEdge="rising">
<ByEntityCondition>
<TriggeringEntities triggeringEntitiesRule="any">
<EntityRef entityRef="hero"/>
</TriggeringEntities>
<EntityCondition>
<TraveledDistanceCondition value="1.0"/>
</EntityCondition>
</ByEntityCondition>
</Condition>
<Condition name="StartTime" delay="0" conditionEdge="rising">
<ByValueCondition>
<SimulationTimeCondition value="0" rule="equalTo"/>
</ByValueCondition>
</Condition>
</ConditionGroup>
</StartTrigger>
<StopTrigger>
<ConditionGroup>
<Condition name="EndCondition" delay="0" conditionEdge="rising">
<ByEntityCondition>
<TriggeringEntities triggeringEntitiesRule="any">
<EntityRef entityRef="hero"/>
</TriggeringEntities>
<EntityCondition>
<TraveledDistanceCondition value="200.0"/>
</EntityCondition>
</ByEntityCondition>
</Condition>
</ConditionGroup>
</StopTrigger>
</Act>
</Story>
<StopTrigger>
<ConditionGroup>
<Condition name="criteria_RunningStopTest" delay="0" conditionEdge="rising">
<ByValueCondition>
<ParameterCondition parameterRef="" value="" rule="lessThan"/>
</ByValueCondition>
</Condition>
<Condition name="criteria_RunningRedLightTest" delay="0" conditionEdge="rising">
<ByValueCondition>
<ParameterCondition parameterRef="" value="" rule="lessThan"/>
</ByValueCondition>
</Condition>
<Condition name="criteria_WrongLaneTest" delay="0" conditionEdge="rising">
<ByValueCondition>
<ParameterCondition parameterRef="" value="" rule="lessThan"/>
</ByValueCondition>
</Condition>
<Condition name="criteria_OnSidewalkTest" delay="0" conditionEdge="rising">
<ByValueCondition>
<ParameterCondition parameterRef="" value="" rule="lessThan"/>
</ByValueCondition>
</Condition>
<Condition name="criteria_KeepLaneTest" delay="0" conditionEdge="rising">
<ByValueCondition>
<ParameterCondition parameterRef="" value="" rule="lessThan"/>
</ByValueCondition>
</Condition>
<Condition name="criteria_CollisionTest" delay="0" conditionEdge="rising">
<ByValueCondition>
<ParameterCondition parameterRef="" value="" rule="lessThan"/>
</ByValueCondition>
</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_standing_14134?
```
<?xml version="1.0" ?>
<OpenSCENARIO>
<FileHeader revMajor="1" revMinor="0" date="2020-03-24T12:00:00" description="CARLA:LaneChangeSimple" author=""/>
<ParameterDeclarations/>
<CatalogLocations/>
<RoadNetwork>
<LogicFile filepath="Town04"/>
<SceneGraphFile filepath=""/>
</RoadNetwork>
<Entities>
<ScenarioObject name="hero">
<Vehicle name="vehicle.tesla.model3" vehicleCategory="car">
<ParameterDeclarations/>
<Performance maxSpeed="69.444" maxAcceleration="200" maxDeceleration="10.0"/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2.1" length="4.5" height="1.8"/>
</BoundingBox>
<Axles>
<FrontAxle maxSteering="0.5" wheelDiameter="0.6" trackWidth="1.8" positionX="3.1" positionZ="0.3"/>
<RearAxle maxSteering="0.0" wheelDiameter="0.6" trackWidth="1.8" positionX="0.0" positionZ="0.3"/>
</Axles>
<Properties>
<Property name="type" value="ego_vehicle"/>
</Properties>
</Vehicle>
</ScenarioObject>
<ScenarioObject name="adversary">
<Vehicle name="vehicle.lincoln.mkz_2017" vehicleCategory="car">
<ParameterDeclarations/>
<Performance maxSpeed="69.444" maxAcceleration="200" maxDeceleration="10.0"/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2.1" length="4.5" height="1.8"/>
</BoundingBox>
<Axles>
<FrontAxle maxSteering="0.5" wheelDiameter="0.6" trackWidth="1.8" positionX="3.1" positionZ="0.3"/>
<RearAxle maxSteering="0.0" wheelDiameter="0.6" trackWidth="1.8" positionX="0.0" positionZ="0.3"/>
</Axles>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Vehicle>
</ScenarioObject>
<ScenarioObject name="standing">
<Vehicle name="vehicle.volkswagen.t2" vehicleCategory="car">
<ParameterDeclarations/>
<Performance maxSpeed="69.444" maxAcceleration="200" maxDeceleration="10.0"/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2.1" length="4.5" height="1.8"/>
</BoundingBox>
<Axles>
<FrontAxle maxSteering="0.5" wheelDiameter="0.6" trackWidth="1.8" positionX="3.1" positionZ="0.3"/>
<RearAxle maxSteering="0.0" wheelDiameter="0.6" 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_14126">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_close_to_standing_14128">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_w_transform_14132">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_close_to_adversary_14133">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_close_to_standing_14134">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_w_transform_14135">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_close_to_hero_14136">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_close_to_standing_14140">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_w_transform_14141">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_close_to_adversary_14143">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_close_to_standing_14144">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_w_transform_14148">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_w_transform_14150">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_close_to_hero_14151">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_w_transform_14152">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
</Entities>
<Storyboard>
<Init>
<Actions>
<GlobalAction>
<EnvironmentAction>
<Environment name="Environment1">
<TimeOfDay animation="false" dateTime="2019-06-25T12:00:00"/>
<Weather cloudState="free">
<Sun intensity="0.85" azimuth="0" elevation="1.31"/>
<Fog visualRange="100000.0"/>
<Precipitation precipitationType="dry" intensity="0.0"/>
</Weather>
<RoadCondition frictionScaleFactor="1.0"/>
</Environment>
</EnvironmentAction>
</GlobalAction>
<Private entityRef="hero">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-9.4" y="-152.8" z="0.5" h="1.57079632679"/>
</Position>
</TeleportAction>
</PrivateAction>
<PrivateAction>
<ControllerAction>
<AssignControllerAction>
<Controller name="HeroAgent">
<Properties>
<Property name="module" value="external_control"/>
</Properties>
</Controller>
</AssignControllerAction>
<OverrideControllerValueAction>
<Throttle value="0" active="false"/>
<Brake value="0" active="false"/>
<Clutch value="0" active="false"/>
<ParkingBrake value="0" active="false"/>
<SteeringWheel value="0" active="false"/>
<Gear number="0" active="false"/>
</OverrideControllerValueAction>
</ControllerAction>
</PrivateAction>
</Private>
<Private entityRef="adversary">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-9.4" y="-71.0" z="0.5" h="1.57079632679"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="standing">
<PrivateAction>
<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_14126">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="1.9337002038955688" y="-79.49373626708984" z="0.033816754817962646"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_close_to_standing_14128">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-12.699142456054688" y="26.497772216796875" z="0.003019142197445035"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_w_transform_14132">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-64.39191436767578" y="74.92682647705078" z="0.5"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_close_to_adversary_14133">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-12.856531143188477" y="-66.39035034179688" z="0.033806800842285156"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_close_to_standing_14134">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-17.057994842529297" y="29.549633026123047" z="0.0030554579570889473"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_w_transform_14135">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="15.264094352722168" y="44.06159973144531" z="0.5"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_close_to_hero_14136">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-14.559999465942383" y="-143.28089904785156" z="0.0014286803780123591"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_close_to_standing_14140">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-5.331754684448242" y="30.54104995727539" z="0.002996978582814336"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_w_transform_14141">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-92.82874298095703" y="-4.27286958694458" z="0.5"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_close_to_adversary_14143">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-3.0995092391967773" y="-78.00618743896484" z="0.03385402634739876"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_close_to_standing_14144">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-2.28900146484375" y="36.00025939941406" z="0.0030696869362145662"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_w_transform_14148">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-91.16700744628906" y="92.2335205078125" z="0.5"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_w_transform_14150">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="0.3045576512813568" y="-86.075927734375" z="0.5"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_close_to_hero_14151">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-16.250625610351562" y="-143.05043029785156" z="0.0014286803780123591"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_w_transform_14152">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-69.9432601928711" y="1.8276755809783936" 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_14126">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_close_to_standing_14128">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_w_transform_14132">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_close_to_adversary_14133">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_w_transform_14135">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_close_to_hero_14136">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_close_to_standing_14140">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_w_transform_14141">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_close_to_adversary_14143">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_close_to_standing_14144">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_w_transform_14148">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_w_transform_14150">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_close_to_hero_14151">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_w_transform_14152">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
</Entities>
<Storyboard>
<Init>
<Actions>
<GlobalAction>
<EnvironmentAction>
<Environment name="Environment1">
<TimeOfDay animation="false" dateTime="2019-06-25T12:00:00"/>
<Weather cloudState="free">
<Sun intensity="0.85" azimuth="0" elevation="1.31"/>
<Fog visualRange="100000.0"/>
<Precipitation precipitationType="dry" intensity="0.0"/>
</Weather>
<RoadCondition frictionScaleFactor="1.0"/>
</Environment>
</EnvironmentAction>
</GlobalAction>
<Private entityRef="hero">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-9.4" y="-152.8" z="0.5" h="1.57079632679"/>
</Position>
</TeleportAction>
</PrivateAction>
<PrivateAction>
<ControllerAction>
<AssignControllerAction>
<Controller name="HeroAgent">
<Properties>
<Property name="module" value="external_control"/>
</Properties>
</Controller>
</AssignControllerAction>
<OverrideControllerValueAction>
<Throttle value="0" active="false"/>
<Brake value="0" active="false"/>
<Clutch value="0" active="false"/>
<ParkingBrake value="0" active="false"/>
<SteeringWheel value="0" active="false"/>
<Gear number="0" active="false"/>
</OverrideControllerValueAction>
</ControllerAction>
</PrivateAction>
</Private>
<Private entityRef="adversary">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-9.4" y="-71.0" z="0.5" h="1.57079632679"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="standing">
<PrivateAction>
<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_14126">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="1.9337002038955688" y="-79.49373626708984" z="0.033816754817962646"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_close_to_standing_14128">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-12.699142456054688" y="26.497772216796875" z="0.003019142197445035"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_w_transform_14132">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-64.39191436767578" y="74.92682647705078" z="0.5"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_close_to_adversary_14133">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-12.856531143188477" y="-66.39035034179688" z="0.033806800842285156"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_w_transform_14135">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="15.264094352722168" y="44.06159973144531" z="0.5"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_close_to_hero_14136">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-14.559999465942383" y="-143.28089904785156" z="0.0014286803780123591"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_close_to_standing_14140">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-5.331754684448242" y="30.54104995727539" z="0.002996978582814336"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_w_transform_14141">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-92.82874298095703" y="-4.27286958694458" z="0.5"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_close_to_adversary_14143">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-3.0995092391967773" y="-78.00618743896484" z="0.03385402634739876"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_close_to_standing_14144">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-2.28900146484375" y="36.00025939941406" z="0.0030696869362145662"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_w_transform_14148">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-91.16700744628906" y="92.2335205078125" z="0.5"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_w_transform_14150">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="0.3045576512813568" y="-86.075927734375" z="0.5"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_close_to_hero_14151">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-16.250625610351562" y="-143.05043029785156" z="0.0014286803780123591"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_w_transform_14152">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-69.9432601928711" y="1.8276755809783936" 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 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_13535">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_close_to_adversary_13536">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_w_transform_13537">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_close_to_adversary_13538">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_close_to_adversary_13539">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_close_to_standing_13541">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_close_to_standing_13542">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_close_to_standing_13543">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_close_to_adversary_13544">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_w_transform_13546">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_close_to_adversary_13547">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_close_to_standing_13548">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_close_to_hero_13550">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_close_to_standing_13551">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_close_to_adversary_13552">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
</Entities>
<Storyboard>
<Init>
<Actions>
<GlobalAction>
<EnvironmentAction>
<Environment name="Environment1">
<TimeOfDay animation="false" dateTime="2019-06-25T12:00:00"/>
<Weather cloudState="free">
<Sun intensity="0.85" azimuth="0" elevation="1.31"/>
<Fog visualRange="100000.0"/>
<Precipitation precipitationType="dry" intensity="0.0"/>
</Weather>
<RoadCondition frictionScaleFactor="1.0"/>
</Environment>
</EnvironmentAction>
</GlobalAction>
<Private entityRef="hero">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-9.4" y="-152.8" z="0.5" h="1.57079632679"/>
</Position>
</TeleportAction>
</PrivateAction>
<PrivateAction>
<ControllerAction>
<AssignControllerAction>
<Controller name="HeroAgent">
<Properties>
<Property name="module" value="external_control"/>
</Properties>
</Controller>
</AssignControllerAction>
<OverrideControllerValueAction>
<Throttle value="0" active="false"/>
<Brake value="0" active="false"/>
<Clutch value="0" active="false"/>
<ParkingBrake value="0" active="false"/>
<SteeringWheel value="0" active="false"/>
<Gear number="0" active="false"/>
</OverrideControllerValueAction>
</ControllerAction>
</PrivateAction>
</Private>
<Private entityRef="adversary">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-9.4" y="-71.0" z="0.5" h="1.57079632679"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="standing">
<PrivateAction>
<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_13535">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-13.891300201416016" y="19.516963958740234" z="0.0030666731763631105"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_close_to_adversary_13536">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-14.052947044372559" y="-64.7320327758789" z="0.03380519896745682"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_w_transform_13537">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-54.111427307128906" y="-32.18518829345703" z="0.5"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_close_to_adversary_13538">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-14.818921089172363" y="-80.72345733642578" z="0.03381309285759926"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_close_to_adversary_13539">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-11.780503273010254" y="-66.63878631591797" z="0.03381946310400963"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_close_to_standing_13541">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-2.668846845626831" y="21.7357234954834" z="0.003095283405855298"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_close_to_standing_13542">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-13.078662872314453" y="31.559913635253906" z="0.0030593490228056908"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_close_to_standing_13543">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-1.246019721031189" y="22.683242797851562" z="0.003100776579231024"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_close_to_adversary_13544">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-5.465612888336182" y="-68.79786682128906" z="0.03378593549132347"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_w_transform_13546">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="56.47808837890625" y="27.170116424560547" z="0.5"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_close_to_adversary_13547">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-5.944743633270264" y="-66.93946075439453" z="0.03376041352748871"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_close_to_standing_13548">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-4.513931751251221" y="22.59651756286621" z="0.0030035399831831455"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_close_to_hero_13550">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-11.436963081359863" y="-148.34547424316406" z="0.0014286803780123591"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_close_to_standing_13551">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-6.749640941619873" y="21.303699493408203" z="0.003071174491196871"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_close_to_adversary_13552">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-8.263360023498535" y="-63.53963851928711" z="0.03379512578248978"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
</Actions>
</Init>
<Story name="MyStory">
<Act name="Behavior">
<ManeuverGroup maximumExecutionCount="1" name="ManeuverSequence">
<Actors selectTriggeringEntities="false">
<EntityRef entityRef="adversary"/>
</Actors>
<Maneuver name="LaneChangeSimpleManeuver">
<Event name="AdversaryAccelerates" priority="overwrite">
<Action name="AdversaryAccelerates">
<PrivateAction>
<LongitudinalAction>
<SpeedAction>
<SpeedActionDynamics dynamicsShape="step" value="50" dynamicsDimension="distance"/>
<SpeedActionTarget>
<AbsoluteTargetSpeed value="5.0"/>
</SpeedActionTarget>
</SpeedAction>
</LongitudinalAction>
</PrivateAction>
</Action>
<StartTrigger>
<ConditionGroup>
<Condition name="StartCondition" delay="0" conditionEdge="rising">
<ByEntityCondition>
<TriggeringEntities triggeringEntitiesRule="any">
<EntityRef entityRef="hero"/>
</TriggeringEntities>
<EntityCondition>
<RelativeDistanceCondition entityRef="adversary" relativeDistanceType="cartesianDistance" value="40.0" freespace="false" rule="lessThan"/>
</EntityCondition>
</ByEntityCondition>
</Condition>
</ConditionGroup>
</StartTrigger>
</Event>
<Event name="AdversaryChangesLane" priority="overwrite">
<Action name="AdversaryChangesLane">
<PrivateAction>
<LateralAction>
<LaneChangeAction>
<LaneChangeActionDynamics dynamicsShape="linear" value="25" dynamicsDimension="distance"/>
<LaneChangeTarget>
<RelativeTargetLane entityRef="adversary" value="-1"/>
</LaneChangeTarget>
</LaneChangeAction>
</LateralAction>
</PrivateAction>
</Action>
<StartTrigger>
<ConditionGroup>
<Condition name="AfterAdversaryAccelerates" delay="0" conditionEdge="rising">
<ByValueCondition>
<StoryboardElementStateCondition storyboardElementType="action" storyboardElementRef="AdversaryAccelerates" state="completeState"/>
</ByValueCondition>
</Condition>
</ConditionGroup>
</StartTrigger>
</Event>
</Maneuver>
</ManeuverGroup>
<StartTrigger>
<ConditionGroup>
<Condition name="OverallStartCondition" delay="0" conditionEdge="rising">
<ByEntityCondition>
<TriggeringEntities triggeringEntitiesRule="any">
<EntityRef entityRef="hero"/>
</TriggeringEntities>
<EntityCondition>
<TraveledDistanceCondition value="1.0"/>
</EntityCondition>
</ByEntityCondition>
</Condition>
<Condition name="StartTime" delay="0" conditionEdge="rising">
<ByValueCondition>
<SimulationTimeCondition value="0" rule="equalTo"/>
</ByValueCondition>
</Condition>
</ConditionGroup>
</StartTrigger>
<StopTrigger>
<ConditionGroup>
<Condition name="EndCondition" delay="0" conditionEdge="rising">
<ByEntityCondition>
<TriggeringEntities triggeringEntitiesRule="any">
<EntityRef entityRef="hero"/>
</TriggeringEntities>
<EntityCondition>
<TraveledDistanceCondition value="200.0"/>
</EntityCondition>
</ByEntityCondition>
</Condition>
</ConditionGroup>
</StopTrigger>
</Act>
</Story>
<StopTrigger>
<ConditionGroup>
<Condition name="criteria_RunningStopTest" delay="0" conditionEdge="rising">
<ByValueCondition>
<ParameterCondition parameterRef="" value="" rule="lessThan"/>
</ByValueCondition>
</Condition>
<Condition name="criteria_RunningRedLightTest" delay="0" conditionEdge="rising">
<ByValueCondition>
<ParameterCondition parameterRef="" value="" rule="lessThan"/>
</ByValueCondition>
</Condition>
<Condition name="criteria_WrongLaneTest" delay="0" conditionEdge="rising">
<ByValueCondition>
<ParameterCondition parameterRef="" value="" rule="lessThan"/>
</ByValueCondition>
</Condition>
<Condition name="criteria_OnSidewalkTest" delay="0" conditionEdge="rising">
<ByValueCondition>
<ParameterCondition parameterRef="" value="" rule="lessThan"/>
</ByValueCondition>
</Condition>
<Condition name="criteria_KeepLaneTest" delay="0" conditionEdge="rising">
<ByValueCondition>
<ParameterCondition parameterRef="" value="" rule="lessThan"/>
</ByValueCondition>
</Condition>
<Condition name="criteria_CollisionTest" delay="0" conditionEdge="rising">
<ByValueCondition>
<ParameterCondition parameterRef="" value="" rule="lessThan"/>
</ByValueCondition>
</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_13535">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_close_to_adversary_13536">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_w_transform_13537">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_close_to_adversary_13538">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_close_to_adversary_13539">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_close_to_standing_13541">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_close_to_standing_13542">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_close_to_standing_13543">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_close_to_adversary_13544">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_w_transform_13546">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_close_to_adversary_13547">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_close_to_standing_13548">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_close_to_hero_13550">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_close_to_adversary_13552">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
</Entities>
<Storyboard>
<Init>
<Actions>
<GlobalAction>
<EnvironmentAction>
<Environment name="Environment1">
<TimeOfDay animation="false" dateTime="2019-06-25T12:00:00"/>
<Weather cloudState="free">
<Sun intensity="0.85" azimuth="0" elevation="1.31"/>
<Fog visualRange="100000.0"/>
<Precipitation precipitationType="dry" intensity="0.0"/>
</Weather>
<RoadCondition frictionScaleFactor="1.0"/>
</Environment>
</EnvironmentAction>
</GlobalAction>
<Private entityRef="hero">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-9.4" y="-152.8" z="0.5" h="1.57079632679"/>
</Position>
</TeleportAction>
</PrivateAction>
<PrivateAction>
<ControllerAction>
<AssignControllerAction>
<Controller name="HeroAgent">
<Properties>
<Property name="module" value="external_control"/>
</Properties>
</Controller>
</AssignControllerAction>
<OverrideControllerValueAction>
<Throttle value="0" active="false"/>
<Brake value="0" active="false"/>
<Clutch value="0" active="false"/>
<ParkingBrake value="0" active="false"/>
<SteeringWheel value="0" active="false"/>
<Gear number="0" active="false"/>
</OverrideControllerValueAction>
</ControllerAction>
</PrivateAction>
</Private>
<Private entityRef="adversary">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-9.4" y="-71.0" z="0.5" h="1.57079632679"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="standing">
<PrivateAction>
<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_13535">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-13.891300201416016" y="19.516963958740234" z="0.0030666731763631105"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_close_to_adversary_13536">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-14.052947044372559" y="-64.7320327758789" z="0.03380519896745682"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_w_transform_13537">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-54.111427307128906" y="-32.18518829345703" z="0.5"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_close_to_adversary_13538">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-14.818921089172363" y="-80.72345733642578" z="0.03381309285759926"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_close_to_adversary_13539">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-11.780503273010254" y="-66.63878631591797" z="0.03381946310400963"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_close_to_standing_13541">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-2.668846845626831" y="21.7357234954834" z="0.003095283405855298"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_close_to_standing_13542">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-13.078662872314453" y="31.559913635253906" z="0.0030593490228056908"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_close_to_standing_13543">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-1.246019721031189" y="22.683242797851562" z="0.003100776579231024"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_close_to_adversary_13544">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-5.465612888336182" y="-68.79786682128906" z="0.03378593549132347"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_w_transform_13546">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="56.47808837890625" y="27.170116424560547" z="0.5"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_close_to_adversary_13547">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-5.944743633270264" y="-66.93946075439453" z="0.03376041352748871"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_close_to_standing_13548">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-4.513931751251221" y="22.59651756286621" z="0.0030035399831831455"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_close_to_hero_13550">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-11.436963081359863" y="-148.34547424316406" z="0.0014286803780123591"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_close_to_adversary_13552">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-8.263360023498535" y="-63.53963851928711" z="0.03379512578248978"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
</Actions>
</Init>
<Story name="MyStory">
<Act name="Behavior">
<ManeuverGroup maximumExecutionCount="1" name="ManeuverSequence">
<Actors selectTriggeringEntities="false">
<EntityRef entityRef="adversary"/>
</Actors>
<Maneuver name="LaneChangeSimpleManeuver">
<Event name="AdversaryAccelerates" priority="overwrite">
<Action name="AdversaryAccelerates">
<PrivateAction>
<LongitudinalAction>
<SpeedAction>
<SpeedActionDynamics dynamicsShape="step" value="50" dynamicsDimension="distance"/>
<SpeedActionTarget>
<AbsoluteTargetSpeed value="5.0"/>
</SpeedActionTarget>
</SpeedAction>
</LongitudinalAction>
</PrivateAction>
</Action>
<StartTrigger>
<ConditionGroup>
<Condition name="StartCondition" delay="0" conditionEdge="rising">
<ByEntityCondition>
<TriggeringEntities triggeringEntitiesRule="any">
<EntityRef entityRef="hero"/>
</TriggeringEntities>
<EntityCondition>
<RelativeDistanceCondition entityRef="adversary" relativeDistanceType="cartesianDistance" value="40.0" freespace="false" rule="lessThan"/>
</EntityCondition>
</ByEntityCondition>
</Condition>
</ConditionGroup>
</StartTrigger>
</Event>
<Event name="AdversaryChangesLane" priority="overwrite">
<Action name="AdversaryChangesLane">
<PrivateAction>
<LateralAction>
<LaneChangeAction>
<LaneChangeActionDynamics dynamicsShape="linear" value="25" dynamicsDimension="distance"/>
<LaneChangeTarget>
<RelativeTargetLane entityRef="adversary" value="-1"/>
</LaneChangeTarget>
</LaneChangeAction>
</LateralAction>
</PrivateAction>
</Action>
<StartTrigger>
<ConditionGroup>
<Condition name="AfterAdversaryAccelerates" delay="0" conditionEdge="rising">
<ByValueCondition>
<StoryboardElementStateCondition storyboardElementType="action" storyboardElementRef="AdversaryAccelerates" state="completeState"/>
</ByValueCondition>
</Condition>
</ConditionGroup>
</StartTrigger>
</Event>
</Maneuver>
</ManeuverGroup>
<StartTrigger>
<ConditionGroup>
<Condition name="OverallStartCondition" delay="0" conditionEdge="rising">
<ByEntityCondition>
<TriggeringEntities triggeringEntitiesRule="any">
<EntityRef entityRef="hero"/>
</TriggeringEntities>
<EntityCondition>
<TraveledDistanceCondition value="1.0"/>
</EntityCondition>
</ByEntityCondition>
</Condition>
<Condition name="StartTime" delay="0" conditionEdge="rising">
<ByValueCondition>
<SimulationTimeCondition value="0" rule="equalTo"/>
</ByValueCondition>
</Condition>
</ConditionGroup>
</StartTrigger>
<StopTrigger>
<ConditionGroup>
<Condition name="EndCondition" delay="0" conditionEdge="rising">
<ByEntityCondition>
<TriggeringEntities triggeringEntitiesRule="any">
<EntityRef entityRef="hero"/>
</TriggeringEntities>
<EntityCondition>
<TraveledDistanceCondition value="200.0"/>
</EntityCondition>
</ByEntityCondition>
</Condition>
</ConditionGroup>
</StopTrigger>
</Act>
</Story>
<StopTrigger>
<ConditionGroup>
<Condition name="criteria_RunningStopTest" delay="0" conditionEdge="rising">
<ByValueCondition>
<ParameterCondition parameterRef="" value="" rule="lessThan"/>
</ByValueCondition>
</Condition>
<Condition name="criteria_RunningRedLightTest" delay="0" conditionEdge="rising">
<ByValueCondition>
<ParameterCondition parameterRef="" value="" rule="lessThan"/>
</ByValueCondition>
</Condition>
<Condition name="criteria_WrongLaneTest" delay="0" conditionEdge="rising">
<ByValueCondition>
<ParameterCondition parameterRef="" value="" rule="lessThan"/>
</ByValueCondition>
</Condition>
<Condition name="criteria_OnSidewalkTest" delay="0" conditionEdge="rising">
<ByValueCondition>
<ParameterCondition parameterRef="" value="" rule="lessThan"/>
</ByValueCondition>
</Condition>
<Condition name="criteria_KeepLaneTest" delay="0" conditionEdge="rising">
<ByValueCondition>
<ParameterCondition parameterRef="" value="" rule="lessThan"/>
</ByValueCondition>
</Condition>
<Condition name="criteria_CollisionTest" delay="0" conditionEdge="rising">
<ByValueCondition>
<ParameterCondition parameterRef="" value="" rule="lessThan"/>
</ByValueCondition>
</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 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_22000">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_w_transform_22002">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_w_transform_22003">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_close_to_hero_22005">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_w_transform_22006">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_w_transform_22007">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_close_to_adversary_22008">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_close_to_standing_22009">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_close_to_adversary_22012">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_close_to_standing_22013">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_close_to_hero_22015">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_w_transform_22016">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_close_to_hero_22017">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_w_transform_22018">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_close_to_standing_22019">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_close_to_adversary_22020">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_w_transform_22021">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_close_to_hero_22023">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_w_transform_22024">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_w_transform_22025">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
</Entities>
<Storyboard>
<Init>
<Actions>
<GlobalAction>
<EnvironmentAction>
<Environment name="Environment1">
<TimeOfDay animation="false" dateTime="2019-06-25T12:00:00"/>
<Weather cloudState="free">
<Sun intensity="0.85" azimuth="0" elevation="1.31"/>
<Fog visualRange="100000.0"/>
<Precipitation precipitationType="dry" intensity="0.0"/>
</Weather>
<RoadCondition frictionScaleFactor="1.0"/>
</Environment>
</EnvironmentAction>
</GlobalAction>
<Private entityRef="hero">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-9.4" y="-152.8" z="0.5" h="1.57079632679"/>
</Position>
</TeleportAction>
</PrivateAction>
<PrivateAction>
<ControllerAction>
<AssignControllerAction>
<Controller name="HeroAgent">
<Properties>
<Property name="module" value="external_control"/>
</Properties>
</Controller>
</AssignControllerAction>
<OverrideControllerValueAction>
<Throttle value="0" active="false"/>
<Brake value="0" active="false"/>
<Clutch value="0" active="false"/>
<ParkingBrake value="0" active="false"/>
<SteeringWheel value="0" active="false"/>
<Gear number="0" active="false"/>
</OverrideControllerValueAction>
</ControllerAction>
</PrivateAction>
</Private>
<Private entityRef="adversary">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-9.4" y="-71.0" z="0.5" h="1.57079632679"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="standing">
<PrivateAction>
<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_22000">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-10.779671669006348" y="-71.9875259399414" z="0.0337691493332386"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_w_transform_22002">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-80.93405151367188" y="10.910585403442383" z="0.5"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_w_transform_22003">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-64.48631286621094" y="15.377645492553711" z="0.5"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_close_to_hero_22005">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-14.530200004577637" y="-152.91989135742188" z="0.0014286803780123591"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_w_transform_22006">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="85.53204345703125" y="-24.837888717651367" z="0.5"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_w_transform_22007">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="73.56681823730469" y="20.791173934936523" z="0.5"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_close_to_adversary_22008">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-4.0321736335754395" y="-66.02486419677734" z="0.033792417496442795"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_close_to_standing_22009">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-6.386359691619873" y="42.299068450927734" z="0.0030866239685565233"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_close_to_adversary_22012">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-1.1285481452941895" y="-74.2168197631836" z="0.03379932418465614"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_close_to_standing_22013">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-23.47119140625" y="16.639076232910156" z="0.0030659865587949753"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_close_to_hero_22015">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-9.792757987976074" y="-150.81472778320312" z="0.0014286803780123591"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_w_transform_22016">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="48.6248893737793" y="-42.2073974609375" z="0.5"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_close_to_hero_22017">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-6.788969039916992" y="-150.93832397460938" z="0.0014286803780123591"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_w_transform_22018">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-9.547733306884766" y="-6.589780807495117" z="0.5"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_close_to_standing_22019">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-5.556535243988037" y="20.780601501464844" z="0.0030467987526208162"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_close_to_adversary_22020">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-13.061542510986328" y="-66.3127212524414" z="0.03379596769809723"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_w_transform_22021">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-81.33476257324219" y="66.71891784667969" z="0.5"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_close_to_hero_22023">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="5.9607672691345215" y="-146.48350524902344" z="0.0014286803780123591"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_w_transform_22024">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="86.75765228271484" y="-5.4883856773376465" z="0.5"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_w_transform_22025">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-69.2537612915039" y="-73.68277740478516" 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_22000">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_w_transform_22002">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_w_transform_22003">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_close_to_hero_22005">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_w_transform_22006">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_w_transform_22007">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_close_to_adversary_22008">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_close_to_standing_22009">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_close_to_adversary_22012">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_close_to_standing_22013">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_close_to_hero_22015">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_w_transform_22016">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_close_to_hero_22017">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_w_transform_22018">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_close_to_standing_22019">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_w_transform_22021">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_close_to_hero_22023">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_w_transform_22024">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_w_transform_22025">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
</Entities>
<Storyboard>
<Init>
<Actions>
<GlobalAction>
<EnvironmentAction>
<Environment name="Environment1">
<TimeOfDay animation="false" dateTime="2019-06-25T12:00:00"/>
<Weather cloudState="free">
<Sun intensity="0.85" azimuth="0" elevation="1.31"/>
<Fog visualRange="100000.0"/>
<Precipitation precipitationType="dry" intensity="0.0"/>
</Weather>
<RoadCondition frictionScaleFactor="1.0"/>
</Environment>
</EnvironmentAction>
</GlobalAction>
<Private entityRef="hero">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-9.4" y="-152.8" z="0.5" h="1.57079632679"/>
</Position>
</TeleportAction>
</PrivateAction>
<PrivateAction>
<ControllerAction>
<AssignControllerAction>
<Controller name="HeroAgent">
<Properties>
<Property name="module" value="external_control"/>
</Properties>
</Controller>
</AssignControllerAction>
<OverrideControllerValueAction>
<Throttle value="0" active="false"/>
<Brake value="0" active="false"/>
<Clutch value="0" active="false"/>
<ParkingBrake value="0" active="false"/>
<SteeringWheel value="0" active="false"/>
<Gear number="0" active="false"/>
</OverrideControllerValueAction>
</ControllerAction>
</PrivateAction>
</Private>
<Private entityRef="adversary">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-9.4" y="-71.0" z="0.5" h="1.57079632679"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="standing">
<PrivateAction>
<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_22000">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-10.779671669006348" y="-71.9875259399414" z="0.0337691493332386"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_w_transform_22002">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-80.93405151367188" y="10.910585403442383" z="0.5"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_w_transform_22003">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-64.48631286621094" y="15.377645492553711" z="0.5"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_close_to_hero_22005">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-14.530200004577637" y="-152.91989135742188" z="0.0014286803780123591"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_w_transform_22006">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="85.53204345703125" y="-24.837888717651367" z="0.5"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_w_transform_22007">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="73.56681823730469" y="20.791173934936523" z="0.5"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_close_to_adversary_22008">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-4.0321736335754395" y="-66.02486419677734" z="0.033792417496442795"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_close_to_standing_22009">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-6.386359691619873" y="42.299068450927734" z="0.0030866239685565233"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_close_to_adversary_22012">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-1.1285481452941895" y="-74.2168197631836" z="0.03379932418465614"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_close_to_standing_22013">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-23.47119140625" y="16.639076232910156" z="0.0030659865587949753"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_close_to_hero_22015">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-9.792757987976074" y="-150.81472778320312" z="0.0014286803780123591"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_w_transform_22016">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="48.6248893737793" y="-42.2073974609375" z="0.5"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_close_to_hero_22017">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-6.788969039916992" y="-150.93832397460938" z="0.0014286803780123591"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_w_transform_22018">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-9.547733306884766" y="-6.589780807495117" z="0.5"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_close_to_standing_22019">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-5.556535243988037" y="20.780601501464844" z="0.0030467987526208162"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_w_transform_22021">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-81.33476257324219" y="66.71891784667969" z="0.5"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_close_to_hero_22023">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="5.9607672691345215" y="-146.48350524902344" z="0.0014286803780123591"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_w_transform_22024">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="86.75765228271484" y="-5.4883856773376465" z="0.5"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_w_transform_22025">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-69.2537612915039" y="-73.68277740478516" 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 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_4845">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_w_transform_4846">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_w_transform_4847">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_w_transform_4848">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_close_to_adversary_4850">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_close_to_hero_4851">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_close_to_hero_4852">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_close_to_hero_4854">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_w_transform_4855">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_close_to_standing_4856">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_close_to_adversary_4857">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_close_to_hero_4859">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_close_to_adversary_4860">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_w_transform_4862">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_close_to_adversary_4863">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_close_to_standing_4865">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_w_transform_4867">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
</Entities>
<Storyboard>
<Init>
<Actions>
<GlobalAction>
<EnvironmentAction>
<Environment name="Environment1">
<TimeOfDay animation="false" dateTime="2019-06-25T12:00:00"/>
<Weather cloudState="free">
<Sun intensity="0.85" azimuth="0" elevation="1.31"/>
<Fog visualRange="100000.0"/>
<Precipitation precipitationType="dry" intensity="0.0"/>
</Weather>
<RoadCondition frictionScaleFactor="1.0"/>
</Environment>
</EnvironmentAction>
</GlobalAction>
<Private entityRef="hero">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-9.4" y="-152.8" z="0.5" h="1.57079632679"/>
</Position>
</TeleportAction>
</PrivateAction>
<PrivateAction>
<ControllerAction>
<AssignControllerAction>
<Controller name="HeroAgent">
<Properties>
<Property name="module" value="external_control"/>
</Properties>
</Controller>
</AssignControllerAction>
<OverrideControllerValueAction>
<Throttle value="0" active="false"/>
<Brake value="0" active="false"/>
<Clutch value="0" active="false"/>
<ParkingBrake value="0" active="false"/>
<SteeringWheel value="0" active="false"/>
<Gear number="0" active="false"/>
</OverrideControllerValueAction>
</ControllerAction>
</PrivateAction>
</Private>
<Private entityRef="adversary">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-9.4" y="-71.0" z="0.5" h="1.57079632679"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="standing">
<PrivateAction>
<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_4845">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-11.8660888671875" y="23.47171401977539" z="0.0030802153050899506"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_w_transform_4846">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="46.93954086303711" y="-21.37372589111328" z="0.5"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_w_transform_4847">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-91.82716369628906" y="45.78129959106445" z="0.5"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_w_transform_4848">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-70.77987670898438" y="-44.14728927612305" z="0.5"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_close_to_adversary_4850">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-2.57473087310791" y="-76.58171081542969" z="0.03384040668606758"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_close_to_hero_4851">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-3.447960376739502" y="-149.23728942871094" z="0.0014286803780123591"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_close_to_hero_4852">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-9.021045684814453" y="-147.25978088378906" z="0.0014286803780123591"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_close_to_hero_4854">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-13.85850715637207" y="-151.97044372558594" z="0.0014286803780123591"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_w_transform_4855">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="23.920536041259766" y="-81.4716567993164" z="0.5"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_close_to_standing_4856">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-9.068074226379395" y="25.649808883666992" z="0.0030281448271125555"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_close_to_adversary_4857">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-14.158464431762695" y="-65.4084243774414" z="0.03379730135202408"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_close_to_hero_4859">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-2.026998519897461" y="-161.56175231933594" z="0.0014286803780123591"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_close_to_adversary_4860">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-16.73040199279785" y="-71.93359375" z="0.03383651748299599"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_w_transform_4862">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-91.18157958984375" y="-39.452362060546875" z="0.5"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_close_to_adversary_4863">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-16.397258758544922" y="-71.16812133789062" z="0.033818319439888"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_close_to_standing_4865">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-6.250170707702637" y="19.248422622680664" z="0.0031117629259824753"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_w_transform_4867">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-82.34837341308594" y="-32.650238037109375" 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_4845">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_w_transform_4846">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_w_transform_4847">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_w_transform_4848">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_close_to_adversary_4850">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_close_to_hero_4851">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_close_to_hero_4852">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_w_transform_4855">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_close_to_standing_4856">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_close_to_adversary_4857">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_close_to_hero_4859">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_close_to_adversary_4860">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_w_transform_4862">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_close_to_adversary_4863">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_close_to_standing_4865">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_w_transform_4867">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
</Entities>
<Storyboard>
<Init>
<Actions>
<GlobalAction>
<EnvironmentAction>
<Environment name="Environment1">
<TimeOfDay animation="false" dateTime="2019-06-25T12:00:00"/>
<Weather cloudState="free">
<Sun intensity="0.85" azimuth="0" elevation="1.31"/>
<Fog visualRange="100000.0"/>
<Precipitation precipitationType="dry" intensity="0.0"/>
</Weather>
<RoadCondition frictionScaleFactor="1.0"/>
</Environment>
</EnvironmentAction>
</GlobalAction>
<Private entityRef="hero">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-9.4" y="-152.8" z="0.5" h="1.57079632679"/>
</Position>
</TeleportAction>
</PrivateAction>
<PrivateAction>
<ControllerAction>
<AssignControllerAction>
<Controller name="HeroAgent">
<Properties>
<Property name="module" value="external_control"/>
</Properties>
</Controller>
</AssignControllerAction>
<OverrideControllerValueAction>
<Throttle value="0" active="false"/>
<Brake value="0" active="false"/>
<Clutch value="0" active="false"/>
<ParkingBrake value="0" active="false"/>
<SteeringWheel value="0" active="false"/>
<Gear number="0" active="false"/>
</OverrideControllerValueAction>
</ControllerAction>
</PrivateAction>
</Private>
<Private entityRef="adversary">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-9.4" y="-71.0" z="0.5" h="1.57079632679"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="standing">
<PrivateAction>
<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_4845">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-11.8660888671875" y="23.47171401977539" z="0.0030802153050899506"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_w_transform_4846">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="46.93954086303711" y="-21.37372589111328" z="0.5"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_w_transform_4847">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-91.82716369628906" y="45.78129959106445" z="0.5"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_w_transform_4848">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-70.77987670898438" y="-44.14728927612305" z="0.5"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_close_to_adversary_4850">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-2.57473087310791" y="-76.58171081542969" z="0.03384040668606758"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_close_to_hero_4851">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-3.447960376739502" y="-149.23728942871094" z="0.0014286803780123591"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_close_to_hero_4852">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-9.021045684814453" y="-147.25978088378906" z="0.0014286803780123591"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_w_transform_4855">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="23.920536041259766" y="-81.4716567993164" z="0.5"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_close_to_standing_4856">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-9.068074226379395" y="25.649808883666992" z="0.0030281448271125555"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_close_to_adversary_4857">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-14.158464431762695" y="-65.4084243774414" z="0.03379730135202408"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_close_to_hero_4859">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-2.026998519897461" y="-161.56175231933594" z="0.0014286803780123591"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_close_to_adversary_4860">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-16.73040199279785" y="-71.93359375" z="0.03383651748299599"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_w_transform_4862">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-91.18157958984375" y="-39.452362060546875" z="0.5"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_close_to_adversary_4863">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-16.397258758544922" y="-71.16812133789062" z="0.033818319439888"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_close_to_standing_4865">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-6.250170707702637" y="19.248422622680664" z="0.0031117629259824753"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_w_transform_4867">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-82.34837341308594" y="-32.650238037109375" 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 standing?
```
<?xml version="1.0" ?>
<OpenSCENARIO>
<FileHeader revMajor="1" revMinor="0" date="2020-03-24T12:00:00" description="CARLA:LaneChangeSimple" author=""/>
<ParameterDeclarations/>
<CatalogLocations/>
<RoadNetwork>
<LogicFile filepath="Town04"/>
<SceneGraphFile filepath=""/>
</RoadNetwork>
<Entities>
<ScenarioObject name="hero">
<Vehicle name="vehicle.tesla.model3" vehicleCategory="car">
<ParameterDeclarations/>
<Performance maxSpeed="69.444" maxAcceleration="200" maxDeceleration="10.0"/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2.1" length="4.5" height="1.8"/>
</BoundingBox>
<Axles>
<FrontAxle maxSteering="0.5" wheelDiameter="0.6" trackWidth="1.8" positionX="3.1" positionZ="0.3"/>
<RearAxle maxSteering="0.0" wheelDiameter="0.6" trackWidth="1.8" positionX="0.0" positionZ="0.3"/>
</Axles>
<Properties>
<Property name="type" value="ego_vehicle"/>
</Properties>
</Vehicle>
</ScenarioObject>
<ScenarioObject name="adversary">
<Vehicle name="vehicle.lincoln.mkz_2017" vehicleCategory="car">
<ParameterDeclarations/>
<Performance maxSpeed="69.444" maxAcceleration="200" maxDeceleration="10.0"/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2.1" length="4.5" height="1.8"/>
</BoundingBox>
<Axles>
<FrontAxle maxSteering="0.5" wheelDiameter="0.6" trackWidth="1.8" positionX="3.1" positionZ="0.3"/>
<RearAxle maxSteering="0.0" wheelDiameter="0.6" trackWidth="1.8" positionX="0.0" positionZ="0.3"/>
</Axles>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Vehicle>
</ScenarioObject>
<ScenarioObject name="standing">
<Vehicle name="vehicle.volkswagen.t2" vehicleCategory="car">
<ParameterDeclarations/>
<Performance maxSpeed="69.444" maxAcceleration="200" maxDeceleration="10.0"/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2.1" length="4.5" height="1.8"/>
</BoundingBox>
<Axles>
<FrontAxle maxSteering="0.5" wheelDiameter="0.6" trackWidth="1.8" positionX="3.1" positionZ="0.3"/>
<RearAxle maxSteering="0.0" wheelDiameter="0.6" trackWidth="1.8" positionX="0.0" positionZ="0.3"/>
</Axles>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Vehicle>
</ScenarioObject>
</Entities>
<Storyboard>
<Init>
<Actions>
<GlobalAction>
<EnvironmentAction>
<Environment name="Environment1">
<TimeOfDay animation="false" dateTime="2019-06-25T12:00:00"/>
<Weather cloudState="free">
<Sun intensity="0.85" azimuth="0" elevation="1.31"/>
<Fog visualRange="100000.0"/>
<Precipitation precipitationType="dry" intensity="0.0"/>
</Weather>
<RoadCondition frictionScaleFactor="1.0"/>
</Environment>
</EnvironmentAction>
</GlobalAction>
<Private entityRef="hero">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-9.4" y="-152.8" z="0.5" h="1.57079632679"/>
</Position>
</TeleportAction>
</PrivateAction>
<PrivateAction>
<ControllerAction>
<AssignControllerAction>
<Controller name="HeroAgent">
<Properties>
<Property name="module" value="external_control"/>
</Properties>
</Controller>
</AssignControllerAction>
<OverrideControllerValueAction>
<Throttle value="0" active="false"/>
<Brake value="0" active="false"/>
<Clutch value="0" active="false"/>
<ParkingBrake value="0" active="false"/>
<SteeringWheel value="0" active="false"/>
<Gear number="0" active="false"/>
</OverrideControllerValueAction>
</ControllerAction>
</PrivateAction>
</Private>
<Private entityRef="adversary">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-9.4" y="-71.0" z="0.5" h="1.57079632679"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="standing">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-8.2" y="29.2" z="0.5" h="1.57079632679"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
</Actions>
</Init>
<Story name="MyStory">
<Act name="Behavior">
<ManeuverGroup maximumExecutionCount="1" name="ManeuverSequence">
<Actors selectTriggeringEntities="false">
<EntityRef entityRef="adversary"/>
</Actors>
<Maneuver name="LaneChangeSimpleManeuver">
<Event name="AdversaryAccelerates" priority="overwrite">
<Action name="AdversaryAccelerates">
<PrivateAction>
<LongitudinalAction>
<SpeedAction>
<SpeedActionDynamics dynamicsShape="step" value="50" dynamicsDimension="distance"/>
<SpeedActionTarget>
<AbsoluteTargetSpeed value="5.0"/>
</SpeedActionTarget>
</SpeedAction>
</LongitudinalAction>
</PrivateAction>
</Action>
<StartTrigger>
<ConditionGroup>
<Condition name="StartCondition" delay="0" conditionEdge="rising">
<ByEntityCondition>
<TriggeringEntities triggeringEntitiesRule="any">
<EntityRef entityRef="hero"/>
</TriggeringEntities>
<EntityCondition>
<RelativeDistanceCondition entityRef="adversary" relativeDistanceType="cartesianDistance" value="40.0" freespace="false" rule="lessThan"/>
</EntityCondition>
</ByEntityCondition>
</Condition>
</ConditionGroup>
</StartTrigger>
</Event>
<Event name="AdversaryChangesLane" priority="overwrite">
<Action name="AdversaryChangesLane">
<PrivateAction>
<LateralAction>
<LaneChangeAction>
<LaneChangeActionDynamics dynamicsShape="linear" value="25" dynamicsDimension="distance"/>
<LaneChangeTarget>
<RelativeTargetLane entityRef="adversary" value="-1"/>
</LaneChangeTarget>
</LaneChangeAction>
</LateralAction>
</PrivateAction>
</Action>
<StartTrigger>
<ConditionGroup>
<Condition name="AfterAdversaryAccelerates" delay="0" conditionEdge="rising">
<ByValueCondition>
<StoryboardElementStateCondition storyboardElementType="action" storyboardElementRef="AdversaryAccelerates" state="completeState"/>
</ByValueCondition>
</Condition>
</ConditionGroup>
</StartTrigger>
</Event>
</Maneuver>
</ManeuverGroup>
<StartTrigger>
<ConditionGroup>
<Condition name="OverallStartCondition" delay="0" conditionEdge="rising">
<ByEntityCondition>
<TriggeringEntities triggeringEntitiesRule="any">
<EntityRef entityRef="hero"/>
</TriggeringEntities>
<EntityCondition>
<TraveledDistanceCondition value="1.0"/>
</EntityCondition>
</ByEntityCondition>
</Condition>
<Condition name="StartTime" delay="0" conditionEdge="rising">
<ByValueCondition>
<SimulationTimeCondition value="0" rule="equalTo"/>
</ByValueCondition>
</Condition>
</ConditionGroup>
</StartTrigger>
<StopTrigger>
<ConditionGroup>
<Condition name="EndCondition" delay="0" conditionEdge="rising">
<ByEntityCondition>
<TriggeringEntities triggeringEntitiesRule="any">
<EntityRef entityRef="hero"/>
</TriggeringEntities>
<EntityCondition>
<TraveledDistanceCondition value="200.0"/>
</EntityCondition>
</ByEntityCondition>
</Condition>
</ConditionGroup>
</StopTrigger>
</Act>
</Story>
<StopTrigger>
<ConditionGroup>
<Condition name="criteria_RunningStopTest" delay="0" conditionEdge="rising">
<ByValueCondition>
<ParameterCondition parameterRef="" value="" rule="lessThan"/>
</ByValueCondition>
</Condition>
<Condition name="criteria_RunningRedLightTest" delay="0" conditionEdge="rising">
<ByValueCondition>
<ParameterCondition parameterRef="" value="" rule="lessThan"/>
</ByValueCondition>
</Condition>
<Condition name="criteria_WrongLaneTest" delay="0" conditionEdge="rising">
<ByValueCondition>
<ParameterCondition parameterRef="" value="" rule="lessThan"/>
</ByValueCondition>
</Condition>
<Condition name="criteria_OnSidewalkTest" delay="0" conditionEdge="rising">
<ByValueCondition>
<ParameterCondition parameterRef="" value="" rule="lessThan"/>
</ByValueCondition>
</Condition>
<Condition name="criteria_KeepLaneTest" delay="0" conditionEdge="rising">
<ByValueCondition>
<ParameterCondition parameterRef="" value="" rule="lessThan"/>
</ByValueCondition>
</Condition>
<Condition name="criteria_CollisionTest" delay="0" conditionEdge="rising">
<ByValueCondition>
<ParameterCondition parameterRef="" value="" rule="lessThan"/>
</ByValueCondition>
</Condition>
<Condition name="criteria_DrivenDistanceTest" delay="0" conditionEdge="rising">
<ByValueCondition>
<ParameterCondition parameterRef="distance_success" value="100" rule="lessThan"/>
</ByValueCondition>
</Condition>
</ConditionGroup>
</StopTrigger>
</Storyboard>
</OpenSCENARIO>
``` | Here is the result:
```
<?xml version="1.0" ?>
<OpenSCENARIO>
<FileHeader revMajor="1" revMinor="0" date="2020-03-24T12:00:00" description="CARLA:LaneChangeSimple" author=""/>
<ParameterDeclarations/>
<CatalogLocations/>
<RoadNetwork>
<LogicFile filepath="Town04"/>
<SceneGraphFile filepath=""/>
</RoadNetwork>
<Entities>
<ScenarioObject name="hero">
<Vehicle name="vehicle.tesla.model3" vehicleCategory="car">
<ParameterDeclarations/>
<Performance maxSpeed="69.444" maxAcceleration="200" maxDeceleration="10.0"/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2.1" length="4.5" height="1.8"/>
</BoundingBox>
<Axles>
<FrontAxle maxSteering="0.5" wheelDiameter="0.6" trackWidth="1.8" positionX="3.1" positionZ="0.3"/>
<RearAxle maxSteering="0.0" wheelDiameter="0.6" trackWidth="1.8" positionX="0.0" positionZ="0.3"/>
</Axles>
<Properties>
<Property name="type" value="ego_vehicle"/>
</Properties>
</Vehicle>
</ScenarioObject>
<ScenarioObject name="adversary">
<Vehicle name="vehicle.lincoln.mkz_2017" vehicleCategory="car">
<ParameterDeclarations/>
<Performance maxSpeed="69.444" maxAcceleration="200" maxDeceleration="10.0"/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2.1" length="4.5" height="1.8"/>
</BoundingBox>
<Axles>
<FrontAxle maxSteering="0.5" wheelDiameter="0.6" trackWidth="1.8" positionX="3.1" positionZ="0.3"/>
<RearAxle maxSteering="0.0" wheelDiameter="0.6" trackWidth="1.8" positionX="0.0" positionZ="0.3"/>
</Axles>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Vehicle>
</ScenarioObject>
<ScenarioObject name="standing">
<Vehicle name="vehicle.volkswagen.t2" vehicleCategory="car">
<ParameterDeclarations/>
<Performance maxSpeed="69.444" maxAcceleration="200" maxDeceleration="10.0"/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2.1" length="4.5" height="1.8"/>
</BoundingBox>
<Axles>
<FrontAxle maxSteering="0.5" wheelDiameter="0.6" trackWidth="1.8" positionX="3.1" positionZ="0.3"/>
<RearAxle maxSteering="0.0" wheelDiameter="0.6" trackWidth="1.8" positionX="0.0" positionZ="0.3"/>
</Axles>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Vehicle>
</ScenarioObject>
<ScenarioObject name="pedestrian_close_to_standing_13625">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
</Entities>
<Storyboard>
<Init>
<Actions>
<GlobalAction>
<EnvironmentAction>
<Environment name="Environment1">
<TimeOfDay animation="false" dateTime="2019-06-25T12:00:00"/>
<Weather cloudState="free">
<Sun intensity="0.85" azimuth="0" elevation="1.31"/>
<Fog visualRange="100000.0"/>
<Precipitation precipitationType="dry" intensity="0.0"/>
</Weather>
<RoadCondition frictionScaleFactor="1.0"/>
</Environment>
</EnvironmentAction>
</GlobalAction>
<Private entityRef="hero">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-9.4" y="-152.8" z="0.5" h="1.57079632679"/>
</Position>
</TeleportAction>
</PrivateAction>
<PrivateAction>
<ControllerAction>
<AssignControllerAction>
<Controller name="HeroAgent">
<Properties>
<Property name="module" value="external_control"/>
</Properties>
</Controller>
</AssignControllerAction>
<OverrideControllerValueAction>
<Throttle value="0" active="false"/>
<Brake value="0" active="false"/>
<Clutch value="0" active="false"/>
<ParkingBrake value="0" active="false"/>
<SteeringWheel value="0" active="false"/>
<Gear number="0" active="false"/>
</OverrideControllerValueAction>
</ControllerAction>
</PrivateAction>
</Private>
<Private entityRef="adversary">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-9.4" y="-71.0" z="0.5" h="1.57079632679"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="standing">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-8.2" y="29.2" z="0.5" h="1.57079632679"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_close_to_standing_13625">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="1.3795617818832397" y="22.604949951171875" z="0.0030449675396084785"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
</Actions>
</Init>
<Story name="MyStory">
<Act name="Behavior">
<ManeuverGroup maximumExecutionCount="1" name="ManeuverSequence">
<Actors selectTriggeringEntities="false">
<EntityRef entityRef="adversary"/>
</Actors>
<Maneuver name="LaneChangeSimpleManeuver">
<Event name="AdversaryAccelerates" priority="overwrite">
<Action name="AdversaryAccelerates">
<PrivateAction>
<LongitudinalAction>
<SpeedAction>
<SpeedActionDynamics dynamicsShape="step" value="50" dynamicsDimension="distance"/>
<SpeedActionTarget>
<AbsoluteTargetSpeed value="5.0"/>
</SpeedActionTarget>
</SpeedAction>
</LongitudinalAction>
</PrivateAction>
</Action>
<StartTrigger>
<ConditionGroup>
<Condition name="StartCondition" delay="0" conditionEdge="rising">
<ByEntityCondition>
<TriggeringEntities triggeringEntitiesRule="any">
<EntityRef entityRef="hero"/>
</TriggeringEntities>
<EntityCondition>
<RelativeDistanceCondition entityRef="adversary" relativeDistanceType="cartesianDistance" value="40.0" freespace="false" rule="lessThan"/>
</EntityCondition>
</ByEntityCondition>
</Condition>
</ConditionGroup>
</StartTrigger>
</Event>
<Event name="AdversaryChangesLane" priority="overwrite">
<Action name="AdversaryChangesLane">
<PrivateAction>
<LateralAction>
<LaneChangeAction>
<LaneChangeActionDynamics dynamicsShape="linear" value="25" dynamicsDimension="distance"/>
<LaneChangeTarget>
<RelativeTargetLane entityRef="adversary" value="-1"/>
</LaneChangeTarget>
</LaneChangeAction>
</LateralAction>
</PrivateAction>
</Action>
<StartTrigger>
<ConditionGroup>
<Condition name="AfterAdversaryAccelerates" delay="0" conditionEdge="rising">
<ByValueCondition>
<StoryboardElementStateCondition storyboardElementType="action" storyboardElementRef="AdversaryAccelerates" state="completeState"/>
</ByValueCondition>
</Condition>
</ConditionGroup>
</StartTrigger>
</Event>
</Maneuver>
</ManeuverGroup>
<StartTrigger>
<ConditionGroup>
<Condition name="OverallStartCondition" delay="0" conditionEdge="rising">
<ByEntityCondition>
<TriggeringEntities triggeringEntitiesRule="any">
<EntityRef entityRef="hero"/>
</TriggeringEntities>
<EntityCondition>
<TraveledDistanceCondition value="1.0"/>
</EntityCondition>
</ByEntityCondition>
</Condition>
<Condition name="StartTime" delay="0" conditionEdge="rising">
<ByValueCondition>
<SimulationTimeCondition value="0" rule="equalTo"/>
</ByValueCondition>
</Condition>
</ConditionGroup>
</StartTrigger>
<StopTrigger>
<ConditionGroup>
<Condition name="EndCondition" delay="0" conditionEdge="rising">
<ByEntityCondition>
<TriggeringEntities triggeringEntitiesRule="any">
<EntityRef entityRef="hero"/>
</TriggeringEntities>
<EntityCondition>
<TraveledDistanceCondition value="200.0"/>
</EntityCondition>
</ByEntityCondition>
</Condition>
</ConditionGroup>
</StopTrigger>
</Act>
</Story>
<StopTrigger>
<ConditionGroup>
<Condition name="criteria_RunningStopTest" delay="0" conditionEdge="rising">
<ByValueCondition>
<ParameterCondition parameterRef="" value="" rule="lessThan"/>
</ByValueCondition>
</Condition>
<Condition name="criteria_RunningRedLightTest" delay="0" conditionEdge="rising">
<ByValueCondition>
<ParameterCondition parameterRef="" value="" rule="lessThan"/>
</ByValueCondition>
</Condition>
<Condition name="criteria_WrongLaneTest" delay="0" conditionEdge="rising">
<ByValueCondition>
<ParameterCondition parameterRef="" value="" rule="lessThan"/>
</ByValueCondition>
</Condition>
<Condition name="criteria_OnSidewalkTest" delay="0" conditionEdge="rising">
<ByValueCondition>
<ParameterCondition parameterRef="" value="" rule="lessThan"/>
</ByValueCondition>
</Condition>
<Condition name="criteria_KeepLaneTest" delay="0" conditionEdge="rising">
<ByValueCondition>
<ParameterCondition parameterRef="" value="" rule="lessThan"/>
</ByValueCondition>
</Condition>
<Condition name="criteria_CollisionTest" delay="0" conditionEdge="rising">
<ByValueCondition>
<ParameterCondition parameterRef="" value="" rule="lessThan"/>
</ByValueCondition>
</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_standing_24153">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_close_to_standing_24154">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_close_to_adversary_24155">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_w_transform_24157">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
</Entities>
<Storyboard>
<Init>
<Actions>
<GlobalAction>
<EnvironmentAction>
<Environment name="Environment1">
<TimeOfDay animation="false" dateTime="2019-06-25T12:00:00"/>
<Weather cloudState="free">
<Sun intensity="0.85" azimuth="0" elevation="1.31"/>
<Fog visualRange="100000.0"/>
<Precipitation precipitationType="dry" intensity="0.0"/>
</Weather>
<RoadCondition frictionScaleFactor="1.0"/>
</Environment>
</EnvironmentAction>
</GlobalAction>
<Private entityRef="hero">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-9.4" y="-152.8" z="0.5" h="1.57079632679"/>
</Position>
</TeleportAction>
</PrivateAction>
<PrivateAction>
<ControllerAction>
<AssignControllerAction>
<Controller name="HeroAgent">
<Properties>
<Property name="module" value="external_control"/>
</Properties>
</Controller>
</AssignControllerAction>
<OverrideControllerValueAction>
<Throttle value="0" active="false"/>
<Brake value="0" active="false"/>
<Clutch value="0" active="false"/>
<ParkingBrake value="0" active="false"/>
<SteeringWheel value="0" active="false"/>
<Gear number="0" active="false"/>
</OverrideControllerValueAction>
</ControllerAction>
</PrivateAction>
</Private>
<Private entityRef="adversary">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-9.4" y="-71.0" z="0.5" h="1.57079632679"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="standing">
<PrivateAction>
<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_24153">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-6.426474094390869" y="24.255170822143555" z="0.0030372999608516693"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_close_to_standing_24154">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-10.758387565612793" y="37.28229522705078" z="0.0030440902337431908"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_close_to_adversary_24155">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-8.965140342712402" y="-61.84477615356445" z="0.03379276022315025"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_w_transform_24157">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="95.8187026977539" y="-79.72261047363281" 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_24153">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_close_to_standing_24154">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_close_to_adversary_24155">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_w_transform_24157">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_close_to_hero_24158">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
</Entities>
<Storyboard>
<Init>
<Actions>
<GlobalAction>
<EnvironmentAction>
<Environment name="Environment1">
<TimeOfDay animation="false" dateTime="2019-06-25T12:00:00"/>
<Weather cloudState="free">
<Sun intensity="0.85" azimuth="0" elevation="1.31"/>
<Fog visualRange="100000.0"/>
<Precipitation precipitationType="dry" intensity="0.0"/>
</Weather>
<RoadCondition frictionScaleFactor="1.0"/>
</Environment>
</EnvironmentAction>
</GlobalAction>
<Private entityRef="hero">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-9.4" y="-152.8" z="0.5" h="1.57079632679"/>
</Position>
</TeleportAction>
</PrivateAction>
<PrivateAction>
<ControllerAction>
<AssignControllerAction>
<Controller name="HeroAgent">
<Properties>
<Property name="module" value="external_control"/>
</Properties>
</Controller>
</AssignControllerAction>
<OverrideControllerValueAction>
<Throttle value="0" active="false"/>
<Brake value="0" active="false"/>
<Clutch value="0" active="false"/>
<ParkingBrake value="0" active="false"/>
<SteeringWheel value="0" active="false"/>
<Gear number="0" active="false"/>
</OverrideControllerValueAction>
</ControllerAction>
</PrivateAction>
</Private>
<Private entityRef="adversary">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-9.4" y="-71.0" z="0.5" h="1.57079632679"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="standing">
<PrivateAction>
<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_24153">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-6.426474094390869" y="24.255170822143555" z="0.0030372999608516693"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_close_to_standing_24154">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-10.758387565612793" y="37.28229522705078" z="0.0030440902337431908"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_close_to_adversary_24155">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-8.965140342712402" y="-61.84477615356445" z="0.03379276022315025"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_w_transform_24157">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="95.8187026977539" y="-79.72261047363281" z="0.5"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_close_to_hero_24158">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-2.1043877601623535" y="-160.53518676757812" z="0.0014286803780123591"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
</Actions>
</Init>
<Story name="MyStory">
<Act name="Behavior">
<ManeuverGroup maximumExecutionCount="1" name="ManeuverSequence">
<Actors selectTriggeringEntities="false">
<EntityRef entityRef="adversary"/>
</Actors>
<Maneuver name="LaneChangeSimpleManeuver">
<Event name="AdversaryAccelerates" priority="overwrite">
<Action name="AdversaryAccelerates">
<PrivateAction>
<LongitudinalAction>
<SpeedAction>
<SpeedActionDynamics dynamicsShape="step" value="50" dynamicsDimension="distance"/>
<SpeedActionTarget>
<AbsoluteTargetSpeed value="5.0"/>
</SpeedActionTarget>
</SpeedAction>
</LongitudinalAction>
</PrivateAction>
</Action>
<StartTrigger>
<ConditionGroup>
<Condition name="StartCondition" delay="0" conditionEdge="rising">
<ByEntityCondition>
<TriggeringEntities triggeringEntitiesRule="any">
<EntityRef entityRef="hero"/>
</TriggeringEntities>
<EntityCondition>
<RelativeDistanceCondition entityRef="adversary" relativeDistanceType="cartesianDistance" value="40.0" freespace="false" rule="lessThan"/>
</EntityCondition>
</ByEntityCondition>
</Condition>
</ConditionGroup>
</StartTrigger>
</Event>
<Event name="AdversaryChangesLane" priority="overwrite">
<Action name="AdversaryChangesLane">
<PrivateAction>
<LateralAction>
<LaneChangeAction>
<LaneChangeActionDynamics dynamicsShape="linear" value="25" dynamicsDimension="distance"/>
<LaneChangeTarget>
<RelativeTargetLane entityRef="adversary" value="-1"/>
</LaneChangeTarget>
</LaneChangeAction>
</LateralAction>
</PrivateAction>
</Action>
<StartTrigger>
<ConditionGroup>
<Condition name="AfterAdversaryAccelerates" delay="0" conditionEdge="rising">
<ByValueCondition>
<StoryboardElementStateCondition storyboardElementType="action" storyboardElementRef="AdversaryAccelerates" state="completeState"/>
</ByValueCondition>
</Condition>
</ConditionGroup>
</StartTrigger>
</Event>
</Maneuver>
</ManeuverGroup>
<StartTrigger>
<ConditionGroup>
<Condition name="OverallStartCondition" delay="0" conditionEdge="rising">
<ByEntityCondition>
<TriggeringEntities triggeringEntitiesRule="any">
<EntityRef entityRef="hero"/>
</TriggeringEntities>
<EntityCondition>
<TraveledDistanceCondition value="1.0"/>
</EntityCondition>
</ByEntityCondition>
</Condition>
<Condition name="StartTime" delay="0" conditionEdge="rising">
<ByValueCondition>
<SimulationTimeCondition value="0" rule="equalTo"/>
</ByValueCondition>
</Condition>
</ConditionGroup>
</StartTrigger>
<StopTrigger>
<ConditionGroup>
<Condition name="EndCondition" delay="0" conditionEdge="rising">
<ByEntityCondition>
<TriggeringEntities triggeringEntitiesRule="any">
<EntityRef entityRef="hero"/>
</TriggeringEntities>
<EntityCondition>
<TraveledDistanceCondition value="200.0"/>
</EntityCondition>
</ByEntityCondition>
</Condition>
</ConditionGroup>
</StopTrigger>
</Act>
</Story>
<StopTrigger>
<ConditionGroup>
<Condition name="criteria_RunningStopTest" delay="0" conditionEdge="rising">
<ByValueCondition>
<ParameterCondition parameterRef="" value="" rule="lessThan"/>
</ByValueCondition>
</Condition>
<Condition name="criteria_RunningRedLightTest" delay="0" conditionEdge="rising">
<ByValueCondition>
<ParameterCondition parameterRef="" value="" rule="lessThan"/>
</ByValueCondition>
</Condition>
<Condition name="criteria_WrongLaneTest" delay="0" conditionEdge="rising">
<ByValueCondition>
<ParameterCondition parameterRef="" value="" rule="lessThan"/>
</ByValueCondition>
</Condition>
<Condition name="criteria_OnSidewalkTest" delay="0" conditionEdge="rising">
<ByValueCondition>
<ParameterCondition parameterRef="" value="" rule="lessThan"/>
</ByValueCondition>
</Condition>
<Condition name="criteria_KeepLaneTest" delay="0" conditionEdge="rising">
<ByValueCondition>
<ParameterCondition parameterRef="" value="" rule="lessThan"/>
</ByValueCondition>
</Condition>
<Condition name="criteria_CollisionTest" delay="0" conditionEdge="rising">
<ByValueCondition>
<ParameterCondition parameterRef="" value="" rule="lessThan"/>
</ByValueCondition>
</Condition>
<Condition name="criteria_DrivenDistanceTest" delay="0" conditionEdge="rising">
<ByValueCondition>
<ParameterCondition parameterRef="distance_success" value="100" rule="lessThan"/>
</ByValueCondition>
</Condition>
</ConditionGroup>
</StopTrigger>
</Storyboard>
</OpenSCENARIO>
``` |
i would like to instruct you to remove pedestrian actor named pedestrian_w_transform_2556?
```
<?xml version="1.0" ?>
<OpenSCENARIO>
<FileHeader revMajor="1" revMinor="0" date="2020-03-24T12:00:00" description="CARLA:LaneChangeSimple" author=""/>
<ParameterDeclarations/>
<CatalogLocations/>
<RoadNetwork>
<LogicFile filepath="Town04"/>
<SceneGraphFile filepath=""/>
</RoadNetwork>
<Entities>
<ScenarioObject name="hero">
<Vehicle name="vehicle.tesla.model3" vehicleCategory="car">
<ParameterDeclarations/>
<Performance maxSpeed="69.444" maxAcceleration="200" maxDeceleration="10.0"/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2.1" length="4.5" height="1.8"/>
</BoundingBox>
<Axles>
<FrontAxle maxSteering="0.5" wheelDiameter="0.6" trackWidth="1.8" positionX="3.1" positionZ="0.3"/>
<RearAxle maxSteering="0.0" wheelDiameter="0.6" trackWidth="1.8" positionX="0.0" positionZ="0.3"/>
</Axles>
<Properties>
<Property name="type" value="ego_vehicle"/>
</Properties>
</Vehicle>
</ScenarioObject>
<ScenarioObject name="adversary">
<Vehicle name="vehicle.lincoln.mkz_2017" vehicleCategory="car">
<ParameterDeclarations/>
<Performance maxSpeed="69.444" maxAcceleration="200" maxDeceleration="10.0"/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2.1" length="4.5" height="1.8"/>
</BoundingBox>
<Axles>
<FrontAxle maxSteering="0.5" wheelDiameter="0.6" trackWidth="1.8" positionX="3.1" positionZ="0.3"/>
<RearAxle maxSteering="0.0" wheelDiameter="0.6" trackWidth="1.8" positionX="0.0" positionZ="0.3"/>
</Axles>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Vehicle>
</ScenarioObject>
<ScenarioObject name="standing">
<Vehicle name="vehicle.volkswagen.t2" vehicleCategory="car">
<ParameterDeclarations/>
<Performance maxSpeed="69.444" maxAcceleration="200" maxDeceleration="10.0"/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2.1" length="4.5" height="1.8"/>
</BoundingBox>
<Axles>
<FrontAxle maxSteering="0.5" wheelDiameter="0.6" trackWidth="1.8" positionX="3.1" positionZ="0.3"/>
<RearAxle maxSteering="0.0" wheelDiameter="0.6" 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_2550">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_close_to_hero_2551">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_w_transform_2552">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_close_to_adversary_2553">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_w_transform_2554">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_close_to_standing_2555">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_w_transform_2556">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_w_transform_2557">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_w_transform_2558">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_close_to_hero_2559">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_w_transform_2560">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
</Entities>
<Storyboard>
<Init>
<Actions>
<GlobalAction>
<EnvironmentAction>
<Environment name="Environment1">
<TimeOfDay animation="false" dateTime="2019-06-25T12:00:00"/>
<Weather cloudState="free">
<Sun intensity="0.85" azimuth="0" elevation="1.31"/>
<Fog visualRange="100000.0"/>
<Precipitation precipitationType="dry" intensity="0.0"/>
</Weather>
<RoadCondition frictionScaleFactor="1.0"/>
</Environment>
</EnvironmentAction>
</GlobalAction>
<Private entityRef="hero">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-9.4" y="-152.8" z="0.5" h="1.57079632679"/>
</Position>
</TeleportAction>
</PrivateAction>
<PrivateAction>
<ControllerAction>
<AssignControllerAction>
<Controller name="HeroAgent">
<Properties>
<Property name="module" value="external_control"/>
</Properties>
</Controller>
</AssignControllerAction>
<OverrideControllerValueAction>
<Throttle value="0" active="false"/>
<Brake value="0" active="false"/>
<Clutch value="0" active="false"/>
<ParkingBrake value="0" active="false"/>
<SteeringWheel value="0" active="false"/>
<Gear number="0" active="false"/>
</OverrideControllerValueAction>
</ControllerAction>
</PrivateAction>
</Private>
<Private entityRef="adversary">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-9.4" y="-71.0" z="0.5" h="1.57079632679"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="standing">
<PrivateAction>
<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_2550">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-12.214611053466797" y="-154.8959197998047" z="0.0014286803780123591"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_close_to_hero_2551">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-1.7364816665649414" y="-158.7273406982422" z="0.0014286803780123591"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_w_transform_2552">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="88.85635375976562" y="53.633445739746094" z="0.5"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_close_to_adversary_2553">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-15.169442176818848" y="-70.4441909790039" z="0.033810004591941833"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_w_transform_2554">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="41.13764572143555" y="47.51963806152344" z="0.5"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_close_to_standing_2555">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-14.296113967895508" y="38.184810638427734" z="0.0030474471859633923"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_w_transform_2556">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="65.73411560058594" y="-8.438080787658691" z="0.5"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_w_transform_2557">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-69.07101440429688" y="-37.64472198486328" z="0.5"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_w_transform_2558">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="31.847169876098633" y="-79.88677215576172" z="0.5"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_close_to_hero_2559">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-23.643733978271484" y="-158.62109375" z="0.0014286803780123591"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_w_transform_2560">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-58.35395050048828" y="53.653377532958984" 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_2550">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_close_to_hero_2551">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_w_transform_2552">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_close_to_adversary_2553">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_w_transform_2554">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_close_to_standing_2555">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_w_transform_2557">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_w_transform_2558">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_close_to_hero_2559">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_w_transform_2560">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
</Entities>
<Storyboard>
<Init>
<Actions>
<GlobalAction>
<EnvironmentAction>
<Environment name="Environment1">
<TimeOfDay animation="false" dateTime="2019-06-25T12:00:00"/>
<Weather cloudState="free">
<Sun intensity="0.85" azimuth="0" elevation="1.31"/>
<Fog visualRange="100000.0"/>
<Precipitation precipitationType="dry" intensity="0.0"/>
</Weather>
<RoadCondition frictionScaleFactor="1.0"/>
</Environment>
</EnvironmentAction>
</GlobalAction>
<Private entityRef="hero">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-9.4" y="-152.8" z="0.5" h="1.57079632679"/>
</Position>
</TeleportAction>
</PrivateAction>
<PrivateAction>
<ControllerAction>
<AssignControllerAction>
<Controller name="HeroAgent">
<Properties>
<Property name="module" value="external_control"/>
</Properties>
</Controller>
</AssignControllerAction>
<OverrideControllerValueAction>
<Throttle value="0" active="false"/>
<Brake value="0" active="false"/>
<Clutch value="0" active="false"/>
<ParkingBrake value="0" active="false"/>
<SteeringWheel value="0" active="false"/>
<Gear number="0" active="false"/>
</OverrideControllerValueAction>
</ControllerAction>
</PrivateAction>
</Private>
<Private entityRef="adversary">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-9.4" y="-71.0" z="0.5" h="1.57079632679"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="standing">
<PrivateAction>
<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_2550">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-12.214611053466797" y="-154.8959197998047" z="0.0014286803780123591"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_close_to_hero_2551">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-1.7364816665649414" y="-158.7273406982422" z="0.0014286803780123591"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_w_transform_2552">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="88.85635375976562" y="53.633445739746094" z="0.5"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_close_to_adversary_2553">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-15.169442176818848" y="-70.4441909790039" z="0.033810004591941833"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_w_transform_2554">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="41.13764572143555" y="47.51963806152344" z="0.5"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_close_to_standing_2555">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-14.296113967895508" y="38.184810638427734" z="0.0030474471859633923"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_w_transform_2557">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-69.07101440429688" y="-37.64472198486328" z="0.5"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_w_transform_2558">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="31.847169876098633" y="-79.88677215576172" z="0.5"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_close_to_hero_2559">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-23.643733978271484" y="-158.62109375" z="0.0014286803780123591"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_w_transform_2560">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-58.35395050048828" y="53.653377532958984" 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 actor named pedestrian_close_to_adversary_2415?
```
<?xml version="1.0" ?>
<OpenSCENARIO>
<FileHeader revMajor="1" revMinor="0" date="2020-03-24T12:00:00" description="CARLA:LaneChangeSimple" author=""/>
<ParameterDeclarations/>
<CatalogLocations/>
<RoadNetwork>
<LogicFile filepath="Town04"/>
<SceneGraphFile filepath=""/>
</RoadNetwork>
<Entities>
<ScenarioObject name="hero">
<Vehicle name="vehicle.tesla.model3" vehicleCategory="car">
<ParameterDeclarations/>
<Performance maxSpeed="69.444" maxAcceleration="200" maxDeceleration="10.0"/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2.1" length="4.5" height="1.8"/>
</BoundingBox>
<Axles>
<FrontAxle maxSteering="0.5" wheelDiameter="0.6" trackWidth="1.8" positionX="3.1" positionZ="0.3"/>
<RearAxle maxSteering="0.0" wheelDiameter="0.6" trackWidth="1.8" positionX="0.0" positionZ="0.3"/>
</Axles>
<Properties>
<Property name="type" value="ego_vehicle"/>
</Properties>
</Vehicle>
</ScenarioObject>
<ScenarioObject name="adversary">
<Vehicle name="vehicle.lincoln.mkz_2017" vehicleCategory="car">
<ParameterDeclarations/>
<Performance maxSpeed="69.444" maxAcceleration="200" maxDeceleration="10.0"/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2.1" length="4.5" height="1.8"/>
</BoundingBox>
<Axles>
<FrontAxle maxSteering="0.5" wheelDiameter="0.6" trackWidth="1.8" positionX="3.1" positionZ="0.3"/>
<RearAxle maxSteering="0.0" wheelDiameter="0.6" trackWidth="1.8" positionX="0.0" positionZ="0.3"/>
</Axles>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Vehicle>
</ScenarioObject>
<ScenarioObject name="standing">
<Vehicle name="vehicle.volkswagen.t2" vehicleCategory="car">
<ParameterDeclarations/>
<Performance maxSpeed="69.444" maxAcceleration="200" maxDeceleration="10.0"/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2.1" length="4.5" height="1.8"/>
</BoundingBox>
<Axles>
<FrontAxle maxSteering="0.5" wheelDiameter="0.6" trackWidth="1.8" positionX="3.1" positionZ="0.3"/>
<RearAxle maxSteering="0.0" wheelDiameter="0.6" 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_2415">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_close_to_hero_2416">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_w_transform_2418">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_w_transform_2421">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_w_transform_2422">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_w_transform_2423">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_close_to_standing_2424">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_close_to_adversary_2425">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_w_transform_2426">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_w_transform_2427">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_close_to_adversary_2428">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_w_transform_2429">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_w_transform_2431">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
</Entities>
<Storyboard>
<Init>
<Actions>
<GlobalAction>
<EnvironmentAction>
<Environment name="Environment1">
<TimeOfDay animation="false" dateTime="2019-06-25T12:00:00"/>
<Weather cloudState="free">
<Sun intensity="0.85" azimuth="0" elevation="1.31"/>
<Fog visualRange="100000.0"/>
<Precipitation precipitationType="dry" intensity="0.0"/>
</Weather>
<RoadCondition frictionScaleFactor="1.0"/>
</Environment>
</EnvironmentAction>
</GlobalAction>
<Private entityRef="hero">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-9.4" y="-152.8" z="0.5" h="1.57079632679"/>
</Position>
</TeleportAction>
</PrivateAction>
<PrivateAction>
<ControllerAction>
<AssignControllerAction>
<Controller name="HeroAgent">
<Properties>
<Property name="module" value="external_control"/>
</Properties>
</Controller>
</AssignControllerAction>
<OverrideControllerValueAction>
<Throttle value="0" active="false"/>
<Brake value="0" active="false"/>
<Clutch value="0" active="false"/>
<ParkingBrake value="0" active="false"/>
<SteeringWheel value="0" active="false"/>
<Gear number="0" active="false"/>
</OverrideControllerValueAction>
</ControllerAction>
</PrivateAction>
</Private>
<Private entityRef="adversary">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-9.4" y="-71.0" z="0.5" h="1.57079632679"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="standing">
<PrivateAction>
<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_2415">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-19.23870277404785" y="-76.21827697753906" z="0.03379325941205025"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_close_to_hero_2416">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-8.858126640319824" y="-152.05870056152344" z="0.0014286803780123591"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_w_transform_2418">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="17.153770446777344" y="-15.250184059143066" z="0.5"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_w_transform_2421">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-87.70144653320312" y="-99.1224365234375" z="0.5"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_w_transform_2422">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="49.435462951660156" y="-13.72353458404541" z="0.5"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_w_transform_2423">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="62.755714416503906" y="-76.54312133789062" z="0.5"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_close_to_standing_2424">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-3.9445271492004395" y="38.428001403808594" z="0.0030706024263054132"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_close_to_adversary_2425">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-10.00739574432373" y="-72.42996215820312" z="0.03380584716796875"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_w_transform_2426">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-80.41865539550781" y="-52.16318893432617" z="0.5"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_w_transform_2427">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-32.17973327636719" y="13.138433456420898" z="0.5"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_close_to_adversary_2428">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-14.40975570678711" y="-78.27483367919922" z="0.033860623836517334"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_w_transform_2429">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="87.78767395019531" y="53.58839797973633" z="0.5"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_w_transform_2431">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-89.94076538085938" y="10.10871410369873" 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_2416">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_w_transform_2418">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_w_transform_2421">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_w_transform_2422">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_w_transform_2423">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_close_to_standing_2424">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_close_to_adversary_2425">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_w_transform_2426">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_w_transform_2427">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_close_to_adversary_2428">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_w_transform_2429">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_w_transform_2431">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
</Entities>
<Storyboard>
<Init>
<Actions>
<GlobalAction>
<EnvironmentAction>
<Environment name="Environment1">
<TimeOfDay animation="false" dateTime="2019-06-25T12:00:00"/>
<Weather cloudState="free">
<Sun intensity="0.85" azimuth="0" elevation="1.31"/>
<Fog visualRange="100000.0"/>
<Precipitation precipitationType="dry" intensity="0.0"/>
</Weather>
<RoadCondition frictionScaleFactor="1.0"/>
</Environment>
</EnvironmentAction>
</GlobalAction>
<Private entityRef="hero">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-9.4" y="-152.8" z="0.5" h="1.57079632679"/>
</Position>
</TeleportAction>
</PrivateAction>
<PrivateAction>
<ControllerAction>
<AssignControllerAction>
<Controller name="HeroAgent">
<Properties>
<Property name="module" value="external_control"/>
</Properties>
</Controller>
</AssignControllerAction>
<OverrideControllerValueAction>
<Throttle value="0" active="false"/>
<Brake value="0" active="false"/>
<Clutch value="0" active="false"/>
<ParkingBrake value="0" active="false"/>
<SteeringWheel value="0" active="false"/>
<Gear number="0" active="false"/>
</OverrideControllerValueAction>
</ControllerAction>
</PrivateAction>
</Private>
<Private entityRef="adversary">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-9.4" y="-71.0" z="0.5" h="1.57079632679"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="standing">
<PrivateAction>
<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_2416">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-8.858126640319824" y="-152.05870056152344" z="0.0014286803780123591"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_w_transform_2418">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="17.153770446777344" y="-15.250184059143066" z="0.5"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_w_transform_2421">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-87.70144653320312" y="-99.1224365234375" z="0.5"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_w_transform_2422">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="49.435462951660156" y="-13.72353458404541" z="0.5"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_w_transform_2423">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="62.755714416503906" y="-76.54312133789062" z="0.5"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_close_to_standing_2424">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-3.9445271492004395" y="38.428001403808594" z="0.0030706024263054132"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_close_to_adversary_2425">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-10.00739574432373" y="-72.42996215820312" z="0.03380584716796875"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_w_transform_2426">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-80.41865539550781" y="-52.16318893432617" z="0.5"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_w_transform_2427">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-32.17973327636719" y="13.138433456420898" z="0.5"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_close_to_adversary_2428">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-14.40975570678711" y="-78.27483367919922" z="0.033860623836517334"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_w_transform_2429">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="87.78767395019531" y="53.58839797973633" z="0.5"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_w_transform_2431">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-89.94076538085938" y="10.10871410369873" 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 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_6856">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_close_to_standing_6857">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_close_to_hero_6858">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_close_to_hero_6859">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_w_transform_6862">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_w_transform_6863">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_close_to_hero_6864">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_close_to_adversary_6865">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_close_to_adversary_6866">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_close_to_hero_6867">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_close_to_hero_6868">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_close_to_adversary_6869">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_w_transform_6870">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_close_to_hero_6871">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_w_transform_6872">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_close_to_standing_6873">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_w_transform_6874">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_close_to_hero_6875">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_close_to_adversary_6876">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_close_to_standing_6877">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_close_to_standing_6879">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_close_to_standing_6880">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_w_transform_6881">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_w_transform_6883">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
</Entities>
<Storyboard>
<Init>
<Actions>
<GlobalAction>
<EnvironmentAction>
<Environment name="Environment1">
<TimeOfDay animation="false" dateTime="2019-06-25T12:00:00"/>
<Weather cloudState="free">
<Sun intensity="0.85" azimuth="0" elevation="1.31"/>
<Fog visualRange="100000.0"/>
<Precipitation precipitationType="dry" intensity="0.0"/>
</Weather>
<RoadCondition frictionScaleFactor="1.0"/>
</Environment>
</EnvironmentAction>
</GlobalAction>
<Private entityRef="hero">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-9.4" y="-152.8" z="0.5" h="1.57079632679"/>
</Position>
</TeleportAction>
</PrivateAction>
<PrivateAction>
<ControllerAction>
<AssignControllerAction>
<Controller name="HeroAgent">
<Properties>
<Property name="module" value="external_control"/>
</Properties>
</Controller>
</AssignControllerAction>
<OverrideControllerValueAction>
<Throttle value="0" active="false"/>
<Brake value="0" active="false"/>
<Clutch value="0" active="false"/>
<ParkingBrake value="0" active="false"/>
<SteeringWheel value="0" active="false"/>
<Gear number="0" active="false"/>
</OverrideControllerValueAction>
</ControllerAction>
</PrivateAction>
</Private>
<Private entityRef="adversary">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-9.4" y="-71.0" z="0.5" h="1.57079632679"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="standing">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-8.2" y="29.2" z="0.5" h="1.57079632679"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_close_to_hero_6856">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-1.641479253768921" y="-148.2288818359375" z="0.0014286803780123591"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_close_to_standing_6857">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="8.715874671936035" y="20.409067153930664" z="0.003058280795812607"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_close_to_hero_6858">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-3.943227529525757" y="-161.08291625976562" z="0.0014286803780123591"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_close_to_hero_6859">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-12.610841751098633" y="-147.8064422607422" z="0.0014286803780123591"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_w_transform_6862">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="5.631577014923096" y="26.1667423248291" z="0.5"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_w_transform_6863">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="38.21703338623047" y="61.36579513549805" z="0.5"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_close_to_hero_6864">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-16.206422805786133" y="-159.44085693359375" z="0.0014286803780123591"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_close_to_adversary_6865">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-4.972630023956299" y="-62.90225601196289" z="0.03373340517282486"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_close_to_adversary_6866">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-7.034584999084473" y="-70.320068359375" z="0.03380702808499336"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_close_to_hero_6867">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-22.192487716674805" y="-147.48870849609375" z="0.0014286803780123591"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_close_to_hero_6868">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-10.33435344696045" y="-150.74945068359375" z="0.0014286803780123591"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_close_to_adversary_6869">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-13.854368209838867" y="-64.91071319580078" z="0.03380275517702103"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_w_transform_6870">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-14.008722305297852" y="-95.23178100585938" z="0.5"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_close_to_hero_6871">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="1.1979280710220337" y="-154.92160034179688" z="0.0014286803780123591"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_w_transform_6872">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="30.60031509399414" y="16.16815185546875" z="0.5"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_close_to_standing_6873">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-1.4847139120101929" y="27.7784481048584" z="0.003032417269423604"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_w_transform_6874">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="64.95000457763672" y="24.430578231811523" z="0.5"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_close_to_hero_6875">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-16.98422622680664" y="-155.9940185546875" z="0.0014286803780123591"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_close_to_adversary_6876">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-10.343910217285156" y="-74.0732421875" z="0.03376922383904457"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_close_to_standing_6877">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-25.419588088989258" y="30.664670944213867" z="0.0030456159729510546"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_close_to_standing_6879">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-2.4958865642547607" y="24.01927375793457" z="0.0030173491686582565"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_close_to_standing_6880">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-6.0898566246032715" y="21.392362594604492" z="0.0030488967895507812"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_w_transform_6881">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-98.68582153320312" y="73.87228393554688" z="0.5"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_w_transform_6883">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="53.42279815673828" y="23.265865325927734" 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_6856">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_close_to_standing_6857">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_close_to_hero_6858">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_close_to_hero_6859">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_w_transform_6862">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_w_transform_6863">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_close_to_hero_6864">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_close_to_adversary_6865">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_close_to_adversary_6866">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_close_to_hero_6867">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_close_to_hero_6868">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_close_to_adversary_6869">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_w_transform_6870">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_close_to_hero_6871">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_w_transform_6872">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_close_to_standing_6873">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_w_transform_6874">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_close_to_hero_6875">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_close_to_adversary_6876">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_close_to_standing_6877">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_close_to_standing_6879">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_w_transform_6881">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_w_transform_6883">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
</Entities>
<Storyboard>
<Init>
<Actions>
<GlobalAction>
<EnvironmentAction>
<Environment name="Environment1">
<TimeOfDay animation="false" dateTime="2019-06-25T12:00:00"/>
<Weather cloudState="free">
<Sun intensity="0.85" azimuth="0" elevation="1.31"/>
<Fog visualRange="100000.0"/>
<Precipitation precipitationType="dry" intensity="0.0"/>
</Weather>
<RoadCondition frictionScaleFactor="1.0"/>
</Environment>
</EnvironmentAction>
</GlobalAction>
<Private entityRef="hero">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-9.4" y="-152.8" z="0.5" h="1.57079632679"/>
</Position>
</TeleportAction>
</PrivateAction>
<PrivateAction>
<ControllerAction>
<AssignControllerAction>
<Controller name="HeroAgent">
<Properties>
<Property name="module" value="external_control"/>
</Properties>
</Controller>
</AssignControllerAction>
<OverrideControllerValueAction>
<Throttle value="0" active="false"/>
<Brake value="0" active="false"/>
<Clutch value="0" active="false"/>
<ParkingBrake value="0" active="false"/>
<SteeringWheel value="0" active="false"/>
<Gear number="0" active="false"/>
</OverrideControllerValueAction>
</ControllerAction>
</PrivateAction>
</Private>
<Private entityRef="adversary">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-9.4" y="-71.0" z="0.5" h="1.57079632679"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="standing">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-8.2" y="29.2" z="0.5" h="1.57079632679"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_close_to_hero_6856">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-1.641479253768921" y="-148.2288818359375" z="0.0014286803780123591"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_close_to_standing_6857">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="8.715874671936035" y="20.409067153930664" z="0.003058280795812607"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_close_to_hero_6858">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-3.943227529525757" y="-161.08291625976562" z="0.0014286803780123591"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_close_to_hero_6859">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-12.610841751098633" y="-147.8064422607422" z="0.0014286803780123591"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_w_transform_6862">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="5.631577014923096" y="26.1667423248291" z="0.5"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_w_transform_6863">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="38.21703338623047" y="61.36579513549805" z="0.5"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_close_to_hero_6864">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-16.206422805786133" y="-159.44085693359375" z="0.0014286803780123591"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_close_to_adversary_6865">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-4.972630023956299" y="-62.90225601196289" z="0.03373340517282486"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_close_to_adversary_6866">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-7.034584999084473" y="-70.320068359375" z="0.03380702808499336"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_close_to_hero_6867">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-22.192487716674805" y="-147.48870849609375" z="0.0014286803780123591"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_close_to_hero_6868">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-10.33435344696045" y="-150.74945068359375" z="0.0014286803780123591"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_close_to_adversary_6869">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-13.854368209838867" y="-64.91071319580078" z="0.03380275517702103"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_w_transform_6870">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-14.008722305297852" y="-95.23178100585938" z="0.5"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_close_to_hero_6871">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="1.1979280710220337" y="-154.92160034179688" z="0.0014286803780123591"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_w_transform_6872">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="30.60031509399414" y="16.16815185546875" z="0.5"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_close_to_standing_6873">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-1.4847139120101929" y="27.7784481048584" z="0.003032417269423604"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_w_transform_6874">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="64.95000457763672" y="24.430578231811523" z="0.5"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_close_to_hero_6875">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-16.98422622680664" y="-155.9940185546875" z="0.0014286803780123591"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_close_to_adversary_6876">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-10.343910217285156" y="-74.0732421875" z="0.03376922383904457"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_close_to_standing_6877">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-25.419588088989258" y="30.664670944213867" z="0.0030456159729510546"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_close_to_standing_6879">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-2.4958865642547607" y="24.01927375793457" z="0.0030173491686582565"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_w_transform_6881">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-98.68582153320312" y="73.87228393554688" z="0.5"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_w_transform_6883">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="53.42279815673828" y="23.265865325927734" 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 (79.6, -4.99, 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_4183">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_w_transform_4184">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_w_transform_4185">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_close_to_adversary_4186">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_w_transform_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_standing_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_w_transform_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>
<ScenarioObject name="pedestrian_close_to_adversary_4191">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_close_to_hero_4192">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_w_transform_4193">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_w_transform_4194">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_close_to_standing_4195">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_w_transform_4196">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
</Entities>
<Storyboard>
<Init>
<Actions>
<GlobalAction>
<EnvironmentAction>
<Environment name="Environment1">
<TimeOfDay animation="false" dateTime="2019-06-25T12:00:00"/>
<Weather cloudState="free">
<Sun intensity="0.85" azimuth="0" elevation="1.31"/>
<Fog visualRange="100000.0"/>
<Precipitation precipitationType="dry" intensity="0.0"/>
</Weather>
<RoadCondition frictionScaleFactor="1.0"/>
</Environment>
</EnvironmentAction>
</GlobalAction>
<Private entityRef="hero">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-9.4" y="-152.8" z="0.5" h="1.57079632679"/>
</Position>
</TeleportAction>
</PrivateAction>
<PrivateAction>
<ControllerAction>
<AssignControllerAction>
<Controller name="HeroAgent">
<Properties>
<Property name="module" value="external_control"/>
</Properties>
</Controller>
</AssignControllerAction>
<OverrideControllerValueAction>
<Throttle value="0" active="false"/>
<Brake value="0" active="false"/>
<Clutch value="0" active="false"/>
<ParkingBrake value="0" active="false"/>
<SteeringWheel value="0" active="false"/>
<Gear number="0" active="false"/>
</OverrideControllerValueAction>
</ControllerAction>
</PrivateAction>
</Private>
<Private entityRef="adversary">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-9.4" y="-71.0" z="0.5" h="1.57079632679"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="standing">
<PrivateAction>
<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_4183">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="2.128464698791504" y="37.829376220703125" z="0.003038711380213499"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_w_transform_4184">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="31.67974090576172" y="21.186166763305664" z="0.5"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_w_transform_4185">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-49.63172149658203" y="-43.39925003051758" z="0.5"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_close_to_adversary_4186">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-15.730749130249023" y="-78.57987213134766" z="0.03377029299736023"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_w_transform_4187">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-78.33158111572266" y="90.75029754638672" z="0.5"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_close_to_adversary_4188">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-18.198888778686523" y="-73.26812744140625" z="0.03377647325396538"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_close_to_standing_4189">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-1.4913899898529053" y="33.588191986083984" z="0.0030474853701889515"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_w_transform_4190">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-41.7930908203125" y="37.53825759887695" z="0.5"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_close_to_adversary_4191">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-2.31168532371521" y="-75.81988525390625" z="0.033779602497816086"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_close_to_hero_4192">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-10.259978294372559" y="-155.7716522216797" z="0.0014286803780123591"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_w_transform_4193">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="73.03713989257812" y="-98.84782409667969" z="0.5"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_w_transform_4194">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-31.585336685180664" y="89.2733383178711" z="0.5"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_close_to_standing_4195">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-15.537069320678711" y="33.093116760253906" z="0.0030396271031349897"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_w_transform_4196">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="85.32039642333984" y="25.225446701049805" 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_4183">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_w_transform_4184">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_w_transform_4185">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_close_to_adversary_4186">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_w_transform_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_standing_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_w_transform_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>
<ScenarioObject name="pedestrian_close_to_adversary_4191">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_close_to_hero_4192">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_w_transform_4193">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_w_transform_4194">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_close_to_standing_4195">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_w_transform_4196">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_w_transform_4197">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
</Entities>
<Storyboard>
<Init>
<Actions>
<GlobalAction>
<EnvironmentAction>
<Environment name="Environment1">
<TimeOfDay animation="false" dateTime="2019-06-25T12:00:00"/>
<Weather cloudState="free">
<Sun intensity="0.85" azimuth="0" elevation="1.31"/>
<Fog visualRange="100000.0"/>
<Precipitation precipitationType="dry" intensity="0.0"/>
</Weather>
<RoadCondition frictionScaleFactor="1.0"/>
</Environment>
</EnvironmentAction>
</GlobalAction>
<Private entityRef="hero">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-9.4" y="-152.8" z="0.5" h="1.57079632679"/>
</Position>
</TeleportAction>
</PrivateAction>
<PrivateAction>
<ControllerAction>
<AssignControllerAction>
<Controller name="HeroAgent">
<Properties>
<Property name="module" value="external_control"/>
</Properties>
</Controller>
</AssignControllerAction>
<OverrideControllerValueAction>
<Throttle value="0" active="false"/>
<Brake value="0" active="false"/>
<Clutch value="0" active="false"/>
<ParkingBrake value="0" active="false"/>
<SteeringWheel value="0" active="false"/>
<Gear number="0" active="false"/>
</OverrideControllerValueAction>
</ControllerAction>
</PrivateAction>
</Private>
<Private entityRef="adversary">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-9.4" y="-71.0" z="0.5" h="1.57079632679"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="standing">
<PrivateAction>
<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_4183">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="2.128464698791504" y="37.829376220703125" z="0.003038711380213499"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_w_transform_4184">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="31.67974090576172" y="21.186166763305664" z="0.5"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_w_transform_4185">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-49.63172149658203" y="-43.39925003051758" z="0.5"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_close_to_adversary_4186">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-15.730749130249023" y="-78.57987213134766" z="0.03377029299736023"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_w_transform_4187">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-78.33158111572266" y="90.75029754638672" z="0.5"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_close_to_adversary_4188">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-18.198888778686523" y="-73.26812744140625" z="0.03377647325396538"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_close_to_standing_4189">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-1.4913899898529053" y="33.588191986083984" z="0.0030474853701889515"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_w_transform_4190">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-41.7930908203125" y="37.53825759887695" z="0.5"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_close_to_adversary_4191">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-2.31168532371521" y="-75.81988525390625" z="0.033779602497816086"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_close_to_hero_4192">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-10.259978294372559" y="-155.7716522216797" z="0.0014286803780123591"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_w_transform_4193">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="73.03713989257812" y="-98.84782409667969" z="0.5"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_w_transform_4194">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-31.585336685180664" y="89.2733383178711" z="0.5"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_close_to_standing_4195">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-15.537069320678711" y="33.093116760253906" z="0.0030396271031349897"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_w_transform_4196">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="85.32039642333984" y="25.225446701049805" z="0.5"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_w_transform_4197">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="79.60103607177734" y="-4.994071006774902" 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 actor named pedestrian_close_to_standing_24314?
```
<?xml version="1.0" ?>
<OpenSCENARIO>
<FileHeader revMajor="1" revMinor="0" date="2020-03-24T12:00:00" description="CARLA:LaneChangeSimple" author=""/>
<ParameterDeclarations/>
<CatalogLocations/>
<RoadNetwork>
<LogicFile filepath="Town04"/>
<SceneGraphFile filepath=""/>
</RoadNetwork>
<Entities>
<ScenarioObject name="hero">
<Vehicle name="vehicle.tesla.model3" vehicleCategory="car">
<ParameterDeclarations/>
<Performance maxSpeed="69.444" maxAcceleration="200" maxDeceleration="10.0"/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2.1" length="4.5" height="1.8"/>
</BoundingBox>
<Axles>
<FrontAxle maxSteering="0.5" wheelDiameter="0.6" trackWidth="1.8" positionX="3.1" positionZ="0.3"/>
<RearAxle maxSteering="0.0" wheelDiameter="0.6" trackWidth="1.8" positionX="0.0" positionZ="0.3"/>
</Axles>
<Properties>
<Property name="type" value="ego_vehicle"/>
</Properties>
</Vehicle>
</ScenarioObject>
<ScenarioObject name="adversary">
<Vehicle name="vehicle.lincoln.mkz_2017" vehicleCategory="car">
<ParameterDeclarations/>
<Performance maxSpeed="69.444" maxAcceleration="200" maxDeceleration="10.0"/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2.1" length="4.5" height="1.8"/>
</BoundingBox>
<Axles>
<FrontAxle maxSteering="0.5" wheelDiameter="0.6" trackWidth="1.8" positionX="3.1" positionZ="0.3"/>
<RearAxle maxSteering="0.0" wheelDiameter="0.6" trackWidth="1.8" positionX="0.0" positionZ="0.3"/>
</Axles>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Vehicle>
</ScenarioObject>
<ScenarioObject name="standing">
<Vehicle name="vehicle.volkswagen.t2" vehicleCategory="car">
<ParameterDeclarations/>
<Performance maxSpeed="69.444" maxAcceleration="200" maxDeceleration="10.0"/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2.1" length="4.5" height="1.8"/>
</BoundingBox>
<Axles>
<FrontAxle maxSteering="0.5" wheelDiameter="0.6" trackWidth="1.8" positionX="3.1" positionZ="0.3"/>
<RearAxle maxSteering="0.0" wheelDiameter="0.6" 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_24300">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_close_to_adversary_24301">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_close_to_adversary_24303">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_close_to_adversary_24304">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_w_transform_24305">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_close_to_hero_24306">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_w_transform_24308">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_close_to_hero_24311">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_close_to_standing_24312">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_close_to_standing_24314">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_close_to_standing_24315">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_w_transform_24320">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_w_transform_24322">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
</Entities>
<Storyboard>
<Init>
<Actions>
<GlobalAction>
<EnvironmentAction>
<Environment name="Environment1">
<TimeOfDay animation="false" dateTime="2019-06-25T12:00:00"/>
<Weather cloudState="free">
<Sun intensity="0.85" azimuth="0" elevation="1.31"/>
<Fog visualRange="100000.0"/>
<Precipitation precipitationType="dry" intensity="0.0"/>
</Weather>
<RoadCondition frictionScaleFactor="1.0"/>
</Environment>
</EnvironmentAction>
</GlobalAction>
<Private entityRef="hero">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-9.4" y="-152.8" z="0.5" h="1.57079632679"/>
</Position>
</TeleportAction>
</PrivateAction>
<PrivateAction>
<ControllerAction>
<AssignControllerAction>
<Controller name="HeroAgent">
<Properties>
<Property name="module" value="external_control"/>
</Properties>
</Controller>
</AssignControllerAction>
<OverrideControllerValueAction>
<Throttle value="0" active="false"/>
<Brake value="0" active="false"/>
<Clutch value="0" active="false"/>
<ParkingBrake value="0" active="false"/>
<SteeringWheel value="0" active="false"/>
<Gear number="0" active="false"/>
</OverrideControllerValueAction>
</ControllerAction>
</PrivateAction>
</Private>
<Private entityRef="adversary">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-9.4" y="-71.0" z="0.5" h="1.57079632679"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="standing">
<PrivateAction>
<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_24300">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-1.4692270755767822" y="-64.2061996459961" z="0.03383457288146019"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_close_to_adversary_24301">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-10.655376434326172" y="-69.30473327636719" z="0.0338391475379467"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_close_to_adversary_24303">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-9.400991439819336" y="-76.03426361083984" z="0.03382507339119911"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_close_to_adversary_24304">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-17.623579025268555" y="-72.77754211425781" z="0.033758848905563354"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_w_transform_24305">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="13.373763084411621" y="-84.61609649658203" z="0.5"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_close_to_hero_24306">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-18.916316986083984" y="-143.73648071289062" z="0.0014286803780123591"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_w_transform_24308">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-9.02220344543457" y="-90.66840362548828" z="0.5"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_close_to_hero_24311">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-15.494783401489258" y="-144.4770050048828" z="0.0014286803780123591"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_close_to_standing_24312">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-4.303940296173096" y="30.35268783569336" z="0.003121337853372097"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_close_to_standing_24314">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-6.459255218505859" y="26.06943130493164" z="0.0031153105664998293"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_close_to_standing_24315">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-15.44663143157959" y="26.4091739654541" z="0.0031120299827307463"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_w_transform_24320">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-64.06925201416016" y="50.21262741088867" z="0.5"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_w_transform_24322">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="1.6326394081115723" y="-73.29611206054688" 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_24300">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_close_to_adversary_24301">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_close_to_adversary_24303">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_close_to_adversary_24304">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_w_transform_24305">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_close_to_hero_24306">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_w_transform_24308">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_close_to_hero_24311">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_close_to_standing_24312">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_close_to_standing_24315">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_w_transform_24320">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_w_transform_24322">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
</Entities>
<Storyboard>
<Init>
<Actions>
<GlobalAction>
<EnvironmentAction>
<Environment name="Environment1">
<TimeOfDay animation="false" dateTime="2019-06-25T12:00:00"/>
<Weather cloudState="free">
<Sun intensity="0.85" azimuth="0" elevation="1.31"/>
<Fog visualRange="100000.0"/>
<Precipitation precipitationType="dry" intensity="0.0"/>
</Weather>
<RoadCondition frictionScaleFactor="1.0"/>
</Environment>
</EnvironmentAction>
</GlobalAction>
<Private entityRef="hero">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-9.4" y="-152.8" z="0.5" h="1.57079632679"/>
</Position>
</TeleportAction>
</PrivateAction>
<PrivateAction>
<ControllerAction>
<AssignControllerAction>
<Controller name="HeroAgent">
<Properties>
<Property name="module" value="external_control"/>
</Properties>
</Controller>
</AssignControllerAction>
<OverrideControllerValueAction>
<Throttle value="0" active="false"/>
<Brake value="0" active="false"/>
<Clutch value="0" active="false"/>
<ParkingBrake value="0" active="false"/>
<SteeringWheel value="0" active="false"/>
<Gear number="0" active="false"/>
</OverrideControllerValueAction>
</ControllerAction>
</PrivateAction>
</Private>
<Private entityRef="adversary">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-9.4" y="-71.0" z="0.5" h="1.57079632679"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="standing">
<PrivateAction>
<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_24300">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-1.4692270755767822" y="-64.2061996459961" z="0.03383457288146019"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_close_to_adversary_24301">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-10.655376434326172" y="-69.30473327636719" z="0.0338391475379467"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_close_to_adversary_24303">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-9.400991439819336" y="-76.03426361083984" z="0.03382507339119911"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_close_to_adversary_24304">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-17.623579025268555" y="-72.77754211425781" z="0.033758848905563354"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_w_transform_24305">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="13.373763084411621" y="-84.61609649658203" z="0.5"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_close_to_hero_24306">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-18.916316986083984" y="-143.73648071289062" z="0.0014286803780123591"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_w_transform_24308">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-9.02220344543457" y="-90.66840362548828" z="0.5"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_close_to_hero_24311">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-15.494783401489258" y="-144.4770050048828" z="0.0014286803780123591"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_close_to_standing_24312">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-4.303940296173096" y="30.35268783569336" z="0.003121337853372097"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_close_to_standing_24315">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-15.44663143157959" y="26.4091739654541" z="0.0031120299827307463"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_w_transform_24320">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-64.06925201416016" y="50.21262741088867" z="0.5"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_w_transform_24322">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="1.6326394081115723" y="-73.29611206054688" 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 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_13142">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_close_to_adversary_13143">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_w_transform_13144">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_w_transform_13146">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_w_transform_13147">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_close_to_standing_13148">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_w_transform_13149">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_w_transform_13150">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_w_transform_13151">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_close_to_standing_13154">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_w_transform_13155">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_close_to_hero_13156">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_w_transform_13157">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_w_transform_13158">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_close_to_standing_13159">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_close_to_hero_13160">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_w_transform_13161">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
</Entities>
<Storyboard>
<Init>
<Actions>
<GlobalAction>
<EnvironmentAction>
<Environment name="Environment1">
<TimeOfDay animation="false" dateTime="2019-06-25T12:00:00"/>
<Weather cloudState="free">
<Sun intensity="0.85" azimuth="0" elevation="1.31"/>
<Fog visualRange="100000.0"/>
<Precipitation precipitationType="dry" intensity="0.0"/>
</Weather>
<RoadCondition frictionScaleFactor="1.0"/>
</Environment>
</EnvironmentAction>
</GlobalAction>
<Private entityRef="hero">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-9.4" y="-152.8" z="0.5" h="1.57079632679"/>
</Position>
</TeleportAction>
</PrivateAction>
<PrivateAction>
<ControllerAction>
<AssignControllerAction>
<Controller name="HeroAgent">
<Properties>
<Property name="module" value="external_control"/>
</Properties>
</Controller>
</AssignControllerAction>
<OverrideControllerValueAction>
<Throttle value="0" active="false"/>
<Brake value="0" active="false"/>
<Clutch value="0" active="false"/>
<ParkingBrake value="0" active="false"/>
<SteeringWheel value="0" active="false"/>
<Gear number="0" active="false"/>
</OverrideControllerValueAction>
</ControllerAction>
</PrivateAction>
</Private>
<Private entityRef="adversary">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-9.4" y="-71.0" z="0.5" h="1.57079632679"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="standing">
<PrivateAction>
<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_13142">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-12.225605964660645" y="30.454835891723633" z="0.0030933760572224855"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_close_to_adversary_13143">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-15.25918960571289" y="-70.04034423828125" z="0.033773839473724365"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_w_transform_13144">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="92.16136169433594" y="67.31031799316406" z="0.5"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_w_transform_13146">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="64.22425842285156" y="50.09942626953125" z="0.5"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_w_transform_13147">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="83.77629089355469" y="-36.32318878173828" z="0.5"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_close_to_standing_13148">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-9.030596733093262" y="19.904239654541016" z="0.0030806350987404585"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_w_transform_13149">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-83.4168472290039" y="37.1118278503418" z="0.5"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_w_transform_13150">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-25.71151351928711" y="22.475801467895508" z="0.5"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_w_transform_13151">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="5.087804317474365" y="-55.73326873779297" z="0.5"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_close_to_standing_13154">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-12.045637130737305" y="19.93606185913086" z="0.003011054825037718"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_w_transform_13155">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-77.48233795166016" y="-34.16032409667969" z="0.5"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_close_to_hero_13156">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-8.398824691772461" y="-160.02847290039062" z="0.0014286803780123591"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_w_transform_13157">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="66.99156951904297" y="-69.65591430664062" z="0.5"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_w_transform_13158">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="4.824809551239014" y="66.36732482910156" z="0.5"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_close_to_standing_13159">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-10.167316436767578" y="28.614049911499023" z="0.003066482488065958"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_close_to_hero_13160">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-6.582900047302246" y="-152.95181274414062" z="0.0014286803780123591"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_w_transform_13161">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="88.14801025390625" y="-50.92662048339844" 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_13142">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_w_transform_13144">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_w_transform_13146">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_w_transform_13147">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_close_to_standing_13148">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_w_transform_13149">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_w_transform_13150">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_w_transform_13151">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_close_to_standing_13154">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_w_transform_13155">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_close_to_hero_13156">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_w_transform_13157">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_w_transform_13158">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_close_to_standing_13159">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_close_to_hero_13160">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_w_transform_13161">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
</Entities>
<Storyboard>
<Init>
<Actions>
<GlobalAction>
<EnvironmentAction>
<Environment name="Environment1">
<TimeOfDay animation="false" dateTime="2019-06-25T12:00:00"/>
<Weather cloudState="free">
<Sun intensity="0.85" azimuth="0" elevation="1.31"/>
<Fog visualRange="100000.0"/>
<Precipitation precipitationType="dry" intensity="0.0"/>
</Weather>
<RoadCondition frictionScaleFactor="1.0"/>
</Environment>
</EnvironmentAction>
</GlobalAction>
<Private entityRef="hero">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-9.4" y="-152.8" z="0.5" h="1.57079632679"/>
</Position>
</TeleportAction>
</PrivateAction>
<PrivateAction>
<ControllerAction>
<AssignControllerAction>
<Controller name="HeroAgent">
<Properties>
<Property name="module" value="external_control"/>
</Properties>
</Controller>
</AssignControllerAction>
<OverrideControllerValueAction>
<Throttle value="0" active="false"/>
<Brake value="0" active="false"/>
<Clutch value="0" active="false"/>
<ParkingBrake value="0" active="false"/>
<SteeringWheel value="0" active="false"/>
<Gear number="0" active="false"/>
</OverrideControllerValueAction>
</ControllerAction>
</PrivateAction>
</Private>
<Private entityRef="adversary">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-9.4" y="-71.0" z="0.5" h="1.57079632679"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="standing">
<PrivateAction>
<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_13142">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-12.225605964660645" y="30.454835891723633" z="0.0030933760572224855"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_w_transform_13144">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="92.16136169433594" y="67.31031799316406" z="0.5"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_w_transform_13146">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="64.22425842285156" y="50.09942626953125" z="0.5"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_w_transform_13147">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="83.77629089355469" y="-36.32318878173828" z="0.5"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_close_to_standing_13148">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-9.030596733093262" y="19.904239654541016" z="0.0030806350987404585"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_w_transform_13149">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-83.4168472290039" y="37.1118278503418" z="0.5"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_w_transform_13150">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-25.71151351928711" y="22.475801467895508" z="0.5"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_w_transform_13151">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="5.087804317474365" y="-55.73326873779297" z="0.5"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_close_to_standing_13154">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-12.045637130737305" y="19.93606185913086" z="0.003011054825037718"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_w_transform_13155">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-77.48233795166016" y="-34.16032409667969" z="0.5"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_close_to_hero_13156">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-8.398824691772461" y="-160.02847290039062" z="0.0014286803780123591"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_w_transform_13157">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="66.99156951904297" y="-69.65591430664062" z="0.5"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_w_transform_13158">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="4.824809551239014" y="66.36732482910156" z="0.5"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_close_to_standing_13159">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-10.167316436767578" y="28.614049911499023" z="0.003066482488065958"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_close_to_hero_13160">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-6.582900047302246" y="-152.95181274414062" z="0.0014286803780123591"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_w_transform_13161">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="88.14801025390625" y="-50.92662048339844" z="0.5"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
</Actions>
</Init>
<Story name="MyStory">
<Act name="Behavior">
<ManeuverGroup maximumExecutionCount="1" name="ManeuverSequence">
<Actors selectTriggeringEntities="false">
<EntityRef entityRef="adversary"/>
</Actors>
<Maneuver name="LaneChangeSimpleManeuver">
<Event name="AdversaryAccelerates" priority="overwrite">
<Action name="AdversaryAccelerates">
<PrivateAction>
<LongitudinalAction>
<SpeedAction>
<SpeedActionDynamics dynamicsShape="step" value="50" dynamicsDimension="distance"/>
<SpeedActionTarget>
<AbsoluteTargetSpeed value="5.0"/>
</SpeedActionTarget>
</SpeedAction>
</LongitudinalAction>
</PrivateAction>
</Action>
<StartTrigger>
<ConditionGroup>
<Condition name="StartCondition" delay="0" conditionEdge="rising">
<ByEntityCondition>
<TriggeringEntities triggeringEntitiesRule="any">
<EntityRef entityRef="hero"/>
</TriggeringEntities>
<EntityCondition>
<RelativeDistanceCondition entityRef="adversary" relativeDistanceType="cartesianDistance" value="40.0" freespace="false" rule="lessThan"/>
</EntityCondition>
</ByEntityCondition>
</Condition>
</ConditionGroup>
</StartTrigger>
</Event>
<Event name="AdversaryChangesLane" priority="overwrite">
<Action name="AdversaryChangesLane">
<PrivateAction>
<LateralAction>
<LaneChangeAction>
<LaneChangeActionDynamics dynamicsShape="linear" value="25" dynamicsDimension="distance"/>
<LaneChangeTarget>
<RelativeTargetLane entityRef="adversary" value="-1"/>
</LaneChangeTarget>
</LaneChangeAction>
</LateralAction>
</PrivateAction>
</Action>
<StartTrigger>
<ConditionGroup>
<Condition name="AfterAdversaryAccelerates" delay="0" conditionEdge="rising">
<ByValueCondition>
<StoryboardElementStateCondition storyboardElementType="action" storyboardElementRef="AdversaryAccelerates" state="completeState"/>
</ByValueCondition>
</Condition>
</ConditionGroup>
</StartTrigger>
</Event>
</Maneuver>
</ManeuverGroup>
<StartTrigger>
<ConditionGroup>
<Condition name="OverallStartCondition" delay="0" conditionEdge="rising">
<ByEntityCondition>
<TriggeringEntities triggeringEntitiesRule="any">
<EntityRef entityRef="hero"/>
</TriggeringEntities>
<EntityCondition>
<TraveledDistanceCondition value="1.0"/>
</EntityCondition>
</ByEntityCondition>
</Condition>
<Condition name="StartTime" delay="0" conditionEdge="rising">
<ByValueCondition>
<SimulationTimeCondition value="0" rule="equalTo"/>
</ByValueCondition>
</Condition>
</ConditionGroup>
</StartTrigger>
<StopTrigger>
<ConditionGroup>
<Condition name="EndCondition" delay="0" conditionEdge="rising">
<ByEntityCondition>
<TriggeringEntities triggeringEntitiesRule="any">
<EntityRef entityRef="hero"/>
</TriggeringEntities>
<EntityCondition>
<TraveledDistanceCondition value="200.0"/>
</EntityCondition>
</ByEntityCondition>
</Condition>
</ConditionGroup>
</StopTrigger>
</Act>
</Story>
<StopTrigger>
<ConditionGroup>
<Condition name="criteria_RunningStopTest" delay="0" conditionEdge="rising">
<ByValueCondition>
<ParameterCondition parameterRef="" value="" rule="lessThan"/>
</ByValueCondition>
</Condition>
<Condition name="criteria_RunningRedLightTest" delay="0" conditionEdge="rising">
<ByValueCondition>
<ParameterCondition parameterRef="" value="" rule="lessThan"/>
</ByValueCondition>
</Condition>
<Condition name="criteria_WrongLaneTest" delay="0" conditionEdge="rising">
<ByValueCondition>
<ParameterCondition parameterRef="" value="" rule="lessThan"/>
</ByValueCondition>
</Condition>
<Condition name="criteria_OnSidewalkTest" delay="0" conditionEdge="rising">
<ByValueCondition>
<ParameterCondition parameterRef="" value="" rule="lessThan"/>
</ByValueCondition>
</Condition>
<Condition name="criteria_KeepLaneTest" delay="0" conditionEdge="rising">
<ByValueCondition>
<ParameterCondition parameterRef="" value="" rule="lessThan"/>
</ByValueCondition>
</Condition>
<Condition name="criteria_CollisionTest" delay="0" conditionEdge="rising">
<ByValueCondition>
<ParameterCondition parameterRef="" value="" rule="lessThan"/>
</ByValueCondition>
</Condition>
<Condition name="criteria_DrivenDistanceTest" delay="0" conditionEdge="rising">
<ByValueCondition>
<ParameterCondition parameterRef="distance_success" value="100" rule="lessThan"/>
</ByValueCondition>
</Condition>
</ConditionGroup>
</StopTrigger>
</Storyboard>
</OpenSCENARIO>
``` |
i would like to tell you to add pedestrian at location (75.58, -46.69, 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_15318">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_w_transform_15319">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_close_to_standing_15320">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
</Entities>
<Storyboard>
<Init>
<Actions>
<GlobalAction>
<EnvironmentAction>
<Environment name="Environment1">
<TimeOfDay animation="false" dateTime="2019-06-25T12:00:00"/>
<Weather cloudState="free">
<Sun intensity="0.85" azimuth="0" elevation="1.31"/>
<Fog visualRange="100000.0"/>
<Precipitation precipitationType="dry" intensity="0.0"/>
</Weather>
<RoadCondition frictionScaleFactor="1.0"/>
</Environment>
</EnvironmentAction>
</GlobalAction>
<Private entityRef="hero">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-9.4" y="-152.8" z="0.5" h="1.57079632679"/>
</Position>
</TeleportAction>
</PrivateAction>
<PrivateAction>
<ControllerAction>
<AssignControllerAction>
<Controller name="HeroAgent">
<Properties>
<Property name="module" value="external_control"/>
</Properties>
</Controller>
</AssignControllerAction>
<OverrideControllerValueAction>
<Throttle value="0" active="false"/>
<Brake value="0" active="false"/>
<Clutch value="0" active="false"/>
<ParkingBrake value="0" active="false"/>
<SteeringWheel value="0" active="false"/>
<Gear number="0" active="false"/>
</OverrideControllerValueAction>
</ControllerAction>
</PrivateAction>
</Private>
<Private entityRef="adversary">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-9.4" y="-71.0" z="0.5" h="1.57079632679"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="standing">
<PrivateAction>
<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_15318">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-15.790865898132324" y="-75.5289535522461" z="0.03371772542595863"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_w_transform_15319">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="4.58845329284668" y="-41.8315315246582" z="0.5"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_close_to_standing_15320">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-13.028158187866211" y="29.227378845214844" z="0.003067359793931246"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
</Actions>
</Init>
<Story name="MyStory">
<Act name="Behavior">
<ManeuverGroup maximumExecutionCount="1" name="ManeuverSequence">
<Actors selectTriggeringEntities="false">
<EntityRef entityRef="adversary"/>
</Actors>
<Maneuver name="LaneChangeSimpleManeuver">
<Event name="AdversaryAccelerates" priority="overwrite">
<Action name="AdversaryAccelerates">
<PrivateAction>
<LongitudinalAction>
<SpeedAction>
<SpeedActionDynamics dynamicsShape="step" value="50" dynamicsDimension="distance"/>
<SpeedActionTarget>
<AbsoluteTargetSpeed value="5.0"/>
</SpeedActionTarget>
</SpeedAction>
</LongitudinalAction>
</PrivateAction>
</Action>
<StartTrigger>
<ConditionGroup>
<Condition name="StartCondition" delay="0" conditionEdge="rising">
<ByEntityCondition>
<TriggeringEntities triggeringEntitiesRule="any">
<EntityRef entityRef="hero"/>
</TriggeringEntities>
<EntityCondition>
<RelativeDistanceCondition entityRef="adversary" relativeDistanceType="cartesianDistance" value="40.0" freespace="false" rule="lessThan"/>
</EntityCondition>
</ByEntityCondition>
</Condition>
</ConditionGroup>
</StartTrigger>
</Event>
<Event name="AdversaryChangesLane" priority="overwrite">
<Action name="AdversaryChangesLane">
<PrivateAction>
<LateralAction>
<LaneChangeAction>
<LaneChangeActionDynamics dynamicsShape="linear" value="25" dynamicsDimension="distance"/>
<LaneChangeTarget>
<RelativeTargetLane entityRef="adversary" value="-1"/>
</LaneChangeTarget>
</LaneChangeAction>
</LateralAction>
</PrivateAction>
</Action>
<StartTrigger>
<ConditionGroup>
<Condition name="AfterAdversaryAccelerates" delay="0" conditionEdge="rising">
<ByValueCondition>
<StoryboardElementStateCondition storyboardElementType="action" storyboardElementRef="AdversaryAccelerates" state="completeState"/>
</ByValueCondition>
</Condition>
</ConditionGroup>
</StartTrigger>
</Event>
</Maneuver>
</ManeuverGroup>
<StartTrigger>
<ConditionGroup>
<Condition name="OverallStartCondition" delay="0" conditionEdge="rising">
<ByEntityCondition>
<TriggeringEntities triggeringEntitiesRule="any">
<EntityRef entityRef="hero"/>
</TriggeringEntities>
<EntityCondition>
<TraveledDistanceCondition value="1.0"/>
</EntityCondition>
</ByEntityCondition>
</Condition>
<Condition name="StartTime" delay="0" conditionEdge="rising">
<ByValueCondition>
<SimulationTimeCondition value="0" rule="equalTo"/>
</ByValueCondition>
</Condition>
</ConditionGroup>
</StartTrigger>
<StopTrigger>
<ConditionGroup>
<Condition name="EndCondition" delay="0" conditionEdge="rising">
<ByEntityCondition>
<TriggeringEntities triggeringEntitiesRule="any">
<EntityRef entityRef="hero"/>
</TriggeringEntities>
<EntityCondition>
<TraveledDistanceCondition value="200.0"/>
</EntityCondition>
</ByEntityCondition>
</Condition>
</ConditionGroup>
</StopTrigger>
</Act>
</Story>
<StopTrigger>
<ConditionGroup>
<Condition name="criteria_RunningStopTest" delay="0" conditionEdge="rising">
<ByValueCondition>
<ParameterCondition parameterRef="" value="" rule="lessThan"/>
</ByValueCondition>
</Condition>
<Condition name="criteria_RunningRedLightTest" delay="0" conditionEdge="rising">
<ByValueCondition>
<ParameterCondition parameterRef="" value="" rule="lessThan"/>
</ByValueCondition>
</Condition>
<Condition name="criteria_WrongLaneTest" delay="0" conditionEdge="rising">
<ByValueCondition>
<ParameterCondition parameterRef="" value="" rule="lessThan"/>
</ByValueCondition>
</Condition>
<Condition name="criteria_OnSidewalkTest" delay="0" conditionEdge="rising">
<ByValueCondition>
<ParameterCondition parameterRef="" value="" rule="lessThan"/>
</ByValueCondition>
</Condition>
<Condition name="criteria_KeepLaneTest" delay="0" conditionEdge="rising">
<ByValueCondition>
<ParameterCondition parameterRef="" value="" rule="lessThan"/>
</ByValueCondition>
</Condition>
<Condition name="criteria_CollisionTest" delay="0" conditionEdge="rising">
<ByValueCondition>
<ParameterCondition parameterRef="" value="" rule="lessThan"/>
</ByValueCondition>
</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_15318">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_w_transform_15319">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_close_to_standing_15320">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_w_transform_15321">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
</Entities>
<Storyboard>
<Init>
<Actions>
<GlobalAction>
<EnvironmentAction>
<Environment name="Environment1">
<TimeOfDay animation="false" dateTime="2019-06-25T12:00:00"/>
<Weather cloudState="free">
<Sun intensity="0.85" azimuth="0" elevation="1.31"/>
<Fog visualRange="100000.0"/>
<Precipitation precipitationType="dry" intensity="0.0"/>
</Weather>
<RoadCondition frictionScaleFactor="1.0"/>
</Environment>
</EnvironmentAction>
</GlobalAction>
<Private entityRef="hero">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-9.4" y="-152.8" z="0.5" h="1.57079632679"/>
</Position>
</TeleportAction>
</PrivateAction>
<PrivateAction>
<ControllerAction>
<AssignControllerAction>
<Controller name="HeroAgent">
<Properties>
<Property name="module" value="external_control"/>
</Properties>
</Controller>
</AssignControllerAction>
<OverrideControllerValueAction>
<Throttle value="0" active="false"/>
<Brake value="0" active="false"/>
<Clutch value="0" active="false"/>
<ParkingBrake value="0" active="false"/>
<SteeringWheel value="0" active="false"/>
<Gear number="0" active="false"/>
</OverrideControllerValueAction>
</ControllerAction>
</PrivateAction>
</Private>
<Private entityRef="adversary">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-9.4" y="-71.0" z="0.5" h="1.57079632679"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="standing">
<PrivateAction>
<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_15318">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-15.790865898132324" y="-75.5289535522461" z="0.03371772542595863"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_w_transform_15319">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="4.58845329284668" y="-41.8315315246582" z="0.5"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_close_to_standing_15320">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-13.028158187866211" y="29.227378845214844" z="0.003067359793931246"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_w_transform_15321">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="75.58231353759766" y="-46.68680191040039" z="0.5"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
</Actions>
</Init>
<Story name="MyStory">
<Act name="Behavior">
<ManeuverGroup maximumExecutionCount="1" name="ManeuverSequence">
<Actors selectTriggeringEntities="false">
<EntityRef entityRef="adversary"/>
</Actors>
<Maneuver name="LaneChangeSimpleManeuver">
<Event name="AdversaryAccelerates" priority="overwrite">
<Action name="AdversaryAccelerates">
<PrivateAction>
<LongitudinalAction>
<SpeedAction>
<SpeedActionDynamics dynamicsShape="step" value="50" dynamicsDimension="distance"/>
<SpeedActionTarget>
<AbsoluteTargetSpeed value="5.0"/>
</SpeedActionTarget>
</SpeedAction>
</LongitudinalAction>
</PrivateAction>
</Action>
<StartTrigger>
<ConditionGroup>
<Condition name="StartCondition" delay="0" conditionEdge="rising">
<ByEntityCondition>
<TriggeringEntities triggeringEntitiesRule="any">
<EntityRef entityRef="hero"/>
</TriggeringEntities>
<EntityCondition>
<RelativeDistanceCondition entityRef="adversary" relativeDistanceType="cartesianDistance" value="40.0" freespace="false" rule="lessThan"/>
</EntityCondition>
</ByEntityCondition>
</Condition>
</ConditionGroup>
</StartTrigger>
</Event>
<Event name="AdversaryChangesLane" priority="overwrite">
<Action name="AdversaryChangesLane">
<PrivateAction>
<LateralAction>
<LaneChangeAction>
<LaneChangeActionDynamics dynamicsShape="linear" value="25" dynamicsDimension="distance"/>
<LaneChangeTarget>
<RelativeTargetLane entityRef="adversary" value="-1"/>
</LaneChangeTarget>
</LaneChangeAction>
</LateralAction>
</PrivateAction>
</Action>
<StartTrigger>
<ConditionGroup>
<Condition name="AfterAdversaryAccelerates" delay="0" conditionEdge="rising">
<ByValueCondition>
<StoryboardElementStateCondition storyboardElementType="action" storyboardElementRef="AdversaryAccelerates" state="completeState"/>
</ByValueCondition>
</Condition>
</ConditionGroup>
</StartTrigger>
</Event>
</Maneuver>
</ManeuverGroup>
<StartTrigger>
<ConditionGroup>
<Condition name="OverallStartCondition" delay="0" conditionEdge="rising">
<ByEntityCondition>
<TriggeringEntities triggeringEntitiesRule="any">
<EntityRef entityRef="hero"/>
</TriggeringEntities>
<EntityCondition>
<TraveledDistanceCondition value="1.0"/>
</EntityCondition>
</ByEntityCondition>
</Condition>
<Condition name="StartTime" delay="0" conditionEdge="rising">
<ByValueCondition>
<SimulationTimeCondition value="0" rule="equalTo"/>
</ByValueCondition>
</Condition>
</ConditionGroup>
</StartTrigger>
<StopTrigger>
<ConditionGroup>
<Condition name="EndCondition" delay="0" conditionEdge="rising">
<ByEntityCondition>
<TriggeringEntities triggeringEntitiesRule="any">
<EntityRef entityRef="hero"/>
</TriggeringEntities>
<EntityCondition>
<TraveledDistanceCondition value="200.0"/>
</EntityCondition>
</ByEntityCondition>
</Condition>
</ConditionGroup>
</StopTrigger>
</Act>
</Story>
<StopTrigger>
<ConditionGroup>
<Condition name="criteria_RunningStopTest" delay="0" conditionEdge="rising">
<ByValueCondition>
<ParameterCondition parameterRef="" value="" rule="lessThan"/>
</ByValueCondition>
</Condition>
<Condition name="criteria_RunningRedLightTest" delay="0" conditionEdge="rising">
<ByValueCondition>
<ParameterCondition parameterRef="" value="" rule="lessThan"/>
</ByValueCondition>
</Condition>
<Condition name="criteria_WrongLaneTest" delay="0" conditionEdge="rising">
<ByValueCondition>
<ParameterCondition parameterRef="" value="" rule="lessThan"/>
</ByValueCondition>
</Condition>
<Condition name="criteria_OnSidewalkTest" delay="0" conditionEdge="rising">
<ByValueCondition>
<ParameterCondition parameterRef="" value="" rule="lessThan"/>
</ByValueCondition>
</Condition>
<Condition name="criteria_KeepLaneTest" delay="0" conditionEdge="rising">
<ByValueCondition>
<ParameterCondition parameterRef="" value="" rule="lessThan"/>
</ByValueCondition>
</Condition>
<Condition name="criteria_CollisionTest" delay="0" conditionEdge="rising">
<ByValueCondition>
<ParameterCondition parameterRef="" value="" rule="lessThan"/>
</ByValueCondition>
</Condition>
<Condition name="criteria_DrivenDistanceTest" delay="0" conditionEdge="rising">
<ByValueCondition>
<ParameterCondition parameterRef="distance_success" value="100" rule="lessThan"/>
</ByValueCondition>
</Condition>
</ConditionGroup>
</StopTrigger>
</Storyboard>
</OpenSCENARIO>
``` |
i would like to command you to add pedestrian at location (5.23, -9.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_2008">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_w_transform_2009">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_w_transform_2010">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_close_to_adversary_2011">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_w_transform_2012">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_close_to_standing_2013">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_w_transform_2014">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_close_to_hero_2017">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_w_transform_2018">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_close_to_adversary_2019">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_close_to_adversary_2020">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
</Entities>
<Storyboard>
<Init>
<Actions>
<GlobalAction>
<EnvironmentAction>
<Environment name="Environment1">
<TimeOfDay animation="false" dateTime="2019-06-25T12:00:00"/>
<Weather cloudState="free">
<Sun intensity="0.85" azimuth="0" elevation="1.31"/>
<Fog visualRange="100000.0"/>
<Precipitation precipitationType="dry" intensity="0.0"/>
</Weather>
<RoadCondition frictionScaleFactor="1.0"/>
</Environment>
</EnvironmentAction>
</GlobalAction>
<Private entityRef="hero">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-9.4" y="-152.8" z="0.5" h="1.57079632679"/>
</Position>
</TeleportAction>
</PrivateAction>
<PrivateAction>
<ControllerAction>
<AssignControllerAction>
<Controller name="HeroAgent">
<Properties>
<Property name="module" value="external_control"/>
</Properties>
</Controller>
</AssignControllerAction>
<OverrideControllerValueAction>
<Throttle value="0" active="false"/>
<Brake value="0" active="false"/>
<Clutch value="0" active="false"/>
<ParkingBrake value="0" active="false"/>
<SteeringWheel value="0" active="false"/>
<Gear number="0" active="false"/>
</OverrideControllerValueAction>
</ControllerAction>
</PrivateAction>
</Private>
<Private entityRef="adversary">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-9.4" y="-71.0" z="0.5" h="1.57079632679"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="standing">
<PrivateAction>
<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_2008">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-6.3407793045043945" y="-70.27227020263672" z="0.033741798251867294"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_w_transform_2009">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="98.41039276123047" y="45.820335388183594" z="0.5"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_w_transform_2010">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="77.15766143798828" y="-35.79935073852539" z="0.5"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_close_to_adversary_2011">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-5.566993236541748" y="-71.44535827636719" z="0.03378978744149208"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_w_transform_2012">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="93.34612274169922" y="65.9482192993164" z="0.5"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_close_to_standing_2013">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-5.352504253387451" y="25.907270431518555" z="0.0030006407760083675"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_w_transform_2014">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="71.65237426757812" y="-32.765968322753906" z="0.5"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_close_to_hero_2017">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-12.883008003234863" y="-160.09130859375" z="0.0014286803780123591"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_w_transform_2018">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="24.03489112854004" y="24.658496856689453" z="0.5"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_close_to_adversary_2019">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-17.064783096313477" y="-76.39096069335938" z="0.033806685358285904"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_close_to_adversary_2020">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-15.261971473693848" y="-75.95670318603516" z="0.033800046890974045"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
</Actions>
</Init>
<Story name="MyStory">
<Act name="Behavior">
<ManeuverGroup maximumExecutionCount="1" name="ManeuverSequence">
<Actors selectTriggeringEntities="false">
<EntityRef entityRef="adversary"/>
</Actors>
<Maneuver name="LaneChangeSimpleManeuver">
<Event name="AdversaryAccelerates" priority="overwrite">
<Action name="AdversaryAccelerates">
<PrivateAction>
<LongitudinalAction>
<SpeedAction>
<SpeedActionDynamics dynamicsShape="step" value="50" dynamicsDimension="distance"/>
<SpeedActionTarget>
<AbsoluteTargetSpeed value="5.0"/>
</SpeedActionTarget>
</SpeedAction>
</LongitudinalAction>
</PrivateAction>
</Action>
<StartTrigger>
<ConditionGroup>
<Condition name="StartCondition" delay="0" conditionEdge="rising">
<ByEntityCondition>
<TriggeringEntities triggeringEntitiesRule="any">
<EntityRef entityRef="hero"/>
</TriggeringEntities>
<EntityCondition>
<RelativeDistanceCondition entityRef="adversary" relativeDistanceType="cartesianDistance" value="40.0" freespace="false" rule="lessThan"/>
</EntityCondition>
</ByEntityCondition>
</Condition>
</ConditionGroup>
</StartTrigger>
</Event>
<Event name="AdversaryChangesLane" priority="overwrite">
<Action name="AdversaryChangesLane">
<PrivateAction>
<LateralAction>
<LaneChangeAction>
<LaneChangeActionDynamics dynamicsShape="linear" value="25" dynamicsDimension="distance"/>
<LaneChangeTarget>
<RelativeTargetLane entityRef="adversary" value="-1"/>
</LaneChangeTarget>
</LaneChangeAction>
</LateralAction>
</PrivateAction>
</Action>
<StartTrigger>
<ConditionGroup>
<Condition name="AfterAdversaryAccelerates" delay="0" conditionEdge="rising">
<ByValueCondition>
<StoryboardElementStateCondition storyboardElementType="action" storyboardElementRef="AdversaryAccelerates" state="completeState"/>
</ByValueCondition>
</Condition>
</ConditionGroup>
</StartTrigger>
</Event>
</Maneuver>
</ManeuverGroup>
<StartTrigger>
<ConditionGroup>
<Condition name="OverallStartCondition" delay="0" conditionEdge="rising">
<ByEntityCondition>
<TriggeringEntities triggeringEntitiesRule="any">
<EntityRef entityRef="hero"/>
</TriggeringEntities>
<EntityCondition>
<TraveledDistanceCondition value="1.0"/>
</EntityCondition>
</ByEntityCondition>
</Condition>
<Condition name="StartTime" delay="0" conditionEdge="rising">
<ByValueCondition>
<SimulationTimeCondition value="0" rule="equalTo"/>
</ByValueCondition>
</Condition>
</ConditionGroup>
</StartTrigger>
<StopTrigger>
<ConditionGroup>
<Condition name="EndCondition" delay="0" conditionEdge="rising">
<ByEntityCondition>
<TriggeringEntities triggeringEntitiesRule="any">
<EntityRef entityRef="hero"/>
</TriggeringEntities>
<EntityCondition>
<TraveledDistanceCondition value="200.0"/>
</EntityCondition>
</ByEntityCondition>
</Condition>
</ConditionGroup>
</StopTrigger>
</Act>
</Story>
<StopTrigger>
<ConditionGroup>
<Condition name="criteria_RunningStopTest" delay="0" conditionEdge="rising">
<ByValueCondition>
<ParameterCondition parameterRef="" value="" rule="lessThan"/>
</ByValueCondition>
</Condition>
<Condition name="criteria_RunningRedLightTest" delay="0" conditionEdge="rising">
<ByValueCondition>
<ParameterCondition parameterRef="" value="" rule="lessThan"/>
</ByValueCondition>
</Condition>
<Condition name="criteria_WrongLaneTest" delay="0" conditionEdge="rising">
<ByValueCondition>
<ParameterCondition parameterRef="" value="" rule="lessThan"/>
</ByValueCondition>
</Condition>
<Condition name="criteria_OnSidewalkTest" delay="0" conditionEdge="rising">
<ByValueCondition>
<ParameterCondition parameterRef="" value="" rule="lessThan"/>
</ByValueCondition>
</Condition>
<Condition name="criteria_KeepLaneTest" delay="0" conditionEdge="rising">
<ByValueCondition>
<ParameterCondition parameterRef="" value="" rule="lessThan"/>
</ByValueCondition>
</Condition>
<Condition name="criteria_CollisionTest" delay="0" conditionEdge="rising">
<ByValueCondition>
<ParameterCondition parameterRef="" value="" rule="lessThan"/>
</ByValueCondition>
</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_2008">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_w_transform_2009">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_w_transform_2010">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_close_to_adversary_2011">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_w_transform_2012">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_close_to_standing_2013">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_w_transform_2014">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_close_to_hero_2017">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_w_transform_2018">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_close_to_adversary_2019">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_close_to_adversary_2020">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_w_transform_2021">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
</Entities>
<Storyboard>
<Init>
<Actions>
<GlobalAction>
<EnvironmentAction>
<Environment name="Environment1">
<TimeOfDay animation="false" dateTime="2019-06-25T12:00:00"/>
<Weather cloudState="free">
<Sun intensity="0.85" azimuth="0" elevation="1.31"/>
<Fog visualRange="100000.0"/>
<Precipitation precipitationType="dry" intensity="0.0"/>
</Weather>
<RoadCondition frictionScaleFactor="1.0"/>
</Environment>
</EnvironmentAction>
</GlobalAction>
<Private entityRef="hero">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-9.4" y="-152.8" z="0.5" h="1.57079632679"/>
</Position>
</TeleportAction>
</PrivateAction>
<PrivateAction>
<ControllerAction>
<AssignControllerAction>
<Controller name="HeroAgent">
<Properties>
<Property name="module" value="external_control"/>
</Properties>
</Controller>
</AssignControllerAction>
<OverrideControllerValueAction>
<Throttle value="0" active="false"/>
<Brake value="0" active="false"/>
<Clutch value="0" active="false"/>
<ParkingBrake value="0" active="false"/>
<SteeringWheel value="0" active="false"/>
<Gear number="0" active="false"/>
</OverrideControllerValueAction>
</ControllerAction>
</PrivateAction>
</Private>
<Private entityRef="adversary">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-9.4" y="-71.0" z="0.5" h="1.57079632679"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="standing">
<PrivateAction>
<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_2008">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-6.3407793045043945" y="-70.27227020263672" z="0.033741798251867294"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_w_transform_2009">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="98.41039276123047" y="45.820335388183594" z="0.5"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_w_transform_2010">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="77.15766143798828" y="-35.79935073852539" z="0.5"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_close_to_adversary_2011">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-5.566993236541748" y="-71.44535827636719" z="0.03378978744149208"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_w_transform_2012">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="93.34612274169922" y="65.9482192993164" z="0.5"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_close_to_standing_2013">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-5.352504253387451" y="25.907270431518555" z="0.0030006407760083675"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_w_transform_2014">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="71.65237426757812" y="-32.765968322753906" z="0.5"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_close_to_hero_2017">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-12.883008003234863" y="-160.09130859375" z="0.0014286803780123591"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_w_transform_2018">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="24.03489112854004" y="24.658496856689453" z="0.5"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_close_to_adversary_2019">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-17.064783096313477" y="-76.39096069335938" z="0.033806685358285904"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_close_to_adversary_2020">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-15.261971473693848" y="-75.95670318603516" z="0.033800046890974045"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_w_transform_2021">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="5.225186347961426" y="-9.614755630493164" 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 (-9.36, -24.55, 0.5)?
```
<?xml version="1.0" ?>
<OpenSCENARIO>
<FileHeader revMajor="1" revMinor="0" date="2020-03-24T12:00:00" description="CARLA:LaneChangeSimple" author=""/>
<ParameterDeclarations/>
<CatalogLocations/>
<RoadNetwork>
<LogicFile filepath="Town04"/>
<SceneGraphFile filepath=""/>
</RoadNetwork>
<Entities>
<ScenarioObject name="hero">
<Vehicle name="vehicle.tesla.model3" vehicleCategory="car">
<ParameterDeclarations/>
<Performance maxSpeed="69.444" maxAcceleration="200" maxDeceleration="10.0"/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2.1" length="4.5" height="1.8"/>
</BoundingBox>
<Axles>
<FrontAxle maxSteering="0.5" wheelDiameter="0.6" trackWidth="1.8" positionX="3.1" positionZ="0.3"/>
<RearAxle maxSteering="0.0" wheelDiameter="0.6" trackWidth="1.8" positionX="0.0" positionZ="0.3"/>
</Axles>
<Properties>
<Property name="type" value="ego_vehicle"/>
</Properties>
</Vehicle>
</ScenarioObject>
<ScenarioObject name="adversary">
<Vehicle name="vehicle.lincoln.mkz_2017" vehicleCategory="car">
<ParameterDeclarations/>
<Performance maxSpeed="69.444" maxAcceleration="200" maxDeceleration="10.0"/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2.1" length="4.5" height="1.8"/>
</BoundingBox>
<Axles>
<FrontAxle maxSteering="0.5" wheelDiameter="0.6" trackWidth="1.8" positionX="3.1" positionZ="0.3"/>
<RearAxle maxSteering="0.0" wheelDiameter="0.6" trackWidth="1.8" positionX="0.0" positionZ="0.3"/>
</Axles>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Vehicle>
</ScenarioObject>
<ScenarioObject name="standing">
<Vehicle name="vehicle.volkswagen.t2" vehicleCategory="car">
<ParameterDeclarations/>
<Performance maxSpeed="69.444" maxAcceleration="200" maxDeceleration="10.0"/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2.1" length="4.5" height="1.8"/>
</BoundingBox>
<Axles>
<FrontAxle maxSteering="0.5" wheelDiameter="0.6" trackWidth="1.8" positionX="3.1" positionZ="0.3"/>
<RearAxle maxSteering="0.0" wheelDiameter="0.6" trackWidth="1.8" positionX="0.0" positionZ="0.3"/>
</Axles>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Vehicle>
</ScenarioObject>
<ScenarioObject name="pedestrian_close_to_hero_5296">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_close_to_standing_5297">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_close_to_adversary_5298">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_w_transform_5299">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_close_to_hero_5300">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_w_transform_5301">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_close_to_hero_5302">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_close_to_standing_5303">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_close_to_hero_5304">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_close_to_adversary_5305">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_close_to_adversary_5306">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_w_transform_5307">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_w_transform_5308">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_w_transform_5311">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_w_transform_5312">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_close_to_hero_5313">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_close_to_adversary_5314">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
</Entities>
<Storyboard>
<Init>
<Actions>
<GlobalAction>
<EnvironmentAction>
<Environment name="Environment1">
<TimeOfDay animation="false" dateTime="2019-06-25T12:00:00"/>
<Weather cloudState="free">
<Sun intensity="0.85" azimuth="0" elevation="1.31"/>
<Fog visualRange="100000.0"/>
<Precipitation precipitationType="dry" intensity="0.0"/>
</Weather>
<RoadCondition frictionScaleFactor="1.0"/>
</Environment>
</EnvironmentAction>
</GlobalAction>
<Private entityRef="hero">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-9.4" y="-152.8" z="0.5" h="1.57079632679"/>
</Position>
</TeleportAction>
</PrivateAction>
<PrivateAction>
<ControllerAction>
<AssignControllerAction>
<Controller name="HeroAgent">
<Properties>
<Property name="module" value="external_control"/>
</Properties>
</Controller>
</AssignControllerAction>
<OverrideControllerValueAction>
<Throttle value="0" active="false"/>
<Brake value="0" active="false"/>
<Clutch value="0" active="false"/>
<ParkingBrake value="0" active="false"/>
<SteeringWheel value="0" active="false"/>
<Gear number="0" active="false"/>
</OverrideControllerValueAction>
</ControllerAction>
</PrivateAction>
</Private>
<Private entityRef="adversary">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-9.4" y="-71.0" z="0.5" h="1.57079632679"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="standing">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-8.2" y="29.2" z="0.5" h="1.57079632679"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_close_to_hero_5296">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-1.628769874572754" y="-149.02647399902344" z="0.0014286803780123591"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_close_to_standing_5297">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-5.933564186096191" y="37.858642578125" z="0.0030536651611328125"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_close_to_adversary_5298">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-12.583029747009277" y="-76.046630859375" z="0.033799245953559875"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_w_transform_5299">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="75.80875396728516" y="92.6866226196289" z="0.5"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_close_to_hero_5300">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-17.16276741027832" y="-158.1902313232422" z="0.0014286803780123591"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_w_transform_5301">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-89.48986053466797" y="67.22550201416016" z="0.5"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_close_to_hero_5302">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-7.637406826019287" y="-150.10740661621094" z="0.0014286803780123591"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_close_to_standing_5303">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="0.655483603477478" y="21.777448654174805" z="0.003070259001106024"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_close_to_hero_5304">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-6.508596897125244" y="-160.69863891601562" z="0.0014286803780123591"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_close_to_adversary_5305">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-8.28770923614502" y="-80.55170440673828" z="0.03386268392205238"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_close_to_adversary_5306">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="1.0562864542007446" y="-76.1018295288086" z="0.03387515991926193"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_w_transform_5307">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="90.42718505859375" y="-77.99192810058594" z="0.5"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_w_transform_5308">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="75.24150848388672" y="85.64749145507812" z="0.5"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_w_transform_5311">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="75.61588287353516" y="72.43103790283203" z="0.5"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_w_transform_5312">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="44.100669860839844" y="-54.10603713989258" z="0.5"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_close_to_hero_5313">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-1.9318430423736572" y="-159.514892578125" z="0.0014286803780123591"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_close_to_adversary_5314">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-8.89814281463623" y="-75.52561950683594" z="0.03383472189307213"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
</Actions>
</Init>
<Story name="MyStory">
<Act name="Behavior">
<ManeuverGroup maximumExecutionCount="1" name="ManeuverSequence">
<Actors selectTriggeringEntities="false">
<EntityRef entityRef="adversary"/>
</Actors>
<Maneuver name="LaneChangeSimpleManeuver">
<Event name="AdversaryAccelerates" priority="overwrite">
<Action name="AdversaryAccelerates">
<PrivateAction>
<LongitudinalAction>
<SpeedAction>
<SpeedActionDynamics dynamicsShape="step" value="50" dynamicsDimension="distance"/>
<SpeedActionTarget>
<AbsoluteTargetSpeed value="5.0"/>
</SpeedActionTarget>
</SpeedAction>
</LongitudinalAction>
</PrivateAction>
</Action>
<StartTrigger>
<ConditionGroup>
<Condition name="StartCondition" delay="0" conditionEdge="rising">
<ByEntityCondition>
<TriggeringEntities triggeringEntitiesRule="any">
<EntityRef entityRef="hero"/>
</TriggeringEntities>
<EntityCondition>
<RelativeDistanceCondition entityRef="adversary" relativeDistanceType="cartesianDistance" value="40.0" freespace="false" rule="lessThan"/>
</EntityCondition>
</ByEntityCondition>
</Condition>
</ConditionGroup>
</StartTrigger>
</Event>
<Event name="AdversaryChangesLane" priority="overwrite">
<Action name="AdversaryChangesLane">
<PrivateAction>
<LateralAction>
<LaneChangeAction>
<LaneChangeActionDynamics dynamicsShape="linear" value="25" dynamicsDimension="distance"/>
<LaneChangeTarget>
<RelativeTargetLane entityRef="adversary" value="-1"/>
</LaneChangeTarget>
</LaneChangeAction>
</LateralAction>
</PrivateAction>
</Action>
<StartTrigger>
<ConditionGroup>
<Condition name="AfterAdversaryAccelerates" delay="0" conditionEdge="rising">
<ByValueCondition>
<StoryboardElementStateCondition storyboardElementType="action" storyboardElementRef="AdversaryAccelerates" state="completeState"/>
</ByValueCondition>
</Condition>
</ConditionGroup>
</StartTrigger>
</Event>
</Maneuver>
</ManeuverGroup>
<StartTrigger>
<ConditionGroup>
<Condition name="OverallStartCondition" delay="0" conditionEdge="rising">
<ByEntityCondition>
<TriggeringEntities triggeringEntitiesRule="any">
<EntityRef entityRef="hero"/>
</TriggeringEntities>
<EntityCondition>
<TraveledDistanceCondition value="1.0"/>
</EntityCondition>
</ByEntityCondition>
</Condition>
<Condition name="StartTime" delay="0" conditionEdge="rising">
<ByValueCondition>
<SimulationTimeCondition value="0" rule="equalTo"/>
</ByValueCondition>
</Condition>
</ConditionGroup>
</StartTrigger>
<StopTrigger>
<ConditionGroup>
<Condition name="EndCondition" delay="0" conditionEdge="rising">
<ByEntityCondition>
<TriggeringEntities triggeringEntitiesRule="any">
<EntityRef entityRef="hero"/>
</TriggeringEntities>
<EntityCondition>
<TraveledDistanceCondition value="200.0"/>
</EntityCondition>
</ByEntityCondition>
</Condition>
</ConditionGroup>
</StopTrigger>
</Act>
</Story>
<StopTrigger>
<ConditionGroup>
<Condition name="criteria_RunningStopTest" delay="0" conditionEdge="rising">
<ByValueCondition>
<ParameterCondition parameterRef="" value="" rule="lessThan"/>
</ByValueCondition>
</Condition>
<Condition name="criteria_RunningRedLightTest" delay="0" conditionEdge="rising">
<ByValueCondition>
<ParameterCondition parameterRef="" value="" rule="lessThan"/>
</ByValueCondition>
</Condition>
<Condition name="criteria_WrongLaneTest" delay="0" conditionEdge="rising">
<ByValueCondition>
<ParameterCondition parameterRef="" value="" rule="lessThan"/>
</ByValueCondition>
</Condition>
<Condition name="criteria_OnSidewalkTest" delay="0" conditionEdge="rising">
<ByValueCondition>
<ParameterCondition parameterRef="" value="" rule="lessThan"/>
</ByValueCondition>
</Condition>
<Condition name="criteria_KeepLaneTest" delay="0" conditionEdge="rising">
<ByValueCondition>
<ParameterCondition parameterRef="" value="" rule="lessThan"/>
</ByValueCondition>
</Condition>
<Condition name="criteria_CollisionTest" delay="0" conditionEdge="rising">
<ByValueCondition>
<ParameterCondition parameterRef="" value="" rule="lessThan"/>
</ByValueCondition>
</Condition>
<Condition name="criteria_DrivenDistanceTest" delay="0" conditionEdge="rising">
<ByValueCondition>
<ParameterCondition parameterRef="distance_success" value="100" rule="lessThan"/>
</ByValueCondition>
</Condition>
</ConditionGroup>
</StopTrigger>
</Storyboard>
</OpenSCENARIO>
``` | Here is the result:
```
<?xml version="1.0" ?>
<OpenSCENARIO>
<FileHeader revMajor="1" revMinor="0" date="2020-03-24T12:00:00" description="CARLA:LaneChangeSimple" author=""/>
<ParameterDeclarations/>
<CatalogLocations/>
<RoadNetwork>
<LogicFile filepath="Town04"/>
<SceneGraphFile filepath=""/>
</RoadNetwork>
<Entities>
<ScenarioObject name="hero">
<Vehicle name="vehicle.tesla.model3" vehicleCategory="car">
<ParameterDeclarations/>
<Performance maxSpeed="69.444" maxAcceleration="200" maxDeceleration="10.0"/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2.1" length="4.5" height="1.8"/>
</BoundingBox>
<Axles>
<FrontAxle maxSteering="0.5" wheelDiameter="0.6" trackWidth="1.8" positionX="3.1" positionZ="0.3"/>
<RearAxle maxSteering="0.0" wheelDiameter="0.6" trackWidth="1.8" positionX="0.0" positionZ="0.3"/>
</Axles>
<Properties>
<Property name="type" value="ego_vehicle"/>
</Properties>
</Vehicle>
</ScenarioObject>
<ScenarioObject name="adversary">
<Vehicle name="vehicle.lincoln.mkz_2017" vehicleCategory="car">
<ParameterDeclarations/>
<Performance maxSpeed="69.444" maxAcceleration="200" maxDeceleration="10.0"/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2.1" length="4.5" height="1.8"/>
</BoundingBox>
<Axles>
<FrontAxle maxSteering="0.5" wheelDiameter="0.6" trackWidth="1.8" positionX="3.1" positionZ="0.3"/>
<RearAxle maxSteering="0.0" wheelDiameter="0.6" trackWidth="1.8" positionX="0.0" positionZ="0.3"/>
</Axles>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Vehicle>
</ScenarioObject>
<ScenarioObject name="standing">
<Vehicle name="vehicle.volkswagen.t2" vehicleCategory="car">
<ParameterDeclarations/>
<Performance maxSpeed="69.444" maxAcceleration="200" maxDeceleration="10.0"/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2.1" length="4.5" height="1.8"/>
</BoundingBox>
<Axles>
<FrontAxle maxSteering="0.5" wheelDiameter="0.6" trackWidth="1.8" positionX="3.1" positionZ="0.3"/>
<RearAxle maxSteering="0.0" wheelDiameter="0.6" trackWidth="1.8" positionX="0.0" positionZ="0.3"/>
</Axles>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Vehicle>
</ScenarioObject>
<ScenarioObject name="pedestrian_close_to_hero_5296">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_close_to_standing_5297">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_close_to_adversary_5298">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_w_transform_5299">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_close_to_hero_5300">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_w_transform_5301">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_close_to_hero_5302">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_close_to_standing_5303">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_close_to_hero_5304">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_close_to_adversary_5305">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_close_to_adversary_5306">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_w_transform_5307">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_w_transform_5308">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_w_transform_5311">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_w_transform_5312">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_close_to_hero_5313">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_close_to_adversary_5314">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_w_transform_5315">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
</Entities>
<Storyboard>
<Init>
<Actions>
<GlobalAction>
<EnvironmentAction>
<Environment name="Environment1">
<TimeOfDay animation="false" dateTime="2019-06-25T12:00:00"/>
<Weather cloudState="free">
<Sun intensity="0.85" azimuth="0" elevation="1.31"/>
<Fog visualRange="100000.0"/>
<Precipitation precipitationType="dry" intensity="0.0"/>
</Weather>
<RoadCondition frictionScaleFactor="1.0"/>
</Environment>
</EnvironmentAction>
</GlobalAction>
<Private entityRef="hero">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-9.4" y="-152.8" z="0.5" h="1.57079632679"/>
</Position>
</TeleportAction>
</PrivateAction>
<PrivateAction>
<ControllerAction>
<AssignControllerAction>
<Controller name="HeroAgent">
<Properties>
<Property name="module" value="external_control"/>
</Properties>
</Controller>
</AssignControllerAction>
<OverrideControllerValueAction>
<Throttle value="0" active="false"/>
<Brake value="0" active="false"/>
<Clutch value="0" active="false"/>
<ParkingBrake value="0" active="false"/>
<SteeringWheel value="0" active="false"/>
<Gear number="0" active="false"/>
</OverrideControllerValueAction>
</ControllerAction>
</PrivateAction>
</Private>
<Private entityRef="adversary">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-9.4" y="-71.0" z="0.5" h="1.57079632679"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="standing">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-8.2" y="29.2" z="0.5" h="1.57079632679"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_close_to_hero_5296">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-1.628769874572754" y="-149.02647399902344" z="0.0014286803780123591"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_close_to_standing_5297">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-5.933564186096191" y="37.858642578125" z="0.0030536651611328125"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_close_to_adversary_5298">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-12.583029747009277" y="-76.046630859375" z="0.033799245953559875"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_w_transform_5299">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="75.80875396728516" y="92.6866226196289" z="0.5"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_close_to_hero_5300">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-17.16276741027832" y="-158.1902313232422" z="0.0014286803780123591"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_w_transform_5301">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-89.48986053466797" y="67.22550201416016" z="0.5"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_close_to_hero_5302">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-7.637406826019287" y="-150.10740661621094" z="0.0014286803780123591"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_close_to_standing_5303">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="0.655483603477478" y="21.777448654174805" z="0.003070259001106024"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_close_to_hero_5304">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-6.508596897125244" y="-160.69863891601562" z="0.0014286803780123591"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_close_to_adversary_5305">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-8.28770923614502" y="-80.55170440673828" z="0.03386268392205238"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_close_to_adversary_5306">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="1.0562864542007446" y="-76.1018295288086" z="0.03387515991926193"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_w_transform_5307">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="90.42718505859375" y="-77.99192810058594" z="0.5"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_w_transform_5308">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="75.24150848388672" y="85.64749145507812" z="0.5"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_w_transform_5311">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="75.61588287353516" y="72.43103790283203" z="0.5"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_w_transform_5312">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="44.100669860839844" y="-54.10603713989258" z="0.5"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_close_to_hero_5313">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-1.9318430423736572" y="-159.514892578125" z="0.0014286803780123591"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_close_to_adversary_5314">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-8.89814281463623" y="-75.52561950683594" z="0.03383472189307213"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_w_transform_5315">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-9.361311912536621" y="-24.5548038482666" z="0.5"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
</Actions>
</Init>
<Story name="MyStory">
<Act name="Behavior">
<ManeuverGroup maximumExecutionCount="1" name="ManeuverSequence">
<Actors selectTriggeringEntities="false">
<EntityRef entityRef="adversary"/>
</Actors>
<Maneuver name="LaneChangeSimpleManeuver">
<Event name="AdversaryAccelerates" priority="overwrite">
<Action name="AdversaryAccelerates">
<PrivateAction>
<LongitudinalAction>
<SpeedAction>
<SpeedActionDynamics dynamicsShape="step" value="50" dynamicsDimension="distance"/>
<SpeedActionTarget>
<AbsoluteTargetSpeed value="5.0"/>
</SpeedActionTarget>
</SpeedAction>
</LongitudinalAction>
</PrivateAction>
</Action>
<StartTrigger>
<ConditionGroup>
<Condition name="StartCondition" delay="0" conditionEdge="rising">
<ByEntityCondition>
<TriggeringEntities triggeringEntitiesRule="any">
<EntityRef entityRef="hero"/>
</TriggeringEntities>
<EntityCondition>
<RelativeDistanceCondition entityRef="adversary" relativeDistanceType="cartesianDistance" value="40.0" freespace="false" rule="lessThan"/>
</EntityCondition>
</ByEntityCondition>
</Condition>
</ConditionGroup>
</StartTrigger>
</Event>
<Event name="AdversaryChangesLane" priority="overwrite">
<Action name="AdversaryChangesLane">
<PrivateAction>
<LateralAction>
<LaneChangeAction>
<LaneChangeActionDynamics dynamicsShape="linear" value="25" dynamicsDimension="distance"/>
<LaneChangeTarget>
<RelativeTargetLane entityRef="adversary" value="-1"/>
</LaneChangeTarget>
</LaneChangeAction>
</LateralAction>
</PrivateAction>
</Action>
<StartTrigger>
<ConditionGroup>
<Condition name="AfterAdversaryAccelerates" delay="0" conditionEdge="rising">
<ByValueCondition>
<StoryboardElementStateCondition storyboardElementType="action" storyboardElementRef="AdversaryAccelerates" state="completeState"/>
</ByValueCondition>
</Condition>
</ConditionGroup>
</StartTrigger>
</Event>
</Maneuver>
</ManeuverGroup>
<StartTrigger>
<ConditionGroup>
<Condition name="OverallStartCondition" delay="0" conditionEdge="rising">
<ByEntityCondition>
<TriggeringEntities triggeringEntitiesRule="any">
<EntityRef entityRef="hero"/>
</TriggeringEntities>
<EntityCondition>
<TraveledDistanceCondition value="1.0"/>
</EntityCondition>
</ByEntityCondition>
</Condition>
<Condition name="StartTime" delay="0" conditionEdge="rising">
<ByValueCondition>
<SimulationTimeCondition value="0" rule="equalTo"/>
</ByValueCondition>
</Condition>
</ConditionGroup>
</StartTrigger>
<StopTrigger>
<ConditionGroup>
<Condition name="EndCondition" delay="0" conditionEdge="rising">
<ByEntityCondition>
<TriggeringEntities triggeringEntitiesRule="any">
<EntityRef entityRef="hero"/>
</TriggeringEntities>
<EntityCondition>
<TraveledDistanceCondition value="200.0"/>
</EntityCondition>
</ByEntityCondition>
</Condition>
</ConditionGroup>
</StopTrigger>
</Act>
</Story>
<StopTrigger>
<ConditionGroup>
<Condition name="criteria_RunningStopTest" delay="0" conditionEdge="rising">
<ByValueCondition>
<ParameterCondition parameterRef="" value="" rule="lessThan"/>
</ByValueCondition>
</Condition>
<Condition name="criteria_RunningRedLightTest" delay="0" conditionEdge="rising">
<ByValueCondition>
<ParameterCondition parameterRef="" value="" rule="lessThan"/>
</ByValueCondition>
</Condition>
<Condition name="criteria_WrongLaneTest" delay="0" conditionEdge="rising">
<ByValueCondition>
<ParameterCondition parameterRef="" value="" rule="lessThan"/>
</ByValueCondition>
</Condition>
<Condition name="criteria_OnSidewalkTest" delay="0" conditionEdge="rising">
<ByValueCondition>
<ParameterCondition parameterRef="" value="" rule="lessThan"/>
</ByValueCondition>
</Condition>
<Condition name="criteria_KeepLaneTest" delay="0" conditionEdge="rising">
<ByValueCondition>
<ParameterCondition parameterRef="" value="" rule="lessThan"/>
</ByValueCondition>
</Condition>
<Condition name="criteria_CollisionTest" delay="0" conditionEdge="rising">
<ByValueCondition>
<ParameterCondition parameterRef="" value="" rule="lessThan"/>
</ByValueCondition>
</Condition>
<Condition name="criteria_DrivenDistanceTest" delay="0" conditionEdge="rising">
<ByValueCondition>
<ParameterCondition parameterRef="distance_success" value="100" rule="lessThan"/>
</ByValueCondition>
</Condition>
</ConditionGroup>
</StopTrigger>
</Storyboard>
</OpenSCENARIO>
``` |
i would like you to display add pedestrian at location (-77.16, 25.73, 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_6684">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_close_to_standing_6685">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_w_transform_6686">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
</Entities>
<Storyboard>
<Init>
<Actions>
<GlobalAction>
<EnvironmentAction>
<Environment name="Environment1">
<TimeOfDay animation="false" dateTime="2019-06-25T12:00:00"/>
<Weather cloudState="free">
<Sun intensity="0.85" azimuth="0" elevation="1.31"/>
<Fog visualRange="100000.0"/>
<Precipitation precipitationType="dry" intensity="0.0"/>
</Weather>
<RoadCondition frictionScaleFactor="1.0"/>
</Environment>
</EnvironmentAction>
</GlobalAction>
<Private entityRef="hero">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-9.4" y="-152.8" z="0.5" h="1.57079632679"/>
</Position>
</TeleportAction>
</PrivateAction>
<PrivateAction>
<ControllerAction>
<AssignControllerAction>
<Controller name="HeroAgent">
<Properties>
<Property name="module" value="external_control"/>
</Properties>
</Controller>
</AssignControllerAction>
<OverrideControllerValueAction>
<Throttle value="0" active="false"/>
<Brake value="0" active="false"/>
<Clutch value="0" active="false"/>
<ParkingBrake value="0" active="false"/>
<SteeringWheel value="0" active="false"/>
<Gear number="0" active="false"/>
</OverrideControllerValueAction>
</ControllerAction>
</PrivateAction>
</Private>
<Private entityRef="adversary">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-9.4" y="-71.0" z="0.5" h="1.57079632679"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="standing">
<PrivateAction>
<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_6684">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-15.229632377624512" y="-80.02108764648438" z="0.03383747115731239"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_close_to_standing_6685">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-2.4393177032470703" y="38.88768768310547" z="0.0030863950960338116"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_w_transform_6686">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-20.1370906829834" y="-78.724853515625" 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_6684">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_close_to_standing_6685">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_w_transform_6686">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_w_transform_6687">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
</Entities>
<Storyboard>
<Init>
<Actions>
<GlobalAction>
<EnvironmentAction>
<Environment name="Environment1">
<TimeOfDay animation="false" dateTime="2019-06-25T12:00:00"/>
<Weather cloudState="free">
<Sun intensity="0.85" azimuth="0" elevation="1.31"/>
<Fog visualRange="100000.0"/>
<Precipitation precipitationType="dry" intensity="0.0"/>
</Weather>
<RoadCondition frictionScaleFactor="1.0"/>
</Environment>
</EnvironmentAction>
</GlobalAction>
<Private entityRef="hero">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-9.4" y="-152.8" z="0.5" h="1.57079632679"/>
</Position>
</TeleportAction>
</PrivateAction>
<PrivateAction>
<ControllerAction>
<AssignControllerAction>
<Controller name="HeroAgent">
<Properties>
<Property name="module" value="external_control"/>
</Properties>
</Controller>
</AssignControllerAction>
<OverrideControllerValueAction>
<Throttle value="0" active="false"/>
<Brake value="0" active="false"/>
<Clutch value="0" active="false"/>
<ParkingBrake value="0" active="false"/>
<SteeringWheel value="0" active="false"/>
<Gear number="0" active="false"/>
</OverrideControllerValueAction>
</ControllerAction>
</PrivateAction>
</Private>
<Private entityRef="adversary">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-9.4" y="-71.0" z="0.5" h="1.57079632679"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="standing">
<PrivateAction>
<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_6684">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-15.229632377624512" y="-80.02108764648438" z="0.03383747115731239"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_close_to_standing_6685">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-2.4393177032470703" y="38.88768768310547" z="0.0030863950960338116"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_w_transform_6686">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-20.1370906829834" y="-78.724853515625" z="0.5"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_w_transform_6687">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-77.15864562988281" y="25.7298526763916" 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 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_23831">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_close_to_hero_23832">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_close_to_hero_23833">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_w_transform_23834">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_close_to_hero_23835">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_close_to_hero_23836">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_close_to_hero_23837">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_close_to_hero_23838">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_w_transform_23839">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_w_transform_23840">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_close_to_hero_23841">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_w_transform_23845">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
</Entities>
<Storyboard>
<Init>
<Actions>
<GlobalAction>
<EnvironmentAction>
<Environment name="Environment1">
<TimeOfDay animation="false" dateTime="2019-06-25T12:00:00"/>
<Weather cloudState="free">
<Sun intensity="0.85" azimuth="0" elevation="1.31"/>
<Fog visualRange="100000.0"/>
<Precipitation precipitationType="dry" intensity="0.0"/>
</Weather>
<RoadCondition frictionScaleFactor="1.0"/>
</Environment>
</EnvironmentAction>
</GlobalAction>
<Private entityRef="hero">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-9.4" y="-152.8" z="0.5" h="1.57079632679"/>
</Position>
</TeleportAction>
</PrivateAction>
<PrivateAction>
<ControllerAction>
<AssignControllerAction>
<Controller name="HeroAgent">
<Properties>
<Property name="module" value="external_control"/>
</Properties>
</Controller>
</AssignControllerAction>
<OverrideControllerValueAction>
<Throttle value="0" active="false"/>
<Brake value="0" active="false"/>
<Clutch value="0" active="false"/>
<ParkingBrake value="0" active="false"/>
<SteeringWheel value="0" active="false"/>
<Gear number="0" active="false"/>
</OverrideControllerValueAction>
</ControllerAction>
</PrivateAction>
</Private>
<Private entityRef="adversary">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-9.4" y="-71.0" z="0.5" h="1.57079632679"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="standing">
<PrivateAction>
<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_23831">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="9.539396286010742" y="-142.81201171875" z="0.0014286803780123591"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_close_to_hero_23832">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-17.525516510009766" y="-145.74693298339844" z="0.0014286803780123591"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_close_to_hero_23833">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-2.46301531791687" y="-157.9297637939453" z="0.0014286803780123591"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_w_transform_23834">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-8.036584854125977" y="-55.41498565673828" z="0.5"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_close_to_hero_23835">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-10.0924072265625" y="-155.4762420654297" z="0.0014286803780123591"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_close_to_hero_23836">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-3.4411356449127197" y="-165.14927673339844" z="0.0014286803780123591"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_close_to_hero_23837">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-16.459882736206055" y="-148.6267547607422" z="0.0014286803780123591"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_close_to_hero_23838">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-16.905929565429688" y="-148.1525421142578" z="0.0014286803780123591"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_w_transform_23839">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-24.839710235595703" y="-44.502098083496094" z="0.5"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_w_transform_23840">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-55.99617004394531" y="-71.43994903564453" z="0.5"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_close_to_hero_23841">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-10.830124855041504" y="-162.0352783203125" z="0.0014286803780123591"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_w_transform_23845">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-34.994197845458984" y="75.30633544921875" 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_23831">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_close_to_hero_23832">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_close_to_hero_23833">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_w_transform_23834">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_close_to_hero_23835">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_close_to_hero_23836">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_close_to_hero_23837">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_close_to_hero_23838">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_w_transform_23839">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_w_transform_23840">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_w_transform_23845">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
</Entities>
<Storyboard>
<Init>
<Actions>
<GlobalAction>
<EnvironmentAction>
<Environment name="Environment1">
<TimeOfDay animation="false" dateTime="2019-06-25T12:00:00"/>
<Weather cloudState="free">
<Sun intensity="0.85" azimuth="0" elevation="1.31"/>
<Fog visualRange="100000.0"/>
<Precipitation precipitationType="dry" intensity="0.0"/>
</Weather>
<RoadCondition frictionScaleFactor="1.0"/>
</Environment>
</EnvironmentAction>
</GlobalAction>
<Private entityRef="hero">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-9.4" y="-152.8" z="0.5" h="1.57079632679"/>
</Position>
</TeleportAction>
</PrivateAction>
<PrivateAction>
<ControllerAction>
<AssignControllerAction>
<Controller name="HeroAgent">
<Properties>
<Property name="module" value="external_control"/>
</Properties>
</Controller>
</AssignControllerAction>
<OverrideControllerValueAction>
<Throttle value="0" active="false"/>
<Brake value="0" active="false"/>
<Clutch value="0" active="false"/>
<ParkingBrake value="0" active="false"/>
<SteeringWheel value="0" active="false"/>
<Gear number="0" active="false"/>
</OverrideControllerValueAction>
</ControllerAction>
</PrivateAction>
</Private>
<Private entityRef="adversary">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-9.4" y="-71.0" z="0.5" h="1.57079632679"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="standing">
<PrivateAction>
<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_23831">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="9.539396286010742" y="-142.81201171875" z="0.0014286803780123591"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_close_to_hero_23832">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-17.525516510009766" y="-145.74693298339844" z="0.0014286803780123591"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_close_to_hero_23833">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-2.46301531791687" y="-157.9297637939453" z="0.0014286803780123591"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_w_transform_23834">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-8.036584854125977" y="-55.41498565673828" z="0.5"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_close_to_hero_23835">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-10.0924072265625" y="-155.4762420654297" z="0.0014286803780123591"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_close_to_hero_23836">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-3.4411356449127197" y="-165.14927673339844" z="0.0014286803780123591"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_close_to_hero_23837">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-16.459882736206055" y="-148.6267547607422" z="0.0014286803780123591"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_close_to_hero_23838">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-16.905929565429688" y="-148.1525421142578" z="0.0014286803780123591"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_w_transform_23839">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-24.839710235595703" y="-44.502098083496094" z="0.5"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_w_transform_23840">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-55.99617004394531" y="-71.43994903564453" z="0.5"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_w_transform_23845">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-34.994197845458984" y="75.30633544921875" 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 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_817">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_w_transform_818">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_close_to_adversary_819">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
</Entities>
<Storyboard>
<Init>
<Actions>
<GlobalAction>
<EnvironmentAction>
<Environment name="Environment1">
<TimeOfDay animation="false" dateTime="2019-06-25T12:00:00"/>
<Weather cloudState="free">
<Sun intensity="0.85" azimuth="0" elevation="1.31"/>
<Fog visualRange="100000.0"/>
<Precipitation precipitationType="dry" intensity="0.0"/>
</Weather>
<RoadCondition frictionScaleFactor="1.0"/>
</Environment>
</EnvironmentAction>
</GlobalAction>
<Private entityRef="hero">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-9.4" y="-152.8" z="0.5" h="1.57079632679"/>
</Position>
</TeleportAction>
</PrivateAction>
<PrivateAction>
<ControllerAction>
<AssignControllerAction>
<Controller name="HeroAgent">
<Properties>
<Property name="module" value="external_control"/>
</Properties>
</Controller>
</AssignControllerAction>
<OverrideControllerValueAction>
<Throttle value="0" active="false"/>
<Brake value="0" active="false"/>
<Clutch value="0" active="false"/>
<ParkingBrake value="0" active="false"/>
<SteeringWheel value="0" active="false"/>
<Gear number="0" active="false"/>
</OverrideControllerValueAction>
</ControllerAction>
</PrivateAction>
</Private>
<Private entityRef="adversary">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-9.4" y="-71.0" z="0.5" h="1.57079632679"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="standing">
<PrivateAction>
<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_817">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-1.9962936639785767" y="-67.78353881835938" z="0.03377700597047806"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_w_transform_818">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="12.143474578857422" y="-36.16080093383789" z="0.5"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_close_to_adversary_819">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="5.0576558113098145" y="-76.39485168457031" z="0.03382835164666176"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
</Actions>
</Init>
<Story name="MyStory">
<Act name="Behavior">
<ManeuverGroup maximumExecutionCount="1" name="ManeuverSequence">
<Actors selectTriggeringEntities="false">
<EntityRef entityRef="adversary"/>
</Actors>
<Maneuver name="LaneChangeSimpleManeuver">
<Event name="AdversaryAccelerates" priority="overwrite">
<Action name="AdversaryAccelerates">
<PrivateAction>
<LongitudinalAction>
<SpeedAction>
<SpeedActionDynamics dynamicsShape="step" value="50" dynamicsDimension="distance"/>
<SpeedActionTarget>
<AbsoluteTargetSpeed value="5.0"/>
</SpeedActionTarget>
</SpeedAction>
</LongitudinalAction>
</PrivateAction>
</Action>
<StartTrigger>
<ConditionGroup>
<Condition name="StartCondition" delay="0" conditionEdge="rising">
<ByEntityCondition>
<TriggeringEntities triggeringEntitiesRule="any">
<EntityRef entityRef="hero"/>
</TriggeringEntities>
<EntityCondition>
<RelativeDistanceCondition entityRef="adversary" relativeDistanceType="cartesianDistance" value="40.0" freespace="false" rule="lessThan"/>
</EntityCondition>
</ByEntityCondition>
</Condition>
</ConditionGroup>
</StartTrigger>
</Event>
<Event name="AdversaryChangesLane" priority="overwrite">
<Action name="AdversaryChangesLane">
<PrivateAction>
<LateralAction>
<LaneChangeAction>
<LaneChangeActionDynamics dynamicsShape="linear" value="25" dynamicsDimension="distance"/>
<LaneChangeTarget>
<RelativeTargetLane entityRef="adversary" value="-1"/>
</LaneChangeTarget>
</LaneChangeAction>
</LateralAction>
</PrivateAction>
</Action>
<StartTrigger>
<ConditionGroup>
<Condition name="AfterAdversaryAccelerates" delay="0" conditionEdge="rising">
<ByValueCondition>
<StoryboardElementStateCondition storyboardElementType="action" storyboardElementRef="AdversaryAccelerates" state="completeState"/>
</ByValueCondition>
</Condition>
</ConditionGroup>
</StartTrigger>
</Event>
</Maneuver>
</ManeuverGroup>
<StartTrigger>
<ConditionGroup>
<Condition name="OverallStartCondition" delay="0" conditionEdge="rising">
<ByEntityCondition>
<TriggeringEntities triggeringEntitiesRule="any">
<EntityRef entityRef="hero"/>
</TriggeringEntities>
<EntityCondition>
<TraveledDistanceCondition value="1.0"/>
</EntityCondition>
</ByEntityCondition>
</Condition>
<Condition name="StartTime" delay="0" conditionEdge="rising">
<ByValueCondition>
<SimulationTimeCondition value="0" rule="equalTo"/>
</ByValueCondition>
</Condition>
</ConditionGroup>
</StartTrigger>
<StopTrigger>
<ConditionGroup>
<Condition name="EndCondition" delay="0" conditionEdge="rising">
<ByEntityCondition>
<TriggeringEntities triggeringEntitiesRule="any">
<EntityRef entityRef="hero"/>
</TriggeringEntities>
<EntityCondition>
<TraveledDistanceCondition value="200.0"/>
</EntityCondition>
</ByEntityCondition>
</Condition>
</ConditionGroup>
</StopTrigger>
</Act>
</Story>
<StopTrigger>
<ConditionGroup>
<Condition name="criteria_RunningStopTest" delay="0" conditionEdge="rising">
<ByValueCondition>
<ParameterCondition parameterRef="" value="" rule="lessThan"/>
</ByValueCondition>
</Condition>
<Condition name="criteria_RunningRedLightTest" delay="0" conditionEdge="rising">
<ByValueCondition>
<ParameterCondition parameterRef="" value="" rule="lessThan"/>
</ByValueCondition>
</Condition>
<Condition name="criteria_WrongLaneTest" delay="0" conditionEdge="rising">
<ByValueCondition>
<ParameterCondition parameterRef="" value="" rule="lessThan"/>
</ByValueCondition>
</Condition>
<Condition name="criteria_OnSidewalkTest" delay="0" conditionEdge="rising">
<ByValueCondition>
<ParameterCondition parameterRef="" value="" rule="lessThan"/>
</ByValueCondition>
</Condition>
<Condition name="criteria_KeepLaneTest" delay="0" conditionEdge="rising">
<ByValueCondition>
<ParameterCondition parameterRef="" value="" rule="lessThan"/>
</ByValueCondition>
</Condition>
<Condition name="criteria_CollisionTest" delay="0" conditionEdge="rising">
<ByValueCondition>
<ParameterCondition parameterRef="" value="" rule="lessThan"/>
</ByValueCondition>
</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_817">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_w_transform_818">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_close_to_adversary_819">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_close_to_standing_820">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
</Entities>
<Storyboard>
<Init>
<Actions>
<GlobalAction>
<EnvironmentAction>
<Environment name="Environment1">
<TimeOfDay animation="false" dateTime="2019-06-25T12:00:00"/>
<Weather cloudState="free">
<Sun intensity="0.85" azimuth="0" elevation="1.31"/>
<Fog visualRange="100000.0"/>
<Precipitation precipitationType="dry" intensity="0.0"/>
</Weather>
<RoadCondition frictionScaleFactor="1.0"/>
</Environment>
</EnvironmentAction>
</GlobalAction>
<Private entityRef="hero">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-9.4" y="-152.8" z="0.5" h="1.57079632679"/>
</Position>
</TeleportAction>
</PrivateAction>
<PrivateAction>
<ControllerAction>
<AssignControllerAction>
<Controller name="HeroAgent">
<Properties>
<Property name="module" value="external_control"/>
</Properties>
</Controller>
</AssignControllerAction>
<OverrideControllerValueAction>
<Throttle value="0" active="false"/>
<Brake value="0" active="false"/>
<Clutch value="0" active="false"/>
<ParkingBrake value="0" active="false"/>
<SteeringWheel value="0" active="false"/>
<Gear number="0" active="false"/>
</OverrideControllerValueAction>
</ControllerAction>
</PrivateAction>
</Private>
<Private entityRef="adversary">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-9.4" y="-71.0" z="0.5" h="1.57079632679"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="standing">
<PrivateAction>
<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_817">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-1.9962936639785767" y="-67.78353881835938" z="0.03377700597047806"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_w_transform_818">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="12.143474578857422" y="-36.16080093383789" z="0.5"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_close_to_adversary_819">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="5.0576558113098145" y="-76.39485168457031" z="0.03382835164666176"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_close_to_standing_820">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-3.379136085510254" y="19.26659393310547" z="0.003066101111471653"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
</Actions>
</Init>
<Story name="MyStory">
<Act name="Behavior">
<ManeuverGroup maximumExecutionCount="1" name="ManeuverSequence">
<Actors selectTriggeringEntities="false">
<EntityRef entityRef="adversary"/>
</Actors>
<Maneuver name="LaneChangeSimpleManeuver">
<Event name="AdversaryAccelerates" priority="overwrite">
<Action name="AdversaryAccelerates">
<PrivateAction>
<LongitudinalAction>
<SpeedAction>
<SpeedActionDynamics dynamicsShape="step" value="50" dynamicsDimension="distance"/>
<SpeedActionTarget>
<AbsoluteTargetSpeed value="5.0"/>
</SpeedActionTarget>
</SpeedAction>
</LongitudinalAction>
</PrivateAction>
</Action>
<StartTrigger>
<ConditionGroup>
<Condition name="StartCondition" delay="0" conditionEdge="rising">
<ByEntityCondition>
<TriggeringEntities triggeringEntitiesRule="any">
<EntityRef entityRef="hero"/>
</TriggeringEntities>
<EntityCondition>
<RelativeDistanceCondition entityRef="adversary" relativeDistanceType="cartesianDistance" value="40.0" freespace="false" rule="lessThan"/>
</EntityCondition>
</ByEntityCondition>
</Condition>
</ConditionGroup>
</StartTrigger>
</Event>
<Event name="AdversaryChangesLane" priority="overwrite">
<Action name="AdversaryChangesLane">
<PrivateAction>
<LateralAction>
<LaneChangeAction>
<LaneChangeActionDynamics dynamicsShape="linear" value="25" dynamicsDimension="distance"/>
<LaneChangeTarget>
<RelativeTargetLane entityRef="adversary" value="-1"/>
</LaneChangeTarget>
</LaneChangeAction>
</LateralAction>
</PrivateAction>
</Action>
<StartTrigger>
<ConditionGroup>
<Condition name="AfterAdversaryAccelerates" delay="0" conditionEdge="rising">
<ByValueCondition>
<StoryboardElementStateCondition storyboardElementType="action" storyboardElementRef="AdversaryAccelerates" state="completeState"/>
</ByValueCondition>
</Condition>
</ConditionGroup>
</StartTrigger>
</Event>
</Maneuver>
</ManeuverGroup>
<StartTrigger>
<ConditionGroup>
<Condition name="OverallStartCondition" delay="0" conditionEdge="rising">
<ByEntityCondition>
<TriggeringEntities triggeringEntitiesRule="any">
<EntityRef entityRef="hero"/>
</TriggeringEntities>
<EntityCondition>
<TraveledDistanceCondition value="1.0"/>
</EntityCondition>
</ByEntityCondition>
</Condition>
<Condition name="StartTime" delay="0" conditionEdge="rising">
<ByValueCondition>
<SimulationTimeCondition value="0" rule="equalTo"/>
</ByValueCondition>
</Condition>
</ConditionGroup>
</StartTrigger>
<StopTrigger>
<ConditionGroup>
<Condition name="EndCondition" delay="0" conditionEdge="rising">
<ByEntityCondition>
<TriggeringEntities triggeringEntitiesRule="any">
<EntityRef entityRef="hero"/>
</TriggeringEntities>
<EntityCondition>
<TraveledDistanceCondition value="200.0"/>
</EntityCondition>
</ByEntityCondition>
</Condition>
</ConditionGroup>
</StopTrigger>
</Act>
</Story>
<StopTrigger>
<ConditionGroup>
<Condition name="criteria_RunningStopTest" delay="0" conditionEdge="rising">
<ByValueCondition>
<ParameterCondition parameterRef="" value="" rule="lessThan"/>
</ByValueCondition>
</Condition>
<Condition name="criteria_RunningRedLightTest" delay="0" conditionEdge="rising">
<ByValueCondition>
<ParameterCondition parameterRef="" value="" rule="lessThan"/>
</ByValueCondition>
</Condition>
<Condition name="criteria_WrongLaneTest" delay="0" conditionEdge="rising">
<ByValueCondition>
<ParameterCondition parameterRef="" value="" rule="lessThan"/>
</ByValueCondition>
</Condition>
<Condition name="criteria_OnSidewalkTest" delay="0" conditionEdge="rising">
<ByValueCondition>
<ParameterCondition parameterRef="" value="" rule="lessThan"/>
</ByValueCondition>
</Condition>
<Condition name="criteria_KeepLaneTest" delay="0" conditionEdge="rising">
<ByValueCondition>
<ParameterCondition parameterRef="" value="" rule="lessThan"/>
</ByValueCondition>
</Condition>
<Condition name="criteria_CollisionTest" delay="0" conditionEdge="rising">
<ByValueCondition>
<ParameterCondition parameterRef="" value="" rule="lessThan"/>
</ByValueCondition>
</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.79, 33.77, 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_5703">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_w_transform_5704">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_w_transform_5705">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_close_to_standing_5706">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_close_to_adversary_5707">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_w_transform_5708">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_w_transform_5709">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_close_to_adversary_5710">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_close_to_standing_5711">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_w_transform_5712">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_w_transform_5713">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_close_to_standing_5714">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_close_to_adversary_5715">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_w_transform_5716">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_w_transform_5717">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_w_transform_5718">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_close_to_standing_5720">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_close_to_standing_5721">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_w_transform_5722">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_close_to_standing_5723">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
</Entities>
<Storyboard>
<Init>
<Actions>
<GlobalAction>
<EnvironmentAction>
<Environment name="Environment1">
<TimeOfDay animation="false" dateTime="2019-06-25T12:00:00"/>
<Weather cloudState="free">
<Sun intensity="0.85" azimuth="0" elevation="1.31"/>
<Fog visualRange="100000.0"/>
<Precipitation precipitationType="dry" intensity="0.0"/>
</Weather>
<RoadCondition frictionScaleFactor="1.0"/>
</Environment>
</EnvironmentAction>
</GlobalAction>
<Private entityRef="hero">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-9.4" y="-152.8" z="0.5" h="1.57079632679"/>
</Position>
</TeleportAction>
</PrivateAction>
<PrivateAction>
<ControllerAction>
<AssignControllerAction>
<Controller name="HeroAgent">
<Properties>
<Property name="module" value="external_control"/>
</Properties>
</Controller>
</AssignControllerAction>
<OverrideControllerValueAction>
<Throttle value="0" active="false"/>
<Brake value="0" active="false"/>
<Clutch value="0" active="false"/>
<ParkingBrake value="0" active="false"/>
<SteeringWheel value="0" active="false"/>
<Gear number="0" active="false"/>
</OverrideControllerValueAction>
</ControllerAction>
</PrivateAction>
</Private>
<Private entityRef="adversary">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-9.4" y="-71.0" z="0.5" h="1.57079632679"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="standing">
<PrivateAction>
<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_5703">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-4.836437225341797" y="-145.49520874023438" z="0.0014286803780123591"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_w_transform_5704">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="73.81472778320312" y="57.550811767578125" z="0.5"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_w_transform_5705">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="75.39877319335938" y="-42.957908630371094" z="0.5"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_close_to_standing_5706">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-1.7988947629928589" y="32.94044876098633" z="0.003068199148401618"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_close_to_adversary_5707">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-17.20697593688965" y="-63.352317810058594" z="0.03377937152981758"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_w_transform_5708">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-11.467198371887207" y="36.504459381103516" z="0.5"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_w_transform_5709">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-52.45557403564453" y="-79.86297607421875" z="0.5"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_close_to_adversary_5710">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="17.995426177978516" y="-85.34075927734375" z="0.0338011160492897"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_close_to_standing_5711">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-8.663640022277832" y="31.058486938476562" z="0.003057784866541624"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_w_transform_5712">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-94.41654968261719" y="-32.08496856689453" z="0.5"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_w_transform_5713">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="72.5382080078125" y="-21.67377281188965" z="0.5"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_close_to_standing_5714">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="5.826109886169434" y="34.00337219238281" z="0.0030313872266560793"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_close_to_adversary_5715">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-16.099468231201172" y="-81.43257904052734" z="0.033783528953790665"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_w_transform_5716">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-8.937128067016602" y="-94.73456573486328" z="0.5"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_w_transform_5717">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="62.477603912353516" y="-74.81111145019531" z="0.5"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_w_transform_5718">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="31.926488876342773" y="15.934059143066406" z="0.5"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_close_to_standing_5720">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-10.745123863220215" y="22.34021759033203" z="0.0030832672491669655"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_close_to_standing_5721">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-1.6672598123550415" y="19.9841365814209" z="0.0030889129266142845"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_w_transform_5722">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-9.983110427856445" y="20.678865432739258" z="0.5"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_close_to_standing_5723">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-12.5431489944458" y="25.533472061157227" z="0.0030648040119558573"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
</Actions>
</Init>
<Story name="MyStory">
<Act name="Behavior">
<ManeuverGroup maximumExecutionCount="1" name="ManeuverSequence">
<Actors selectTriggeringEntities="false">
<EntityRef entityRef="adversary"/>
</Actors>
<Maneuver name="LaneChangeSimpleManeuver">
<Event name="AdversaryAccelerates" priority="overwrite">
<Action name="AdversaryAccelerates">
<PrivateAction>
<LongitudinalAction>
<SpeedAction>
<SpeedActionDynamics dynamicsShape="step" value="50" dynamicsDimension="distance"/>
<SpeedActionTarget>
<AbsoluteTargetSpeed value="5.0"/>
</SpeedActionTarget>
</SpeedAction>
</LongitudinalAction>
</PrivateAction>
</Action>
<StartTrigger>
<ConditionGroup>
<Condition name="StartCondition" delay="0" conditionEdge="rising">
<ByEntityCondition>
<TriggeringEntities triggeringEntitiesRule="any">
<EntityRef entityRef="hero"/>
</TriggeringEntities>
<EntityCondition>
<RelativeDistanceCondition entityRef="adversary" relativeDistanceType="cartesianDistance" value="40.0" freespace="false" rule="lessThan"/>
</EntityCondition>
</ByEntityCondition>
</Condition>
</ConditionGroup>
</StartTrigger>
</Event>
<Event name="AdversaryChangesLane" priority="overwrite">
<Action name="AdversaryChangesLane">
<PrivateAction>
<LateralAction>
<LaneChangeAction>
<LaneChangeActionDynamics dynamicsShape="linear" value="25" dynamicsDimension="distance"/>
<LaneChangeTarget>
<RelativeTargetLane entityRef="adversary" value="-1"/>
</LaneChangeTarget>
</LaneChangeAction>
</LateralAction>
</PrivateAction>
</Action>
<StartTrigger>
<ConditionGroup>
<Condition name="AfterAdversaryAccelerates" delay="0" conditionEdge="rising">
<ByValueCondition>
<StoryboardElementStateCondition storyboardElementType="action" storyboardElementRef="AdversaryAccelerates" state="completeState"/>
</ByValueCondition>
</Condition>
</ConditionGroup>
</StartTrigger>
</Event>
</Maneuver>
</ManeuverGroup>
<StartTrigger>
<ConditionGroup>
<Condition name="OverallStartCondition" delay="0" conditionEdge="rising">
<ByEntityCondition>
<TriggeringEntities triggeringEntitiesRule="any">
<EntityRef entityRef="hero"/>
</TriggeringEntities>
<EntityCondition>
<TraveledDistanceCondition value="1.0"/>
</EntityCondition>
</ByEntityCondition>
</Condition>
<Condition name="StartTime" delay="0" conditionEdge="rising">
<ByValueCondition>
<SimulationTimeCondition value="0" rule="equalTo"/>
</ByValueCondition>
</Condition>
</ConditionGroup>
</StartTrigger>
<StopTrigger>
<ConditionGroup>
<Condition name="EndCondition" delay="0" conditionEdge="rising">
<ByEntityCondition>
<TriggeringEntities triggeringEntitiesRule="any">
<EntityRef entityRef="hero"/>
</TriggeringEntities>
<EntityCondition>
<TraveledDistanceCondition value="200.0"/>
</EntityCondition>
</ByEntityCondition>
</Condition>
</ConditionGroup>
</StopTrigger>
</Act>
</Story>
<StopTrigger>
<ConditionGroup>
<Condition name="criteria_RunningStopTest" delay="0" conditionEdge="rising">
<ByValueCondition>
<ParameterCondition parameterRef="" value="" rule="lessThan"/>
</ByValueCondition>
</Condition>
<Condition name="criteria_RunningRedLightTest" delay="0" conditionEdge="rising">
<ByValueCondition>
<ParameterCondition parameterRef="" value="" rule="lessThan"/>
</ByValueCondition>
</Condition>
<Condition name="criteria_WrongLaneTest" delay="0" conditionEdge="rising">
<ByValueCondition>
<ParameterCondition parameterRef="" value="" rule="lessThan"/>
</ByValueCondition>
</Condition>
<Condition name="criteria_OnSidewalkTest" delay="0" conditionEdge="rising">
<ByValueCondition>
<ParameterCondition parameterRef="" value="" rule="lessThan"/>
</ByValueCondition>
</Condition>
<Condition name="criteria_KeepLaneTest" delay="0" conditionEdge="rising">
<ByValueCondition>
<ParameterCondition parameterRef="" value="" rule="lessThan"/>
</ByValueCondition>
</Condition>
<Condition name="criteria_CollisionTest" delay="0" conditionEdge="rising">
<ByValueCondition>
<ParameterCondition parameterRef="" value="" rule="lessThan"/>
</ByValueCondition>
</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_5703">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_w_transform_5704">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_w_transform_5705">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_close_to_standing_5706">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_close_to_adversary_5707">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_w_transform_5708">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_w_transform_5709">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_close_to_adversary_5710">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_close_to_standing_5711">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_w_transform_5712">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_w_transform_5713">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_close_to_standing_5714">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_close_to_adversary_5715">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_w_transform_5716">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_w_transform_5717">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_w_transform_5718">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_close_to_standing_5720">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_close_to_standing_5721">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_w_transform_5722">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_close_to_standing_5723">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_w_transform_5724">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
</Entities>
<Storyboard>
<Init>
<Actions>
<GlobalAction>
<EnvironmentAction>
<Environment name="Environment1">
<TimeOfDay animation="false" dateTime="2019-06-25T12:00:00"/>
<Weather cloudState="free">
<Sun intensity="0.85" azimuth="0" elevation="1.31"/>
<Fog visualRange="100000.0"/>
<Precipitation precipitationType="dry" intensity="0.0"/>
</Weather>
<RoadCondition frictionScaleFactor="1.0"/>
</Environment>
</EnvironmentAction>
</GlobalAction>
<Private entityRef="hero">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-9.4" y="-152.8" z="0.5" h="1.57079632679"/>
</Position>
</TeleportAction>
</PrivateAction>
<PrivateAction>
<ControllerAction>
<AssignControllerAction>
<Controller name="HeroAgent">
<Properties>
<Property name="module" value="external_control"/>
</Properties>
</Controller>
</AssignControllerAction>
<OverrideControllerValueAction>
<Throttle value="0" active="false"/>
<Brake value="0" active="false"/>
<Clutch value="0" active="false"/>
<ParkingBrake value="0" active="false"/>
<SteeringWheel value="0" active="false"/>
<Gear number="0" active="false"/>
</OverrideControllerValueAction>
</ControllerAction>
</PrivateAction>
</Private>
<Private entityRef="adversary">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-9.4" y="-71.0" z="0.5" h="1.57079632679"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="standing">
<PrivateAction>
<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_5703">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-4.836437225341797" y="-145.49520874023438" z="0.0014286803780123591"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_w_transform_5704">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="73.81472778320312" y="57.550811767578125" z="0.5"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_w_transform_5705">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="75.39877319335938" y="-42.957908630371094" z="0.5"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_close_to_standing_5706">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-1.7988947629928589" y="32.94044876098633" z="0.003068199148401618"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_close_to_adversary_5707">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-17.20697593688965" y="-63.352317810058594" z="0.03377937152981758"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_w_transform_5708">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-11.467198371887207" y="36.504459381103516" z="0.5"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_w_transform_5709">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-52.45557403564453" y="-79.86297607421875" z="0.5"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_close_to_adversary_5710">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="17.995426177978516" y="-85.34075927734375" z="0.0338011160492897"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_close_to_standing_5711">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-8.663640022277832" y="31.058486938476562" z="0.003057784866541624"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_w_transform_5712">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-94.41654968261719" y="-32.08496856689453" z="0.5"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_w_transform_5713">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="72.5382080078125" y="-21.67377281188965" z="0.5"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_close_to_standing_5714">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="5.826109886169434" y="34.00337219238281" z="0.0030313872266560793"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_close_to_adversary_5715">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-16.099468231201172" y="-81.43257904052734" z="0.033783528953790665"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_w_transform_5716">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-8.937128067016602" y="-94.73456573486328" z="0.5"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_w_transform_5717">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="62.477603912353516" y="-74.81111145019531" z="0.5"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_w_transform_5718">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="31.926488876342773" y="15.934059143066406" z="0.5"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_close_to_standing_5720">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-10.745123863220215" y="22.34021759033203" z="0.0030832672491669655"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_close_to_standing_5721">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-1.6672598123550415" y="19.9841365814209" z="0.0030889129266142845"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_w_transform_5722">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-9.983110427856445" y="20.678865432739258" z="0.5"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_close_to_standing_5723">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-12.5431489944458" y="25.533472061157227" z="0.0030648040119558573"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_w_transform_5724">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="76.78892517089844" y="33.768943786621094" z="0.5"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
</Actions>
</Init>
<Story name="MyStory">
<Act name="Behavior">
<ManeuverGroup maximumExecutionCount="1" name="ManeuverSequence">
<Actors selectTriggeringEntities="false">
<EntityRef entityRef="adversary"/>
</Actors>
<Maneuver name="LaneChangeSimpleManeuver">
<Event name="AdversaryAccelerates" priority="overwrite">
<Action name="AdversaryAccelerates">
<PrivateAction>
<LongitudinalAction>
<SpeedAction>
<SpeedActionDynamics dynamicsShape="step" value="50" dynamicsDimension="distance"/>
<SpeedActionTarget>
<AbsoluteTargetSpeed value="5.0"/>
</SpeedActionTarget>
</SpeedAction>
</LongitudinalAction>
</PrivateAction>
</Action>
<StartTrigger>
<ConditionGroup>
<Condition name="StartCondition" delay="0" conditionEdge="rising">
<ByEntityCondition>
<TriggeringEntities triggeringEntitiesRule="any">
<EntityRef entityRef="hero"/>
</TriggeringEntities>
<EntityCondition>
<RelativeDistanceCondition entityRef="adversary" relativeDistanceType="cartesianDistance" value="40.0" freespace="false" rule="lessThan"/>
</EntityCondition>
</ByEntityCondition>
</Condition>
</ConditionGroup>
</StartTrigger>
</Event>
<Event name="AdversaryChangesLane" priority="overwrite">
<Action name="AdversaryChangesLane">
<PrivateAction>
<LateralAction>
<LaneChangeAction>
<LaneChangeActionDynamics dynamicsShape="linear" value="25" dynamicsDimension="distance"/>
<LaneChangeTarget>
<RelativeTargetLane entityRef="adversary" value="-1"/>
</LaneChangeTarget>
</LaneChangeAction>
</LateralAction>
</PrivateAction>
</Action>
<StartTrigger>
<ConditionGroup>
<Condition name="AfterAdversaryAccelerates" delay="0" conditionEdge="rising">
<ByValueCondition>
<StoryboardElementStateCondition storyboardElementType="action" storyboardElementRef="AdversaryAccelerates" state="completeState"/>
</ByValueCondition>
</Condition>
</ConditionGroup>
</StartTrigger>
</Event>
</Maneuver>
</ManeuverGroup>
<StartTrigger>
<ConditionGroup>
<Condition name="OverallStartCondition" delay="0" conditionEdge="rising">
<ByEntityCondition>
<TriggeringEntities triggeringEntitiesRule="any">
<EntityRef entityRef="hero"/>
</TriggeringEntities>
<EntityCondition>
<TraveledDistanceCondition value="1.0"/>
</EntityCondition>
</ByEntityCondition>
</Condition>
<Condition name="StartTime" delay="0" conditionEdge="rising">
<ByValueCondition>
<SimulationTimeCondition value="0" rule="equalTo"/>
</ByValueCondition>
</Condition>
</ConditionGroup>
</StartTrigger>
<StopTrigger>
<ConditionGroup>
<Condition name="EndCondition" delay="0" conditionEdge="rising">
<ByEntityCondition>
<TriggeringEntities triggeringEntitiesRule="any">
<EntityRef entityRef="hero"/>
</TriggeringEntities>
<EntityCondition>
<TraveledDistanceCondition value="200.0"/>
</EntityCondition>
</ByEntityCondition>
</Condition>
</ConditionGroup>
</StopTrigger>
</Act>
</Story>
<StopTrigger>
<ConditionGroup>
<Condition name="criteria_RunningStopTest" delay="0" conditionEdge="rising">
<ByValueCondition>
<ParameterCondition parameterRef="" value="" rule="lessThan"/>
</ByValueCondition>
</Condition>
<Condition name="criteria_RunningRedLightTest" delay="0" conditionEdge="rising">
<ByValueCondition>
<ParameterCondition parameterRef="" value="" rule="lessThan"/>
</ByValueCondition>
</Condition>
<Condition name="criteria_WrongLaneTest" delay="0" conditionEdge="rising">
<ByValueCondition>
<ParameterCondition parameterRef="" value="" rule="lessThan"/>
</ByValueCondition>
</Condition>
<Condition name="criteria_OnSidewalkTest" delay="0" conditionEdge="rising">
<ByValueCondition>
<ParameterCondition parameterRef="" value="" rule="lessThan"/>
</ByValueCondition>
</Condition>
<Condition name="criteria_KeepLaneTest" delay="0" conditionEdge="rising">
<ByValueCondition>
<ParameterCondition parameterRef="" value="" rule="lessThan"/>
</ByValueCondition>
</Condition>
<Condition name="criteria_CollisionTest" delay="0" conditionEdge="rising">
<ByValueCondition>
<ParameterCondition parameterRef="" value="" rule="lessThan"/>
</ByValueCondition>
</Condition>
<Condition name="criteria_DrivenDistanceTest" delay="0" conditionEdge="rising">
<ByValueCondition>
<ParameterCondition parameterRef="distance_success" value="100" rule="lessThan"/>
</ByValueCondition>
</Condition>
</ConditionGroup>
</StopTrigger>
</Storyboard>
</OpenSCENARIO>
``` |
would you remove pedestrian actor named pedestrian_w_transform_4847?
```
<?xml version="1.0" ?>
<OpenSCENARIO>
<FileHeader revMajor="1" revMinor="0" date="2020-03-24T12:00:00" description="CARLA:LaneChangeSimple" author=""/>
<ParameterDeclarations/>
<CatalogLocations/>
<RoadNetwork>
<LogicFile filepath="Town04"/>
<SceneGraphFile filepath=""/>
</RoadNetwork>
<Entities>
<ScenarioObject name="hero">
<Vehicle name="vehicle.tesla.model3" vehicleCategory="car">
<ParameterDeclarations/>
<Performance maxSpeed="69.444" maxAcceleration="200" maxDeceleration="10.0"/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2.1" length="4.5" height="1.8"/>
</BoundingBox>
<Axles>
<FrontAxle maxSteering="0.5" wheelDiameter="0.6" trackWidth="1.8" positionX="3.1" positionZ="0.3"/>
<RearAxle maxSteering="0.0" wheelDiameter="0.6" trackWidth="1.8" positionX="0.0" positionZ="0.3"/>
</Axles>
<Properties>
<Property name="type" value="ego_vehicle"/>
</Properties>
</Vehicle>
</ScenarioObject>
<ScenarioObject name="adversary">
<Vehicle name="vehicle.lincoln.mkz_2017" vehicleCategory="car">
<ParameterDeclarations/>
<Performance maxSpeed="69.444" maxAcceleration="200" maxDeceleration="10.0"/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2.1" length="4.5" height="1.8"/>
</BoundingBox>
<Axles>
<FrontAxle maxSteering="0.5" wheelDiameter="0.6" trackWidth="1.8" positionX="3.1" positionZ="0.3"/>
<RearAxle maxSteering="0.0" wheelDiameter="0.6" trackWidth="1.8" positionX="0.0" positionZ="0.3"/>
</Axles>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Vehicle>
</ScenarioObject>
<ScenarioObject name="standing">
<Vehicle name="vehicle.volkswagen.t2" vehicleCategory="car">
<ParameterDeclarations/>
<Performance maxSpeed="69.444" maxAcceleration="200" maxDeceleration="10.0"/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2.1" length="4.5" height="1.8"/>
</BoundingBox>
<Axles>
<FrontAxle maxSteering="0.5" wheelDiameter="0.6" trackWidth="1.8" positionX="3.1" positionZ="0.3"/>
<RearAxle maxSteering="0.0" wheelDiameter="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_4847">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_w_transform_4848">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
</Entities>
<Storyboard>
<Init>
<Actions>
<GlobalAction>
<EnvironmentAction>
<Environment name="Environment1">
<TimeOfDay animation="false" dateTime="2019-06-25T12:00:00"/>
<Weather cloudState="free">
<Sun intensity="0.85" azimuth="0" elevation="1.31"/>
<Fog visualRange="100000.0"/>
<Precipitation precipitationType="dry" intensity="0.0"/>
</Weather>
<RoadCondition frictionScaleFactor="1.0"/>
</Environment>
</EnvironmentAction>
</GlobalAction>
<Private entityRef="hero">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-9.4" y="-152.8" z="0.5" h="1.57079632679"/>
</Position>
</TeleportAction>
</PrivateAction>
<PrivateAction>
<ControllerAction>
<AssignControllerAction>
<Controller name="HeroAgent">
<Properties>
<Property name="module" value="external_control"/>
</Properties>
</Controller>
</AssignControllerAction>
<OverrideControllerValueAction>
<Throttle value="0" active="false"/>
<Brake value="0" active="false"/>
<Clutch value="0" active="false"/>
<ParkingBrake value="0" active="false"/>
<SteeringWheel value="0" active="false"/>
<Gear number="0" active="false"/>
</OverrideControllerValueAction>
</ControllerAction>
</PrivateAction>
</Private>
<Private entityRef="adversary">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-9.4" y="-71.0" z="0.5" h="1.57079632679"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="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_4847">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-91.82716369628906" y="45.78129959106445" z="0.5"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_w_transform_4848">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-70.77987670898438" y="-44.14728927612305" 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_4848">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
</Entities>
<Storyboard>
<Init>
<Actions>
<GlobalAction>
<EnvironmentAction>
<Environment name="Environment1">
<TimeOfDay animation="false" dateTime="2019-06-25T12:00:00"/>
<Weather cloudState="free">
<Sun intensity="0.85" azimuth="0" elevation="1.31"/>
<Fog visualRange="100000.0"/>
<Precipitation precipitationType="dry" intensity="0.0"/>
</Weather>
<RoadCondition frictionScaleFactor="1.0"/>
</Environment>
</EnvironmentAction>
</GlobalAction>
<Private entityRef="hero">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-9.4" y="-152.8" z="0.5" h="1.57079632679"/>
</Position>
</TeleportAction>
</PrivateAction>
<PrivateAction>
<ControllerAction>
<AssignControllerAction>
<Controller name="HeroAgent">
<Properties>
<Property name="module" value="external_control"/>
</Properties>
</Controller>
</AssignControllerAction>
<OverrideControllerValueAction>
<Throttle value="0" active="false"/>
<Brake value="0" active="false"/>
<Clutch value="0" active="false"/>
<ParkingBrake value="0" active="false"/>
<SteeringWheel value="0" active="false"/>
<Gear number="0" active="false"/>
</OverrideControllerValueAction>
</ControllerAction>
</PrivateAction>
</Private>
<Private entityRef="adversary">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-9.4" y="-71.0" z="0.5" h="1.57079632679"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="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_4848">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-70.77987670898438" y="-44.14728927612305" z="0.5"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
</Actions>
</Init>
<Story name="MyStory">
<Act name="Behavior">
<ManeuverGroup maximumExecutionCount="1" name="ManeuverSequence">
<Actors selectTriggeringEntities="false">
<EntityRef entityRef="adversary"/>
</Actors>
<Maneuver name="LaneChangeSimpleManeuver">
<Event name="AdversaryAccelerates" priority="overwrite">
<Action name="AdversaryAccelerates">
<PrivateAction>
<LongitudinalAction>
<SpeedAction>
<SpeedActionDynamics dynamicsShape="step" value="50" dynamicsDimension="distance"/>
<SpeedActionTarget>
<AbsoluteTargetSpeed value="5.0"/>
</SpeedActionTarget>
</SpeedAction>
</LongitudinalAction>
</PrivateAction>
</Action>
<StartTrigger>
<ConditionGroup>
<Condition name="StartCondition" delay="0" conditionEdge="rising">
<ByEntityCondition>
<TriggeringEntities triggeringEntitiesRule="any">
<EntityRef entityRef="hero"/>
</TriggeringEntities>
<EntityCondition>
<RelativeDistanceCondition entityRef="adversary" relativeDistanceType="cartesianDistance" value="40.0" freespace="false" rule="lessThan"/>
</EntityCondition>
</ByEntityCondition>
</Condition>
</ConditionGroup>
</StartTrigger>
</Event>
<Event name="AdversaryChangesLane" priority="overwrite">
<Action name="AdversaryChangesLane">
<PrivateAction>
<LateralAction>
<LaneChangeAction>
<LaneChangeActionDynamics dynamicsShape="linear" value="25" dynamicsDimension="distance"/>
<LaneChangeTarget>
<RelativeTargetLane entityRef="adversary" value="-1"/>
</LaneChangeTarget>
</LaneChangeAction>
</LateralAction>
</PrivateAction>
</Action>
<StartTrigger>
<ConditionGroup>
<Condition name="AfterAdversaryAccelerates" delay="0" conditionEdge="rising">
<ByValueCondition>
<StoryboardElementStateCondition storyboardElementType="action" storyboardElementRef="AdversaryAccelerates" state="completeState"/>
</ByValueCondition>
</Condition>
</ConditionGroup>
</StartTrigger>
</Event>
</Maneuver>
</ManeuverGroup>
<StartTrigger>
<ConditionGroup>
<Condition name="OverallStartCondition" delay="0" conditionEdge="rising">
<ByEntityCondition>
<TriggeringEntities triggeringEntitiesRule="any">
<EntityRef entityRef="hero"/>
</TriggeringEntities>
<EntityCondition>
<TraveledDistanceCondition value="1.0"/>
</EntityCondition>
</ByEntityCondition>
</Condition>
<Condition name="StartTime" delay="0" conditionEdge="rising">
<ByValueCondition>
<SimulationTimeCondition value="0" rule="equalTo"/>
</ByValueCondition>
</Condition>
</ConditionGroup>
</StartTrigger>
<StopTrigger>
<ConditionGroup>
<Condition name="EndCondition" delay="0" conditionEdge="rising">
<ByEntityCondition>
<TriggeringEntities triggeringEntitiesRule="any">
<EntityRef entityRef="hero"/>
</TriggeringEntities>
<EntityCondition>
<TraveledDistanceCondition value="200.0"/>
</EntityCondition>
</ByEntityCondition>
</Condition>
</ConditionGroup>
</StopTrigger>
</Act>
</Story>
<StopTrigger>
<ConditionGroup>
<Condition name="criteria_RunningStopTest" delay="0" conditionEdge="rising">
<ByValueCondition>
<ParameterCondition parameterRef="" value="" rule="lessThan"/>
</ByValueCondition>
</Condition>
<Condition name="criteria_RunningRedLightTest" delay="0" conditionEdge="rising">
<ByValueCondition>
<ParameterCondition parameterRef="" value="" rule="lessThan"/>
</ByValueCondition>
</Condition>
<Condition name="criteria_WrongLaneTest" delay="0" conditionEdge="rising">
<ByValueCondition>
<ParameterCondition parameterRef="" value="" rule="lessThan"/>
</ByValueCondition>
</Condition>
<Condition name="criteria_OnSidewalkTest" delay="0" conditionEdge="rising">
<ByValueCondition>
<ParameterCondition parameterRef="" value="" rule="lessThan"/>
</ByValueCondition>
</Condition>
<Condition name="criteria_KeepLaneTest" delay="0" conditionEdge="rising">
<ByValueCondition>
<ParameterCondition parameterRef="" value="" rule="lessThan"/>
</ByValueCondition>
</Condition>
<Condition name="criteria_CollisionTest" delay="0" conditionEdge="rising">
<ByValueCondition>
<ParameterCondition parameterRef="" value="" rule="lessThan"/>
</ByValueCondition>
</Condition>
<Condition name="criteria_DrivenDistanceTest" delay="0" conditionEdge="rising">
<ByValueCondition>
<ParameterCondition parameterRef="distance_success" value="100" rule="lessThan"/>
</ByValueCondition>
</Condition>
</ConditionGroup>
</StopTrigger>
</Storyboard>
</OpenSCENARIO>
``` |
i would like to ask you to remove pedestrian actor named pedestrian_w_transform_5581?
```
<?xml version="1.0" ?>
<OpenSCENARIO>
<FileHeader revMajor="1" revMinor="0" date="2020-03-24T12:00:00" description="CARLA:LaneChangeSimple" author=""/>
<ParameterDeclarations/>
<CatalogLocations/>
<RoadNetwork>
<LogicFile filepath="Town04"/>
<SceneGraphFile filepath=""/>
</RoadNetwork>
<Entities>
<ScenarioObject name="hero">
<Vehicle name="vehicle.tesla.model3" vehicleCategory="car">
<ParameterDeclarations/>
<Performance maxSpeed="69.444" maxAcceleration="200" maxDeceleration="10.0"/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2.1" length="4.5" height="1.8"/>
</BoundingBox>
<Axles>
<FrontAxle maxSteering="0.5" wheelDiameter="0.6" trackWidth="1.8" positionX="3.1" positionZ="0.3"/>
<RearAxle maxSteering="0.0" wheelDiameter="0.6" trackWidth="1.8" positionX="0.0" positionZ="0.3"/>
</Axles>
<Properties>
<Property name="type" value="ego_vehicle"/>
</Properties>
</Vehicle>
</ScenarioObject>
<ScenarioObject name="adversary">
<Vehicle name="vehicle.lincoln.mkz_2017" vehicleCategory="car">
<ParameterDeclarations/>
<Performance maxSpeed="69.444" maxAcceleration="200" maxDeceleration="10.0"/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2.1" length="4.5" height="1.8"/>
</BoundingBox>
<Axles>
<FrontAxle maxSteering="0.5" wheelDiameter="0.6" trackWidth="1.8" positionX="3.1" positionZ="0.3"/>
<RearAxle maxSteering="0.0" wheelDiameter="0.6" trackWidth="1.8" positionX="0.0" positionZ="0.3"/>
</Axles>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Vehicle>
</ScenarioObject>
<ScenarioObject name="standing">
<Vehicle name="vehicle.volkswagen.t2" vehicleCategory="car">
<ParameterDeclarations/>
<Performance maxSpeed="69.444" maxAcceleration="200" maxDeceleration="10.0"/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2.1" length="4.5" height="1.8"/>
</BoundingBox>
<Axles>
<FrontAxle maxSteering="0.5" wheelDiameter="0.6" trackWidth="1.8" positionX="3.1" positionZ="0.3"/>
<RearAxle maxSteering="0.0" wheelDiameter="0.6" 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_5571">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_w_transform_5574">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_close_to_hero_5575">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_w_transform_5576">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_w_transform_5577">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_close_to_hero_5578">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_w_transform_5580">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_w_transform_5581">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_w_transform_5582">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_w_transform_5583">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_close_to_adversary_5584">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_close_to_adversary_5585">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_w_transform_5588">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_w_transform_5592">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_close_to_hero_5593">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
</Entities>
<Storyboard>
<Init>
<Actions>
<GlobalAction>
<EnvironmentAction>
<Environment name="Environment1">
<TimeOfDay animation="false" dateTime="2019-06-25T12:00:00"/>
<Weather cloudState="free">
<Sun intensity="0.85" azimuth="0" elevation="1.31"/>
<Fog visualRange="100000.0"/>
<Precipitation precipitationType="dry" intensity="0.0"/>
</Weather>
<RoadCondition frictionScaleFactor="1.0"/>
</Environment>
</EnvironmentAction>
</GlobalAction>
<Private entityRef="hero">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-9.4" y="-152.8" z="0.5" h="1.57079632679"/>
</Position>
</TeleportAction>
</PrivateAction>
<PrivateAction>
<ControllerAction>
<AssignControllerAction>
<Controller name="HeroAgent">
<Properties>
<Property name="module" value="external_control"/>
</Properties>
</Controller>
</AssignControllerAction>
<OverrideControllerValueAction>
<Throttle value="0" active="false"/>
<Brake value="0" active="false"/>
<Clutch value="0" active="false"/>
<ParkingBrake value="0" active="false"/>
<SteeringWheel value="0" active="false"/>
<Gear number="0" active="false"/>
</OverrideControllerValueAction>
</ControllerAction>
</PrivateAction>
</Private>
<Private entityRef="adversary">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-9.4" y="-71.0" z="0.5" h="1.57079632679"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="standing">
<PrivateAction>
<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_5571">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-5.86255407333374" y="27.48007583618164" z="0.0030493163503706455"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_w_transform_5574">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="71.65493774414062" y="53.74566650390625" z="0.5"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_close_to_hero_5575">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-1.624953031539917" y="-147.67092895507812" z="0.0014286803780123591"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_w_transform_5576">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="80.6210708618164" y="-29.413660049438477" z="0.5"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_w_transform_5577">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="65.73654174804688" y="97.55126190185547" z="0.5"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_close_to_hero_5578">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-16.322418212890625" y="-153.84097290039062" z="0.0014286803780123591"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_w_transform_5580">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="9.158075332641602" y="15.747469902038574" z="0.5"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_w_transform_5581">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="38.03677749633789" y="-18.650222778320312" z="0.5"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_w_transform_5582">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="39.67182922363281" y="51.24641036987305" z="0.5"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_w_transform_5583">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="46.29848098754883" y="49.79318618774414" z="0.5"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_close_to_adversary_5584">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="7.9426398277282715" y="-76.19538116455078" z="0.0337662510573864"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_close_to_adversary_5585">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-18.269695281982422" y="-64.75923156738281" z="0.03376678377389908"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_w_transform_5588">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="12.315953254699707" y="-28.8027286529541" z="0.5"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_w_transform_5592">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="7.255044460296631" y="-99.69851684570312" z="0.5"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_close_to_hero_5593">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-14.110809326171875" y="-162.3140869140625" z="0.0014286803780123591"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
</Actions>
</Init>
<Story name="MyStory">
<Act name="Behavior">
<ManeuverGroup maximumExecutionCount="1" name="ManeuverSequence">
<Actors selectTriggeringEntities="false">
<EntityRef entityRef="adversary"/>
</Actors>
<Maneuver name="LaneChangeSimpleManeuver">
<Event name="AdversaryAccelerates" priority="overwrite">
<Action name="AdversaryAccelerates">
<PrivateAction>
<LongitudinalAction>
<SpeedAction>
<SpeedActionDynamics dynamicsShape="step" value="50" dynamicsDimension="distance"/>
<SpeedActionTarget>
<AbsoluteTargetSpeed value="5.0"/>
</SpeedActionTarget>
</SpeedAction>
</LongitudinalAction>
</PrivateAction>
</Action>
<StartTrigger>
<ConditionGroup>
<Condition name="StartCondition" delay="0" conditionEdge="rising">
<ByEntityCondition>
<TriggeringEntities triggeringEntitiesRule="any">
<EntityRef entityRef="hero"/>
</TriggeringEntities>
<EntityCondition>
<RelativeDistanceCondition entityRef="adversary" relativeDistanceType="cartesianDistance" value="40.0" freespace="false" rule="lessThan"/>
</EntityCondition>
</ByEntityCondition>
</Condition>
</ConditionGroup>
</StartTrigger>
</Event>
<Event name="AdversaryChangesLane" priority="overwrite">
<Action name="AdversaryChangesLane">
<PrivateAction>
<LateralAction>
<LaneChangeAction>
<LaneChangeActionDynamics dynamicsShape="linear" value="25" dynamicsDimension="distance"/>
<LaneChangeTarget>
<RelativeTargetLane entityRef="adversary" value="-1"/>
</LaneChangeTarget>
</LaneChangeAction>
</LateralAction>
</PrivateAction>
</Action>
<StartTrigger>
<ConditionGroup>
<Condition name="AfterAdversaryAccelerates" delay="0" conditionEdge="rising">
<ByValueCondition>
<StoryboardElementStateCondition storyboardElementType="action" storyboardElementRef="AdversaryAccelerates" state="completeState"/>
</ByValueCondition>
</Condition>
</ConditionGroup>
</StartTrigger>
</Event>
</Maneuver>
</ManeuverGroup>
<StartTrigger>
<ConditionGroup>
<Condition name="OverallStartCondition" delay="0" conditionEdge="rising">
<ByEntityCondition>
<TriggeringEntities triggeringEntitiesRule="any">
<EntityRef entityRef="hero"/>
</TriggeringEntities>
<EntityCondition>
<TraveledDistanceCondition value="1.0"/>
</EntityCondition>
</ByEntityCondition>
</Condition>
<Condition name="StartTime" delay="0" conditionEdge="rising">
<ByValueCondition>
<SimulationTimeCondition value="0" rule="equalTo"/>
</ByValueCondition>
</Condition>
</ConditionGroup>
</StartTrigger>
<StopTrigger>
<ConditionGroup>
<Condition name="EndCondition" delay="0" conditionEdge="rising">
<ByEntityCondition>
<TriggeringEntities triggeringEntitiesRule="any">
<EntityRef entityRef="hero"/>
</TriggeringEntities>
<EntityCondition>
<TraveledDistanceCondition value="200.0"/>
</EntityCondition>
</ByEntityCondition>
</Condition>
</ConditionGroup>
</StopTrigger>
</Act>
</Story>
<StopTrigger>
<ConditionGroup>
<Condition name="criteria_RunningStopTest" delay="0" conditionEdge="rising">
<ByValueCondition>
<ParameterCondition parameterRef="" value="" rule="lessThan"/>
</ByValueCondition>
</Condition>
<Condition name="criteria_RunningRedLightTest" delay="0" conditionEdge="rising">
<ByValueCondition>
<ParameterCondition parameterRef="" value="" rule="lessThan"/>
</ByValueCondition>
</Condition>
<Condition name="criteria_WrongLaneTest" delay="0" conditionEdge="rising">
<ByValueCondition>
<ParameterCondition parameterRef="" value="" rule="lessThan"/>
</ByValueCondition>
</Condition>
<Condition name="criteria_OnSidewalkTest" delay="0" conditionEdge="rising">
<ByValueCondition>
<ParameterCondition parameterRef="" value="" rule="lessThan"/>
</ByValueCondition>
</Condition>
<Condition name="criteria_KeepLaneTest" delay="0" conditionEdge="rising">
<ByValueCondition>
<ParameterCondition parameterRef="" value="" rule="lessThan"/>
</ByValueCondition>
</Condition>
<Condition name="criteria_CollisionTest" delay="0" conditionEdge="rising">
<ByValueCondition>
<ParameterCondition parameterRef="" value="" rule="lessThan"/>
</ByValueCondition>
</Condition>
<Condition name="criteria_DrivenDistanceTest" delay="0" conditionEdge="rising">
<ByValueCondition>
<ParameterCondition parameterRef="distance_success" value="100" rule="lessThan"/>
</ByValueCondition>
</Condition>
</ConditionGroup>
</StopTrigger>
</Storyboard>
</OpenSCENARIO>
``` | Here is the result:
```
<?xml version="1.0" ?>
<OpenSCENARIO>
<FileHeader revMajor="1" revMinor="0" date="2020-03-24T12:00:00" description="CARLA:LaneChangeSimple" author=""/>
<ParameterDeclarations/>
<CatalogLocations/>
<RoadNetwork>
<LogicFile filepath="Town04"/>
<SceneGraphFile filepath=""/>
</RoadNetwork>
<Entities>
<ScenarioObject name="hero">
<Vehicle name="vehicle.tesla.model3" vehicleCategory="car">
<ParameterDeclarations/>
<Performance maxSpeed="69.444" maxAcceleration="200" maxDeceleration="10.0"/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2.1" length="4.5" height="1.8"/>
</BoundingBox>
<Axles>
<FrontAxle maxSteering="0.5" wheelDiameter="0.6" trackWidth="1.8" positionX="3.1" positionZ="0.3"/>
<RearAxle maxSteering="0.0" wheelDiameter="0.6" trackWidth="1.8" positionX="0.0" positionZ="0.3"/>
</Axles>
<Properties>
<Property name="type" value="ego_vehicle"/>
</Properties>
</Vehicle>
</ScenarioObject>
<ScenarioObject name="adversary">
<Vehicle name="vehicle.lincoln.mkz_2017" vehicleCategory="car">
<ParameterDeclarations/>
<Performance maxSpeed="69.444" maxAcceleration="200" maxDeceleration="10.0"/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2.1" length="4.5" height="1.8"/>
</BoundingBox>
<Axles>
<FrontAxle maxSteering="0.5" wheelDiameter="0.6" trackWidth="1.8" positionX="3.1" positionZ="0.3"/>
<RearAxle maxSteering="0.0" wheelDiameter="0.6" trackWidth="1.8" positionX="0.0" positionZ="0.3"/>
</Axles>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Vehicle>
</ScenarioObject>
<ScenarioObject name="standing">
<Vehicle name="vehicle.volkswagen.t2" vehicleCategory="car">
<ParameterDeclarations/>
<Performance maxSpeed="69.444" maxAcceleration="200" maxDeceleration="10.0"/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2.1" length="4.5" height="1.8"/>
</BoundingBox>
<Axles>
<FrontAxle maxSteering="0.5" wheelDiameter="0.6" trackWidth="1.8" positionX="3.1" positionZ="0.3"/>
<RearAxle maxSteering="0.0" wheelDiameter="0.6" trackWidth="1.8" positionX="0.0" positionZ="0.3"/>
</Axles>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Vehicle>
</ScenarioObject>
<ScenarioObject name="pedestrian_close_to_standing_5571">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_w_transform_5574">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_close_to_hero_5575">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_w_transform_5576">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_w_transform_5577">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_close_to_hero_5578">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_w_transform_5580">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_w_transform_5582">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_w_transform_5583">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_close_to_adversary_5584">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_close_to_adversary_5585">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_w_transform_5588">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_w_transform_5592">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_close_to_hero_5593">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
</Entities>
<Storyboard>
<Init>
<Actions>
<GlobalAction>
<EnvironmentAction>
<Environment name="Environment1">
<TimeOfDay animation="false" dateTime="2019-06-25T12:00:00"/>
<Weather cloudState="free">
<Sun intensity="0.85" azimuth="0" elevation="1.31"/>
<Fog visualRange="100000.0"/>
<Precipitation precipitationType="dry" intensity="0.0"/>
</Weather>
<RoadCondition frictionScaleFactor="1.0"/>
</Environment>
</EnvironmentAction>
</GlobalAction>
<Private entityRef="hero">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-9.4" y="-152.8" z="0.5" h="1.57079632679"/>
</Position>
</TeleportAction>
</PrivateAction>
<PrivateAction>
<ControllerAction>
<AssignControllerAction>
<Controller name="HeroAgent">
<Properties>
<Property name="module" value="external_control"/>
</Properties>
</Controller>
</AssignControllerAction>
<OverrideControllerValueAction>
<Throttle value="0" active="false"/>
<Brake value="0" active="false"/>
<Clutch value="0" active="false"/>
<ParkingBrake value="0" active="false"/>
<SteeringWheel value="0" active="false"/>
<Gear number="0" active="false"/>
</OverrideControllerValueAction>
</ControllerAction>
</PrivateAction>
</Private>
<Private entityRef="adversary">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-9.4" y="-71.0" z="0.5" h="1.57079632679"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="standing">
<PrivateAction>
<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_5571">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-5.86255407333374" y="27.48007583618164" z="0.0030493163503706455"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_w_transform_5574">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="71.65493774414062" y="53.74566650390625" z="0.5"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_close_to_hero_5575">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-1.624953031539917" y="-147.67092895507812" z="0.0014286803780123591"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_w_transform_5576">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="80.6210708618164" y="-29.413660049438477" z="0.5"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_w_transform_5577">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="65.73654174804688" y="97.55126190185547" z="0.5"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_close_to_hero_5578">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-16.322418212890625" y="-153.84097290039062" z="0.0014286803780123591"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_w_transform_5580">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="9.158075332641602" y="15.747469902038574" z="0.5"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_w_transform_5582">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="39.67182922363281" y="51.24641036987305" z="0.5"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_w_transform_5583">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="46.29848098754883" y="49.79318618774414" z="0.5"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_close_to_adversary_5584">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="7.9426398277282715" y="-76.19538116455078" z="0.0337662510573864"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_close_to_adversary_5585">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-18.269695281982422" y="-64.75923156738281" z="0.03376678377389908"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_w_transform_5588">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="12.315953254699707" y="-28.8027286529541" z="0.5"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_w_transform_5592">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="7.255044460296631" y="-99.69851684570312" z="0.5"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_close_to_hero_5593">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-14.110809326171875" y="-162.3140869140625" z="0.0014286803780123591"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
</Actions>
</Init>
<Story name="MyStory">
<Act name="Behavior">
<ManeuverGroup maximumExecutionCount="1" name="ManeuverSequence">
<Actors selectTriggeringEntities="false">
<EntityRef entityRef="adversary"/>
</Actors>
<Maneuver name="LaneChangeSimpleManeuver">
<Event name="AdversaryAccelerates" priority="overwrite">
<Action name="AdversaryAccelerates">
<PrivateAction>
<LongitudinalAction>
<SpeedAction>
<SpeedActionDynamics dynamicsShape="step" value="50" dynamicsDimension="distance"/>
<SpeedActionTarget>
<AbsoluteTargetSpeed value="5.0"/>
</SpeedActionTarget>
</SpeedAction>
</LongitudinalAction>
</PrivateAction>
</Action>
<StartTrigger>
<ConditionGroup>
<Condition name="StartCondition" delay="0" conditionEdge="rising">
<ByEntityCondition>
<TriggeringEntities triggeringEntitiesRule="any">
<EntityRef entityRef="hero"/>
</TriggeringEntities>
<EntityCondition>
<RelativeDistanceCondition entityRef="adversary" relativeDistanceType="cartesianDistance" value="40.0" freespace="false" rule="lessThan"/>
</EntityCondition>
</ByEntityCondition>
</Condition>
</ConditionGroup>
</StartTrigger>
</Event>
<Event name="AdversaryChangesLane" priority="overwrite">
<Action name="AdversaryChangesLane">
<PrivateAction>
<LateralAction>
<LaneChangeAction>
<LaneChangeActionDynamics dynamicsShape="linear" value="25" dynamicsDimension="distance"/>
<LaneChangeTarget>
<RelativeTargetLane entityRef="adversary" value="-1"/>
</LaneChangeTarget>
</LaneChangeAction>
</LateralAction>
</PrivateAction>
</Action>
<StartTrigger>
<ConditionGroup>
<Condition name="AfterAdversaryAccelerates" delay="0" conditionEdge="rising">
<ByValueCondition>
<StoryboardElementStateCondition storyboardElementType="action" storyboardElementRef="AdversaryAccelerates" state="completeState"/>
</ByValueCondition>
</Condition>
</ConditionGroup>
</StartTrigger>
</Event>
</Maneuver>
</ManeuverGroup>
<StartTrigger>
<ConditionGroup>
<Condition name="OverallStartCondition" delay="0" conditionEdge="rising">
<ByEntityCondition>
<TriggeringEntities triggeringEntitiesRule="any">
<EntityRef entityRef="hero"/>
</TriggeringEntities>
<EntityCondition>
<TraveledDistanceCondition value="1.0"/>
</EntityCondition>
</ByEntityCondition>
</Condition>
<Condition name="StartTime" delay="0" conditionEdge="rising">
<ByValueCondition>
<SimulationTimeCondition value="0" rule="equalTo"/>
</ByValueCondition>
</Condition>
</ConditionGroup>
</StartTrigger>
<StopTrigger>
<ConditionGroup>
<Condition name="EndCondition" delay="0" conditionEdge="rising">
<ByEntityCondition>
<TriggeringEntities triggeringEntitiesRule="any">
<EntityRef entityRef="hero"/>
</TriggeringEntities>
<EntityCondition>
<TraveledDistanceCondition value="200.0"/>
</EntityCondition>
</ByEntityCondition>
</Condition>
</ConditionGroup>
</StopTrigger>
</Act>
</Story>
<StopTrigger>
<ConditionGroup>
<Condition name="criteria_RunningStopTest" delay="0" conditionEdge="rising">
<ByValueCondition>
<ParameterCondition parameterRef="" value="" rule="lessThan"/>
</ByValueCondition>
</Condition>
<Condition name="criteria_RunningRedLightTest" delay="0" conditionEdge="rising">
<ByValueCondition>
<ParameterCondition parameterRef="" value="" rule="lessThan"/>
</ByValueCondition>
</Condition>
<Condition name="criteria_WrongLaneTest" delay="0" conditionEdge="rising">
<ByValueCondition>
<ParameterCondition parameterRef="" value="" rule="lessThan"/>
</ByValueCondition>
</Condition>
<Condition name="criteria_OnSidewalkTest" delay="0" conditionEdge="rising">
<ByValueCondition>
<ParameterCondition parameterRef="" value="" rule="lessThan"/>
</ByValueCondition>
</Condition>
<Condition name="criteria_KeepLaneTest" delay="0" conditionEdge="rising">
<ByValueCondition>
<ParameterCondition parameterRef="" value="" rule="lessThan"/>
</ByValueCondition>
</Condition>
<Condition name="criteria_CollisionTest" delay="0" conditionEdge="rising">
<ByValueCondition>
<ParameterCondition parameterRef="" value="" rule="lessThan"/>
</ByValueCondition>
</Condition>
<Condition name="criteria_DrivenDistanceTest" delay="0" conditionEdge="rising">
<ByValueCondition>
<ParameterCondition parameterRef="distance_success" value="100" rule="lessThan"/>
</ByValueCondition>
</Condition>
</ConditionGroup>
</StopTrigger>
</Storyboard>
</OpenSCENARIO>
``` |
i would like to 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_3649">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
</Entities>
<Storyboard>
<Init>
<Actions>
<GlobalAction>
<EnvironmentAction>
<Environment name="Environment1">
<TimeOfDay animation="false" dateTime="2019-06-25T12:00:00"/>
<Weather cloudState="free">
<Sun intensity="0.85" azimuth="0" elevation="1.31"/>
<Fog visualRange="100000.0"/>
<Precipitation precipitationType="dry" intensity="0.0"/>
</Weather>
<RoadCondition frictionScaleFactor="1.0"/>
</Environment>
</EnvironmentAction>
</GlobalAction>
<Private entityRef="hero">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-9.4" y="-152.8" z="0.5" h="1.57079632679"/>
</Position>
</TeleportAction>
</PrivateAction>
<PrivateAction>
<ControllerAction>
<AssignControllerAction>
<Controller name="HeroAgent">
<Properties>
<Property name="module" value="external_control"/>
</Properties>
</Controller>
</AssignControllerAction>
<OverrideControllerValueAction>
<Throttle value="0" active="false"/>
<Brake value="0" active="false"/>
<Clutch value="0" active="false"/>
<ParkingBrake value="0" active="false"/>
<SteeringWheel value="0" active="false"/>
<Gear number="0" active="false"/>
</OverrideControllerValueAction>
</ControllerAction>
</PrivateAction>
</Private>
<Private entityRef="adversary">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-9.4" y="-71.0" z="0.5" h="1.57079632679"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="standing">
<PrivateAction>
<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_3649">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-11.246603012084961" y="24.566909790039062" z="0.0029753874987363815"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
</Actions>
</Init>
<Story name="MyStory">
<Act name="Behavior">
<ManeuverGroup maximumExecutionCount="1" name="ManeuverSequence">
<Actors selectTriggeringEntities="false">
<EntityRef entityRef="adversary"/>
</Actors>
<Maneuver name="LaneChangeSimpleManeuver">
<Event name="AdversaryAccelerates" priority="overwrite">
<Action name="AdversaryAccelerates">
<PrivateAction>
<LongitudinalAction>
<SpeedAction>
<SpeedActionDynamics dynamicsShape="step" value="50" dynamicsDimension="distance"/>
<SpeedActionTarget>
<AbsoluteTargetSpeed value="5.0"/>
</SpeedActionTarget>
</SpeedAction>
</LongitudinalAction>
</PrivateAction>
</Action>
<StartTrigger>
<ConditionGroup>
<Condition name="StartCondition" delay="0" conditionEdge="rising">
<ByEntityCondition>
<TriggeringEntities triggeringEntitiesRule="any">
<EntityRef entityRef="hero"/>
</TriggeringEntities>
<EntityCondition>
<RelativeDistanceCondition entityRef="adversary" relativeDistanceType="cartesianDistance" value="40.0" freespace="false" rule="lessThan"/>
</EntityCondition>
</ByEntityCondition>
</Condition>
</ConditionGroup>
</StartTrigger>
</Event>
<Event name="AdversaryChangesLane" priority="overwrite">
<Action name="AdversaryChangesLane">
<PrivateAction>
<LateralAction>
<LaneChangeAction>
<LaneChangeActionDynamics dynamicsShape="linear" value="25" dynamicsDimension="distance"/>
<LaneChangeTarget>
<RelativeTargetLane entityRef="adversary" value="-1"/>
</LaneChangeTarget>
</LaneChangeAction>
</LateralAction>
</PrivateAction>
</Action>
<StartTrigger>
<ConditionGroup>
<Condition name="AfterAdversaryAccelerates" delay="0" conditionEdge="rising">
<ByValueCondition>
<StoryboardElementStateCondition storyboardElementType="action" storyboardElementRef="AdversaryAccelerates" state="completeState"/>
</ByValueCondition>
</Condition>
</ConditionGroup>
</StartTrigger>
</Event>
</Maneuver>
</ManeuverGroup>
<StartTrigger>
<ConditionGroup>
<Condition name="OverallStartCondition" delay="0" conditionEdge="rising">
<ByEntityCondition>
<TriggeringEntities triggeringEntitiesRule="any">
<EntityRef entityRef="hero"/>
</TriggeringEntities>
<EntityCondition>
<TraveledDistanceCondition value="1.0"/>
</EntityCondition>
</ByEntityCondition>
</Condition>
<Condition name="StartTime" delay="0" conditionEdge="rising">
<ByValueCondition>
<SimulationTimeCondition value="0" rule="equalTo"/>
</ByValueCondition>
</Condition>
</ConditionGroup>
</StartTrigger>
<StopTrigger>
<ConditionGroup>
<Condition name="EndCondition" delay="0" conditionEdge="rising">
<ByEntityCondition>
<TriggeringEntities triggeringEntitiesRule="any">
<EntityRef entityRef="hero"/>
</TriggeringEntities>
<EntityCondition>
<TraveledDistanceCondition value="200.0"/>
</EntityCondition>
</ByEntityCondition>
</Condition>
</ConditionGroup>
</StopTrigger>
</Act>
</Story>
<StopTrigger>
<ConditionGroup>
<Condition name="criteria_RunningStopTest" delay="0" conditionEdge="rising">
<ByValueCondition>
<ParameterCondition parameterRef="" value="" rule="lessThan"/>
</ByValueCondition>
</Condition>
<Condition name="criteria_RunningRedLightTest" delay="0" conditionEdge="rising">
<ByValueCondition>
<ParameterCondition parameterRef="" value="" rule="lessThan"/>
</ByValueCondition>
</Condition>
<Condition name="criteria_WrongLaneTest" delay="0" conditionEdge="rising">
<ByValueCondition>
<ParameterCondition parameterRef="" value="" rule="lessThan"/>
</ByValueCondition>
</Condition>
<Condition name="criteria_OnSidewalkTest" delay="0" conditionEdge="rising">
<ByValueCondition>
<ParameterCondition parameterRef="" value="" rule="lessThan"/>
</ByValueCondition>
</Condition>
<Condition name="criteria_KeepLaneTest" delay="0" conditionEdge="rising">
<ByValueCondition>
<ParameterCondition parameterRef="" value="" rule="lessThan"/>
</ByValueCondition>
</Condition>
<Condition name="criteria_CollisionTest" delay="0" conditionEdge="rising">
<ByValueCondition>
<ParameterCondition parameterRef="" value="" rule="lessThan"/>
</ByValueCondition>
</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_3649">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_close_to_adversary_3650">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
</Entities>
<Storyboard>
<Init>
<Actions>
<GlobalAction>
<EnvironmentAction>
<Environment name="Environment1">
<TimeOfDay animation="false" dateTime="2019-06-25T12:00:00"/>
<Weather cloudState="free">
<Sun intensity="0.85" azimuth="0" elevation="1.31"/>
<Fog visualRange="100000.0"/>
<Precipitation precipitationType="dry" intensity="0.0"/>
</Weather>
<RoadCondition frictionScaleFactor="1.0"/>
</Environment>
</EnvironmentAction>
</GlobalAction>
<Private entityRef="hero">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-9.4" y="-152.8" z="0.5" h="1.57079632679"/>
</Position>
</TeleportAction>
</PrivateAction>
<PrivateAction>
<ControllerAction>
<AssignControllerAction>
<Controller name="HeroAgent">
<Properties>
<Property name="module" value="external_control"/>
</Properties>
</Controller>
</AssignControllerAction>
<OverrideControllerValueAction>
<Throttle value="0" active="false"/>
<Brake value="0" active="false"/>
<Clutch value="0" active="false"/>
<ParkingBrake value="0" active="false"/>
<SteeringWheel value="0" active="false"/>
<Gear number="0" active="false"/>
</OverrideControllerValueAction>
</ControllerAction>
</PrivateAction>
</Private>
<Private entityRef="adversary">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-9.4" y="-71.0" z="0.5" h="1.57079632679"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="standing">
<PrivateAction>
<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_3649">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-11.246603012084961" y="24.566909790039062" z="0.0029753874987363815"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_close_to_adversary_3650">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-4.383164882659912" y="-73.19229888916016" z="0.03377418592572212"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
</Actions>
</Init>
<Story name="MyStory">
<Act name="Behavior">
<ManeuverGroup maximumExecutionCount="1" name="ManeuverSequence">
<Actors selectTriggeringEntities="false">
<EntityRef entityRef="adversary"/>
</Actors>
<Maneuver name="LaneChangeSimpleManeuver">
<Event name="AdversaryAccelerates" priority="overwrite">
<Action name="AdversaryAccelerates">
<PrivateAction>
<LongitudinalAction>
<SpeedAction>
<SpeedActionDynamics dynamicsShape="step" value="50" dynamicsDimension="distance"/>
<SpeedActionTarget>
<AbsoluteTargetSpeed value="5.0"/>
</SpeedActionTarget>
</SpeedAction>
</LongitudinalAction>
</PrivateAction>
</Action>
<StartTrigger>
<ConditionGroup>
<Condition name="StartCondition" delay="0" conditionEdge="rising">
<ByEntityCondition>
<TriggeringEntities triggeringEntitiesRule="any">
<EntityRef entityRef="hero"/>
</TriggeringEntities>
<EntityCondition>
<RelativeDistanceCondition entityRef="adversary" relativeDistanceType="cartesianDistance" value="40.0" freespace="false" rule="lessThan"/>
</EntityCondition>
</ByEntityCondition>
</Condition>
</ConditionGroup>
</StartTrigger>
</Event>
<Event name="AdversaryChangesLane" priority="overwrite">
<Action name="AdversaryChangesLane">
<PrivateAction>
<LateralAction>
<LaneChangeAction>
<LaneChangeActionDynamics dynamicsShape="linear" value="25" dynamicsDimension="distance"/>
<LaneChangeTarget>
<RelativeTargetLane entityRef="adversary" value="-1"/>
</LaneChangeTarget>
</LaneChangeAction>
</LateralAction>
</PrivateAction>
</Action>
<StartTrigger>
<ConditionGroup>
<Condition name="AfterAdversaryAccelerates" delay="0" conditionEdge="rising">
<ByValueCondition>
<StoryboardElementStateCondition storyboardElementType="action" storyboardElementRef="AdversaryAccelerates" state="completeState"/>
</ByValueCondition>
</Condition>
</ConditionGroup>
</StartTrigger>
</Event>
</Maneuver>
</ManeuverGroup>
<StartTrigger>
<ConditionGroup>
<Condition name="OverallStartCondition" delay="0" conditionEdge="rising">
<ByEntityCondition>
<TriggeringEntities triggeringEntitiesRule="any">
<EntityRef entityRef="hero"/>
</TriggeringEntities>
<EntityCondition>
<TraveledDistanceCondition value="1.0"/>
</EntityCondition>
</ByEntityCondition>
</Condition>
<Condition name="StartTime" delay="0" conditionEdge="rising">
<ByValueCondition>
<SimulationTimeCondition value="0" rule="equalTo"/>
</ByValueCondition>
</Condition>
</ConditionGroup>
</StartTrigger>
<StopTrigger>
<ConditionGroup>
<Condition name="EndCondition" delay="0" conditionEdge="rising">
<ByEntityCondition>
<TriggeringEntities triggeringEntitiesRule="any">
<EntityRef entityRef="hero"/>
</TriggeringEntities>
<EntityCondition>
<TraveledDistanceCondition value="200.0"/>
</EntityCondition>
</ByEntityCondition>
</Condition>
</ConditionGroup>
</StopTrigger>
</Act>
</Story>
<StopTrigger>
<ConditionGroup>
<Condition name="criteria_RunningStopTest" delay="0" conditionEdge="rising">
<ByValueCondition>
<ParameterCondition parameterRef="" value="" rule="lessThan"/>
</ByValueCondition>
</Condition>
<Condition name="criteria_RunningRedLightTest" delay="0" conditionEdge="rising">
<ByValueCondition>
<ParameterCondition parameterRef="" value="" rule="lessThan"/>
</ByValueCondition>
</Condition>
<Condition name="criteria_WrongLaneTest" delay="0" conditionEdge="rising">
<ByValueCondition>
<ParameterCondition parameterRef="" value="" rule="lessThan"/>
</ByValueCondition>
</Condition>
<Condition name="criteria_OnSidewalkTest" delay="0" conditionEdge="rising">
<ByValueCondition>
<ParameterCondition parameterRef="" value="" rule="lessThan"/>
</ByValueCondition>
</Condition>
<Condition name="criteria_KeepLaneTest" delay="0" conditionEdge="rising">
<ByValueCondition>
<ParameterCondition parameterRef="" value="" rule="lessThan"/>
</ByValueCondition>
</Condition>
<Condition name="criteria_CollisionTest" delay="0" conditionEdge="rising">
<ByValueCondition>
<ParameterCondition parameterRef="" value="" rule="lessThan"/>
</ByValueCondition>
</Condition>
<Condition name="criteria_DrivenDistanceTest" delay="0" conditionEdge="rising">
<ByValueCondition>
<ParameterCondition parameterRef="distance_success" value="100" rule="lessThan"/>
</ByValueCondition>
</Condition>
</ConditionGroup>
</StopTrigger>
</Storyboard>
</OpenSCENARIO>
``` |
i would like to instruct you to add pedestrian close to adversary?
```
<?xml version="1.0" ?>
<OpenSCENARIO>
<FileHeader revMajor="1" revMinor="0" date="2020-03-24T12:00:00" description="CARLA:LaneChangeSimple" author=""/>
<ParameterDeclarations/>
<CatalogLocations/>
<RoadNetwork>
<LogicFile filepath="Town04"/>
<SceneGraphFile filepath=""/>
</RoadNetwork>
<Entities>
<ScenarioObject name="hero">
<Vehicle name="vehicle.tesla.model3" vehicleCategory="car">
<ParameterDeclarations/>
<Performance maxSpeed="69.444" maxAcceleration="200" maxDeceleration="10.0"/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2.1" length="4.5" height="1.8"/>
</BoundingBox>
<Axles>
<FrontAxle maxSteering="0.5" wheelDiameter="0.6" trackWidth="1.8" positionX="3.1" positionZ="0.3"/>
<RearAxle maxSteering="0.0" wheelDiameter="0.6" trackWidth="1.8" positionX="0.0" positionZ="0.3"/>
</Axles>
<Properties>
<Property name="type" value="ego_vehicle"/>
</Properties>
</Vehicle>
</ScenarioObject>
<ScenarioObject name="adversary">
<Vehicle name="vehicle.lincoln.mkz_2017" vehicleCategory="car">
<ParameterDeclarations/>
<Performance maxSpeed="69.444" maxAcceleration="200" maxDeceleration="10.0"/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2.1" length="4.5" height="1.8"/>
</BoundingBox>
<Axles>
<FrontAxle maxSteering="0.5" wheelDiameter="0.6" trackWidth="1.8" positionX="3.1" positionZ="0.3"/>
<RearAxle maxSteering="0.0" wheelDiameter="0.6" trackWidth="1.8" positionX="0.0" positionZ="0.3"/>
</Axles>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Vehicle>
</ScenarioObject>
<ScenarioObject name="standing">
<Vehicle name="vehicle.volkswagen.t2" vehicleCategory="car">
<ParameterDeclarations/>
<Performance maxSpeed="69.444" maxAcceleration="200" maxDeceleration="10.0"/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2.1" length="4.5" height="1.8"/>
</BoundingBox>
<Axles>
<FrontAxle maxSteering="0.5" wheelDiameter="0.6" trackWidth="1.8" positionX="3.1" positionZ="0.3"/>
<RearAxle maxSteering="0.0" wheelDiameter="0.6" trackWidth="1.8" positionX="0.0" positionZ="0.3"/>
</Axles>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Vehicle>
</ScenarioObject>
<ScenarioObject name="pedestrian_close_to_adversary_1515">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_w_transform_1516">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_close_to_hero_1517">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
</Entities>
<Storyboard>
<Init>
<Actions>
<GlobalAction>
<EnvironmentAction>
<Environment name="Environment1">
<TimeOfDay animation="false" dateTime="2019-06-25T12:00:00"/>
<Weather cloudState="free">
<Sun intensity="0.85" azimuth="0" elevation="1.31"/>
<Fog visualRange="100000.0"/>
<Precipitation precipitationType="dry" intensity="0.0"/>
</Weather>
<RoadCondition frictionScaleFactor="1.0"/>
</Environment>
</EnvironmentAction>
</GlobalAction>
<Private entityRef="hero">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-9.4" y="-152.8" z="0.5" h="1.57079632679"/>
</Position>
</TeleportAction>
</PrivateAction>
<PrivateAction>
<ControllerAction>
<AssignControllerAction>
<Controller name="HeroAgent">
<Properties>
<Property name="module" value="external_control"/>
</Properties>
</Controller>
</AssignControllerAction>
<OverrideControllerValueAction>
<Throttle value="0" active="false"/>
<Brake value="0" active="false"/>
<Clutch value="0" active="false"/>
<ParkingBrake value="0" active="false"/>
<SteeringWheel value="0" active="false"/>
<Gear number="0" active="false"/>
</OverrideControllerValueAction>
</ControllerAction>
</PrivateAction>
</Private>
<Private entityRef="adversary">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-9.4" y="-71.0" z="0.5" h="1.57079632679"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="standing">
<PrivateAction>
<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_1515">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-10.39645767211914" y="-78.73015594482422" z="0.03375816345214844"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_w_transform_1516">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-94.73039245605469" y="50.772647857666016" z="0.5"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_close_to_hero_1517">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-17.617298126220703" y="-156.58547973632812" z="0.0014286803780123591"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
</Actions>
</Init>
<Story name="MyStory">
<Act name="Behavior">
<ManeuverGroup maximumExecutionCount="1" name="ManeuverSequence">
<Actors selectTriggeringEntities="false">
<EntityRef entityRef="adversary"/>
</Actors>
<Maneuver name="LaneChangeSimpleManeuver">
<Event name="AdversaryAccelerates" priority="overwrite">
<Action name="AdversaryAccelerates">
<PrivateAction>
<LongitudinalAction>
<SpeedAction>
<SpeedActionDynamics dynamicsShape="step" value="50" dynamicsDimension="distance"/>
<SpeedActionTarget>
<AbsoluteTargetSpeed value="5.0"/>
</SpeedActionTarget>
</SpeedAction>
</LongitudinalAction>
</PrivateAction>
</Action>
<StartTrigger>
<ConditionGroup>
<Condition name="StartCondition" delay="0" conditionEdge="rising">
<ByEntityCondition>
<TriggeringEntities triggeringEntitiesRule="any">
<EntityRef entityRef="hero"/>
</TriggeringEntities>
<EntityCondition>
<RelativeDistanceCondition entityRef="adversary" relativeDistanceType="cartesianDistance" value="40.0" freespace="false" rule="lessThan"/>
</EntityCondition>
</ByEntityCondition>
</Condition>
</ConditionGroup>
</StartTrigger>
</Event>
<Event name="AdversaryChangesLane" priority="overwrite">
<Action name="AdversaryChangesLane">
<PrivateAction>
<LateralAction>
<LaneChangeAction>
<LaneChangeActionDynamics dynamicsShape="linear" value="25" dynamicsDimension="distance"/>
<LaneChangeTarget>
<RelativeTargetLane entityRef="adversary" value="-1"/>
</LaneChangeTarget>
</LaneChangeAction>
</LateralAction>
</PrivateAction>
</Action>
<StartTrigger>
<ConditionGroup>
<Condition name="AfterAdversaryAccelerates" delay="0" conditionEdge="rising">
<ByValueCondition>
<StoryboardElementStateCondition storyboardElementType="action" storyboardElementRef="AdversaryAccelerates" state="completeState"/>
</ByValueCondition>
</Condition>
</ConditionGroup>
</StartTrigger>
</Event>
</Maneuver>
</ManeuverGroup>
<StartTrigger>
<ConditionGroup>
<Condition name="OverallStartCondition" delay="0" conditionEdge="rising">
<ByEntityCondition>
<TriggeringEntities triggeringEntitiesRule="any">
<EntityRef entityRef="hero"/>
</TriggeringEntities>
<EntityCondition>
<TraveledDistanceCondition value="1.0"/>
</EntityCondition>
</ByEntityCondition>
</Condition>
<Condition name="StartTime" delay="0" conditionEdge="rising">
<ByValueCondition>
<SimulationTimeCondition value="0" rule="equalTo"/>
</ByValueCondition>
</Condition>
</ConditionGroup>
</StartTrigger>
<StopTrigger>
<ConditionGroup>
<Condition name="EndCondition" delay="0" conditionEdge="rising">
<ByEntityCondition>
<TriggeringEntities triggeringEntitiesRule="any">
<EntityRef entityRef="hero"/>
</TriggeringEntities>
<EntityCondition>
<TraveledDistanceCondition value="200.0"/>
</EntityCondition>
</ByEntityCondition>
</Condition>
</ConditionGroup>
</StopTrigger>
</Act>
</Story>
<StopTrigger>
<ConditionGroup>
<Condition name="criteria_RunningStopTest" delay="0" conditionEdge="rising">
<ByValueCondition>
<ParameterCondition parameterRef="" value="" rule="lessThan"/>
</ByValueCondition>
</Condition>
<Condition name="criteria_RunningRedLightTest" delay="0" conditionEdge="rising">
<ByValueCondition>
<ParameterCondition parameterRef="" value="" rule="lessThan"/>
</ByValueCondition>
</Condition>
<Condition name="criteria_WrongLaneTest" delay="0" conditionEdge="rising">
<ByValueCondition>
<ParameterCondition parameterRef="" value="" rule="lessThan"/>
</ByValueCondition>
</Condition>
<Condition name="criteria_OnSidewalkTest" delay="0" conditionEdge="rising">
<ByValueCondition>
<ParameterCondition parameterRef="" value="" rule="lessThan"/>
</ByValueCondition>
</Condition>
<Condition name="criteria_KeepLaneTest" delay="0" conditionEdge="rising">
<ByValueCondition>
<ParameterCondition parameterRef="" value="" rule="lessThan"/>
</ByValueCondition>
</Condition>
<Condition name="criteria_CollisionTest" delay="0" conditionEdge="rising">
<ByValueCondition>
<ParameterCondition parameterRef="" value="" rule="lessThan"/>
</ByValueCondition>
</Condition>
<Condition name="criteria_DrivenDistanceTest" delay="0" conditionEdge="rising">
<ByValueCondition>
<ParameterCondition parameterRef="distance_success" value="100" rule="lessThan"/>
</ByValueCondition>
</Condition>
</ConditionGroup>
</StopTrigger>
</Storyboard>
</OpenSCENARIO>
``` | Here is the result:
```
<?xml version="1.0" ?>
<OpenSCENARIO>
<FileHeader revMajor="1" revMinor="0" date="2020-03-24T12:00:00" description="CARLA:LaneChangeSimple" author=""/>
<ParameterDeclarations/>
<CatalogLocations/>
<RoadNetwork>
<LogicFile filepath="Town04"/>
<SceneGraphFile filepath=""/>
</RoadNetwork>
<Entities>
<ScenarioObject name="hero">
<Vehicle name="vehicle.tesla.model3" vehicleCategory="car">
<ParameterDeclarations/>
<Performance maxSpeed="69.444" maxAcceleration="200" maxDeceleration="10.0"/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2.1" length="4.5" height="1.8"/>
</BoundingBox>
<Axles>
<FrontAxle maxSteering="0.5" wheelDiameter="0.6" trackWidth="1.8" positionX="3.1" positionZ="0.3"/>
<RearAxle maxSteering="0.0" wheelDiameter="0.6" trackWidth="1.8" positionX="0.0" positionZ="0.3"/>
</Axles>
<Properties>
<Property name="type" value="ego_vehicle"/>
</Properties>
</Vehicle>
</ScenarioObject>
<ScenarioObject name="adversary">
<Vehicle name="vehicle.lincoln.mkz_2017" vehicleCategory="car">
<ParameterDeclarations/>
<Performance maxSpeed="69.444" maxAcceleration="200" maxDeceleration="10.0"/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2.1" length="4.5" height="1.8"/>
</BoundingBox>
<Axles>
<FrontAxle maxSteering="0.5" wheelDiameter="0.6" trackWidth="1.8" positionX="3.1" positionZ="0.3"/>
<RearAxle maxSteering="0.0" wheelDiameter="0.6" trackWidth="1.8" positionX="0.0" positionZ="0.3"/>
</Axles>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Vehicle>
</ScenarioObject>
<ScenarioObject name="standing">
<Vehicle name="vehicle.volkswagen.t2" vehicleCategory="car">
<ParameterDeclarations/>
<Performance maxSpeed="69.444" maxAcceleration="200" maxDeceleration="10.0"/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2.1" length="4.5" height="1.8"/>
</BoundingBox>
<Axles>
<FrontAxle maxSteering="0.5" wheelDiameter="0.6" trackWidth="1.8" positionX="3.1" positionZ="0.3"/>
<RearAxle maxSteering="0.0" wheelDiameter="0.6" trackWidth="1.8" positionX="0.0" positionZ="0.3"/>
</Axles>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Vehicle>
</ScenarioObject>
<ScenarioObject name="pedestrian_close_to_adversary_1515">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_w_transform_1516">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_close_to_hero_1517">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_close_to_adversary_1518">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
</Entities>
<Storyboard>
<Init>
<Actions>
<GlobalAction>
<EnvironmentAction>
<Environment name="Environment1">
<TimeOfDay animation="false" dateTime="2019-06-25T12:00:00"/>
<Weather cloudState="free">
<Sun intensity="0.85" azimuth="0" elevation="1.31"/>
<Fog visualRange="100000.0"/>
<Precipitation precipitationType="dry" intensity="0.0"/>
</Weather>
<RoadCondition frictionScaleFactor="1.0"/>
</Environment>
</EnvironmentAction>
</GlobalAction>
<Private entityRef="hero">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-9.4" y="-152.8" z="0.5" h="1.57079632679"/>
</Position>
</TeleportAction>
</PrivateAction>
<PrivateAction>
<ControllerAction>
<AssignControllerAction>
<Controller name="HeroAgent">
<Properties>
<Property name="module" value="external_control"/>
</Properties>
</Controller>
</AssignControllerAction>
<OverrideControllerValueAction>
<Throttle value="0" active="false"/>
<Brake value="0" active="false"/>
<Clutch value="0" active="false"/>
<ParkingBrake value="0" active="false"/>
<SteeringWheel value="0" active="false"/>
<Gear number="0" active="false"/>
</OverrideControllerValueAction>
</ControllerAction>
</PrivateAction>
</Private>
<Private entityRef="adversary">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-9.4" y="-71.0" z="0.5" h="1.57079632679"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="standing">
<PrivateAction>
<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_1515">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-10.39645767211914" y="-78.73015594482422" z="0.03375816345214844"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_w_transform_1516">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-94.73039245605469" y="50.772647857666016" z="0.5"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_close_to_hero_1517">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-17.617298126220703" y="-156.58547973632812" z="0.0014286803780123591"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_close_to_adversary_1518">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-15.188117980957031" y="-68.20819091796875" z="0.03382522612810135"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
</Actions>
</Init>
<Story name="MyStory">
<Act name="Behavior">
<ManeuverGroup maximumExecutionCount="1" name="ManeuverSequence">
<Actors selectTriggeringEntities="false">
<EntityRef entityRef="adversary"/>
</Actors>
<Maneuver name="LaneChangeSimpleManeuver">
<Event name="AdversaryAccelerates" priority="overwrite">
<Action name="AdversaryAccelerates">
<PrivateAction>
<LongitudinalAction>
<SpeedAction>
<SpeedActionDynamics dynamicsShape="step" value="50" dynamicsDimension="distance"/>
<SpeedActionTarget>
<AbsoluteTargetSpeed value="5.0"/>
</SpeedActionTarget>
</SpeedAction>
</LongitudinalAction>
</PrivateAction>
</Action>
<StartTrigger>
<ConditionGroup>
<Condition name="StartCondition" delay="0" conditionEdge="rising">
<ByEntityCondition>
<TriggeringEntities triggeringEntitiesRule="any">
<EntityRef entityRef="hero"/>
</TriggeringEntities>
<EntityCondition>
<RelativeDistanceCondition entityRef="adversary" relativeDistanceType="cartesianDistance" value="40.0" freespace="false" rule="lessThan"/>
</EntityCondition>
</ByEntityCondition>
</Condition>
</ConditionGroup>
</StartTrigger>
</Event>
<Event name="AdversaryChangesLane" priority="overwrite">
<Action name="AdversaryChangesLane">
<PrivateAction>
<LateralAction>
<LaneChangeAction>
<LaneChangeActionDynamics dynamicsShape="linear" value="25" dynamicsDimension="distance"/>
<LaneChangeTarget>
<RelativeTargetLane entityRef="adversary" value="-1"/>
</LaneChangeTarget>
</LaneChangeAction>
</LateralAction>
</PrivateAction>
</Action>
<StartTrigger>
<ConditionGroup>
<Condition name="AfterAdversaryAccelerates" delay="0" conditionEdge="rising">
<ByValueCondition>
<StoryboardElementStateCondition storyboardElementType="action" storyboardElementRef="AdversaryAccelerates" state="completeState"/>
</ByValueCondition>
</Condition>
</ConditionGroup>
</StartTrigger>
</Event>
</Maneuver>
</ManeuverGroup>
<StartTrigger>
<ConditionGroup>
<Condition name="OverallStartCondition" delay="0" conditionEdge="rising">
<ByEntityCondition>
<TriggeringEntities triggeringEntitiesRule="any">
<EntityRef entityRef="hero"/>
</TriggeringEntities>
<EntityCondition>
<TraveledDistanceCondition value="1.0"/>
</EntityCondition>
</ByEntityCondition>
</Condition>
<Condition name="StartTime" delay="0" conditionEdge="rising">
<ByValueCondition>
<SimulationTimeCondition value="0" rule="equalTo"/>
</ByValueCondition>
</Condition>
</ConditionGroup>
</StartTrigger>
<StopTrigger>
<ConditionGroup>
<Condition name="EndCondition" delay="0" conditionEdge="rising">
<ByEntityCondition>
<TriggeringEntities triggeringEntitiesRule="any">
<EntityRef entityRef="hero"/>
</TriggeringEntities>
<EntityCondition>
<TraveledDistanceCondition value="200.0"/>
</EntityCondition>
</ByEntityCondition>
</Condition>
</ConditionGroup>
</StopTrigger>
</Act>
</Story>
<StopTrigger>
<ConditionGroup>
<Condition name="criteria_RunningStopTest" delay="0" conditionEdge="rising">
<ByValueCondition>
<ParameterCondition parameterRef="" value="" rule="lessThan"/>
</ByValueCondition>
</Condition>
<Condition name="criteria_RunningRedLightTest" delay="0" conditionEdge="rising">
<ByValueCondition>
<ParameterCondition parameterRef="" value="" rule="lessThan"/>
</ByValueCondition>
</Condition>
<Condition name="criteria_WrongLaneTest" delay="0" conditionEdge="rising">
<ByValueCondition>
<ParameterCondition parameterRef="" value="" rule="lessThan"/>
</ByValueCondition>
</Condition>
<Condition name="criteria_OnSidewalkTest" delay="0" conditionEdge="rising">
<ByValueCondition>
<ParameterCondition parameterRef="" value="" rule="lessThan"/>
</ByValueCondition>
</Condition>
<Condition name="criteria_KeepLaneTest" delay="0" conditionEdge="rising">
<ByValueCondition>
<ParameterCondition parameterRef="" value="" rule="lessThan"/>
</ByValueCondition>
</Condition>
<Condition name="criteria_CollisionTest" delay="0" conditionEdge="rising">
<ByValueCondition>
<ParameterCondition parameterRef="" value="" rule="lessThan"/>
</ByValueCondition>
</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 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_7566">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_close_to_adversary_7567">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_w_transform_7568">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_close_to_standing_7569">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_close_to_adversary_7570">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_w_transform_7571">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_close_to_hero_7572">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_w_transform_7573">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_close_to_adversary_7574">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
</Entities>
<Storyboard>
<Init>
<Actions>
<GlobalAction>
<EnvironmentAction>
<Environment name="Environment1">
<TimeOfDay animation="false" dateTime="2019-06-25T12:00:00"/>
<Weather cloudState="free">
<Sun intensity="0.85" azimuth="0" elevation="1.31"/>
<Fog visualRange="100000.0"/>
<Precipitation precipitationType="dry" intensity="0.0"/>
</Weather>
<RoadCondition frictionScaleFactor="1.0"/>
</Environment>
</EnvironmentAction>
</GlobalAction>
<Private entityRef="hero">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-9.4" y="-152.8" z="0.5" h="1.57079632679"/>
</Position>
</TeleportAction>
</PrivateAction>
<PrivateAction>
<ControllerAction>
<AssignControllerAction>
<Controller name="HeroAgent">
<Properties>
<Property name="module" value="external_control"/>
</Properties>
</Controller>
</AssignControllerAction>
<OverrideControllerValueAction>
<Throttle value="0" active="false"/>
<Brake value="0" active="false"/>
<Clutch value="0" active="false"/>
<ParkingBrake value="0" active="false"/>
<SteeringWheel value="0" active="false"/>
<Gear number="0" active="false"/>
</OverrideControllerValueAction>
</ControllerAction>
</PrivateAction>
</Private>
<Private entityRef="adversary">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-9.4" y="-71.0" z="0.5" h="1.57079632679"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="standing">
<PrivateAction>
<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_7566">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-5.8583760261535645" y="-75.53958892822266" z="0.033760376274585724"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_close_to_adversary_7567">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-15.481805801391602" y="-75.91500091552734" z="0.03379123657941818"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_w_transform_7568">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-1.7256414890289307" y="-3.069317579269409" z="0.5"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_close_to_standing_7569">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="1.261630892753601" y="19.991641998291016" z="0.0030158613808453083"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_close_to_adversary_7570">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-12.140569686889648" y="-64.13341522216797" z="0.03380576893687248"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_w_transform_7571">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-25.412694931030273" y="55.5206413269043" z="0.5"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_close_to_hero_7572">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="9.933524131774902" y="-170.09255981445312" z="0.0014286803780123591"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_w_transform_7573">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="30.46430015563965" y="51.56086349487305" z="0.5"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_close_to_adversary_7574">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-6.369893550872803" y="-80.33588409423828" z="0.03376571461558342"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
</Actions>
</Init>
<Story name="MyStory">
<Act name="Behavior">
<ManeuverGroup maximumExecutionCount="1" name="ManeuverSequence">
<Actors selectTriggeringEntities="false">
<EntityRef entityRef="adversary"/>
</Actors>
<Maneuver name="LaneChangeSimpleManeuver">
<Event name="AdversaryAccelerates" priority="overwrite">
<Action name="AdversaryAccelerates">
<PrivateAction>
<LongitudinalAction>
<SpeedAction>
<SpeedActionDynamics dynamicsShape="step" value="50" dynamicsDimension="distance"/>
<SpeedActionTarget>
<AbsoluteTargetSpeed value="5.0"/>
</SpeedActionTarget>
</SpeedAction>
</LongitudinalAction>
</PrivateAction>
</Action>
<StartTrigger>
<ConditionGroup>
<Condition name="StartCondition" delay="0" conditionEdge="rising">
<ByEntityCondition>
<TriggeringEntities triggeringEntitiesRule="any">
<EntityRef entityRef="hero"/>
</TriggeringEntities>
<EntityCondition>
<RelativeDistanceCondition entityRef="adversary" relativeDistanceType="cartesianDistance" value="40.0" freespace="false" rule="lessThan"/>
</EntityCondition>
</ByEntityCondition>
</Condition>
</ConditionGroup>
</StartTrigger>
</Event>
<Event name="AdversaryChangesLane" priority="overwrite">
<Action name="AdversaryChangesLane">
<PrivateAction>
<LateralAction>
<LaneChangeAction>
<LaneChangeActionDynamics dynamicsShape="linear" value="25" dynamicsDimension="distance"/>
<LaneChangeTarget>
<RelativeTargetLane entityRef="adversary" value="-1"/>
</LaneChangeTarget>
</LaneChangeAction>
</LateralAction>
</PrivateAction>
</Action>
<StartTrigger>
<ConditionGroup>
<Condition name="AfterAdversaryAccelerates" delay="0" conditionEdge="rising">
<ByValueCondition>
<StoryboardElementStateCondition storyboardElementType="action" storyboardElementRef="AdversaryAccelerates" state="completeState"/>
</ByValueCondition>
</Condition>
</ConditionGroup>
</StartTrigger>
</Event>
</Maneuver>
</ManeuverGroup>
<StartTrigger>
<ConditionGroup>
<Condition name="OverallStartCondition" delay="0" conditionEdge="rising">
<ByEntityCondition>
<TriggeringEntities triggeringEntitiesRule="any">
<EntityRef entityRef="hero"/>
</TriggeringEntities>
<EntityCondition>
<TraveledDistanceCondition value="1.0"/>
</EntityCondition>
</ByEntityCondition>
</Condition>
<Condition name="StartTime" delay="0" conditionEdge="rising">
<ByValueCondition>
<SimulationTimeCondition value="0" rule="equalTo"/>
</ByValueCondition>
</Condition>
</ConditionGroup>
</StartTrigger>
<StopTrigger>
<ConditionGroup>
<Condition name="EndCondition" delay="0" conditionEdge="rising">
<ByEntityCondition>
<TriggeringEntities triggeringEntitiesRule="any">
<EntityRef entityRef="hero"/>
</TriggeringEntities>
<EntityCondition>
<TraveledDistanceCondition value="200.0"/>
</EntityCondition>
</ByEntityCondition>
</Condition>
</ConditionGroup>
</StopTrigger>
</Act>
</Story>
<StopTrigger>
<ConditionGroup>
<Condition name="criteria_RunningStopTest" delay="0" conditionEdge="rising">
<ByValueCondition>
<ParameterCondition parameterRef="" value="" rule="lessThan"/>
</ByValueCondition>
</Condition>
<Condition name="criteria_RunningRedLightTest" delay="0" conditionEdge="rising">
<ByValueCondition>
<ParameterCondition parameterRef="" value="" rule="lessThan"/>
</ByValueCondition>
</Condition>
<Condition name="criteria_WrongLaneTest" delay="0" conditionEdge="rising">
<ByValueCondition>
<ParameterCondition parameterRef="" value="" rule="lessThan"/>
</ByValueCondition>
</Condition>
<Condition name="criteria_OnSidewalkTest" delay="0" conditionEdge="rising">
<ByValueCondition>
<ParameterCondition parameterRef="" value="" rule="lessThan"/>
</ByValueCondition>
</Condition>
<Condition name="criteria_KeepLaneTest" delay="0" conditionEdge="rising">
<ByValueCondition>
<ParameterCondition parameterRef="" value="" rule="lessThan"/>
</ByValueCondition>
</Condition>
<Condition name="criteria_CollisionTest" delay="0" conditionEdge="rising">
<ByValueCondition>
<ParameterCondition parameterRef="" value="" rule="lessThan"/>
</ByValueCondition>
</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_7566">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_close_to_adversary_7567">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_w_transform_7568">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_close_to_standing_7569">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_close_to_adversary_7570">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_w_transform_7571">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_close_to_hero_7572">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_w_transform_7573">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
</Entities>
<Storyboard>
<Init>
<Actions>
<GlobalAction>
<EnvironmentAction>
<Environment name="Environment1">
<TimeOfDay animation="false" dateTime="2019-06-25T12:00:00"/>
<Weather cloudState="free">
<Sun intensity="0.85" azimuth="0" elevation="1.31"/>
<Fog visualRange="100000.0"/>
<Precipitation precipitationType="dry" intensity="0.0"/>
</Weather>
<RoadCondition frictionScaleFactor="1.0"/>
</Environment>
</EnvironmentAction>
</GlobalAction>
<Private entityRef="hero">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-9.4" y="-152.8" z="0.5" h="1.57079632679"/>
</Position>
</TeleportAction>
</PrivateAction>
<PrivateAction>
<ControllerAction>
<AssignControllerAction>
<Controller name="HeroAgent">
<Properties>
<Property name="module" value="external_control"/>
</Properties>
</Controller>
</AssignControllerAction>
<OverrideControllerValueAction>
<Throttle value="0" active="false"/>
<Brake value="0" active="false"/>
<Clutch value="0" active="false"/>
<ParkingBrake value="0" active="false"/>
<SteeringWheel value="0" active="false"/>
<Gear number="0" active="false"/>
</OverrideControllerValueAction>
</ControllerAction>
</PrivateAction>
</Private>
<Private entityRef="adversary">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-9.4" y="-71.0" z="0.5" h="1.57079632679"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="standing">
<PrivateAction>
<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_7566">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-5.8583760261535645" y="-75.53958892822266" z="0.033760376274585724"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_close_to_adversary_7567">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-15.481805801391602" y="-75.91500091552734" z="0.03379123657941818"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_w_transform_7568">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-1.7256414890289307" y="-3.069317579269409" z="0.5"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_close_to_standing_7569">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="1.261630892753601" y="19.991641998291016" z="0.0030158613808453083"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_close_to_adversary_7570">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-12.140569686889648" y="-64.13341522216797" z="0.03380576893687248"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_w_transform_7571">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-25.412694931030273" y="55.5206413269043" z="0.5"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_close_to_hero_7572">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="9.933524131774902" y="-170.09255981445312" z="0.0014286803780123591"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_w_transform_7573">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="30.46430015563965" y="51.56086349487305" z="0.5"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
</Actions>
</Init>
<Story name="MyStory">
<Act name="Behavior">
<ManeuverGroup maximumExecutionCount="1" name="ManeuverSequence">
<Actors selectTriggeringEntities="false">
<EntityRef entityRef="adversary"/>
</Actors>
<Maneuver name="LaneChangeSimpleManeuver">
<Event name="AdversaryAccelerates" priority="overwrite">
<Action name="AdversaryAccelerates">
<PrivateAction>
<LongitudinalAction>
<SpeedAction>
<SpeedActionDynamics dynamicsShape="step" value="50" dynamicsDimension="distance"/>
<SpeedActionTarget>
<AbsoluteTargetSpeed value="5.0"/>
</SpeedActionTarget>
</SpeedAction>
</LongitudinalAction>
</PrivateAction>
</Action>
<StartTrigger>
<ConditionGroup>
<Condition name="StartCondition" delay="0" conditionEdge="rising">
<ByEntityCondition>
<TriggeringEntities triggeringEntitiesRule="any">
<EntityRef entityRef="hero"/>
</TriggeringEntities>
<EntityCondition>
<RelativeDistanceCondition entityRef="adversary" relativeDistanceType="cartesianDistance" value="40.0" freespace="false" rule="lessThan"/>
</EntityCondition>
</ByEntityCondition>
</Condition>
</ConditionGroup>
</StartTrigger>
</Event>
<Event name="AdversaryChangesLane" priority="overwrite">
<Action name="AdversaryChangesLane">
<PrivateAction>
<LateralAction>
<LaneChangeAction>
<LaneChangeActionDynamics dynamicsShape="linear" value="25" dynamicsDimension="distance"/>
<LaneChangeTarget>
<RelativeTargetLane entityRef="adversary" value="-1"/>
</LaneChangeTarget>
</LaneChangeAction>
</LateralAction>
</PrivateAction>
</Action>
<StartTrigger>
<ConditionGroup>
<Condition name="AfterAdversaryAccelerates" delay="0" conditionEdge="rising">
<ByValueCondition>
<StoryboardElementStateCondition storyboardElementType="action" storyboardElementRef="AdversaryAccelerates" state="completeState"/>
</ByValueCondition>
</Condition>
</ConditionGroup>
</StartTrigger>
</Event>
</Maneuver>
</ManeuverGroup>
<StartTrigger>
<ConditionGroup>
<Condition name="OverallStartCondition" delay="0" conditionEdge="rising">
<ByEntityCondition>
<TriggeringEntities triggeringEntitiesRule="any">
<EntityRef entityRef="hero"/>
</TriggeringEntities>
<EntityCondition>
<TraveledDistanceCondition value="1.0"/>
</EntityCondition>
</ByEntityCondition>
</Condition>
<Condition name="StartTime" delay="0" conditionEdge="rising">
<ByValueCondition>
<SimulationTimeCondition value="0" rule="equalTo"/>
</ByValueCondition>
</Condition>
</ConditionGroup>
</StartTrigger>
<StopTrigger>
<ConditionGroup>
<Condition name="EndCondition" delay="0" conditionEdge="rising">
<ByEntityCondition>
<TriggeringEntities triggeringEntitiesRule="any">
<EntityRef entityRef="hero"/>
</TriggeringEntities>
<EntityCondition>
<TraveledDistanceCondition value="200.0"/>
</EntityCondition>
</ByEntityCondition>
</Condition>
</ConditionGroup>
</StopTrigger>
</Act>
</Story>
<StopTrigger>
<ConditionGroup>
<Condition name="criteria_RunningStopTest" delay="0" conditionEdge="rising">
<ByValueCondition>
<ParameterCondition parameterRef="" value="" rule="lessThan"/>
</ByValueCondition>
</Condition>
<Condition name="criteria_RunningRedLightTest" delay="0" conditionEdge="rising">
<ByValueCondition>
<ParameterCondition parameterRef="" value="" rule="lessThan"/>
</ByValueCondition>
</Condition>
<Condition name="criteria_WrongLaneTest" delay="0" conditionEdge="rising">
<ByValueCondition>
<ParameterCondition parameterRef="" value="" rule="lessThan"/>
</ByValueCondition>
</Condition>
<Condition name="criteria_OnSidewalkTest" delay="0" conditionEdge="rising">
<ByValueCondition>
<ParameterCondition parameterRef="" value="" rule="lessThan"/>
</ByValueCondition>
</Condition>
<Condition name="criteria_KeepLaneTest" delay="0" conditionEdge="rising">
<ByValueCondition>
<ParameterCondition parameterRef="" value="" rule="lessThan"/>
</ByValueCondition>
</Condition>
<Condition name="criteria_CollisionTest" delay="0" conditionEdge="rising">
<ByValueCondition>
<ParameterCondition parameterRef="" value="" rule="lessThan"/>
</ByValueCondition>
</Condition>
<Condition name="criteria_DrivenDistanceTest" delay="0" conditionEdge="rising">
<ByValueCondition>
<ParameterCondition parameterRef="distance_success" value="100" rule="lessThan"/>
</ByValueCondition>
</Condition>
</ConditionGroup>
</StopTrigger>
</Storyboard>
</OpenSCENARIO>
``` |
i would like you to demonstrate add pedestrian at location (-42.64, 15.43, 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_10180">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_w_transform_10181">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_w_transform_10182">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_close_to_adversary_10183">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_close_to_hero_10184">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_w_transform_10185">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_close_to_hero_10186">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_w_transform_10187">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_w_transform_10188">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_close_to_hero_10189">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_close_to_hero_10190">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_w_transform_10191">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_close_to_adversary_10192">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_close_to_standing_10193">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
</Entities>
<Storyboard>
<Init>
<Actions>
<GlobalAction>
<EnvironmentAction>
<Environment name="Environment1">
<TimeOfDay animation="false" dateTime="2019-06-25T12:00:00"/>
<Weather cloudState="free">
<Sun intensity="0.85" azimuth="0" elevation="1.31"/>
<Fog visualRange="100000.0"/>
<Precipitation precipitationType="dry" intensity="0.0"/>
</Weather>
<RoadCondition frictionScaleFactor="1.0"/>
</Environment>
</EnvironmentAction>
</GlobalAction>
<Private entityRef="hero">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-9.4" y="-152.8" z="0.5" h="1.57079632679"/>
</Position>
</TeleportAction>
</PrivateAction>
<PrivateAction>
<ControllerAction>
<AssignControllerAction>
<Controller name="HeroAgent">
<Properties>
<Property name="module" value="external_control"/>
</Properties>
</Controller>
</AssignControllerAction>
<OverrideControllerValueAction>
<Throttle value="0" active="false"/>
<Brake value="0" active="false"/>
<Clutch value="0" active="false"/>
<ParkingBrake value="0" active="false"/>
<SteeringWheel value="0" active="false"/>
<Gear number="0" active="false"/>
</OverrideControllerValueAction>
</ControllerAction>
</PrivateAction>
</Private>
<Private entityRef="adversary">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-9.4" y="-71.0" z="0.5" h="1.57079632679"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="standing">
<PrivateAction>
<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_10180">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-9.930296897888184" y="-75.29595184326172" z="0.033769529312849045"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_w_transform_10181">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="82.54154205322266" y="-3.47711181640625" z="0.5"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_w_transform_10182">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-68.92625427246094" y="-69.45912170410156" z="0.5"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_close_to_adversary_10183">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-9.868918418884277" y="-67.10845947265625" z="0.03380656987428665"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_close_to_hero_10184">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-1.501234531402588" y="-162.41778564453125" z="0.0014286803780123591"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_w_transform_10185">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-65.03742218017578" y="78.39454650878906" z="0.5"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_close_to_hero_10186">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-12.475356101989746" y="-151.4602813720703" z="0.0014286803780123591"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_w_transform_10187">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="4.745352268218994" y="97.3014144897461" z="0.5"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_w_transform_10188">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-73.72199249267578" y="-94.14075469970703" z="0.5"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_close_to_hero_10189">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-12.2315673828125" y="-153.4599609375" z="0.0014286803780123591"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_close_to_hero_10190">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-3.188709259033203" y="-153.2235107421875" z="0.0014286803780123591"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_w_transform_10191">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-16.58169937133789" y="30.7235164642334" z="0.5"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_close_to_adversary_10192">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-12.50991439819336" y="-77.34607696533203" z="0.03377895429730415"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_close_to_standing_10193">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-9.310964584350586" y="16.613428115844727" z="0.0030300139915198088"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
</Actions>
</Init>
<Story name="MyStory">
<Act name="Behavior">
<ManeuverGroup maximumExecutionCount="1" name="ManeuverSequence">
<Actors selectTriggeringEntities="false">
<EntityRef entityRef="adversary"/>
</Actors>
<Maneuver name="LaneChangeSimpleManeuver">
<Event name="AdversaryAccelerates" priority="overwrite">
<Action name="AdversaryAccelerates">
<PrivateAction>
<LongitudinalAction>
<SpeedAction>
<SpeedActionDynamics dynamicsShape="step" value="50" dynamicsDimension="distance"/>
<SpeedActionTarget>
<AbsoluteTargetSpeed value="5.0"/>
</SpeedActionTarget>
</SpeedAction>
</LongitudinalAction>
</PrivateAction>
</Action>
<StartTrigger>
<ConditionGroup>
<Condition name="StartCondition" delay="0" conditionEdge="rising">
<ByEntityCondition>
<TriggeringEntities triggeringEntitiesRule="any">
<EntityRef entityRef="hero"/>
</TriggeringEntities>
<EntityCondition>
<RelativeDistanceCondition entityRef="adversary" relativeDistanceType="cartesianDistance" value="40.0" freespace="false" rule="lessThan"/>
</EntityCondition>
</ByEntityCondition>
</Condition>
</ConditionGroup>
</StartTrigger>
</Event>
<Event name="AdversaryChangesLane" priority="overwrite">
<Action name="AdversaryChangesLane">
<PrivateAction>
<LateralAction>
<LaneChangeAction>
<LaneChangeActionDynamics dynamicsShape="linear" value="25" dynamicsDimension="distance"/>
<LaneChangeTarget>
<RelativeTargetLane entityRef="adversary" value="-1"/>
</LaneChangeTarget>
</LaneChangeAction>
</LateralAction>
</PrivateAction>
</Action>
<StartTrigger>
<ConditionGroup>
<Condition name="AfterAdversaryAccelerates" delay="0" conditionEdge="rising">
<ByValueCondition>
<StoryboardElementStateCondition storyboardElementType="action" storyboardElementRef="AdversaryAccelerates" state="completeState"/>
</ByValueCondition>
</Condition>
</ConditionGroup>
</StartTrigger>
</Event>
</Maneuver>
</ManeuverGroup>
<StartTrigger>
<ConditionGroup>
<Condition name="OverallStartCondition" delay="0" conditionEdge="rising">
<ByEntityCondition>
<TriggeringEntities triggeringEntitiesRule="any">
<EntityRef entityRef="hero"/>
</TriggeringEntities>
<EntityCondition>
<TraveledDistanceCondition value="1.0"/>
</EntityCondition>
</ByEntityCondition>
</Condition>
<Condition name="StartTime" delay="0" conditionEdge="rising">
<ByValueCondition>
<SimulationTimeCondition value="0" rule="equalTo"/>
</ByValueCondition>
</Condition>
</ConditionGroup>
</StartTrigger>
<StopTrigger>
<ConditionGroup>
<Condition name="EndCondition" delay="0" conditionEdge="rising">
<ByEntityCondition>
<TriggeringEntities triggeringEntitiesRule="any">
<EntityRef entityRef="hero"/>
</TriggeringEntities>
<EntityCondition>
<TraveledDistanceCondition value="200.0"/>
</EntityCondition>
</ByEntityCondition>
</Condition>
</ConditionGroup>
</StopTrigger>
</Act>
</Story>
<StopTrigger>
<ConditionGroup>
<Condition name="criteria_RunningStopTest" delay="0" conditionEdge="rising">
<ByValueCondition>
<ParameterCondition parameterRef="" value="" rule="lessThan"/>
</ByValueCondition>
</Condition>
<Condition name="criteria_RunningRedLightTest" delay="0" conditionEdge="rising">
<ByValueCondition>
<ParameterCondition parameterRef="" value="" rule="lessThan"/>
</ByValueCondition>
</Condition>
<Condition name="criteria_WrongLaneTest" delay="0" conditionEdge="rising">
<ByValueCondition>
<ParameterCondition parameterRef="" value="" rule="lessThan"/>
</ByValueCondition>
</Condition>
<Condition name="criteria_OnSidewalkTest" delay="0" conditionEdge="rising">
<ByValueCondition>
<ParameterCondition parameterRef="" value="" rule="lessThan"/>
</ByValueCondition>
</Condition>
<Condition name="criteria_KeepLaneTest" delay="0" conditionEdge="rising">
<ByValueCondition>
<ParameterCondition parameterRef="" value="" rule="lessThan"/>
</ByValueCondition>
</Condition>
<Condition name="criteria_CollisionTest" delay="0" conditionEdge="rising">
<ByValueCondition>
<ParameterCondition parameterRef="" value="" rule="lessThan"/>
</ByValueCondition>
</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_10180">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_w_transform_10181">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_w_transform_10182">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_close_to_adversary_10183">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_close_to_hero_10184">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_w_transform_10185">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_close_to_hero_10186">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_w_transform_10187">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_w_transform_10188">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_close_to_hero_10189">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_close_to_hero_10190">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_w_transform_10191">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_close_to_adversary_10192">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_close_to_standing_10193">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_w_transform_10194">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
</Entities>
<Storyboard>
<Init>
<Actions>
<GlobalAction>
<EnvironmentAction>
<Environment name="Environment1">
<TimeOfDay animation="false" dateTime="2019-06-25T12:00:00"/>
<Weather cloudState="free">
<Sun intensity="0.85" azimuth="0" elevation="1.31"/>
<Fog visualRange="100000.0"/>
<Precipitation precipitationType="dry" intensity="0.0"/>
</Weather>
<RoadCondition frictionScaleFactor="1.0"/>
</Environment>
</EnvironmentAction>
</GlobalAction>
<Private entityRef="hero">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-9.4" y="-152.8" z="0.5" h="1.57079632679"/>
</Position>
</TeleportAction>
</PrivateAction>
<PrivateAction>
<ControllerAction>
<AssignControllerAction>
<Controller name="HeroAgent">
<Properties>
<Property name="module" value="external_control"/>
</Properties>
</Controller>
</AssignControllerAction>
<OverrideControllerValueAction>
<Throttle value="0" active="false"/>
<Brake value="0" active="false"/>
<Clutch value="0" active="false"/>
<ParkingBrake value="0" active="false"/>
<SteeringWheel value="0" active="false"/>
<Gear number="0" active="false"/>
</OverrideControllerValueAction>
</ControllerAction>
</PrivateAction>
</Private>
<Private entityRef="adversary">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-9.4" y="-71.0" z="0.5" h="1.57079632679"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="standing">
<PrivateAction>
<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_10180">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-9.930296897888184" y="-75.29595184326172" z="0.033769529312849045"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_w_transform_10181">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="82.54154205322266" y="-3.47711181640625" z="0.5"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_w_transform_10182">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-68.92625427246094" y="-69.45912170410156" z="0.5"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_close_to_adversary_10183">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-9.868918418884277" y="-67.10845947265625" z="0.03380656987428665"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_close_to_hero_10184">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-1.501234531402588" y="-162.41778564453125" z="0.0014286803780123591"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_w_transform_10185">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-65.03742218017578" y="78.39454650878906" z="0.5"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_close_to_hero_10186">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-12.475356101989746" y="-151.4602813720703" z="0.0014286803780123591"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_w_transform_10187">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="4.745352268218994" y="97.3014144897461" z="0.5"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_w_transform_10188">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-73.72199249267578" y="-94.14075469970703" z="0.5"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_close_to_hero_10189">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-12.2315673828125" y="-153.4599609375" z="0.0014286803780123591"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_close_to_hero_10190">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-3.188709259033203" y="-153.2235107421875" z="0.0014286803780123591"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_w_transform_10191">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-16.58169937133789" y="30.7235164642334" z="0.5"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_close_to_adversary_10192">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-12.50991439819336" y="-77.34607696533203" z="0.03377895429730415"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_close_to_standing_10193">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-9.310964584350586" y="16.613428115844727" z="0.0030300139915198088"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_w_transform_10194">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-42.63800048828125" y="15.431375503540039" z="0.5"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
</Actions>
</Init>
<Story name="MyStory">
<Act name="Behavior">
<ManeuverGroup maximumExecutionCount="1" name="ManeuverSequence">
<Actors selectTriggeringEntities="false">
<EntityRef entityRef="adversary"/>
</Actors>
<Maneuver name="LaneChangeSimpleManeuver">
<Event name="AdversaryAccelerates" priority="overwrite">
<Action name="AdversaryAccelerates">
<PrivateAction>
<LongitudinalAction>
<SpeedAction>
<SpeedActionDynamics dynamicsShape="step" value="50" dynamicsDimension="distance"/>
<SpeedActionTarget>
<AbsoluteTargetSpeed value="5.0"/>
</SpeedActionTarget>
</SpeedAction>
</LongitudinalAction>
</PrivateAction>
</Action>
<StartTrigger>
<ConditionGroup>
<Condition name="StartCondition" delay="0" conditionEdge="rising">
<ByEntityCondition>
<TriggeringEntities triggeringEntitiesRule="any">
<EntityRef entityRef="hero"/>
</TriggeringEntities>
<EntityCondition>
<RelativeDistanceCondition entityRef="adversary" relativeDistanceType="cartesianDistance" value="40.0" freespace="false" rule="lessThan"/>
</EntityCondition>
</ByEntityCondition>
</Condition>
</ConditionGroup>
</StartTrigger>
</Event>
<Event name="AdversaryChangesLane" priority="overwrite">
<Action name="AdversaryChangesLane">
<PrivateAction>
<LateralAction>
<LaneChangeAction>
<LaneChangeActionDynamics dynamicsShape="linear" value="25" dynamicsDimension="distance"/>
<LaneChangeTarget>
<RelativeTargetLane entityRef="adversary" value="-1"/>
</LaneChangeTarget>
</LaneChangeAction>
</LateralAction>
</PrivateAction>
</Action>
<StartTrigger>
<ConditionGroup>
<Condition name="AfterAdversaryAccelerates" delay="0" conditionEdge="rising">
<ByValueCondition>
<StoryboardElementStateCondition storyboardElementType="action" storyboardElementRef="AdversaryAccelerates" state="completeState"/>
</ByValueCondition>
</Condition>
</ConditionGroup>
</StartTrigger>
</Event>
</Maneuver>
</ManeuverGroup>
<StartTrigger>
<ConditionGroup>
<Condition name="OverallStartCondition" delay="0" conditionEdge="rising">
<ByEntityCondition>
<TriggeringEntities triggeringEntitiesRule="any">
<EntityRef entityRef="hero"/>
</TriggeringEntities>
<EntityCondition>
<TraveledDistanceCondition value="1.0"/>
</EntityCondition>
</ByEntityCondition>
</Condition>
<Condition name="StartTime" delay="0" conditionEdge="rising">
<ByValueCondition>
<SimulationTimeCondition value="0" rule="equalTo"/>
</ByValueCondition>
</Condition>
</ConditionGroup>
</StartTrigger>
<StopTrigger>
<ConditionGroup>
<Condition name="EndCondition" delay="0" conditionEdge="rising">
<ByEntityCondition>
<TriggeringEntities triggeringEntitiesRule="any">
<EntityRef entityRef="hero"/>
</TriggeringEntities>
<EntityCondition>
<TraveledDistanceCondition value="200.0"/>
</EntityCondition>
</ByEntityCondition>
</Condition>
</ConditionGroup>
</StopTrigger>
</Act>
</Story>
<StopTrigger>
<ConditionGroup>
<Condition name="criteria_RunningStopTest" delay="0" conditionEdge="rising">
<ByValueCondition>
<ParameterCondition parameterRef="" value="" rule="lessThan"/>
</ByValueCondition>
</Condition>
<Condition name="criteria_RunningRedLightTest" delay="0" conditionEdge="rising">
<ByValueCondition>
<ParameterCondition parameterRef="" value="" rule="lessThan"/>
</ByValueCondition>
</Condition>
<Condition name="criteria_WrongLaneTest" delay="0" conditionEdge="rising">
<ByValueCondition>
<ParameterCondition parameterRef="" value="" rule="lessThan"/>
</ByValueCondition>
</Condition>
<Condition name="criteria_OnSidewalkTest" delay="0" conditionEdge="rising">
<ByValueCondition>
<ParameterCondition parameterRef="" value="" rule="lessThan"/>
</ByValueCondition>
</Condition>
<Condition name="criteria_KeepLaneTest" delay="0" conditionEdge="rising">
<ByValueCondition>
<ParameterCondition parameterRef="" value="" rule="lessThan"/>
</ByValueCondition>
</Condition>
<Condition name="criteria_CollisionTest" delay="0" conditionEdge="rising">
<ByValueCondition>
<ParameterCondition parameterRef="" value="" rule="lessThan"/>
</ByValueCondition>
</Condition>
<Condition name="criteria_DrivenDistanceTest" delay="0" conditionEdge="rising">
<ByValueCondition>
<ParameterCondition parameterRef="distance_success" value="100" rule="lessThan"/>
</ByValueCondition>
</Condition>
</ConditionGroup>
</StopTrigger>
</Storyboard>
</OpenSCENARIO>
``` |
i would like you to display add pedestrian close to standing?
```
<?xml version="1.0" ?>
<OpenSCENARIO>
<FileHeader revMajor="1" revMinor="0" date="2020-03-24T12:00:00" description="CARLA:LaneChangeSimple" author=""/>
<ParameterDeclarations/>
<CatalogLocations/>
<RoadNetwork>
<LogicFile filepath="Town04"/>
<SceneGraphFile filepath=""/>
</RoadNetwork>
<Entities>
<ScenarioObject name="hero">
<Vehicle name="vehicle.tesla.model3" vehicleCategory="car">
<ParameterDeclarations/>
<Performance maxSpeed="69.444" maxAcceleration="200" maxDeceleration="10.0"/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2.1" length="4.5" height="1.8"/>
</BoundingBox>
<Axles>
<FrontAxle maxSteering="0.5" wheelDiameter="0.6" trackWidth="1.8" positionX="3.1" positionZ="0.3"/>
<RearAxle maxSteering="0.0" wheelDiameter="0.6" trackWidth="1.8" positionX="0.0" positionZ="0.3"/>
</Axles>
<Properties>
<Property name="type" value="ego_vehicle"/>
</Properties>
</Vehicle>
</ScenarioObject>
<ScenarioObject name="adversary">
<Vehicle name="vehicle.lincoln.mkz_2017" vehicleCategory="car">
<ParameterDeclarations/>
<Performance maxSpeed="69.444" maxAcceleration="200" maxDeceleration="10.0"/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2.1" length="4.5" height="1.8"/>
</BoundingBox>
<Axles>
<FrontAxle maxSteering="0.5" wheelDiameter="0.6" trackWidth="1.8" positionX="3.1" positionZ="0.3"/>
<RearAxle maxSteering="0.0" wheelDiameter="0.6" trackWidth="1.8" positionX="0.0" positionZ="0.3"/>
</Axles>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Vehicle>
</ScenarioObject>
<ScenarioObject name="standing">
<Vehicle name="vehicle.volkswagen.t2" vehicleCategory="car">
<ParameterDeclarations/>
<Performance maxSpeed="69.444" maxAcceleration="200" maxDeceleration="10.0"/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2.1" length="4.5" height="1.8"/>
</BoundingBox>
<Axles>
<FrontAxle maxSteering="0.5" wheelDiameter="0.6" trackWidth="1.8" positionX="3.1" positionZ="0.3"/>
<RearAxle maxSteering="0.0" wheelDiameter="0.6" trackWidth="1.8" positionX="0.0" positionZ="0.3"/>
</Axles>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Vehicle>
</ScenarioObject>
<ScenarioObject name="pedestrian_close_to_standing_4845">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_w_transform_4846">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_w_transform_4847">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_w_transform_4848">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_close_to_adversary_4850">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_close_to_hero_4851">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_close_to_hero_4852">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_close_to_hero_4854">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_w_transform_4855">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
</Entities>
<Storyboard>
<Init>
<Actions>
<GlobalAction>
<EnvironmentAction>
<Environment name="Environment1">
<TimeOfDay animation="false" dateTime="2019-06-25T12:00:00"/>
<Weather cloudState="free">
<Sun intensity="0.85" azimuth="0" elevation="1.31"/>
<Fog visualRange="100000.0"/>
<Precipitation precipitationType="dry" intensity="0.0"/>
</Weather>
<RoadCondition frictionScaleFactor="1.0"/>
</Environment>
</EnvironmentAction>
</GlobalAction>
<Private entityRef="hero">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-9.4" y="-152.8" z="0.5" h="1.57079632679"/>
</Position>
</TeleportAction>
</PrivateAction>
<PrivateAction>
<ControllerAction>
<AssignControllerAction>
<Controller name="HeroAgent">
<Properties>
<Property name="module" value="external_control"/>
</Properties>
</Controller>
</AssignControllerAction>
<OverrideControllerValueAction>
<Throttle value="0" active="false"/>
<Brake value="0" active="false"/>
<Clutch value="0" active="false"/>
<ParkingBrake value="0" active="false"/>
<SteeringWheel value="0" active="false"/>
<Gear number="0" active="false"/>
</OverrideControllerValueAction>
</ControllerAction>
</PrivateAction>
</Private>
<Private entityRef="adversary">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-9.4" y="-71.0" z="0.5" h="1.57079632679"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="standing">
<PrivateAction>
<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_4845">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-11.8660888671875" y="23.47171401977539" z="0.0030802153050899506"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_w_transform_4846">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="46.93954086303711" y="-21.37372589111328" z="0.5"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_w_transform_4847">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-91.82716369628906" y="45.78129959106445" z="0.5"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_w_transform_4848">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-70.77987670898438" y="-44.14728927612305" z="0.5"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_close_to_adversary_4850">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-2.57473087310791" y="-76.58171081542969" z="0.03384040668606758"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_close_to_hero_4851">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-3.447960376739502" y="-149.23728942871094" z="0.0014286803780123591"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_close_to_hero_4852">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-9.021045684814453" y="-147.25978088378906" z="0.0014286803780123591"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_close_to_hero_4854">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-13.85850715637207" y="-151.97044372558594" z="0.0014286803780123591"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_w_transform_4855">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="23.920536041259766" y="-81.4716567993164" 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_4845">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_w_transform_4846">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_w_transform_4847">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_w_transform_4848">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_close_to_adversary_4850">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_close_to_hero_4851">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_close_to_hero_4852">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_close_to_hero_4854">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_w_transform_4855">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_close_to_standing_4856">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
</Entities>
<Storyboard>
<Init>
<Actions>
<GlobalAction>
<EnvironmentAction>
<Environment name="Environment1">
<TimeOfDay animation="false" dateTime="2019-06-25T12:00:00"/>
<Weather cloudState="free">
<Sun intensity="0.85" azimuth="0" elevation="1.31"/>
<Fog visualRange="100000.0"/>
<Precipitation precipitationType="dry" intensity="0.0"/>
</Weather>
<RoadCondition frictionScaleFactor="1.0"/>
</Environment>
</EnvironmentAction>
</GlobalAction>
<Private entityRef="hero">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-9.4" y="-152.8" z="0.5" h="1.57079632679"/>
</Position>
</TeleportAction>
</PrivateAction>
<PrivateAction>
<ControllerAction>
<AssignControllerAction>
<Controller name="HeroAgent">
<Properties>
<Property name="module" value="external_control"/>
</Properties>
</Controller>
</AssignControllerAction>
<OverrideControllerValueAction>
<Throttle value="0" active="false"/>
<Brake value="0" active="false"/>
<Clutch value="0" active="false"/>
<ParkingBrake value="0" active="false"/>
<SteeringWheel value="0" active="false"/>
<Gear number="0" active="false"/>
</OverrideControllerValueAction>
</ControllerAction>
</PrivateAction>
</Private>
<Private entityRef="adversary">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-9.4" y="-71.0" z="0.5" h="1.57079632679"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="standing">
<PrivateAction>
<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_4845">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-11.8660888671875" y="23.47171401977539" z="0.0030802153050899506"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_w_transform_4846">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="46.93954086303711" y="-21.37372589111328" z="0.5"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_w_transform_4847">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-91.82716369628906" y="45.78129959106445" z="0.5"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_w_transform_4848">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-70.77987670898438" y="-44.14728927612305" z="0.5"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_close_to_adversary_4850">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-2.57473087310791" y="-76.58171081542969" z="0.03384040668606758"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_close_to_hero_4851">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-3.447960376739502" y="-149.23728942871094" z="0.0014286803780123591"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_close_to_hero_4852">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-9.021045684814453" y="-147.25978088378906" z="0.0014286803780123591"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_close_to_hero_4854">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-13.85850715637207" y="-151.97044372558594" z="0.0014286803780123591"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_w_transform_4855">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="23.920536041259766" y="-81.4716567993164" z="0.5"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_close_to_standing_4856">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-9.068074226379395" y="25.649808883666992" z="0.0030281448271125555"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
</Actions>
</Init>
<Story name="MyStory">
<Act name="Behavior">
<ManeuverGroup maximumExecutionCount="1" name="ManeuverSequence">
<Actors selectTriggeringEntities="false">
<EntityRef entityRef="adversary"/>
</Actors>
<Maneuver name="LaneChangeSimpleManeuver">
<Event name="AdversaryAccelerates" priority="overwrite">
<Action name="AdversaryAccelerates">
<PrivateAction>
<LongitudinalAction>
<SpeedAction>
<SpeedActionDynamics dynamicsShape="step" value="50" dynamicsDimension="distance"/>
<SpeedActionTarget>
<AbsoluteTargetSpeed value="5.0"/>
</SpeedActionTarget>
</SpeedAction>
</LongitudinalAction>
</PrivateAction>
</Action>
<StartTrigger>
<ConditionGroup>
<Condition name="StartCondition" delay="0" conditionEdge="rising">
<ByEntityCondition>
<TriggeringEntities triggeringEntitiesRule="any">
<EntityRef entityRef="hero"/>
</TriggeringEntities>
<EntityCondition>
<RelativeDistanceCondition entityRef="adversary" relativeDistanceType="cartesianDistance" value="40.0" freespace="false" rule="lessThan"/>
</EntityCondition>
</ByEntityCondition>
</Condition>
</ConditionGroup>
</StartTrigger>
</Event>
<Event name="AdversaryChangesLane" priority="overwrite">
<Action name="AdversaryChangesLane">
<PrivateAction>
<LateralAction>
<LaneChangeAction>
<LaneChangeActionDynamics dynamicsShape="linear" value="25" dynamicsDimension="distance"/>
<LaneChangeTarget>
<RelativeTargetLane entityRef="adversary" value="-1"/>
</LaneChangeTarget>
</LaneChangeAction>
</LateralAction>
</PrivateAction>
</Action>
<StartTrigger>
<ConditionGroup>
<Condition name="AfterAdversaryAccelerates" delay="0" conditionEdge="rising">
<ByValueCondition>
<StoryboardElementStateCondition storyboardElementType="action" storyboardElementRef="AdversaryAccelerates" state="completeState"/>
</ByValueCondition>
</Condition>
</ConditionGroup>
</StartTrigger>
</Event>
</Maneuver>
</ManeuverGroup>
<StartTrigger>
<ConditionGroup>
<Condition name="OverallStartCondition" delay="0" conditionEdge="rising">
<ByEntityCondition>
<TriggeringEntities triggeringEntitiesRule="any">
<EntityRef entityRef="hero"/>
</TriggeringEntities>
<EntityCondition>
<TraveledDistanceCondition value="1.0"/>
</EntityCondition>
</ByEntityCondition>
</Condition>
<Condition name="StartTime" delay="0" conditionEdge="rising">
<ByValueCondition>
<SimulationTimeCondition value="0" rule="equalTo"/>
</ByValueCondition>
</Condition>
</ConditionGroup>
</StartTrigger>
<StopTrigger>
<ConditionGroup>
<Condition name="EndCondition" delay="0" conditionEdge="rising">
<ByEntityCondition>
<TriggeringEntities triggeringEntitiesRule="any">
<EntityRef entityRef="hero"/>
</TriggeringEntities>
<EntityCondition>
<TraveledDistanceCondition value="200.0"/>
</EntityCondition>
</ByEntityCondition>
</Condition>
</ConditionGroup>
</StopTrigger>
</Act>
</Story>
<StopTrigger>
<ConditionGroup>
<Condition name="criteria_RunningStopTest" delay="0" conditionEdge="rising">
<ByValueCondition>
<ParameterCondition parameterRef="" value="" rule="lessThan"/>
</ByValueCondition>
</Condition>
<Condition name="criteria_RunningRedLightTest" delay="0" conditionEdge="rising">
<ByValueCondition>
<ParameterCondition parameterRef="" value="" rule="lessThan"/>
</ByValueCondition>
</Condition>
<Condition name="criteria_WrongLaneTest" delay="0" conditionEdge="rising">
<ByValueCondition>
<ParameterCondition parameterRef="" value="" rule="lessThan"/>
</ByValueCondition>
</Condition>
<Condition name="criteria_OnSidewalkTest" delay="0" conditionEdge="rising">
<ByValueCondition>
<ParameterCondition parameterRef="" value="" rule="lessThan"/>
</ByValueCondition>
</Condition>
<Condition name="criteria_KeepLaneTest" delay="0" conditionEdge="rising">
<ByValueCondition>
<ParameterCondition parameterRef="" value="" rule="lessThan"/>
</ByValueCondition>
</Condition>
<Condition name="criteria_CollisionTest" delay="0" conditionEdge="rising">
<ByValueCondition>
<ParameterCondition parameterRef="" value="" rule="lessThan"/>
</ByValueCondition>
</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 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_20498">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_close_to_standing_20499">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_close_to_adversary_20500">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_w_transform_20501">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_w_transform_20502">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_close_to_adversary_20503">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_close_to_adversary_20504">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_w_transform_20505">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_close_to_adversary_20506">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_w_transform_20507">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_w_transform_20508">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_close_to_adversary_20509">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_w_transform_20510">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_w_transform_20511">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_w_transform_20512">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_close_to_standing_20513">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_close_to_adversary_20514">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_w_transform_20515">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_close_to_standing_20516">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
</Entities>
<Storyboard>
<Init>
<Actions>
<GlobalAction>
<EnvironmentAction>
<Environment name="Environment1">
<TimeOfDay animation="false" dateTime="2019-06-25T12:00:00"/>
<Weather cloudState="free">
<Sun intensity="0.85" azimuth="0" elevation="1.31"/>
<Fog visualRange="100000.0"/>
<Precipitation precipitationType="dry" intensity="0.0"/>
</Weather>
<RoadCondition frictionScaleFactor="1.0"/>
</Environment>
</EnvironmentAction>
</GlobalAction>
<Private entityRef="hero">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-9.4" y="-152.8" z="0.5" h="1.57079632679"/>
</Position>
</TeleportAction>
</PrivateAction>
<PrivateAction>
<ControllerAction>
<AssignControllerAction>
<Controller name="HeroAgent">
<Properties>
<Property name="module" value="external_control"/>
</Properties>
</Controller>
</AssignControllerAction>
<OverrideControllerValueAction>
<Throttle value="0" active="false"/>
<Brake value="0" active="false"/>
<Clutch value="0" active="false"/>
<ParkingBrake value="0" active="false"/>
<SteeringWheel value="0" active="false"/>
<Gear number="0" active="false"/>
</OverrideControllerValueAction>
</ControllerAction>
</PrivateAction>
</Private>
<Private entityRef="adversary">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-9.4" y="-71.0" z="0.5" h="1.57079632679"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="standing">
<PrivateAction>
<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_20498">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-4.1024556159973145" y="-144.58169555664062" z="0.0014286803780123591"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_close_to_standing_20499">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-8.84028434753418" y="25.803905487060547" z="0.0030565643683075905"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_close_to_adversary_20500">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-6.057346343994141" y="-77.00969696044922" z="0.03380756452679634"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_w_transform_20501">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-53.42975616455078" y="26.265962600708008" z="0.5"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_w_transform_20502">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="39.76858901977539" y="-20.849515914916992" z="0.5"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_close_to_adversary_20503">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-3.6460886001586914" y="-79.0501937866211" z="0.033776625990867615"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_close_to_adversary_20504">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-16.898174285888672" y="-75.7720947265625" z="0.03377418592572212"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_w_transform_20505">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="11.862030029296875" y="-68.00524139404297" z="0.5"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_close_to_adversary_20506">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-5.672579288482666" y="-81.728271484375" z="0.03380405530333519"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_w_transform_20507">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="58.47428512573242" y="-53.71862030029297" z="0.5"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_w_transform_20508">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="41.76274871826172" y="77.88898468017578" z="0.5"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_close_to_adversary_20509">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-9.219928741455078" y="-67.42578887939453" z="0.03377368673682213"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_w_transform_20510">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-92.65049743652344" y="20.9338436126709" z="0.5"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_w_transform_20511">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-68.16449737548828" y="66.46299743652344" z="0.5"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_w_transform_20512">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-32.305084228515625" y="-8.496509552001953" z="0.5"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_close_to_standing_20513">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="0.8563141226768494" y="32.142669677734375" z="0.0031291961204260588"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_close_to_adversary_20514">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-3.0770716667175293" y="-76.67100524902344" z="0.03386474400758743"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_w_transform_20515">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-90.12689208984375" y="-14.000020980834961" z="0.5"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_close_to_standing_20516">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="0.48487651348114014" y="32.49853515625" z="0.0030887604225426912"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
</Actions>
</Init>
<Story name="MyStory">
<Act name="Behavior">
<ManeuverGroup maximumExecutionCount="1" name="ManeuverSequence">
<Actors selectTriggeringEntities="false">
<EntityRef entityRef="adversary"/>
</Actors>
<Maneuver name="LaneChangeSimpleManeuver">
<Event name="AdversaryAccelerates" priority="overwrite">
<Action name="AdversaryAccelerates">
<PrivateAction>
<LongitudinalAction>
<SpeedAction>
<SpeedActionDynamics dynamicsShape="step" value="50" dynamicsDimension="distance"/>
<SpeedActionTarget>
<AbsoluteTargetSpeed value="5.0"/>
</SpeedActionTarget>
</SpeedAction>
</LongitudinalAction>
</PrivateAction>
</Action>
<StartTrigger>
<ConditionGroup>
<Condition name="StartCondition" delay="0" conditionEdge="rising">
<ByEntityCondition>
<TriggeringEntities triggeringEntitiesRule="any">
<EntityRef entityRef="hero"/>
</TriggeringEntities>
<EntityCondition>
<RelativeDistanceCondition entityRef="adversary" relativeDistanceType="cartesianDistance" value="40.0" freespace="false" rule="lessThan"/>
</EntityCondition>
</ByEntityCondition>
</Condition>
</ConditionGroup>
</StartTrigger>
</Event>
<Event name="AdversaryChangesLane" priority="overwrite">
<Action name="AdversaryChangesLane">
<PrivateAction>
<LateralAction>
<LaneChangeAction>
<LaneChangeActionDynamics dynamicsShape="linear" value="25" dynamicsDimension="distance"/>
<LaneChangeTarget>
<RelativeTargetLane entityRef="adversary" value="-1"/>
</LaneChangeTarget>
</LaneChangeAction>
</LateralAction>
</PrivateAction>
</Action>
<StartTrigger>
<ConditionGroup>
<Condition name="AfterAdversaryAccelerates" delay="0" conditionEdge="rising">
<ByValueCondition>
<StoryboardElementStateCondition storyboardElementType="action" storyboardElementRef="AdversaryAccelerates" state="completeState"/>
</ByValueCondition>
</Condition>
</ConditionGroup>
</StartTrigger>
</Event>
</Maneuver>
</ManeuverGroup>
<StartTrigger>
<ConditionGroup>
<Condition name="OverallStartCondition" delay="0" conditionEdge="rising">
<ByEntityCondition>
<TriggeringEntities triggeringEntitiesRule="any">
<EntityRef entityRef="hero"/>
</TriggeringEntities>
<EntityCondition>
<TraveledDistanceCondition value="1.0"/>
</EntityCondition>
</ByEntityCondition>
</Condition>
<Condition name="StartTime" delay="0" conditionEdge="rising">
<ByValueCondition>
<SimulationTimeCondition value="0" rule="equalTo"/>
</ByValueCondition>
</Condition>
</ConditionGroup>
</StartTrigger>
<StopTrigger>
<ConditionGroup>
<Condition name="EndCondition" delay="0" conditionEdge="rising">
<ByEntityCondition>
<TriggeringEntities triggeringEntitiesRule="any">
<EntityRef entityRef="hero"/>
</TriggeringEntities>
<EntityCondition>
<TraveledDistanceCondition value="200.0"/>
</EntityCondition>
</ByEntityCondition>
</Condition>
</ConditionGroup>
</StopTrigger>
</Act>
</Story>
<StopTrigger>
<ConditionGroup>
<Condition name="criteria_RunningStopTest" delay="0" conditionEdge="rising">
<ByValueCondition>
<ParameterCondition parameterRef="" value="" rule="lessThan"/>
</ByValueCondition>
</Condition>
<Condition name="criteria_RunningRedLightTest" delay="0" conditionEdge="rising">
<ByValueCondition>
<ParameterCondition parameterRef="" value="" rule="lessThan"/>
</ByValueCondition>
</Condition>
<Condition name="criteria_WrongLaneTest" delay="0" conditionEdge="rising">
<ByValueCondition>
<ParameterCondition parameterRef="" value="" rule="lessThan"/>
</ByValueCondition>
</Condition>
<Condition name="criteria_OnSidewalkTest" delay="0" conditionEdge="rising">
<ByValueCondition>
<ParameterCondition parameterRef="" value="" rule="lessThan"/>
</ByValueCondition>
</Condition>
<Condition name="criteria_KeepLaneTest" delay="0" conditionEdge="rising">
<ByValueCondition>
<ParameterCondition parameterRef="" value="" rule="lessThan"/>
</ByValueCondition>
</Condition>
<Condition name="criteria_CollisionTest" delay="0" conditionEdge="rising">
<ByValueCondition>
<ParameterCondition parameterRef="" value="" rule="lessThan"/>
</ByValueCondition>
</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_20498">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_close_to_standing_20499">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_close_to_adversary_20500">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_w_transform_20501">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_w_transform_20502">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_close_to_adversary_20503">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_close_to_adversary_20504">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_w_transform_20505">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_close_to_adversary_20506">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_w_transform_20507">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_w_transform_20508">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_close_to_adversary_20509">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_w_transform_20510">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_w_transform_20511">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_w_transform_20512">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_close_to_standing_20513">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_close_to_adversary_20514">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_w_transform_20515">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_close_to_standing_20516">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_close_to_adversary_20517">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
</Entities>
<Storyboard>
<Init>
<Actions>
<GlobalAction>
<EnvironmentAction>
<Environment name="Environment1">
<TimeOfDay animation="false" dateTime="2019-06-25T12:00:00"/>
<Weather cloudState="free">
<Sun intensity="0.85" azimuth="0" elevation="1.31"/>
<Fog visualRange="100000.0"/>
<Precipitation precipitationType="dry" intensity="0.0"/>
</Weather>
<RoadCondition frictionScaleFactor="1.0"/>
</Environment>
</EnvironmentAction>
</GlobalAction>
<Private entityRef="hero">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-9.4" y="-152.8" z="0.5" h="1.57079632679"/>
</Position>
</TeleportAction>
</PrivateAction>
<PrivateAction>
<ControllerAction>
<AssignControllerAction>
<Controller name="HeroAgent">
<Properties>
<Property name="module" value="external_control"/>
</Properties>
</Controller>
</AssignControllerAction>
<OverrideControllerValueAction>
<Throttle value="0" active="false"/>
<Brake value="0" active="false"/>
<Clutch value="0" active="false"/>
<ParkingBrake value="0" active="false"/>
<SteeringWheel value="0" active="false"/>
<Gear number="0" active="false"/>
</OverrideControllerValueAction>
</ControllerAction>
</PrivateAction>
</Private>
<Private entityRef="adversary">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-9.4" y="-71.0" z="0.5" h="1.57079632679"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="standing">
<PrivateAction>
<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_20498">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-4.1024556159973145" y="-144.58169555664062" z="0.0014286803780123591"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_close_to_standing_20499">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-8.84028434753418" y="25.803905487060547" z="0.0030565643683075905"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_close_to_adversary_20500">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-6.057346343994141" y="-77.00969696044922" z="0.03380756452679634"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_w_transform_20501">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-53.42975616455078" y="26.265962600708008" z="0.5"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_w_transform_20502">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="39.76858901977539" y="-20.849515914916992" z="0.5"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_close_to_adversary_20503">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-3.6460886001586914" y="-79.0501937866211" z="0.033776625990867615"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_close_to_adversary_20504">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-16.898174285888672" y="-75.7720947265625" z="0.03377418592572212"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_w_transform_20505">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="11.862030029296875" y="-68.00524139404297" z="0.5"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_close_to_adversary_20506">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-5.672579288482666" y="-81.728271484375" z="0.03380405530333519"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_w_transform_20507">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="58.47428512573242" y="-53.71862030029297" z="0.5"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_w_transform_20508">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="41.76274871826172" y="77.88898468017578" z="0.5"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_close_to_adversary_20509">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-9.219928741455078" y="-67.42578887939453" z="0.03377368673682213"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_w_transform_20510">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-92.65049743652344" y="20.9338436126709" z="0.5"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_w_transform_20511">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-68.16449737548828" y="66.46299743652344" z="0.5"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_w_transform_20512">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-32.305084228515625" y="-8.496509552001953" z="0.5"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_close_to_standing_20513">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="0.8563141226768494" y="32.142669677734375" z="0.0031291961204260588"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_close_to_adversary_20514">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-3.0770716667175293" y="-76.67100524902344" z="0.03386474400758743"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_w_transform_20515">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-90.12689208984375" y="-14.000020980834961" z="0.5"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_close_to_standing_20516">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="0.48487651348114014" y="32.49853515625" z="0.0030887604225426912"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_close_to_adversary_20517">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-9.482333183288574" y="-68.79608154296875" z="0.03380565717816353"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
</Actions>
</Init>
<Story name="MyStory">
<Act name="Behavior">
<ManeuverGroup maximumExecutionCount="1" name="ManeuverSequence">
<Actors selectTriggeringEntities="false">
<EntityRef entityRef="adversary"/>
</Actors>
<Maneuver name="LaneChangeSimpleManeuver">
<Event name="AdversaryAccelerates" priority="overwrite">
<Action name="AdversaryAccelerates">
<PrivateAction>
<LongitudinalAction>
<SpeedAction>
<SpeedActionDynamics dynamicsShape="step" value="50" dynamicsDimension="distance"/>
<SpeedActionTarget>
<AbsoluteTargetSpeed value="5.0"/>
</SpeedActionTarget>
</SpeedAction>
</LongitudinalAction>
</PrivateAction>
</Action>
<StartTrigger>
<ConditionGroup>
<Condition name="StartCondition" delay="0" conditionEdge="rising">
<ByEntityCondition>
<TriggeringEntities triggeringEntitiesRule="any">
<EntityRef entityRef="hero"/>
</TriggeringEntities>
<EntityCondition>
<RelativeDistanceCondition entityRef="adversary" relativeDistanceType="cartesianDistance" value="40.0" freespace="false" rule="lessThan"/>
</EntityCondition>
</ByEntityCondition>
</Condition>
</ConditionGroup>
</StartTrigger>
</Event>
<Event name="AdversaryChangesLane" priority="overwrite">
<Action name="AdversaryChangesLane">
<PrivateAction>
<LateralAction>
<LaneChangeAction>
<LaneChangeActionDynamics dynamicsShape="linear" value="25" dynamicsDimension="distance"/>
<LaneChangeTarget>
<RelativeTargetLane entityRef="adversary" value="-1"/>
</LaneChangeTarget>
</LaneChangeAction>
</LateralAction>
</PrivateAction>
</Action>
<StartTrigger>
<ConditionGroup>
<Condition name="AfterAdversaryAccelerates" delay="0" conditionEdge="rising">
<ByValueCondition>
<StoryboardElementStateCondition storyboardElementType="action" storyboardElementRef="AdversaryAccelerates" state="completeState"/>
</ByValueCondition>
</Condition>
</ConditionGroup>
</StartTrigger>
</Event>
</Maneuver>
</ManeuverGroup>
<StartTrigger>
<ConditionGroup>
<Condition name="OverallStartCondition" delay="0" conditionEdge="rising">
<ByEntityCondition>
<TriggeringEntities triggeringEntitiesRule="any">
<EntityRef entityRef="hero"/>
</TriggeringEntities>
<EntityCondition>
<TraveledDistanceCondition value="1.0"/>
</EntityCondition>
</ByEntityCondition>
</Condition>
<Condition name="StartTime" delay="0" conditionEdge="rising">
<ByValueCondition>
<SimulationTimeCondition value="0" rule="equalTo"/>
</ByValueCondition>
</Condition>
</ConditionGroup>
</StartTrigger>
<StopTrigger>
<ConditionGroup>
<Condition name="EndCondition" delay="0" conditionEdge="rising">
<ByEntityCondition>
<TriggeringEntities triggeringEntitiesRule="any">
<EntityRef entityRef="hero"/>
</TriggeringEntities>
<EntityCondition>
<TraveledDistanceCondition value="200.0"/>
</EntityCondition>
</ByEntityCondition>
</Condition>
</ConditionGroup>
</StopTrigger>
</Act>
</Story>
<StopTrigger>
<ConditionGroup>
<Condition name="criteria_RunningStopTest" delay="0" conditionEdge="rising">
<ByValueCondition>
<ParameterCondition parameterRef="" value="" rule="lessThan"/>
</ByValueCondition>
</Condition>
<Condition name="criteria_RunningRedLightTest" delay="0" conditionEdge="rising">
<ByValueCondition>
<ParameterCondition parameterRef="" value="" rule="lessThan"/>
</ByValueCondition>
</Condition>
<Condition name="criteria_WrongLaneTest" delay="0" conditionEdge="rising">
<ByValueCondition>
<ParameterCondition parameterRef="" value="" rule="lessThan"/>
</ByValueCondition>
</Condition>
<Condition name="criteria_OnSidewalkTest" delay="0" conditionEdge="rising">
<ByValueCondition>
<ParameterCondition parameterRef="" value="" rule="lessThan"/>
</ByValueCondition>
</Condition>
<Condition name="criteria_KeepLaneTest" delay="0" conditionEdge="rising">
<ByValueCondition>
<ParameterCondition parameterRef="" value="" rule="lessThan"/>
</ByValueCondition>
</Condition>
<Condition name="criteria_CollisionTest" delay="0" conditionEdge="rising">
<ByValueCondition>
<ParameterCondition parameterRef="" value="" rule="lessThan"/>
</ByValueCondition>
</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 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_12819">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_w_transform_12820">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_close_to_standing_12822">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_w_transform_12823">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_w_transform_12824">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_w_transform_12825">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_close_to_hero_12826">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_w_transform_12827">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_w_transform_12828">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_close_to_standing_12829">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_w_transform_12830">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_close_to_hero_12831">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_w_transform_12832">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_close_to_adversary_12833">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_close_to_standing_12834">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_close_to_hero_12835">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_w_transform_12836">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_close_to_adversary_12837">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_w_transform_12838">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_close_to_adversary_12839">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
</Entities>
<Storyboard>
<Init>
<Actions>
<GlobalAction>
<EnvironmentAction>
<Environment name="Environment1">
<TimeOfDay animation="false" dateTime="2019-06-25T12:00:00"/>
<Weather cloudState="free">
<Sun intensity="0.85" azimuth="0" elevation="1.31"/>
<Fog visualRange="100000.0"/>
<Precipitation precipitationType="dry" intensity="0.0"/>
</Weather>
<RoadCondition frictionScaleFactor="1.0"/>
</Environment>
</EnvironmentAction>
</GlobalAction>
<Private entityRef="hero">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-9.4" y="-152.8" z="0.5" h="1.57079632679"/>
</Position>
</TeleportAction>
</PrivateAction>
<PrivateAction>
<ControllerAction>
<AssignControllerAction>
<Controller name="HeroAgent">
<Properties>
<Property name="module" value="external_control"/>
</Properties>
</Controller>
</AssignControllerAction>
<OverrideControllerValueAction>
<Throttle value="0" active="false"/>
<Brake value="0" active="false"/>
<Clutch value="0" active="false"/>
<ParkingBrake value="0" active="false"/>
<SteeringWheel value="0" active="false"/>
<Gear number="0" active="false"/>
</OverrideControllerValueAction>
</ControllerAction>
</PrivateAction>
</Private>
<Private entityRef="adversary">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-9.4" y="-71.0" z="0.5" h="1.57079632679"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="standing">
<PrivateAction>
<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_12819">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-19.016525268554688" y="-158.45947265625" z="0.0014286803780123591"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_w_transform_12820">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="99.87788391113281" y="47.55167007446289" z="0.5"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_close_to_standing_12822">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-1.5339702367782593" y="29.89689826965332" z="0.0030711363069713116"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_w_transform_12823">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="25.116504669189453" y="93.49530792236328" z="0.5"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_w_transform_12824">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="34.83977508544922" y="-31.159770965576172" z="0.5"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_w_transform_12825">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="12.098278999328613" y="15.82284927368164" z="0.5"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_close_to_hero_12826">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-9.001594543457031" y="-156.32077026367188" z="0.0014286803780123591"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_w_transform_12827">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="15.822275161743164" y="-39.2078742980957" z="0.5"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_w_transform_12828">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="75.90467071533203" y="-0.7950302362442017" z="0.5"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_close_to_standing_12829">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="7.357840538024902" y="18.88367462158203" z="0.003043556120246649"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_w_transform_12830">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-17.06610107421875" y="93.81343841552734" z="0.5"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_close_to_hero_12831">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-1.2575581073760986" y="-144.87318420410156" z="0.0014286803780123591"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_w_transform_12832">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-78.96492004394531" y="-42.5011100769043" z="0.5"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_close_to_adversary_12833">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-15.473791122436523" y="-65.37358856201172" z="0.033830489963293076"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_close_to_standing_12834">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="11.355249404907227" y="31.6479549407959" z="0.0030803680419921875"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_close_to_hero_12835">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-15.656881332397461" y="-144.6458282470703" z="0.0014286803780123591"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_w_transform_12836">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-23.476350784301758" y="78.99256134033203" z="0.5"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_close_to_adversary_12837">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-6.759278297424316" y="-61.69599533081055" z="0.0337933711707592"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_w_transform_12838">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-47.24639892578125" y="83.38346862792969" z="0.5"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_close_to_adversary_12839">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-7.158602237701416" y="-48.31147003173828" z="0.03382633253931999"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
</Actions>
</Init>
<Story name="MyStory">
<Act name="Behavior">
<ManeuverGroup maximumExecutionCount="1" name="ManeuverSequence">
<Actors selectTriggeringEntities="false">
<EntityRef entityRef="adversary"/>
</Actors>
<Maneuver name="LaneChangeSimpleManeuver">
<Event name="AdversaryAccelerates" priority="overwrite">
<Action name="AdversaryAccelerates">
<PrivateAction>
<LongitudinalAction>
<SpeedAction>
<SpeedActionDynamics dynamicsShape="step" value="50" dynamicsDimension="distance"/>
<SpeedActionTarget>
<AbsoluteTargetSpeed value="5.0"/>
</SpeedActionTarget>
</SpeedAction>
</LongitudinalAction>
</PrivateAction>
</Action>
<StartTrigger>
<ConditionGroup>
<Condition name="StartCondition" delay="0" conditionEdge="rising">
<ByEntityCondition>
<TriggeringEntities triggeringEntitiesRule="any">
<EntityRef entityRef="hero"/>
</TriggeringEntities>
<EntityCondition>
<RelativeDistanceCondition entityRef="adversary" relativeDistanceType="cartesianDistance" value="40.0" freespace="false" rule="lessThan"/>
</EntityCondition>
</ByEntityCondition>
</Condition>
</ConditionGroup>
</StartTrigger>
</Event>
<Event name="AdversaryChangesLane" priority="overwrite">
<Action name="AdversaryChangesLane">
<PrivateAction>
<LateralAction>
<LaneChangeAction>
<LaneChangeActionDynamics dynamicsShape="linear" value="25" dynamicsDimension="distance"/>
<LaneChangeTarget>
<RelativeTargetLane entityRef="adversary" value="-1"/>
</LaneChangeTarget>
</LaneChangeAction>
</LateralAction>
</PrivateAction>
</Action>
<StartTrigger>
<ConditionGroup>
<Condition name="AfterAdversaryAccelerates" delay="0" conditionEdge="rising">
<ByValueCondition>
<StoryboardElementStateCondition storyboardElementType="action" storyboardElementRef="AdversaryAccelerates" state="completeState"/>
</ByValueCondition>
</Condition>
</ConditionGroup>
</StartTrigger>
</Event>
</Maneuver>
</ManeuverGroup>
<StartTrigger>
<ConditionGroup>
<Condition name="OverallStartCondition" delay="0" conditionEdge="rising">
<ByEntityCondition>
<TriggeringEntities triggeringEntitiesRule="any">
<EntityRef entityRef="hero"/>
</TriggeringEntities>
<EntityCondition>
<TraveledDistanceCondition value="1.0"/>
</EntityCondition>
</ByEntityCondition>
</Condition>
<Condition name="StartTime" delay="0" conditionEdge="rising">
<ByValueCondition>
<SimulationTimeCondition value="0" rule="equalTo"/>
</ByValueCondition>
</Condition>
</ConditionGroup>
</StartTrigger>
<StopTrigger>
<ConditionGroup>
<Condition name="EndCondition" delay="0" conditionEdge="rising">
<ByEntityCondition>
<TriggeringEntities triggeringEntitiesRule="any">
<EntityRef entityRef="hero"/>
</TriggeringEntities>
<EntityCondition>
<TraveledDistanceCondition value="200.0"/>
</EntityCondition>
</ByEntityCondition>
</Condition>
</ConditionGroup>
</StopTrigger>
</Act>
</Story>
<StopTrigger>
<ConditionGroup>
<Condition name="criteria_RunningStopTest" delay="0" conditionEdge="rising">
<ByValueCondition>
<ParameterCondition parameterRef="" value="" rule="lessThan"/>
</ByValueCondition>
</Condition>
<Condition name="criteria_RunningRedLightTest" delay="0" conditionEdge="rising">
<ByValueCondition>
<ParameterCondition parameterRef="" value="" rule="lessThan"/>
</ByValueCondition>
</Condition>
<Condition name="criteria_WrongLaneTest" delay="0" conditionEdge="rising">
<ByValueCondition>
<ParameterCondition parameterRef="" value="" rule="lessThan"/>
</ByValueCondition>
</Condition>
<Condition name="criteria_OnSidewalkTest" delay="0" conditionEdge="rising">
<ByValueCondition>
<ParameterCondition parameterRef="" value="" rule="lessThan"/>
</ByValueCondition>
</Condition>
<Condition name="criteria_KeepLaneTest" delay="0" conditionEdge="rising">
<ByValueCondition>
<ParameterCondition parameterRef="" value="" rule="lessThan"/>
</ByValueCondition>
</Condition>
<Condition name="criteria_CollisionTest" delay="0" conditionEdge="rising">
<ByValueCondition>
<ParameterCondition parameterRef="" value="" rule="lessThan"/>
</ByValueCondition>
</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_12819">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_w_transform_12820">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_close_to_standing_12822">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_w_transform_12823">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_w_transform_12824">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_w_transform_12825">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_close_to_hero_12826">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_w_transform_12827">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_w_transform_12828">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_close_to_standing_12829">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_w_transform_12830">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_close_to_hero_12831">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_w_transform_12832">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_close_to_adversary_12833">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_close_to_standing_12834">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_close_to_hero_12835">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_w_transform_12836">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_close_to_adversary_12837">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_w_transform_12838">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_close_to_adversary_12839">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_close_to_standing_12840">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
</Entities>
<Storyboard>
<Init>
<Actions>
<GlobalAction>
<EnvironmentAction>
<Environment name="Environment1">
<TimeOfDay animation="false" dateTime="2019-06-25T12:00:00"/>
<Weather cloudState="free">
<Sun intensity="0.85" azimuth="0" elevation="1.31"/>
<Fog visualRange="100000.0"/>
<Precipitation precipitationType="dry" intensity="0.0"/>
</Weather>
<RoadCondition frictionScaleFactor="1.0"/>
</Environment>
</EnvironmentAction>
</GlobalAction>
<Private entityRef="hero">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-9.4" y="-152.8" z="0.5" h="1.57079632679"/>
</Position>
</TeleportAction>
</PrivateAction>
<PrivateAction>
<ControllerAction>
<AssignControllerAction>
<Controller name="HeroAgent">
<Properties>
<Property name="module" value="external_control"/>
</Properties>
</Controller>
</AssignControllerAction>
<OverrideControllerValueAction>
<Throttle value="0" active="false"/>
<Brake value="0" active="false"/>
<Clutch value="0" active="false"/>
<ParkingBrake value="0" active="false"/>
<SteeringWheel value="0" active="false"/>
<Gear number="0" active="false"/>
</OverrideControllerValueAction>
</ControllerAction>
</PrivateAction>
</Private>
<Private entityRef="adversary">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-9.4" y="-71.0" z="0.5" h="1.57079632679"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="standing">
<PrivateAction>
<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_12819">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-19.016525268554688" y="-158.45947265625" z="0.0014286803780123591"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_w_transform_12820">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="99.87788391113281" y="47.55167007446289" z="0.5"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_close_to_standing_12822">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-1.5339702367782593" y="29.89689826965332" z="0.0030711363069713116"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_w_transform_12823">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="25.116504669189453" y="93.49530792236328" z="0.5"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_w_transform_12824">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="34.83977508544922" y="-31.159770965576172" z="0.5"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_w_transform_12825">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="12.098278999328613" y="15.82284927368164" z="0.5"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_close_to_hero_12826">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-9.001594543457031" y="-156.32077026367188" z="0.0014286803780123591"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_w_transform_12827">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="15.822275161743164" y="-39.2078742980957" z="0.5"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_w_transform_12828">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="75.90467071533203" y="-0.7950302362442017" z="0.5"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_close_to_standing_12829">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="7.357840538024902" y="18.88367462158203" z="0.003043556120246649"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_w_transform_12830">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-17.06610107421875" y="93.81343841552734" z="0.5"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_close_to_hero_12831">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-1.2575581073760986" y="-144.87318420410156" z="0.0014286803780123591"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_w_transform_12832">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-78.96492004394531" y="-42.5011100769043" z="0.5"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_close_to_adversary_12833">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-15.473791122436523" y="-65.37358856201172" z="0.033830489963293076"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_close_to_standing_12834">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="11.355249404907227" y="31.6479549407959" z="0.0030803680419921875"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_close_to_hero_12835">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-15.656881332397461" y="-144.6458282470703" z="0.0014286803780123591"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_w_transform_12836">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-23.476350784301758" y="78.99256134033203" z="0.5"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_close_to_adversary_12837">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-6.759278297424316" y="-61.69599533081055" z="0.0337933711707592"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_w_transform_12838">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-47.24639892578125" y="83.38346862792969" z="0.5"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_close_to_adversary_12839">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-7.158602237701416" y="-48.31147003173828" z="0.03382633253931999"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_close_to_standing_12840">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-10.178686141967773" y="20.34104347229004" z="0.0030379865784198046"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
</Actions>
</Init>
<Story name="MyStory">
<Act name="Behavior">
<ManeuverGroup maximumExecutionCount="1" name="ManeuverSequence">
<Actors selectTriggeringEntities="false">
<EntityRef entityRef="adversary"/>
</Actors>
<Maneuver name="LaneChangeSimpleManeuver">
<Event name="AdversaryAccelerates" priority="overwrite">
<Action name="AdversaryAccelerates">
<PrivateAction>
<LongitudinalAction>
<SpeedAction>
<SpeedActionDynamics dynamicsShape="step" value="50" dynamicsDimension="distance"/>
<SpeedActionTarget>
<AbsoluteTargetSpeed value="5.0"/>
</SpeedActionTarget>
</SpeedAction>
</LongitudinalAction>
</PrivateAction>
</Action>
<StartTrigger>
<ConditionGroup>
<Condition name="StartCondition" delay="0" conditionEdge="rising">
<ByEntityCondition>
<TriggeringEntities triggeringEntitiesRule="any">
<EntityRef entityRef="hero"/>
</TriggeringEntities>
<EntityCondition>
<RelativeDistanceCondition entityRef="adversary" relativeDistanceType="cartesianDistance" value="40.0" freespace="false" rule="lessThan"/>
</EntityCondition>
</ByEntityCondition>
</Condition>
</ConditionGroup>
</StartTrigger>
</Event>
<Event name="AdversaryChangesLane" priority="overwrite">
<Action name="AdversaryChangesLane">
<PrivateAction>
<LateralAction>
<LaneChangeAction>
<LaneChangeActionDynamics dynamicsShape="linear" value="25" dynamicsDimension="distance"/>
<LaneChangeTarget>
<RelativeTargetLane entityRef="adversary" value="-1"/>
</LaneChangeTarget>
</LaneChangeAction>
</LateralAction>
</PrivateAction>
</Action>
<StartTrigger>
<ConditionGroup>
<Condition name="AfterAdversaryAccelerates" delay="0" conditionEdge="rising">
<ByValueCondition>
<StoryboardElementStateCondition storyboardElementType="action" storyboardElementRef="AdversaryAccelerates" state="completeState"/>
</ByValueCondition>
</Condition>
</ConditionGroup>
</StartTrigger>
</Event>
</Maneuver>
</ManeuverGroup>
<StartTrigger>
<ConditionGroup>
<Condition name="OverallStartCondition" delay="0" conditionEdge="rising">
<ByEntityCondition>
<TriggeringEntities triggeringEntitiesRule="any">
<EntityRef entityRef="hero"/>
</TriggeringEntities>
<EntityCondition>
<TraveledDistanceCondition value="1.0"/>
</EntityCondition>
</ByEntityCondition>
</Condition>
<Condition name="StartTime" delay="0" conditionEdge="rising">
<ByValueCondition>
<SimulationTimeCondition value="0" rule="equalTo"/>
</ByValueCondition>
</Condition>
</ConditionGroup>
</StartTrigger>
<StopTrigger>
<ConditionGroup>
<Condition name="EndCondition" delay="0" conditionEdge="rising">
<ByEntityCondition>
<TriggeringEntities triggeringEntitiesRule="any">
<EntityRef entityRef="hero"/>
</TriggeringEntities>
<EntityCondition>
<TraveledDistanceCondition value="200.0"/>
</EntityCondition>
</ByEntityCondition>
</Condition>
</ConditionGroup>
</StopTrigger>
</Act>
</Story>
<StopTrigger>
<ConditionGroup>
<Condition name="criteria_RunningStopTest" delay="0" conditionEdge="rising">
<ByValueCondition>
<ParameterCondition parameterRef="" value="" rule="lessThan"/>
</ByValueCondition>
</Condition>
<Condition name="criteria_RunningRedLightTest" delay="0" conditionEdge="rising">
<ByValueCondition>
<ParameterCondition parameterRef="" value="" rule="lessThan"/>
</ByValueCondition>
</Condition>
<Condition name="criteria_WrongLaneTest" delay="0" conditionEdge="rising">
<ByValueCondition>
<ParameterCondition parameterRef="" value="" rule="lessThan"/>
</ByValueCondition>
</Condition>
<Condition name="criteria_OnSidewalkTest" delay="0" conditionEdge="rising">
<ByValueCondition>
<ParameterCondition parameterRef="" value="" rule="lessThan"/>
</ByValueCondition>
</Condition>
<Condition name="criteria_KeepLaneTest" delay="0" conditionEdge="rising">
<ByValueCondition>
<ParameterCondition parameterRef="" value="" rule="lessThan"/>
</ByValueCondition>
</Condition>
<Condition name="criteria_CollisionTest" delay="0" conditionEdge="rising">
<ByValueCondition>
<ParameterCondition parameterRef="" value="" rule="lessThan"/>
</ByValueCondition>
</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_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_close_to_standing_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_close_to_standing_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_close_to_adversary_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_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_standing_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_w_transform_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_close_to_adversary_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>
<ScenarioObject name="pedestrian_w_transform_15153">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_w_transform_15154">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_close_to_adversary_15155">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_w_transform_15156">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_close_to_hero_15157">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_w_transform_15158">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_close_to_adversary_15159">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_w_transform_15160">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_w_transform_15161">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_w_transform_15162">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
</Entities>
<Storyboard>
<Init>
<Actions>
<GlobalAction>
<EnvironmentAction>
<Environment name="Environment1">
<TimeOfDay animation="false" dateTime="2019-06-25T12:00:00"/>
<Weather cloudState="free">
<Sun intensity="0.85" azimuth="0" elevation="1.31"/>
<Fog visualRange="100000.0"/>
<Precipitation precipitationType="dry" intensity="0.0"/>
</Weather>
<RoadCondition frictionScaleFactor="1.0"/>
</Environment>
</EnvironmentAction>
</GlobalAction>
<Private entityRef="hero">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-9.4" y="-152.8" z="0.5" h="1.57079632679"/>
</Position>
</TeleportAction>
</PrivateAction>
<PrivateAction>
<ControllerAction>
<AssignControllerAction>
<Controller name="HeroAgent">
<Properties>
<Property name="module" value="external_control"/>
</Properties>
</Controller>
</AssignControllerAction>
<OverrideControllerValueAction>
<Throttle value="0" active="false"/>
<Brake value="0" active="false"/>
<Clutch value="0" active="false"/>
<ParkingBrake value="0" active="false"/>
<SteeringWheel value="0" active="false"/>
<Gear number="0" active="false"/>
</OverrideControllerValueAction>
</ControllerAction>
</PrivateAction>
</Private>
<Private entityRef="adversary">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-9.4" y="-71.0" z="0.5" h="1.57079632679"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="standing">
<PrivateAction>
<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_15141">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-11.710551261901855" y="21.610864639282227" z="0.003075294429436326"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_close_to_standing_15142">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-11.37226676940918" y="28.09790802001953" z="0.003057403489947319"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_close_to_standing_15143">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-0.9164536595344543" y="38.15870666503906" z="0.0030556106939911842"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_w_transform_15144">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="24.399765014648438" y="34.83830642700195" z="0.5"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_w_transform_15145">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-47.296043395996094" y="82.37483215332031" z="0.5"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_close_to_hero_15146">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-13.599766731262207" y="-156.00790405273438" z="0.0014286803780123591"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_close_to_adversary_15147">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-10.632906913757324" y="-66.64019775390625" z="0.03378501906991005"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_w_transform_15149">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="87.33012390136719" y="-0.8539180755615234" z="0.5"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_close_to_standing_15150">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-14.47346305847168" y="27.884090423583984" z="0.0031020354945212603"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_w_transform_15151">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-58.376808166503906" y="30.03996467590332" z="0.5"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_close_to_adversary_15152">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-5.874452114105225" y="-84.54041290283203" z="0.03381114825606346"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_w_transform_15153">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-2.134519577026367" y="30.87950897216797" z="0.5"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_w_transform_15154">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-26.692630767822266" y="32.814353942871094" z="0.5"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_close_to_adversary_15155">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-2.2107455730438232" y="-66.67487335205078" z="0.0338168703019619"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_w_transform_15156">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="33.428428649902344" y="72.56458282470703" z="0.5"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_close_to_hero_15157">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-15.228299140930176" y="-159.43421936035156" z="0.0014286803780123591"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_w_transform_15158">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="10.778512001037598" y="-80.10952758789062" z="0.5"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_close_to_adversary_15159">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-16.397903442382812" y="-65.87897491455078" z="0.033884163945913315"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_w_transform_15160">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="2.3810842037200928" y="-48.80293655395508" z="0.5"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_w_transform_15161">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="70.95735931396484" y="6.056235313415527" z="0.5"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_w_transform_15162">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="41.60602569580078" y="-57.240482330322266" 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_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_close_to_standing_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_close_to_standing_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_close_to_adversary_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_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_standing_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_w_transform_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_close_to_adversary_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>
<ScenarioObject name="pedestrian_w_transform_15153">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_w_transform_15154">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_close_to_adversary_15155">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_w_transform_15156">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_close_to_hero_15157">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_w_transform_15158">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_close_to_adversary_15159">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_w_transform_15160">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_w_transform_15161">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_w_transform_15162">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_close_to_adversary_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>
</Entities>
<Storyboard>
<Init>
<Actions>
<GlobalAction>
<EnvironmentAction>
<Environment name="Environment1">
<TimeOfDay animation="false" dateTime="2019-06-25T12:00:00"/>
<Weather cloudState="free">
<Sun intensity="0.85" azimuth="0" elevation="1.31"/>
<Fog visualRange="100000.0"/>
<Precipitation precipitationType="dry" intensity="0.0"/>
</Weather>
<RoadCondition frictionScaleFactor="1.0"/>
</Environment>
</EnvironmentAction>
</GlobalAction>
<Private entityRef="hero">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-9.4" y="-152.8" z="0.5" h="1.57079632679"/>
</Position>
</TeleportAction>
</PrivateAction>
<PrivateAction>
<ControllerAction>
<AssignControllerAction>
<Controller name="HeroAgent">
<Properties>
<Property name="module" value="external_control"/>
</Properties>
</Controller>
</AssignControllerAction>
<OverrideControllerValueAction>
<Throttle value="0" active="false"/>
<Brake value="0" active="false"/>
<Clutch value="0" active="false"/>
<ParkingBrake value="0" active="false"/>
<SteeringWheel value="0" active="false"/>
<Gear number="0" active="false"/>
</OverrideControllerValueAction>
</ControllerAction>
</PrivateAction>
</Private>
<Private entityRef="adversary">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-9.4" y="-71.0" z="0.5" h="1.57079632679"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="standing">
<PrivateAction>
<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_15141">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-11.710551261901855" y="21.610864639282227" z="0.003075294429436326"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_close_to_standing_15142">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-11.37226676940918" y="28.09790802001953" z="0.003057403489947319"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_close_to_standing_15143">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-0.9164536595344543" y="38.15870666503906" z="0.0030556106939911842"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_w_transform_15144">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="24.399765014648438" y="34.83830642700195" z="0.5"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_w_transform_15145">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-47.296043395996094" y="82.37483215332031" z="0.5"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_close_to_hero_15146">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-13.599766731262207" y="-156.00790405273438" z="0.0014286803780123591"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_close_to_adversary_15147">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-10.632906913757324" y="-66.64019775390625" z="0.03378501906991005"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_w_transform_15149">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="87.33012390136719" y="-0.8539180755615234" z="0.5"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_close_to_standing_15150">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-14.47346305847168" y="27.884090423583984" z="0.0031020354945212603"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_w_transform_15151">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-58.376808166503906" y="30.03996467590332" z="0.5"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_close_to_adversary_15152">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-5.874452114105225" y="-84.54041290283203" z="0.03381114825606346"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_w_transform_15153">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-2.134519577026367" y="30.87950897216797" z="0.5"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_w_transform_15154">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-26.692630767822266" y="32.814353942871094" z="0.5"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_close_to_adversary_15155">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-2.2107455730438232" y="-66.67487335205078" z="0.0338168703019619"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_w_transform_15156">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="33.428428649902344" y="72.56458282470703" z="0.5"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_close_to_hero_15157">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-15.228299140930176" y="-159.43421936035156" z="0.0014286803780123591"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_w_transform_15158">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="10.778512001037598" y="-80.10952758789062" z="0.5"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_close_to_adversary_15159">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-16.397903442382812" y="-65.87897491455078" z="0.033884163945913315"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_w_transform_15160">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="2.3810842037200928" y="-48.80293655395508" z="0.5"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_w_transform_15161">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="70.95735931396484" y="6.056235313415527" z="0.5"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_w_transform_15162">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="41.60602569580078" y="-57.240482330322266" z="0.5"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_close_to_adversary_15163">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-15.921927452087402" y="-63.34566116333008" z="0.03382343053817749"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
</Actions>
</Init>
<Story name="MyStory">
<Act name="Behavior">
<ManeuverGroup maximumExecutionCount="1" name="ManeuverSequence">
<Actors selectTriggeringEntities="false">
<EntityRef entityRef="adversary"/>
</Actors>
<Maneuver name="LaneChangeSimpleManeuver">
<Event name="AdversaryAccelerates" priority="overwrite">
<Action name="AdversaryAccelerates">
<PrivateAction>
<LongitudinalAction>
<SpeedAction>
<SpeedActionDynamics dynamicsShape="step" value="50" dynamicsDimension="distance"/>
<SpeedActionTarget>
<AbsoluteTargetSpeed value="5.0"/>
</SpeedActionTarget>
</SpeedAction>
</LongitudinalAction>
</PrivateAction>
</Action>
<StartTrigger>
<ConditionGroup>
<Condition name="StartCondition" delay="0" conditionEdge="rising">
<ByEntityCondition>
<TriggeringEntities triggeringEntitiesRule="any">
<EntityRef entityRef="hero"/>
</TriggeringEntities>
<EntityCondition>
<RelativeDistanceCondition entityRef="adversary" relativeDistanceType="cartesianDistance" value="40.0" freespace="false" rule="lessThan"/>
</EntityCondition>
</ByEntityCondition>
</Condition>
</ConditionGroup>
</StartTrigger>
</Event>
<Event name="AdversaryChangesLane" priority="overwrite">
<Action name="AdversaryChangesLane">
<PrivateAction>
<LateralAction>
<LaneChangeAction>
<LaneChangeActionDynamics dynamicsShape="linear" value="25" dynamicsDimension="distance"/>
<LaneChangeTarget>
<RelativeTargetLane entityRef="adversary" value="-1"/>
</LaneChangeTarget>
</LaneChangeAction>
</LateralAction>
</PrivateAction>
</Action>
<StartTrigger>
<ConditionGroup>
<Condition name="AfterAdversaryAccelerates" delay="0" conditionEdge="rising">
<ByValueCondition>
<StoryboardElementStateCondition storyboardElementType="action" storyboardElementRef="AdversaryAccelerates" state="completeState"/>
</ByValueCondition>
</Condition>
</ConditionGroup>
</StartTrigger>
</Event>
</Maneuver>
</ManeuverGroup>
<StartTrigger>
<ConditionGroup>
<Condition name="OverallStartCondition" delay="0" conditionEdge="rising">
<ByEntityCondition>
<TriggeringEntities triggeringEntitiesRule="any">
<EntityRef entityRef="hero"/>
</TriggeringEntities>
<EntityCondition>
<TraveledDistanceCondition value="1.0"/>
</EntityCondition>
</ByEntityCondition>
</Condition>
<Condition name="StartTime" delay="0" conditionEdge="rising">
<ByValueCondition>
<SimulationTimeCondition value="0" rule="equalTo"/>
</ByValueCondition>
</Condition>
</ConditionGroup>
</StartTrigger>
<StopTrigger>
<ConditionGroup>
<Condition name="EndCondition" delay="0" conditionEdge="rising">
<ByEntityCondition>
<TriggeringEntities triggeringEntitiesRule="any">
<EntityRef entityRef="hero"/>
</TriggeringEntities>
<EntityCondition>
<TraveledDistanceCondition value="200.0"/>
</EntityCondition>
</ByEntityCondition>
</Condition>
</ConditionGroup>
</StopTrigger>
</Act>
</Story>
<StopTrigger>
<ConditionGroup>
<Condition name="criteria_RunningStopTest" delay="0" conditionEdge="rising">
<ByValueCondition>
<ParameterCondition parameterRef="" value="" rule="lessThan"/>
</ByValueCondition>
</Condition>
<Condition name="criteria_RunningRedLightTest" delay="0" conditionEdge="rising">
<ByValueCondition>
<ParameterCondition parameterRef="" value="" rule="lessThan"/>
</ByValueCondition>
</Condition>
<Condition name="criteria_WrongLaneTest" delay="0" conditionEdge="rising">
<ByValueCondition>
<ParameterCondition parameterRef="" value="" rule="lessThan"/>
</ByValueCondition>
</Condition>
<Condition name="criteria_OnSidewalkTest" delay="0" conditionEdge="rising">
<ByValueCondition>
<ParameterCondition parameterRef="" value="" rule="lessThan"/>
</ByValueCondition>
</Condition>
<Condition name="criteria_KeepLaneTest" delay="0" conditionEdge="rising">
<ByValueCondition>
<ParameterCondition parameterRef="" value="" rule="lessThan"/>
</ByValueCondition>
</Condition>
<Condition name="criteria_CollisionTest" delay="0" conditionEdge="rising">
<ByValueCondition>
<ParameterCondition parameterRef="" value="" rule="lessThan"/>
</ByValueCondition>
</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_12368?
```
<?xml version="1.0" ?>
<OpenSCENARIO>
<FileHeader revMajor="1" revMinor="0" date="2020-03-24T12:00:00" description="CARLA:LaneChangeSimple" author=""/>
<ParameterDeclarations/>
<CatalogLocations/>
<RoadNetwork>
<LogicFile filepath="Town04"/>
<SceneGraphFile filepath=""/>
</RoadNetwork>
<Entities>
<ScenarioObject name="hero">
<Vehicle name="vehicle.tesla.model3" vehicleCategory="car">
<ParameterDeclarations/>
<Performance maxSpeed="69.444" maxAcceleration="200" maxDeceleration="10.0"/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2.1" length="4.5" height="1.8"/>
</BoundingBox>
<Axles>
<FrontAxle maxSteering="0.5" wheelDiameter="0.6" trackWidth="1.8" positionX="3.1" positionZ="0.3"/>
<RearAxle maxSteering="0.0" wheelDiameter="0.6" trackWidth="1.8" positionX="0.0" positionZ="0.3"/>
</Axles>
<Properties>
<Property name="type" value="ego_vehicle"/>
</Properties>
</Vehicle>
</ScenarioObject>
<ScenarioObject name="adversary">
<Vehicle name="vehicle.lincoln.mkz_2017" vehicleCategory="car">
<ParameterDeclarations/>
<Performance maxSpeed="69.444" maxAcceleration="200" maxDeceleration="10.0"/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2.1" length="4.5" height="1.8"/>
</BoundingBox>
<Axles>
<FrontAxle maxSteering="0.5" wheelDiameter="0.6" trackWidth="1.8" positionX="3.1" positionZ="0.3"/>
<RearAxle maxSteering="0.0" wheelDiameter="0.6" trackWidth="1.8" positionX="0.0" positionZ="0.3"/>
</Axles>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Vehicle>
</ScenarioObject>
<ScenarioObject name="standing">
<Vehicle name="vehicle.volkswagen.t2" vehicleCategory="car">
<ParameterDeclarations/>
<Performance maxSpeed="69.444" maxAcceleration="200" maxDeceleration="10.0"/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2.1" length="4.5" height="1.8"/>
</BoundingBox>
<Axles>
<FrontAxle maxSteering="0.5" wheelDiameter="0.6" trackWidth="1.8" positionX="3.1" positionZ="0.3"/>
<RearAxle maxSteering="0.0" wheelDiameter="0.6" 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_12367">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_w_transform_12368">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_w_transform_12369">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_w_transform_12370">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_close_to_adversary_12373">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_w_transform_12374">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_w_transform_12376">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_w_transform_12379">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_close_to_standing_12381">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_close_to_standing_12382">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_w_transform_12386">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_w_transform_12387">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_w_transform_12388">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_close_to_hero_12389">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_w_transform_12391">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
</Entities>
<Storyboard>
<Init>
<Actions>
<GlobalAction>
<EnvironmentAction>
<Environment name="Environment1">
<TimeOfDay animation="false" dateTime="2019-06-25T12:00:00"/>
<Weather cloudState="free">
<Sun intensity="0.85" azimuth="0" elevation="1.31"/>
<Fog visualRange="100000.0"/>
<Precipitation precipitationType="dry" intensity="0.0"/>
</Weather>
<RoadCondition frictionScaleFactor="1.0"/>
</Environment>
</EnvironmentAction>
</GlobalAction>
<Private entityRef="hero">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-9.4" y="-152.8" z="0.5" h="1.57079632679"/>
</Position>
</TeleportAction>
</PrivateAction>
<PrivateAction>
<ControllerAction>
<AssignControllerAction>
<Controller name="HeroAgent">
<Properties>
<Property name="module" value="external_control"/>
</Properties>
</Controller>
</AssignControllerAction>
<OverrideControllerValueAction>
<Throttle value="0" active="false"/>
<Brake value="0" active="false"/>
<Clutch value="0" active="false"/>
<ParkingBrake value="0" active="false"/>
<SteeringWheel value="0" active="false"/>
<Gear number="0" active="false"/>
</OverrideControllerValueAction>
</ControllerAction>
</PrivateAction>
</Private>
<Private entityRef="adversary">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-9.4" y="-71.0" z="0.5" h="1.57079632679"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="standing">
<PrivateAction>
<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_12367">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-9.901057243347168" y="-143.08457946777344" z="0.0014286803780123591"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_w_transform_12368">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="39.35575485229492" y="47.97063446044922" z="0.5"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_w_transform_12369">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-81.58434295654297" y="14.670964241027832" z="0.5"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_w_transform_12370">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-18.71908187866211" y="30.773332595825195" z="0.5"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_close_to_adversary_12373">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-8.54000473022461" y="-67.12924194335938" z="0.033768195658922195"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_w_transform_12374">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="6.103564262390137" y="-64.59142303466797" z="0.5"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_w_transform_12376">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="60.68894958496094" y="39.191158294677734" z="0.5"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_w_transform_12379">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="47.483280181884766" y="-10.284008026123047" z="0.5"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_close_to_standing_12381">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-7.822365760803223" y="35.57799530029297" z="0.0030002212151885033"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_close_to_standing_12382">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-14.060166358947754" y="28.4083309173584" z="0.0030284880194813013"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_w_transform_12386">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-32.13713073730469" y="32.82591247558594" z="0.5"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_w_transform_12387">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="3.408383846282959" y="7.628348350524902" z="0.5"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_w_transform_12388">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-63.8411750793457" y="5.84268045425415" z="0.5"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_close_to_hero_12389">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="14.318129539489746" y="-165.95523071289062" z="0.0014286803780123591"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_w_transform_12391">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-99.57916259765625" y="-9.056938171386719" 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_12367">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_w_transform_12369">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_w_transform_12370">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_close_to_adversary_12373">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_w_transform_12374">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_w_transform_12376">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_w_transform_12379">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_close_to_standing_12381">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_close_to_standing_12382">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_w_transform_12386">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_w_transform_12387">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_w_transform_12388">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_close_to_hero_12389">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_w_transform_12391">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
</Entities>
<Storyboard>
<Init>
<Actions>
<GlobalAction>
<EnvironmentAction>
<Environment name="Environment1">
<TimeOfDay animation="false" dateTime="2019-06-25T12:00:00"/>
<Weather cloudState="free">
<Sun intensity="0.85" azimuth="0" elevation="1.31"/>
<Fog visualRange="100000.0"/>
<Precipitation precipitationType="dry" intensity="0.0"/>
</Weather>
<RoadCondition frictionScaleFactor="1.0"/>
</Environment>
</EnvironmentAction>
</GlobalAction>
<Private entityRef="hero">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-9.4" y="-152.8" z="0.5" h="1.57079632679"/>
</Position>
</TeleportAction>
</PrivateAction>
<PrivateAction>
<ControllerAction>
<AssignControllerAction>
<Controller name="HeroAgent">
<Properties>
<Property name="module" value="external_control"/>
</Properties>
</Controller>
</AssignControllerAction>
<OverrideControllerValueAction>
<Throttle value="0" active="false"/>
<Brake value="0" active="false"/>
<Clutch value="0" active="false"/>
<ParkingBrake value="0" active="false"/>
<SteeringWheel value="0" active="false"/>
<Gear number="0" active="false"/>
</OverrideControllerValueAction>
</ControllerAction>
</PrivateAction>
</Private>
<Private entityRef="adversary">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-9.4" y="-71.0" z="0.5" h="1.57079632679"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="standing">
<PrivateAction>
<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_12367">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-9.901057243347168" y="-143.08457946777344" z="0.0014286803780123591"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_w_transform_12369">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-81.58434295654297" y="14.670964241027832" z="0.5"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_w_transform_12370">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-18.71908187866211" y="30.773332595825195" z="0.5"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_close_to_adversary_12373">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-8.54000473022461" y="-67.12924194335938" z="0.033768195658922195"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_w_transform_12374">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="6.103564262390137" y="-64.59142303466797" z="0.5"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_w_transform_12376">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="60.68894958496094" y="39.191158294677734" z="0.5"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_w_transform_12379">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="47.483280181884766" y="-10.284008026123047" z="0.5"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_close_to_standing_12381">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-7.822365760803223" y="35.57799530029297" z="0.0030002212151885033"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_close_to_standing_12382">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-14.060166358947754" y="28.4083309173584" z="0.0030284880194813013"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_w_transform_12386">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-32.13713073730469" y="32.82591247558594" z="0.5"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_w_transform_12387">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="3.408383846282959" y="7.628348350524902" z="0.5"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_w_transform_12388">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-63.8411750793457" y="5.84268045425415" z="0.5"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_close_to_hero_12389">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="14.318129539489746" y="-165.95523071289062" z="0.0014286803780123591"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_w_transform_12391">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-99.57916259765625" y="-9.056938171386719" z="0.5"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
</Actions>
</Init>
<Story name="MyStory">
<Act name="Behavior">
<ManeuverGroup maximumExecutionCount="1" name="ManeuverSequence">
<Actors selectTriggeringEntities="false">
<EntityRef entityRef="adversary"/>
</Actors>
<Maneuver name="LaneChangeSimpleManeuver">
<Event name="AdversaryAccelerates" priority="overwrite">
<Action name="AdversaryAccelerates">
<PrivateAction>
<LongitudinalAction>
<SpeedAction>
<SpeedActionDynamics dynamicsShape="step" value="50" dynamicsDimension="distance"/>
<SpeedActionTarget>
<AbsoluteTargetSpeed value="5.0"/>
</SpeedActionTarget>
</SpeedAction>
</LongitudinalAction>
</PrivateAction>
</Action>
<StartTrigger>
<ConditionGroup>
<Condition name="StartCondition" delay="0" conditionEdge="rising">
<ByEntityCondition>
<TriggeringEntities triggeringEntitiesRule="any">
<EntityRef entityRef="hero"/>
</TriggeringEntities>
<EntityCondition>
<RelativeDistanceCondition entityRef="adversary" relativeDistanceType="cartesianDistance" value="40.0" freespace="false" rule="lessThan"/>
</EntityCondition>
</ByEntityCondition>
</Condition>
</ConditionGroup>
</StartTrigger>
</Event>
<Event name="AdversaryChangesLane" priority="overwrite">
<Action name="AdversaryChangesLane">
<PrivateAction>
<LateralAction>
<LaneChangeAction>
<LaneChangeActionDynamics dynamicsShape="linear" value="25" dynamicsDimension="distance"/>
<LaneChangeTarget>
<RelativeTargetLane entityRef="adversary" value="-1"/>
</LaneChangeTarget>
</LaneChangeAction>
</LateralAction>
</PrivateAction>
</Action>
<StartTrigger>
<ConditionGroup>
<Condition name="AfterAdversaryAccelerates" delay="0" conditionEdge="rising">
<ByValueCondition>
<StoryboardElementStateCondition storyboardElementType="action" storyboardElementRef="AdversaryAccelerates" state="completeState"/>
</ByValueCondition>
</Condition>
</ConditionGroup>
</StartTrigger>
</Event>
</Maneuver>
</ManeuverGroup>
<StartTrigger>
<ConditionGroup>
<Condition name="OverallStartCondition" delay="0" conditionEdge="rising">
<ByEntityCondition>
<TriggeringEntities triggeringEntitiesRule="any">
<EntityRef entityRef="hero"/>
</TriggeringEntities>
<EntityCondition>
<TraveledDistanceCondition value="1.0"/>
</EntityCondition>
</ByEntityCondition>
</Condition>
<Condition name="StartTime" delay="0" conditionEdge="rising">
<ByValueCondition>
<SimulationTimeCondition value="0" rule="equalTo"/>
</ByValueCondition>
</Condition>
</ConditionGroup>
</StartTrigger>
<StopTrigger>
<ConditionGroup>
<Condition name="EndCondition" delay="0" conditionEdge="rising">
<ByEntityCondition>
<TriggeringEntities triggeringEntitiesRule="any">
<EntityRef entityRef="hero"/>
</TriggeringEntities>
<EntityCondition>
<TraveledDistanceCondition value="200.0"/>
</EntityCondition>
</ByEntityCondition>
</Condition>
</ConditionGroup>
</StopTrigger>
</Act>
</Story>
<StopTrigger>
<ConditionGroup>
<Condition name="criteria_RunningStopTest" delay="0" conditionEdge="rising">
<ByValueCondition>
<ParameterCondition parameterRef="" value="" rule="lessThan"/>
</ByValueCondition>
</Condition>
<Condition name="criteria_RunningRedLightTest" delay="0" conditionEdge="rising">
<ByValueCondition>
<ParameterCondition parameterRef="" value="" rule="lessThan"/>
</ByValueCondition>
</Condition>
<Condition name="criteria_WrongLaneTest" delay="0" conditionEdge="rising">
<ByValueCondition>
<ParameterCondition parameterRef="" value="" rule="lessThan"/>
</ByValueCondition>
</Condition>
<Condition name="criteria_OnSidewalkTest" delay="0" conditionEdge="rising">
<ByValueCondition>
<ParameterCondition parameterRef="" value="" rule="lessThan"/>
</ByValueCondition>
</Condition>
<Condition name="criteria_KeepLaneTest" delay="0" conditionEdge="rising">
<ByValueCondition>
<ParameterCondition parameterRef="" value="" rule="lessThan"/>
</ByValueCondition>
</Condition>
<Condition name="criteria_CollisionTest" delay="0" conditionEdge="rising">
<ByValueCondition>
<ParameterCondition parameterRef="" value="" rule="lessThan"/>
</ByValueCondition>
</Condition>
<Condition name="criteria_DrivenDistanceTest" delay="0" conditionEdge="rising">
<ByValueCondition>
<ParameterCondition parameterRef="distance_success" value="100" rule="lessThan"/>
</ByValueCondition>
</Condition>
</ConditionGroup>
</StopTrigger>
</Storyboard>
</OpenSCENARIO>
``` |
please add pedestrian at location (84.63, 10.2, 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_2099">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_close_to_adversary_2100">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_close_to_standing_2101">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_w_transform_2102">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_w_transform_2103">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_close_to_hero_2104">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_close_to_adversary_2105">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_w_transform_2106">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
</Entities>
<Storyboard>
<Init>
<Actions>
<GlobalAction>
<EnvironmentAction>
<Environment name="Environment1">
<TimeOfDay animation="false" dateTime="2019-06-25T12:00:00"/>
<Weather cloudState="free">
<Sun intensity="0.85" azimuth="0" elevation="1.31"/>
<Fog visualRange="100000.0"/>
<Precipitation precipitationType="dry" intensity="0.0"/>
</Weather>
<RoadCondition frictionScaleFactor="1.0"/>
</Environment>
</EnvironmentAction>
</GlobalAction>
<Private entityRef="hero">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-9.4" y="-152.8" z="0.5" h="1.57079632679"/>
</Position>
</TeleportAction>
</PrivateAction>
<PrivateAction>
<ControllerAction>
<AssignControllerAction>
<Controller name="HeroAgent">
<Properties>
<Property name="module" value="external_control"/>
</Properties>
</Controller>
</AssignControllerAction>
<OverrideControllerValueAction>
<Throttle value="0" active="false"/>
<Brake value="0" active="false"/>
<Clutch value="0" active="false"/>
<ParkingBrake value="0" active="false"/>
<SteeringWheel value="0" active="false"/>
<Gear number="0" active="false"/>
</OverrideControllerValueAction>
</ControllerAction>
</PrivateAction>
</Private>
<Private entityRef="adversary">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-9.4" y="-71.0" z="0.5" h="1.57079632679"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="standing">
<PrivateAction>
<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_2099">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-1.3964312076568604" y="-153.6300506591797" z="0.0014286803780123591"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_close_to_adversary_2100">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-13.225051879882812" y="-70.36456298828125" z="0.033804815262556076"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_close_to_standing_2101">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-14.608993530273438" y="29.95885467529297" z="0.0030698012560606003"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_w_transform_2102">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="31.390073776245117" y="-75.26829528808594" z="0.5"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_w_transform_2103">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="38.04576873779297" y="76.26097106933594" z="0.5"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_close_to_hero_2104">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-1.3091070652008057" y="-150.1503143310547" z="0.0014286803780123591"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_close_to_adversary_2105">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-8.383030891418457" y="-63.692813873291016" z="0.033792342990636826"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_w_transform_2106">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-82.62474822998047" y="19.72050666809082" 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_2099">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_close_to_adversary_2100">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_close_to_standing_2101">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_w_transform_2102">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_w_transform_2103">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_close_to_hero_2104">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_close_to_adversary_2105">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_w_transform_2106">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_w_transform_2107">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
</Entities>
<Storyboard>
<Init>
<Actions>
<GlobalAction>
<EnvironmentAction>
<Environment name="Environment1">
<TimeOfDay animation="false" dateTime="2019-06-25T12:00:00"/>
<Weather cloudState="free">
<Sun intensity="0.85" azimuth="0" elevation="1.31"/>
<Fog visualRange="100000.0"/>
<Precipitation precipitationType="dry" intensity="0.0"/>
</Weather>
<RoadCondition frictionScaleFactor="1.0"/>
</Environment>
</EnvironmentAction>
</GlobalAction>
<Private entityRef="hero">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-9.4" y="-152.8" z="0.5" h="1.57079632679"/>
</Position>
</TeleportAction>
</PrivateAction>
<PrivateAction>
<ControllerAction>
<AssignControllerAction>
<Controller name="HeroAgent">
<Properties>
<Property name="module" value="external_control"/>
</Properties>
</Controller>
</AssignControllerAction>
<OverrideControllerValueAction>
<Throttle value="0" active="false"/>
<Brake value="0" active="false"/>
<Clutch value="0" active="false"/>
<ParkingBrake value="0" active="false"/>
<SteeringWheel value="0" active="false"/>
<Gear number="0" active="false"/>
</OverrideControllerValueAction>
</ControllerAction>
</PrivateAction>
</Private>
<Private entityRef="adversary">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-9.4" y="-71.0" z="0.5" h="1.57079632679"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="standing">
<PrivateAction>
<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_2099">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-1.3964312076568604" y="-153.6300506591797" z="0.0014286803780123591"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_close_to_adversary_2100">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-13.225051879882812" y="-70.36456298828125" z="0.033804815262556076"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_close_to_standing_2101">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-14.608993530273438" y="29.95885467529297" z="0.0030698012560606003"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_w_transform_2102">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="31.390073776245117" y="-75.26829528808594" z="0.5"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_w_transform_2103">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="38.04576873779297" y="76.26097106933594" z="0.5"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_close_to_hero_2104">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-1.3091070652008057" y="-150.1503143310547" z="0.0014286803780123591"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_close_to_adversary_2105">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-8.383030891418457" y="-63.692813873291016" z="0.033792342990636826"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_w_transform_2106">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-82.62474822998047" y="19.72050666809082" z="0.5"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_w_transform_2107">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="84.6268310546875" y="10.199873924255371" 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_adversary_24185">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
</Entities>
<Storyboard>
<Init>
<Actions>
<GlobalAction>
<EnvironmentAction>
<Environment name="Environment1">
<TimeOfDay animation="false" dateTime="2019-06-25T12:00:00"/>
<Weather cloudState="free">
<Sun intensity="0.85" azimuth="0" elevation="1.31"/>
<Fog visualRange="100000.0"/>
<Precipitation precipitationType="dry" intensity="0.0"/>
</Weather>
<RoadCondition frictionScaleFactor="1.0"/>
</Environment>
</EnvironmentAction>
</GlobalAction>
<Private entityRef="hero">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-9.4" y="-152.8" z="0.5" h="1.57079632679"/>
</Position>
</TeleportAction>
</PrivateAction>
<PrivateAction>
<ControllerAction>
<AssignControllerAction>
<Controller name="HeroAgent">
<Properties>
<Property name="module" value="external_control"/>
</Properties>
</Controller>
</AssignControllerAction>
<OverrideControllerValueAction>
<Throttle value="0" active="false"/>
<Brake value="0" active="false"/>
<Clutch value="0" active="false"/>
<ParkingBrake value="0" active="false"/>
<SteeringWheel value="0" active="false"/>
<Gear number="0" active="false"/>
</OverrideControllerValueAction>
</ControllerAction>
</PrivateAction>
</Private>
<Private entityRef="adversary">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-9.4" y="-71.0" z="0.5" h="1.57079632679"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="standing">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-8.2" y="29.2" z="0.5" h="1.57079632679"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_close_to_adversary_24185">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-10.560993194580078" y="-62.728179931640625" z="0.033781927078962326"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
</Actions>
</Init>
<Story name="MyStory">
<Act name="Behavior">
<ManeuverGroup maximumExecutionCount="1" name="ManeuverSequence">
<Actors selectTriggeringEntities="false">
<EntityRef entityRef="adversary"/>
</Actors>
<Maneuver name="LaneChangeSimpleManeuver">
<Event name="AdversaryAccelerates" priority="overwrite">
<Action name="AdversaryAccelerates">
<PrivateAction>
<LongitudinalAction>
<SpeedAction>
<SpeedActionDynamics dynamicsShape="step" value="50" dynamicsDimension="distance"/>
<SpeedActionTarget>
<AbsoluteTargetSpeed value="5.0"/>
</SpeedActionTarget>
</SpeedAction>
</LongitudinalAction>
</PrivateAction>
</Action>
<StartTrigger>
<ConditionGroup>
<Condition name="StartCondition" delay="0" conditionEdge="rising">
<ByEntityCondition>
<TriggeringEntities triggeringEntitiesRule="any">
<EntityRef entityRef="hero"/>
</TriggeringEntities>
<EntityCondition>
<RelativeDistanceCondition entityRef="adversary" relativeDistanceType="cartesianDistance" value="40.0" freespace="false" rule="lessThan"/>
</EntityCondition>
</ByEntityCondition>
</Condition>
</ConditionGroup>
</StartTrigger>
</Event>
<Event name="AdversaryChangesLane" priority="overwrite">
<Action name="AdversaryChangesLane">
<PrivateAction>
<LateralAction>
<LaneChangeAction>
<LaneChangeActionDynamics dynamicsShape="linear" value="25" dynamicsDimension="distance"/>
<LaneChangeTarget>
<RelativeTargetLane entityRef="adversary" value="-1"/>
</LaneChangeTarget>
</LaneChangeAction>
</LateralAction>
</PrivateAction>
</Action>
<StartTrigger>
<ConditionGroup>
<Condition name="AfterAdversaryAccelerates" delay="0" conditionEdge="rising">
<ByValueCondition>
<StoryboardElementStateCondition storyboardElementType="action" storyboardElementRef="AdversaryAccelerates" state="completeState"/>
</ByValueCondition>
</Condition>
</ConditionGroup>
</StartTrigger>
</Event>
</Maneuver>
</ManeuverGroup>
<StartTrigger>
<ConditionGroup>
<Condition name="OverallStartCondition" delay="0" conditionEdge="rising">
<ByEntityCondition>
<TriggeringEntities triggeringEntitiesRule="any">
<EntityRef entityRef="hero"/>
</TriggeringEntities>
<EntityCondition>
<TraveledDistanceCondition value="1.0"/>
</EntityCondition>
</ByEntityCondition>
</Condition>
<Condition name="StartTime" delay="0" conditionEdge="rising">
<ByValueCondition>
<SimulationTimeCondition value="0" rule="equalTo"/>
</ByValueCondition>
</Condition>
</ConditionGroup>
</StartTrigger>
<StopTrigger>
<ConditionGroup>
<Condition name="EndCondition" delay="0" conditionEdge="rising">
<ByEntityCondition>
<TriggeringEntities triggeringEntitiesRule="any">
<EntityRef entityRef="hero"/>
</TriggeringEntities>
<EntityCondition>
<TraveledDistanceCondition value="200.0"/>
</EntityCondition>
</ByEntityCondition>
</Condition>
</ConditionGroup>
</StopTrigger>
</Act>
</Story>
<StopTrigger>
<ConditionGroup>
<Condition name="criteria_RunningStopTest" delay="0" conditionEdge="rising">
<ByValueCondition>
<ParameterCondition parameterRef="" value="" rule="lessThan"/>
</ByValueCondition>
</Condition>
<Condition name="criteria_RunningRedLightTest" delay="0" conditionEdge="rising">
<ByValueCondition>
<ParameterCondition parameterRef="" value="" rule="lessThan"/>
</ByValueCondition>
</Condition>
<Condition name="criteria_WrongLaneTest" delay="0" conditionEdge="rising">
<ByValueCondition>
<ParameterCondition parameterRef="" value="" rule="lessThan"/>
</ByValueCondition>
</Condition>
<Condition name="criteria_OnSidewalkTest" delay="0" conditionEdge="rising">
<ByValueCondition>
<ParameterCondition parameterRef="" value="" rule="lessThan"/>
</ByValueCondition>
</Condition>
<Condition name="criteria_KeepLaneTest" delay="0" conditionEdge="rising">
<ByValueCondition>
<ParameterCondition parameterRef="" value="" rule="lessThan"/>
</ByValueCondition>
</Condition>
<Condition name="criteria_CollisionTest" delay="0" conditionEdge="rising">
<ByValueCondition>
<ParameterCondition parameterRef="" value="" rule="lessThan"/>
</ByValueCondition>
</Condition>
<Condition name="criteria_DrivenDistanceTest" delay="0" conditionEdge="rising">
<ByValueCondition>
<ParameterCondition parameterRef="distance_success" value="100" rule="lessThan"/>
</ByValueCondition>
</Condition>
</ConditionGroup>
</StopTrigger>
</Storyboard>
</OpenSCENARIO>
``` | Here is the result:
```
<?xml version="1.0" ?>
<OpenSCENARIO>
<FileHeader revMajor="1" revMinor="0" date="2020-03-24T12:00:00" description="CARLA:LaneChangeSimple" author=""/>
<ParameterDeclarations/>
<CatalogLocations/>
<RoadNetwork>
<LogicFile filepath="Town04"/>
<SceneGraphFile filepath=""/>
</RoadNetwork>
<Entities>
<ScenarioObject name="hero">
<Vehicle name="vehicle.tesla.model3" vehicleCategory="car">
<ParameterDeclarations/>
<Performance maxSpeed="69.444" maxAcceleration="200" maxDeceleration="10.0"/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2.1" length="4.5" height="1.8"/>
</BoundingBox>
<Axles>
<FrontAxle maxSteering="0.5" wheelDiameter="0.6" trackWidth="1.8" positionX="3.1" positionZ="0.3"/>
<RearAxle maxSteering="0.0" wheelDiameter="0.6" trackWidth="1.8" positionX="0.0" positionZ="0.3"/>
</Axles>
<Properties>
<Property name="type" value="ego_vehicle"/>
</Properties>
</Vehicle>
</ScenarioObject>
<ScenarioObject name="adversary">
<Vehicle name="vehicle.lincoln.mkz_2017" vehicleCategory="car">
<ParameterDeclarations/>
<Performance maxSpeed="69.444" maxAcceleration="200" maxDeceleration="10.0"/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2.1" length="4.5" height="1.8"/>
</BoundingBox>
<Axles>
<FrontAxle maxSteering="0.5" wheelDiameter="0.6" trackWidth="1.8" positionX="3.1" positionZ="0.3"/>
<RearAxle maxSteering="0.0" wheelDiameter="0.6" trackWidth="1.8" positionX="0.0" positionZ="0.3"/>
</Axles>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Vehicle>
</ScenarioObject>
<ScenarioObject name="standing">
<Vehicle name="vehicle.volkswagen.t2" vehicleCategory="car">
<ParameterDeclarations/>
<Performance maxSpeed="69.444" maxAcceleration="200" maxDeceleration="10.0"/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2.1" length="4.5" height="1.8"/>
</BoundingBox>
<Axles>
<FrontAxle maxSteering="0.5" wheelDiameter="0.6" trackWidth="1.8" positionX="3.1" positionZ="0.3"/>
<RearAxle maxSteering="0.0" wheelDiameter="0.6" trackWidth="1.8" positionX="0.0" positionZ="0.3"/>
</Axles>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Vehicle>
</ScenarioObject>
<ScenarioObject name="pedestrian_close_to_adversary_24185">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_close_to_hero_24186">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
</Entities>
<Storyboard>
<Init>
<Actions>
<GlobalAction>
<EnvironmentAction>
<Environment name="Environment1">
<TimeOfDay animation="false" dateTime="2019-06-25T12:00:00"/>
<Weather cloudState="free">
<Sun intensity="0.85" azimuth="0" elevation="1.31"/>
<Fog visualRange="100000.0"/>
<Precipitation precipitationType="dry" intensity="0.0"/>
</Weather>
<RoadCondition frictionScaleFactor="1.0"/>
</Environment>
</EnvironmentAction>
</GlobalAction>
<Private entityRef="hero">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-9.4" y="-152.8" z="0.5" h="1.57079632679"/>
</Position>
</TeleportAction>
</PrivateAction>
<PrivateAction>
<ControllerAction>
<AssignControllerAction>
<Controller name="HeroAgent">
<Properties>
<Property name="module" value="external_control"/>
</Properties>
</Controller>
</AssignControllerAction>
<OverrideControllerValueAction>
<Throttle value="0" active="false"/>
<Brake value="0" active="false"/>
<Clutch value="0" active="false"/>
<ParkingBrake value="0" active="false"/>
<SteeringWheel value="0" active="false"/>
<Gear number="0" active="false"/>
</OverrideControllerValueAction>
</ControllerAction>
</PrivateAction>
</Private>
<Private entityRef="adversary">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-9.4" y="-71.0" z="0.5" h="1.57079632679"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="standing">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-8.2" y="29.2" z="0.5" h="1.57079632679"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_close_to_adversary_24185">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-10.560993194580078" y="-62.728179931640625" z="0.033781927078962326"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_close_to_hero_24186">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-11.610087394714355" y="-146.36790466308594" z="0.0014286803780123591"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
</Actions>
</Init>
<Story name="MyStory">
<Act name="Behavior">
<ManeuverGroup maximumExecutionCount="1" name="ManeuverSequence">
<Actors selectTriggeringEntities="false">
<EntityRef entityRef="adversary"/>
</Actors>
<Maneuver name="LaneChangeSimpleManeuver">
<Event name="AdversaryAccelerates" priority="overwrite">
<Action name="AdversaryAccelerates">
<PrivateAction>
<LongitudinalAction>
<SpeedAction>
<SpeedActionDynamics dynamicsShape="step" value="50" dynamicsDimension="distance"/>
<SpeedActionTarget>
<AbsoluteTargetSpeed value="5.0"/>
</SpeedActionTarget>
</SpeedAction>
</LongitudinalAction>
</PrivateAction>
</Action>
<StartTrigger>
<ConditionGroup>
<Condition name="StartCondition" delay="0" conditionEdge="rising">
<ByEntityCondition>
<TriggeringEntities triggeringEntitiesRule="any">
<EntityRef entityRef="hero"/>
</TriggeringEntities>
<EntityCondition>
<RelativeDistanceCondition entityRef="adversary" relativeDistanceType="cartesianDistance" value="40.0" freespace="false" rule="lessThan"/>
</EntityCondition>
</ByEntityCondition>
</Condition>
</ConditionGroup>
</StartTrigger>
</Event>
<Event name="AdversaryChangesLane" priority="overwrite">
<Action name="AdversaryChangesLane">
<PrivateAction>
<LateralAction>
<LaneChangeAction>
<LaneChangeActionDynamics dynamicsShape="linear" value="25" dynamicsDimension="distance"/>
<LaneChangeTarget>
<RelativeTargetLane entityRef="adversary" value="-1"/>
</LaneChangeTarget>
</LaneChangeAction>
</LateralAction>
</PrivateAction>
</Action>
<StartTrigger>
<ConditionGroup>
<Condition name="AfterAdversaryAccelerates" delay="0" conditionEdge="rising">
<ByValueCondition>
<StoryboardElementStateCondition storyboardElementType="action" storyboardElementRef="AdversaryAccelerates" state="completeState"/>
</ByValueCondition>
</Condition>
</ConditionGroup>
</StartTrigger>
</Event>
</Maneuver>
</ManeuverGroup>
<StartTrigger>
<ConditionGroup>
<Condition name="OverallStartCondition" delay="0" conditionEdge="rising">
<ByEntityCondition>
<TriggeringEntities triggeringEntitiesRule="any">
<EntityRef entityRef="hero"/>
</TriggeringEntities>
<EntityCondition>
<TraveledDistanceCondition value="1.0"/>
</EntityCondition>
</ByEntityCondition>
</Condition>
<Condition name="StartTime" delay="0" conditionEdge="rising">
<ByValueCondition>
<SimulationTimeCondition value="0" rule="equalTo"/>
</ByValueCondition>
</Condition>
</ConditionGroup>
</StartTrigger>
<StopTrigger>
<ConditionGroup>
<Condition name="EndCondition" delay="0" conditionEdge="rising">
<ByEntityCondition>
<TriggeringEntities triggeringEntitiesRule="any">
<EntityRef entityRef="hero"/>
</TriggeringEntities>
<EntityCondition>
<TraveledDistanceCondition value="200.0"/>
</EntityCondition>
</ByEntityCondition>
</Condition>
</ConditionGroup>
</StopTrigger>
</Act>
</Story>
<StopTrigger>
<ConditionGroup>
<Condition name="criteria_RunningStopTest" delay="0" conditionEdge="rising">
<ByValueCondition>
<ParameterCondition parameterRef="" value="" rule="lessThan"/>
</ByValueCondition>
</Condition>
<Condition name="criteria_RunningRedLightTest" delay="0" conditionEdge="rising">
<ByValueCondition>
<ParameterCondition parameterRef="" value="" rule="lessThan"/>
</ByValueCondition>
</Condition>
<Condition name="criteria_WrongLaneTest" delay="0" conditionEdge="rising">
<ByValueCondition>
<ParameterCondition parameterRef="" value="" rule="lessThan"/>
</ByValueCondition>
</Condition>
<Condition name="criteria_OnSidewalkTest" delay="0" conditionEdge="rising">
<ByValueCondition>
<ParameterCondition parameterRef="" value="" rule="lessThan"/>
</ByValueCondition>
</Condition>
<Condition name="criteria_KeepLaneTest" delay="0" conditionEdge="rising">
<ByValueCondition>
<ParameterCondition parameterRef="" value="" rule="lessThan"/>
</ByValueCondition>
</Condition>
<Condition name="criteria_CollisionTest" delay="0" conditionEdge="rising">
<ByValueCondition>
<ParameterCondition parameterRef="" value="" rule="lessThan"/>
</ByValueCondition>
</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 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_1428">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_close_to_adversary_1430">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_close_to_standing_1432">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_close_to_hero_1433">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_close_to_adversary_1435">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_close_to_adversary_1437">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_w_transform_1438">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_close_to_standing_1439">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_w_transform_1440">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_w_transform_1441">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_close_to_hero_1443">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_close_to_standing_1444">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_close_to_hero_1446">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_w_transform_1450">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
</Entities>
<Storyboard>
<Init>
<Actions>
<GlobalAction>
<EnvironmentAction>
<Environment name="Environment1">
<TimeOfDay animation="false" dateTime="2019-06-25T12:00:00"/>
<Weather cloudState="free">
<Sun intensity="0.85" azimuth="0" elevation="1.31"/>
<Fog visualRange="100000.0"/>
<Precipitation precipitationType="dry" intensity="0.0"/>
</Weather>
<RoadCondition frictionScaleFactor="1.0"/>
</Environment>
</EnvironmentAction>
</GlobalAction>
<Private entityRef="hero">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-9.4" y="-152.8" z="0.5" h="1.57079632679"/>
</Position>
</TeleportAction>
</PrivateAction>
<PrivateAction>
<ControllerAction>
<AssignControllerAction>
<Controller name="HeroAgent">
<Properties>
<Property name="module" value="external_control"/>
</Properties>
</Controller>
</AssignControllerAction>
<OverrideControllerValueAction>
<Throttle value="0" active="false"/>
<Brake value="0" active="false"/>
<Clutch value="0" active="false"/>
<ParkingBrake value="0" active="false"/>
<SteeringWheel value="0" active="false"/>
<Gear number="0" active="false"/>
</OverrideControllerValueAction>
</ControllerAction>
</PrivateAction>
</Private>
<Private entityRef="adversary">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-9.4" y="-71.0" z="0.5" h="1.57079632679"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="standing">
<PrivateAction>
<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_1428">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-12.122293472290039" y="32.64136505126953" z="0.0030724334064871073"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_close_to_adversary_1430">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-16.88655662536621" y="-62.78667068481445" z="0.0338217169046402"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_close_to_standing_1432">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-5.925124645233154" y="20.399816513061523" z="0.0030601881444454193"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_close_to_hero_1433">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-3.446807384490967" y="-147.3627166748047" z="0.0014286803780123591"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_close_to_adversary_1435">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="1.3439050912857056" y="-73.2201156616211" z="0.03375835344195366"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_close_to_adversary_1437">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-12.813340187072754" y="-77.7220230102539" z="0.03376811742782593"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_w_transform_1438">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="70.4785385131836" y="6.395418643951416" z="0.5"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_close_to_standing_1439">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-9.941143035888672" y="21.064363479614258" z="0.003021507291123271"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_w_transform_1440">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-78.46907806396484" y="-69.24934387207031" z="0.5"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_w_transform_1441">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-88.00617218017578" y="53.21859359741211" z="0.5"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_close_to_hero_1443">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-5.4236860275268555" y="-143.6433868408203" z="0.0014286803780123591"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_close_to_standing_1444">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="0.24622631072998047" y="20.343311309814453" z="0.003076858352869749"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_close_to_hero_1446">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-18.486160278320312" y="-148.99143981933594" z="0.0014286803780123591"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_w_transform_1450">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-11.702978134155273" y="-51.86635971069336" 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_1428">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_close_to_adversary_1430">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_close_to_standing_1432">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_close_to_hero_1433">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_close_to_adversary_1435">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_close_to_adversary_1437">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_w_transform_1438">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_close_to_standing_1439">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_w_transform_1440">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_w_transform_1441">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_close_to_hero_1443">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_close_to_standing_1444">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_w_transform_1450">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
</Entities>
<Storyboard>
<Init>
<Actions>
<GlobalAction>
<EnvironmentAction>
<Environment name="Environment1">
<TimeOfDay animation="false" dateTime="2019-06-25T12:00:00"/>
<Weather cloudState="free">
<Sun intensity="0.85" azimuth="0" elevation="1.31"/>
<Fog visualRange="100000.0"/>
<Precipitation precipitationType="dry" intensity="0.0"/>
</Weather>
<RoadCondition frictionScaleFactor="1.0"/>
</Environment>
</EnvironmentAction>
</GlobalAction>
<Private entityRef="hero">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-9.4" y="-152.8" z="0.5" h="1.57079632679"/>
</Position>
</TeleportAction>
</PrivateAction>
<PrivateAction>
<ControllerAction>
<AssignControllerAction>
<Controller name="HeroAgent">
<Properties>
<Property name="module" value="external_control"/>
</Properties>
</Controller>
</AssignControllerAction>
<OverrideControllerValueAction>
<Throttle value="0" active="false"/>
<Brake value="0" active="false"/>
<Clutch value="0" active="false"/>
<ParkingBrake value="0" active="false"/>
<SteeringWheel value="0" active="false"/>
<Gear number="0" active="false"/>
</OverrideControllerValueAction>
</ControllerAction>
</PrivateAction>
</Private>
<Private entityRef="adversary">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-9.4" y="-71.0" z="0.5" h="1.57079632679"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="standing">
<PrivateAction>
<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_1428">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-12.122293472290039" y="32.64136505126953" z="0.0030724334064871073"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_close_to_adversary_1430">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-16.88655662536621" y="-62.78667068481445" z="0.0338217169046402"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_close_to_standing_1432">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-5.925124645233154" y="20.399816513061523" z="0.0030601881444454193"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_close_to_hero_1433">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-3.446807384490967" y="-147.3627166748047" z="0.0014286803780123591"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_close_to_adversary_1435">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="1.3439050912857056" y="-73.2201156616211" z="0.03375835344195366"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_close_to_adversary_1437">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-12.813340187072754" y="-77.7220230102539" z="0.03376811742782593"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_w_transform_1438">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="70.4785385131836" y="6.395418643951416" z="0.5"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_close_to_standing_1439">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-9.941143035888672" y="21.064363479614258" z="0.003021507291123271"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_w_transform_1440">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-78.46907806396484" y="-69.24934387207031" z="0.5"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_w_transform_1441">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-88.00617218017578" y="53.21859359741211" z="0.5"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_close_to_hero_1443">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-5.4236860275268555" y="-143.6433868408203" z="0.0014286803780123591"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_close_to_standing_1444">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="0.24622631072998047" y="20.343311309814453" z="0.003076858352869749"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_w_transform_1450">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-11.702978134155273" y="-51.86635971069336" 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 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_559">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_close_to_hero_560">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_w_transform_561">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_w_transform_562">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_close_to_standing_563">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_w_transform_564">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_w_transform_565">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_close_to_standing_566">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_w_transform_567">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_w_transform_568">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
</Entities>
<Storyboard>
<Init>
<Actions>
<GlobalAction>
<EnvironmentAction>
<Environment name="Environment1">
<TimeOfDay animation="false" dateTime="2019-06-25T12:00:00"/>
<Weather cloudState="free">
<Sun intensity="0.85" azimuth="0" elevation="1.31"/>
<Fog visualRange="100000.0"/>
<Precipitation precipitationType="dry" intensity="0.0"/>
</Weather>
<RoadCondition frictionScaleFactor="1.0"/>
</Environment>
</EnvironmentAction>
</GlobalAction>
<Private entityRef="hero">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-9.4" y="-152.8" z="0.5" h="1.57079632679"/>
</Position>
</TeleportAction>
</PrivateAction>
<PrivateAction>
<ControllerAction>
<AssignControllerAction>
<Controller name="HeroAgent">
<Properties>
<Property name="module" value="external_control"/>
</Properties>
</Controller>
</AssignControllerAction>
<OverrideControllerValueAction>
<Throttle value="0" active="false"/>
<Brake value="0" active="false"/>
<Clutch value="0" active="false"/>
<ParkingBrake value="0" active="false"/>
<SteeringWheel value="0" active="false"/>
<Gear number="0" active="false"/>
</OverrideControllerValueAction>
</ControllerAction>
</PrivateAction>
</Private>
<Private entityRef="adversary">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-9.4" y="-71.0" z="0.5" h="1.57079632679"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="standing">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-8.2" y="29.2" z="0.5" h="1.57079632679"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_close_to_standing_559">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-9.536955833435059" y="47.126556396484375" z="0.00307884206995368"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_close_to_hero_560">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-14.028002738952637" y="-148.33392333984375" z="0.0014286803780123591"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_w_transform_561">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="41.66231155395508" y="-13.317110061645508" z="0.5"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_w_transform_562">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-5.149931907653809" y="-50.89024353027344" z="0.5"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_close_to_standing_563">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-3.937126874923706" y="19.32227897644043" z="0.0030942154116928577"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_w_transform_564">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-57.62015151977539" y="38.44088363647461" z="0.5"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_w_transform_565">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="95.15489959716797" y="38.55360412597656" z="0.5"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_close_to_standing_566">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="0.7218384146690369" y="22.778898239135742" z="0.0030768965370953083"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_w_transform_567">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="99.4874496459961" y="-63.90755844116211" z="0.5"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_w_transform_568">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="38.28993606567383" y="-9.830204963684082" z="0.5"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
</Actions>
</Init>
<Story name="MyStory">
<Act name="Behavior">
<ManeuverGroup maximumExecutionCount="1" name="ManeuverSequence">
<Actors selectTriggeringEntities="false">
<EntityRef entityRef="adversary"/>
</Actors>
<Maneuver name="LaneChangeSimpleManeuver">
<Event name="AdversaryAccelerates" priority="overwrite">
<Action name="AdversaryAccelerates">
<PrivateAction>
<LongitudinalAction>
<SpeedAction>
<SpeedActionDynamics dynamicsShape="step" value="50" dynamicsDimension="distance"/>
<SpeedActionTarget>
<AbsoluteTargetSpeed value="5.0"/>
</SpeedActionTarget>
</SpeedAction>
</LongitudinalAction>
</PrivateAction>
</Action>
<StartTrigger>
<ConditionGroup>
<Condition name="StartCondition" delay="0" conditionEdge="rising">
<ByEntityCondition>
<TriggeringEntities triggeringEntitiesRule="any">
<EntityRef entityRef="hero"/>
</TriggeringEntities>
<EntityCondition>
<RelativeDistanceCondition entityRef="adversary" relativeDistanceType="cartesianDistance" value="40.0" freespace="false" rule="lessThan"/>
</EntityCondition>
</ByEntityCondition>
</Condition>
</ConditionGroup>
</StartTrigger>
</Event>
<Event name="AdversaryChangesLane" priority="overwrite">
<Action name="AdversaryChangesLane">
<PrivateAction>
<LateralAction>
<LaneChangeAction>
<LaneChangeActionDynamics dynamicsShape="linear" value="25" dynamicsDimension="distance"/>
<LaneChangeTarget>
<RelativeTargetLane entityRef="adversary" value="-1"/>
</LaneChangeTarget>
</LaneChangeAction>
</LateralAction>
</PrivateAction>
</Action>
<StartTrigger>
<ConditionGroup>
<Condition name="AfterAdversaryAccelerates" delay="0" conditionEdge="rising">
<ByValueCondition>
<StoryboardElementStateCondition storyboardElementType="action" storyboardElementRef="AdversaryAccelerates" state="completeState"/>
</ByValueCondition>
</Condition>
</ConditionGroup>
</StartTrigger>
</Event>
</Maneuver>
</ManeuverGroup>
<StartTrigger>
<ConditionGroup>
<Condition name="OverallStartCondition" delay="0" conditionEdge="rising">
<ByEntityCondition>
<TriggeringEntities triggeringEntitiesRule="any">
<EntityRef entityRef="hero"/>
</TriggeringEntities>
<EntityCondition>
<TraveledDistanceCondition value="1.0"/>
</EntityCondition>
</ByEntityCondition>
</Condition>
<Condition name="StartTime" delay="0" conditionEdge="rising">
<ByValueCondition>
<SimulationTimeCondition value="0" rule="equalTo"/>
</ByValueCondition>
</Condition>
</ConditionGroup>
</StartTrigger>
<StopTrigger>
<ConditionGroup>
<Condition name="EndCondition" delay="0" conditionEdge="rising">
<ByEntityCondition>
<TriggeringEntities triggeringEntitiesRule="any">
<EntityRef entityRef="hero"/>
</TriggeringEntities>
<EntityCondition>
<TraveledDistanceCondition value="200.0"/>
</EntityCondition>
</ByEntityCondition>
</Condition>
</ConditionGroup>
</StopTrigger>
</Act>
</Story>
<StopTrigger>
<ConditionGroup>
<Condition name="criteria_RunningStopTest" delay="0" conditionEdge="rising">
<ByValueCondition>
<ParameterCondition parameterRef="" value="" rule="lessThan"/>
</ByValueCondition>
</Condition>
<Condition name="criteria_RunningRedLightTest" delay="0" conditionEdge="rising">
<ByValueCondition>
<ParameterCondition parameterRef="" value="" rule="lessThan"/>
</ByValueCondition>
</Condition>
<Condition name="criteria_WrongLaneTest" delay="0" conditionEdge="rising">
<ByValueCondition>
<ParameterCondition parameterRef="" value="" rule="lessThan"/>
</ByValueCondition>
</Condition>
<Condition name="criteria_OnSidewalkTest" delay="0" conditionEdge="rising">
<ByValueCondition>
<ParameterCondition parameterRef="" value="" rule="lessThan"/>
</ByValueCondition>
</Condition>
<Condition name="criteria_KeepLaneTest" delay="0" conditionEdge="rising">
<ByValueCondition>
<ParameterCondition parameterRef="" value="" rule="lessThan"/>
</ByValueCondition>
</Condition>
<Condition name="criteria_CollisionTest" delay="0" conditionEdge="rising">
<ByValueCondition>
<ParameterCondition parameterRef="" value="" rule="lessThan"/>
</ByValueCondition>
</Condition>
<Condition name="criteria_DrivenDistanceTest" delay="0" conditionEdge="rising">
<ByValueCondition>
<ParameterCondition parameterRef="distance_success" value="100" rule="lessThan"/>
</ByValueCondition>
</Condition>
</ConditionGroup>
</StopTrigger>
</Storyboard>
</OpenSCENARIO>
``` | Here is the result:
```
<?xml version="1.0" ?>
<OpenSCENARIO>
<FileHeader revMajor="1" revMinor="0" date="2020-03-24T12:00:00" description="CARLA:LaneChangeSimple" author=""/>
<ParameterDeclarations/>
<CatalogLocations/>
<RoadNetwork>
<LogicFile filepath="Town04"/>
<SceneGraphFile filepath=""/>
</RoadNetwork>
<Entities>
<ScenarioObject name="hero">
<Vehicle name="vehicle.tesla.model3" vehicleCategory="car">
<ParameterDeclarations/>
<Performance maxSpeed="69.444" maxAcceleration="200" maxDeceleration="10.0"/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2.1" length="4.5" height="1.8"/>
</BoundingBox>
<Axles>
<FrontAxle maxSteering="0.5" wheelDiameter="0.6" trackWidth="1.8" positionX="3.1" positionZ="0.3"/>
<RearAxle maxSteering="0.0" wheelDiameter="0.6" trackWidth="1.8" positionX="0.0" positionZ="0.3"/>
</Axles>
<Properties>
<Property name="type" value="ego_vehicle"/>
</Properties>
</Vehicle>
</ScenarioObject>
<ScenarioObject name="adversary">
<Vehicle name="vehicle.lincoln.mkz_2017" vehicleCategory="car">
<ParameterDeclarations/>
<Performance maxSpeed="69.444" maxAcceleration="200" maxDeceleration="10.0"/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2.1" length="4.5" height="1.8"/>
</BoundingBox>
<Axles>
<FrontAxle maxSteering="0.5" wheelDiameter="0.6" trackWidth="1.8" positionX="3.1" positionZ="0.3"/>
<RearAxle maxSteering="0.0" wheelDiameter="0.6" trackWidth="1.8" positionX="0.0" positionZ="0.3"/>
</Axles>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Vehicle>
</ScenarioObject>
<ScenarioObject name="standing">
<Vehicle name="vehicle.volkswagen.t2" vehicleCategory="car">
<ParameterDeclarations/>
<Performance maxSpeed="69.444" maxAcceleration="200" maxDeceleration="10.0"/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2.1" length="4.5" height="1.8"/>
</BoundingBox>
<Axles>
<FrontAxle maxSteering="0.5" wheelDiameter="0.6" trackWidth="1.8" positionX="3.1" positionZ="0.3"/>
<RearAxle maxSteering="0.0" wheelDiameter="0.6" trackWidth="1.8" positionX="0.0" positionZ="0.3"/>
</Axles>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Vehicle>
</ScenarioObject>
<ScenarioObject name="pedestrian_close_to_standing_559">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_close_to_hero_560">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_w_transform_561">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_w_transform_562">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_close_to_standing_563">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_w_transform_564">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_w_transform_565">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_close_to_standing_566">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_w_transform_567">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_w_transform_568">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_close_to_standing_569">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
</Entities>
<Storyboard>
<Init>
<Actions>
<GlobalAction>
<EnvironmentAction>
<Environment name="Environment1">
<TimeOfDay animation="false" dateTime="2019-06-25T12:00:00"/>
<Weather cloudState="free">
<Sun intensity="0.85" azimuth="0" elevation="1.31"/>
<Fog visualRange="100000.0"/>
<Precipitation precipitationType="dry" intensity="0.0"/>
</Weather>
<RoadCondition frictionScaleFactor="1.0"/>
</Environment>
</EnvironmentAction>
</GlobalAction>
<Private entityRef="hero">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-9.4" y="-152.8" z="0.5" h="1.57079632679"/>
</Position>
</TeleportAction>
</PrivateAction>
<PrivateAction>
<ControllerAction>
<AssignControllerAction>
<Controller name="HeroAgent">
<Properties>
<Property name="module" value="external_control"/>
</Properties>
</Controller>
</AssignControllerAction>
<OverrideControllerValueAction>
<Throttle value="0" active="false"/>
<Brake value="0" active="false"/>
<Clutch value="0" active="false"/>
<ParkingBrake value="0" active="false"/>
<SteeringWheel value="0" active="false"/>
<Gear number="0" active="false"/>
</OverrideControllerValueAction>
</ControllerAction>
</PrivateAction>
</Private>
<Private entityRef="adversary">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-9.4" y="-71.0" z="0.5" h="1.57079632679"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="standing">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-8.2" y="29.2" z="0.5" h="1.57079632679"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_close_to_standing_559">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-9.536955833435059" y="47.126556396484375" z="0.00307884206995368"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_close_to_hero_560">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-14.028002738952637" y="-148.33392333984375" z="0.0014286803780123591"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_w_transform_561">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="41.66231155395508" y="-13.317110061645508" z="0.5"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_w_transform_562">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-5.149931907653809" y="-50.89024353027344" z="0.5"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_close_to_standing_563">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-3.937126874923706" y="19.32227897644043" z="0.0030942154116928577"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_w_transform_564">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-57.62015151977539" y="38.44088363647461" z="0.5"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_w_transform_565">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="95.15489959716797" y="38.55360412597656" z="0.5"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_close_to_standing_566">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="0.7218384146690369" y="22.778898239135742" z="0.0030768965370953083"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_w_transform_567">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="99.4874496459961" y="-63.90755844116211" z="0.5"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_w_transform_568">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="38.28993606567383" y="-9.830204963684082" z="0.5"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_close_to_standing_569">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="1.1774576902389526" y="20.05030059814453" z="0.0030640410259366035"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
</Actions>
</Init>
<Story name="MyStory">
<Act name="Behavior">
<ManeuverGroup maximumExecutionCount="1" name="ManeuverSequence">
<Actors selectTriggeringEntities="false">
<EntityRef entityRef="adversary"/>
</Actors>
<Maneuver name="LaneChangeSimpleManeuver">
<Event name="AdversaryAccelerates" priority="overwrite">
<Action name="AdversaryAccelerates">
<PrivateAction>
<LongitudinalAction>
<SpeedAction>
<SpeedActionDynamics dynamicsShape="step" value="50" dynamicsDimension="distance"/>
<SpeedActionTarget>
<AbsoluteTargetSpeed value="5.0"/>
</SpeedActionTarget>
</SpeedAction>
</LongitudinalAction>
</PrivateAction>
</Action>
<StartTrigger>
<ConditionGroup>
<Condition name="StartCondition" delay="0" conditionEdge="rising">
<ByEntityCondition>
<TriggeringEntities triggeringEntitiesRule="any">
<EntityRef entityRef="hero"/>
</TriggeringEntities>
<EntityCondition>
<RelativeDistanceCondition entityRef="adversary" relativeDistanceType="cartesianDistance" value="40.0" freespace="false" rule="lessThan"/>
</EntityCondition>
</ByEntityCondition>
</Condition>
</ConditionGroup>
</StartTrigger>
</Event>
<Event name="AdversaryChangesLane" priority="overwrite">
<Action name="AdversaryChangesLane">
<PrivateAction>
<LateralAction>
<LaneChangeAction>
<LaneChangeActionDynamics dynamicsShape="linear" value="25" dynamicsDimension="distance"/>
<LaneChangeTarget>
<RelativeTargetLane entityRef="adversary" value="-1"/>
</LaneChangeTarget>
</LaneChangeAction>
</LateralAction>
</PrivateAction>
</Action>
<StartTrigger>
<ConditionGroup>
<Condition name="AfterAdversaryAccelerates" delay="0" conditionEdge="rising">
<ByValueCondition>
<StoryboardElementStateCondition storyboardElementType="action" storyboardElementRef="AdversaryAccelerates" state="completeState"/>
</ByValueCondition>
</Condition>
</ConditionGroup>
</StartTrigger>
</Event>
</Maneuver>
</ManeuverGroup>
<StartTrigger>
<ConditionGroup>
<Condition name="OverallStartCondition" delay="0" conditionEdge="rising">
<ByEntityCondition>
<TriggeringEntities triggeringEntitiesRule="any">
<EntityRef entityRef="hero"/>
</TriggeringEntities>
<EntityCondition>
<TraveledDistanceCondition value="1.0"/>
</EntityCondition>
</ByEntityCondition>
</Condition>
<Condition name="StartTime" delay="0" conditionEdge="rising">
<ByValueCondition>
<SimulationTimeCondition value="0" rule="equalTo"/>
</ByValueCondition>
</Condition>
</ConditionGroup>
</StartTrigger>
<StopTrigger>
<ConditionGroup>
<Condition name="EndCondition" delay="0" conditionEdge="rising">
<ByEntityCondition>
<TriggeringEntities triggeringEntitiesRule="any">
<EntityRef entityRef="hero"/>
</TriggeringEntities>
<EntityCondition>
<TraveledDistanceCondition value="200.0"/>
</EntityCondition>
</ByEntityCondition>
</Condition>
</ConditionGroup>
</StopTrigger>
</Act>
</Story>
<StopTrigger>
<ConditionGroup>
<Condition name="criteria_RunningStopTest" delay="0" conditionEdge="rising">
<ByValueCondition>
<ParameterCondition parameterRef="" value="" rule="lessThan"/>
</ByValueCondition>
</Condition>
<Condition name="criteria_RunningRedLightTest" delay="0" conditionEdge="rising">
<ByValueCondition>
<ParameterCondition parameterRef="" value="" rule="lessThan"/>
</ByValueCondition>
</Condition>
<Condition name="criteria_WrongLaneTest" delay="0" conditionEdge="rising">
<ByValueCondition>
<ParameterCondition parameterRef="" value="" rule="lessThan"/>
</ByValueCondition>
</Condition>
<Condition name="criteria_OnSidewalkTest" delay="0" conditionEdge="rising">
<ByValueCondition>
<ParameterCondition parameterRef="" value="" rule="lessThan"/>
</ByValueCondition>
</Condition>
<Condition name="criteria_KeepLaneTest" delay="0" conditionEdge="rising">
<ByValueCondition>
<ParameterCondition parameterRef="" value="" rule="lessThan"/>
</ByValueCondition>
</Condition>
<Condition name="criteria_CollisionTest" delay="0" conditionEdge="rising">
<ByValueCondition>
<ParameterCondition parameterRef="" value="" rule="lessThan"/>
</ByValueCondition>
</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_13704">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_w_transform_13705">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_close_to_standing_13706">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_close_to_hero_13707">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_close_to_hero_13708">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_w_transform_13709">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_w_transform_13711">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_w_transform_13712">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_w_transform_13713">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_w_transform_13715">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_close_to_standing_13716">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_w_transform_13717">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_close_to_adversary_13718">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_w_transform_13719">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
</Entities>
<Storyboard>
<Init>
<Actions>
<GlobalAction>
<EnvironmentAction>
<Environment name="Environment1">
<TimeOfDay animation="false" dateTime="2019-06-25T12:00:00"/>
<Weather cloudState="free">
<Sun intensity="0.85" azimuth="0" elevation="1.31"/>
<Fog visualRange="100000.0"/>
<Precipitation precipitationType="dry" intensity="0.0"/>
</Weather>
<RoadCondition frictionScaleFactor="1.0"/>
</Environment>
</EnvironmentAction>
</GlobalAction>
<Private entityRef="hero">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-9.4" y="-152.8" z="0.5" h="1.57079632679"/>
</Position>
</TeleportAction>
</PrivateAction>
<PrivateAction>
<ControllerAction>
<AssignControllerAction>
<Controller name="HeroAgent">
<Properties>
<Property name="module" value="external_control"/>
</Properties>
</Controller>
</AssignControllerAction>
<OverrideControllerValueAction>
<Throttle value="0" active="false"/>
<Brake value="0" active="false"/>
<Clutch value="0" active="false"/>
<ParkingBrake value="0" active="false"/>
<SteeringWheel value="0" active="false"/>
<Gear number="0" active="false"/>
</OverrideControllerValueAction>
</ControllerAction>
</PrivateAction>
</Private>
<Private entityRef="adversary">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-9.4" y="-71.0" z="0.5" h="1.57079632679"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="standing">
<PrivateAction>
<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_13704">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-9.644205093383789" y="19.59401512145996" z="0.003071746788918972"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_w_transform_13705">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-80.54520416259766" y="-66.56652069091797" z="0.5"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_close_to_standing_13706">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-8.880341529846191" y="23.83988380432129" z="0.00304412841796875"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_close_to_hero_13707">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-15.210285186767578" y="-153.19139099121094" z="0.0014286803780123591"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_close_to_hero_13708">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-18.438020706176758" y="-148.40206909179688" z="0.0014286803780123591"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_w_transform_13709">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-57.05258560180664" y="-11.408597946166992" z="0.5"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_w_transform_13711">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-85.29766845703125" y="49.437599182128906" z="0.5"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_w_transform_13712">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-67.74669647216797" y="-39.94721221923828" z="0.5"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_w_transform_13713">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-37.04177474975586" y="-19.434446334838867" z="0.5"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_w_transform_13715">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="60.30148696899414" y="27.70972442626953" z="0.5"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_close_to_standing_13716">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-17.981740951538086" y="25.79627227783203" z="0.003100166330114007"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_w_transform_13717">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="95.64005279541016" y="-21.02349281311035" z="0.5"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_close_to_adversary_13718">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-5.065615177154541" y="-80.50616455078125" z="0.0337504968047142"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_w_transform_13719">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="44.306007385253906" y="15.696097373962402" 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_13704">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_w_transform_13705">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_close_to_standing_13706">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_close_to_hero_13707">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_close_to_hero_13708">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_w_transform_13709">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_w_transform_13711">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_w_transform_13712">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_w_transform_13713">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_w_transform_13715">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_close_to_standing_13716">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_w_transform_13717">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_close_to_adversary_13718">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_w_transform_13719">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_close_to_hero_13720">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
</Entities>
<Storyboard>
<Init>
<Actions>
<GlobalAction>
<EnvironmentAction>
<Environment name="Environment1">
<TimeOfDay animation="false" dateTime="2019-06-25T12:00:00"/>
<Weather cloudState="free">
<Sun intensity="0.85" azimuth="0" elevation="1.31"/>
<Fog visualRange="100000.0"/>
<Precipitation precipitationType="dry" intensity="0.0"/>
</Weather>
<RoadCondition frictionScaleFactor="1.0"/>
</Environment>
</EnvironmentAction>
</GlobalAction>
<Private entityRef="hero">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-9.4" y="-152.8" z="0.5" h="1.57079632679"/>
</Position>
</TeleportAction>
</PrivateAction>
<PrivateAction>
<ControllerAction>
<AssignControllerAction>
<Controller name="HeroAgent">
<Properties>
<Property name="module" value="external_control"/>
</Properties>
</Controller>
</AssignControllerAction>
<OverrideControllerValueAction>
<Throttle value="0" active="false"/>
<Brake value="0" active="false"/>
<Clutch value="0" active="false"/>
<ParkingBrake value="0" active="false"/>
<SteeringWheel value="0" active="false"/>
<Gear number="0" active="false"/>
</OverrideControllerValueAction>
</ControllerAction>
</PrivateAction>
</Private>
<Private entityRef="adversary">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-9.4" y="-71.0" z="0.5" h="1.57079632679"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="standing">
<PrivateAction>
<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_13704">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-9.644205093383789" y="19.59401512145996" z="0.003071746788918972"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_w_transform_13705">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-80.54520416259766" y="-66.56652069091797" z="0.5"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_close_to_standing_13706">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-8.880341529846191" y="23.83988380432129" z="0.00304412841796875"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_close_to_hero_13707">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-15.210285186767578" y="-153.19139099121094" z="0.0014286803780123591"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_close_to_hero_13708">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-18.438020706176758" y="-148.40206909179688" z="0.0014286803780123591"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_w_transform_13709">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-57.05258560180664" y="-11.408597946166992" z="0.5"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_w_transform_13711">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-85.29766845703125" y="49.437599182128906" z="0.5"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_w_transform_13712">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-67.74669647216797" y="-39.94721221923828" z="0.5"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_w_transform_13713">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-37.04177474975586" y="-19.434446334838867" z="0.5"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_w_transform_13715">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="60.30148696899414" y="27.70972442626953" z="0.5"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_close_to_standing_13716">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-17.981740951538086" y="25.79627227783203" z="0.003100166330114007"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_w_transform_13717">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="95.64005279541016" y="-21.02349281311035" z="0.5"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_close_to_adversary_13718">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-5.065615177154541" y="-80.50616455078125" z="0.0337504968047142"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_w_transform_13719">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="44.306007385253906" y="15.696097373962402" z="0.5"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_close_to_hero_13720">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-12.468173027038574" y="-150.525634765625" z="0.0014286803780123591"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
</Actions>
</Init>
<Story name="MyStory">
<Act name="Behavior">
<ManeuverGroup maximumExecutionCount="1" name="ManeuverSequence">
<Actors selectTriggeringEntities="false">
<EntityRef entityRef="adversary"/>
</Actors>
<Maneuver name="LaneChangeSimpleManeuver">
<Event name="AdversaryAccelerates" priority="overwrite">
<Action name="AdversaryAccelerates">
<PrivateAction>
<LongitudinalAction>
<SpeedAction>
<SpeedActionDynamics dynamicsShape="step" value="50" dynamicsDimension="distance"/>
<SpeedActionTarget>
<AbsoluteTargetSpeed value="5.0"/>
</SpeedActionTarget>
</SpeedAction>
</LongitudinalAction>
</PrivateAction>
</Action>
<StartTrigger>
<ConditionGroup>
<Condition name="StartCondition" delay="0" conditionEdge="rising">
<ByEntityCondition>
<TriggeringEntities triggeringEntitiesRule="any">
<EntityRef entityRef="hero"/>
</TriggeringEntities>
<EntityCondition>
<RelativeDistanceCondition entityRef="adversary" relativeDistanceType="cartesianDistance" value="40.0" freespace="false" rule="lessThan"/>
</EntityCondition>
</ByEntityCondition>
</Condition>
</ConditionGroup>
</StartTrigger>
</Event>
<Event name="AdversaryChangesLane" priority="overwrite">
<Action name="AdversaryChangesLane">
<PrivateAction>
<LateralAction>
<LaneChangeAction>
<LaneChangeActionDynamics dynamicsShape="linear" value="25" dynamicsDimension="distance"/>
<LaneChangeTarget>
<RelativeTargetLane entityRef="adversary" value="-1"/>
</LaneChangeTarget>
</LaneChangeAction>
</LateralAction>
</PrivateAction>
</Action>
<StartTrigger>
<ConditionGroup>
<Condition name="AfterAdversaryAccelerates" delay="0" conditionEdge="rising">
<ByValueCondition>
<StoryboardElementStateCondition storyboardElementType="action" storyboardElementRef="AdversaryAccelerates" state="completeState"/>
</ByValueCondition>
</Condition>
</ConditionGroup>
</StartTrigger>
</Event>
</Maneuver>
</ManeuverGroup>
<StartTrigger>
<ConditionGroup>
<Condition name="OverallStartCondition" delay="0" conditionEdge="rising">
<ByEntityCondition>
<TriggeringEntities triggeringEntitiesRule="any">
<EntityRef entityRef="hero"/>
</TriggeringEntities>
<EntityCondition>
<TraveledDistanceCondition value="1.0"/>
</EntityCondition>
</ByEntityCondition>
</Condition>
<Condition name="StartTime" delay="0" conditionEdge="rising">
<ByValueCondition>
<SimulationTimeCondition value="0" rule="equalTo"/>
</ByValueCondition>
</Condition>
</ConditionGroup>
</StartTrigger>
<StopTrigger>
<ConditionGroup>
<Condition name="EndCondition" delay="0" conditionEdge="rising">
<ByEntityCondition>
<TriggeringEntities triggeringEntitiesRule="any">
<EntityRef entityRef="hero"/>
</TriggeringEntities>
<EntityCondition>
<TraveledDistanceCondition value="200.0"/>
</EntityCondition>
</ByEntityCondition>
</Condition>
</ConditionGroup>
</StopTrigger>
</Act>
</Story>
<StopTrigger>
<ConditionGroup>
<Condition name="criteria_RunningStopTest" delay="0" conditionEdge="rising">
<ByValueCondition>
<ParameterCondition parameterRef="" value="" rule="lessThan"/>
</ByValueCondition>
</Condition>
<Condition name="criteria_RunningRedLightTest" delay="0" conditionEdge="rising">
<ByValueCondition>
<ParameterCondition parameterRef="" value="" rule="lessThan"/>
</ByValueCondition>
</Condition>
<Condition name="criteria_WrongLaneTest" delay="0" conditionEdge="rising">
<ByValueCondition>
<ParameterCondition parameterRef="" value="" rule="lessThan"/>
</ByValueCondition>
</Condition>
<Condition name="criteria_OnSidewalkTest" delay="0" conditionEdge="rising">
<ByValueCondition>
<ParameterCondition parameterRef="" value="" rule="lessThan"/>
</ByValueCondition>
</Condition>
<Condition name="criteria_KeepLaneTest" delay="0" conditionEdge="rising">
<ByValueCondition>
<ParameterCondition parameterRef="" value="" rule="lessThan"/>
</ByValueCondition>
</Condition>
<Condition name="criteria_CollisionTest" delay="0" conditionEdge="rising">
<ByValueCondition>
<ParameterCondition parameterRef="" value="" rule="lessThan"/>
</ByValueCondition>
</Condition>
<Condition name="criteria_DrivenDistanceTest" delay="0" conditionEdge="rising">
<ByValueCondition>
<ParameterCondition parameterRef="distance_success" value="100" rule="lessThan"/>
</ByValueCondition>
</Condition>
</ConditionGroup>
</StopTrigger>
</Storyboard>
</OpenSCENARIO>
``` |
could you add pedestrian close to hero?
```
<?xml version="1.0" ?>
<OpenSCENARIO>
<FileHeader revMajor="1" revMinor="0" date="2020-03-24T12:00:00" description="CARLA:LaneChangeSimple" author=""/>
<ParameterDeclarations/>
<CatalogLocations/>
<RoadNetwork>
<LogicFile filepath="Town04"/>
<SceneGraphFile filepath=""/>
</RoadNetwork>
<Entities>
<ScenarioObject name="hero">
<Vehicle name="vehicle.tesla.model3" vehicleCategory="car">
<ParameterDeclarations/>
<Performance maxSpeed="69.444" maxAcceleration="200" maxDeceleration="10.0"/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2.1" length="4.5" height="1.8"/>
</BoundingBox>
<Axles>
<FrontAxle maxSteering="0.5" wheelDiameter="0.6" trackWidth="1.8" positionX="3.1" positionZ="0.3"/>
<RearAxle maxSteering="0.0" wheelDiameter="0.6" trackWidth="1.8" positionX="0.0" positionZ="0.3"/>
</Axles>
<Properties>
<Property name="type" value="ego_vehicle"/>
</Properties>
</Vehicle>
</ScenarioObject>
<ScenarioObject name="adversary">
<Vehicle name="vehicle.lincoln.mkz_2017" vehicleCategory="car">
<ParameterDeclarations/>
<Performance maxSpeed="69.444" maxAcceleration="200" maxDeceleration="10.0"/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2.1" length="4.5" height="1.8"/>
</BoundingBox>
<Axles>
<FrontAxle maxSteering="0.5" wheelDiameter="0.6" trackWidth="1.8" positionX="3.1" positionZ="0.3"/>
<RearAxle maxSteering="0.0" wheelDiameter="0.6" trackWidth="1.8" positionX="0.0" positionZ="0.3"/>
</Axles>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Vehicle>
</ScenarioObject>
<ScenarioObject name="standing">
<Vehicle name="vehicle.volkswagen.t2" vehicleCategory="car">
<ParameterDeclarations/>
<Performance maxSpeed="69.444" maxAcceleration="200" maxDeceleration="10.0"/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2.1" length="4.5" height="1.8"/>
</BoundingBox>
<Axles>
<FrontAxle maxSteering="0.5" wheelDiameter="0.6" trackWidth="1.8" positionX="3.1" positionZ="0.3"/>
<RearAxle maxSteering="0.0" wheelDiameter="0.6" trackWidth="1.8" positionX="0.0" positionZ="0.3"/>
</Axles>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Vehicle>
</ScenarioObject>
<ScenarioObject name="pedestrian_close_to_standing_20648">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_w_transform_20649">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_close_to_adversary_20650">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_close_to_adversary_20651">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_w_transform_20652">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_close_to_standing_20653">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
</Entities>
<Storyboard>
<Init>
<Actions>
<GlobalAction>
<EnvironmentAction>
<Environment name="Environment1">
<TimeOfDay animation="false" dateTime="2019-06-25T12:00:00"/>
<Weather cloudState="free">
<Sun intensity="0.85" azimuth="0" elevation="1.31"/>
<Fog visualRange="100000.0"/>
<Precipitation precipitationType="dry" intensity="0.0"/>
</Weather>
<RoadCondition frictionScaleFactor="1.0"/>
</Environment>
</EnvironmentAction>
</GlobalAction>
<Private entityRef="hero">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-9.4" y="-152.8" z="0.5" h="1.57079632679"/>
</Position>
</TeleportAction>
</PrivateAction>
<PrivateAction>
<ControllerAction>
<AssignControllerAction>
<Controller name="HeroAgent">
<Properties>
<Property name="module" value="external_control"/>
</Properties>
</Controller>
</AssignControllerAction>
<OverrideControllerValueAction>
<Throttle value="0" active="false"/>
<Brake value="0" active="false"/>
<Clutch value="0" active="false"/>
<ParkingBrake value="0" active="false"/>
<SteeringWheel value="0" active="false"/>
<Gear number="0" active="false"/>
</OverrideControllerValueAction>
</ControllerAction>
</PrivateAction>
</Private>
<Private entityRef="adversary">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-9.4" y="-71.0" z="0.5" h="1.57079632679"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="standing">
<PrivateAction>
<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_20648">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-10.695732116699219" y="36.801666259765625" z="0.0030356214847415686"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_w_transform_20649">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="95.73976135253906" y="80.52034759521484" z="0.5"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_close_to_adversary_20650">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-8.076745986938477" y="-61.708309173583984" z="0.03383125364780426"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_close_to_adversary_20651">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-11.02977466583252" y="-78.17330169677734" z="0.033838577568531036"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_w_transform_20652">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="98.74080657958984" y="-35.14081573486328" z="0.5"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_close_to_standing_20653">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-9.512673377990723" y="29.954864501953125" z="0.0031163024250417948"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
</Actions>
</Init>
<Story name="MyStory">
<Act name="Behavior">
<ManeuverGroup maximumExecutionCount="1" name="ManeuverSequence">
<Actors selectTriggeringEntities="false">
<EntityRef entityRef="adversary"/>
</Actors>
<Maneuver name="LaneChangeSimpleManeuver">
<Event name="AdversaryAccelerates" priority="overwrite">
<Action name="AdversaryAccelerates">
<PrivateAction>
<LongitudinalAction>
<SpeedAction>
<SpeedActionDynamics dynamicsShape="step" value="50" dynamicsDimension="distance"/>
<SpeedActionTarget>
<AbsoluteTargetSpeed value="5.0"/>
</SpeedActionTarget>
</SpeedAction>
</LongitudinalAction>
</PrivateAction>
</Action>
<StartTrigger>
<ConditionGroup>
<Condition name="StartCondition" delay="0" conditionEdge="rising">
<ByEntityCondition>
<TriggeringEntities triggeringEntitiesRule="any">
<EntityRef entityRef="hero"/>
</TriggeringEntities>
<EntityCondition>
<RelativeDistanceCondition entityRef="adversary" relativeDistanceType="cartesianDistance" value="40.0" freespace="false" rule="lessThan"/>
</EntityCondition>
</ByEntityCondition>
</Condition>
</ConditionGroup>
</StartTrigger>
</Event>
<Event name="AdversaryChangesLane" priority="overwrite">
<Action name="AdversaryChangesLane">
<PrivateAction>
<LateralAction>
<LaneChangeAction>
<LaneChangeActionDynamics dynamicsShape="linear" value="25" dynamicsDimension="distance"/>
<LaneChangeTarget>
<RelativeTargetLane entityRef="adversary" value="-1"/>
</LaneChangeTarget>
</LaneChangeAction>
</LateralAction>
</PrivateAction>
</Action>
<StartTrigger>
<ConditionGroup>
<Condition name="AfterAdversaryAccelerates" delay="0" conditionEdge="rising">
<ByValueCondition>
<StoryboardElementStateCondition storyboardElementType="action" storyboardElementRef="AdversaryAccelerates" state="completeState"/>
</ByValueCondition>
</Condition>
</ConditionGroup>
</StartTrigger>
</Event>
</Maneuver>
</ManeuverGroup>
<StartTrigger>
<ConditionGroup>
<Condition name="OverallStartCondition" delay="0" conditionEdge="rising">
<ByEntityCondition>
<TriggeringEntities triggeringEntitiesRule="any">
<EntityRef entityRef="hero"/>
</TriggeringEntities>
<EntityCondition>
<TraveledDistanceCondition value="1.0"/>
</EntityCondition>
</ByEntityCondition>
</Condition>
<Condition name="StartTime" delay="0" conditionEdge="rising">
<ByValueCondition>
<SimulationTimeCondition value="0" rule="equalTo"/>
</ByValueCondition>
</Condition>
</ConditionGroup>
</StartTrigger>
<StopTrigger>
<ConditionGroup>
<Condition name="EndCondition" delay="0" conditionEdge="rising">
<ByEntityCondition>
<TriggeringEntities triggeringEntitiesRule="any">
<EntityRef entityRef="hero"/>
</TriggeringEntities>
<EntityCondition>
<TraveledDistanceCondition value="200.0"/>
</EntityCondition>
</ByEntityCondition>
</Condition>
</ConditionGroup>
</StopTrigger>
</Act>
</Story>
<StopTrigger>
<ConditionGroup>
<Condition name="criteria_RunningStopTest" delay="0" conditionEdge="rising">
<ByValueCondition>
<ParameterCondition parameterRef="" value="" rule="lessThan"/>
</ByValueCondition>
</Condition>
<Condition name="criteria_RunningRedLightTest" delay="0" conditionEdge="rising">
<ByValueCondition>
<ParameterCondition parameterRef="" value="" rule="lessThan"/>
</ByValueCondition>
</Condition>
<Condition name="criteria_WrongLaneTest" delay="0" conditionEdge="rising">
<ByValueCondition>
<ParameterCondition parameterRef="" value="" rule="lessThan"/>
</ByValueCondition>
</Condition>
<Condition name="criteria_OnSidewalkTest" delay="0" conditionEdge="rising">
<ByValueCondition>
<ParameterCondition parameterRef="" value="" rule="lessThan"/>
</ByValueCondition>
</Condition>
<Condition name="criteria_KeepLaneTest" delay="0" conditionEdge="rising">
<ByValueCondition>
<ParameterCondition parameterRef="" value="" rule="lessThan"/>
</ByValueCondition>
</Condition>
<Condition name="criteria_CollisionTest" delay="0" conditionEdge="rising">
<ByValueCondition>
<ParameterCondition parameterRef="" value="" rule="lessThan"/>
</ByValueCondition>
</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_20648">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_w_transform_20649">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_close_to_adversary_20650">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_close_to_adversary_20651">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_w_transform_20652">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_close_to_standing_20653">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_close_to_hero_20654">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
</Entities>
<Storyboard>
<Init>
<Actions>
<GlobalAction>
<EnvironmentAction>
<Environment name="Environment1">
<TimeOfDay animation="false" dateTime="2019-06-25T12:00:00"/>
<Weather cloudState="free">
<Sun intensity="0.85" azimuth="0" elevation="1.31"/>
<Fog visualRange="100000.0"/>
<Precipitation precipitationType="dry" intensity="0.0"/>
</Weather>
<RoadCondition frictionScaleFactor="1.0"/>
</Environment>
</EnvironmentAction>
</GlobalAction>
<Private entityRef="hero">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-9.4" y="-152.8" z="0.5" h="1.57079632679"/>
</Position>
</TeleportAction>
</PrivateAction>
<PrivateAction>
<ControllerAction>
<AssignControllerAction>
<Controller name="HeroAgent">
<Properties>
<Property name="module" value="external_control"/>
</Properties>
</Controller>
</AssignControllerAction>
<OverrideControllerValueAction>
<Throttle value="0" active="false"/>
<Brake value="0" active="false"/>
<Clutch value="0" active="false"/>
<ParkingBrake value="0" active="false"/>
<SteeringWheel value="0" active="false"/>
<Gear number="0" active="false"/>
</OverrideControllerValueAction>
</ControllerAction>
</PrivateAction>
</Private>
<Private entityRef="adversary">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-9.4" y="-71.0" z="0.5" h="1.57079632679"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="standing">
<PrivateAction>
<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_20648">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-10.695732116699219" y="36.801666259765625" z="0.0030356214847415686"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_w_transform_20649">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="95.73976135253906" y="80.52034759521484" z="0.5"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_close_to_adversary_20650">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-8.076745986938477" y="-61.708309173583984" z="0.03383125364780426"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_close_to_adversary_20651">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-11.02977466583252" y="-78.17330169677734" z="0.033838577568531036"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_w_transform_20652">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="98.74080657958984" y="-35.14081573486328" z="0.5"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_close_to_standing_20653">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-9.512673377990723" y="29.954864501953125" z="0.0031163024250417948"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_close_to_hero_20654">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-22.992074966430664" y="-145.40440368652344" z="0.0014286803780123591"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
</Actions>
</Init>
<Story name="MyStory">
<Act name="Behavior">
<ManeuverGroup maximumExecutionCount="1" name="ManeuverSequence">
<Actors selectTriggeringEntities="false">
<EntityRef entityRef="adversary"/>
</Actors>
<Maneuver name="LaneChangeSimpleManeuver">
<Event name="AdversaryAccelerates" priority="overwrite">
<Action name="AdversaryAccelerates">
<PrivateAction>
<LongitudinalAction>
<SpeedAction>
<SpeedActionDynamics dynamicsShape="step" value="50" dynamicsDimension="distance"/>
<SpeedActionTarget>
<AbsoluteTargetSpeed value="5.0"/>
</SpeedActionTarget>
</SpeedAction>
</LongitudinalAction>
</PrivateAction>
</Action>
<StartTrigger>
<ConditionGroup>
<Condition name="StartCondition" delay="0" conditionEdge="rising">
<ByEntityCondition>
<TriggeringEntities triggeringEntitiesRule="any">
<EntityRef entityRef="hero"/>
</TriggeringEntities>
<EntityCondition>
<RelativeDistanceCondition entityRef="adversary" relativeDistanceType="cartesianDistance" value="40.0" freespace="false" rule="lessThan"/>
</EntityCondition>
</ByEntityCondition>
</Condition>
</ConditionGroup>
</StartTrigger>
</Event>
<Event name="AdversaryChangesLane" priority="overwrite">
<Action name="AdversaryChangesLane">
<PrivateAction>
<LateralAction>
<LaneChangeAction>
<LaneChangeActionDynamics dynamicsShape="linear" value="25" dynamicsDimension="distance"/>
<LaneChangeTarget>
<RelativeTargetLane entityRef="adversary" value="-1"/>
</LaneChangeTarget>
</LaneChangeAction>
</LateralAction>
</PrivateAction>
</Action>
<StartTrigger>
<ConditionGroup>
<Condition name="AfterAdversaryAccelerates" delay="0" conditionEdge="rising">
<ByValueCondition>
<StoryboardElementStateCondition storyboardElementType="action" storyboardElementRef="AdversaryAccelerates" state="completeState"/>
</ByValueCondition>
</Condition>
</ConditionGroup>
</StartTrigger>
</Event>
</Maneuver>
</ManeuverGroup>
<StartTrigger>
<ConditionGroup>
<Condition name="OverallStartCondition" delay="0" conditionEdge="rising">
<ByEntityCondition>
<TriggeringEntities triggeringEntitiesRule="any">
<EntityRef entityRef="hero"/>
</TriggeringEntities>
<EntityCondition>
<TraveledDistanceCondition value="1.0"/>
</EntityCondition>
</ByEntityCondition>
</Condition>
<Condition name="StartTime" delay="0" conditionEdge="rising">
<ByValueCondition>
<SimulationTimeCondition value="0" rule="equalTo"/>
</ByValueCondition>
</Condition>
</ConditionGroup>
</StartTrigger>
<StopTrigger>
<ConditionGroup>
<Condition name="EndCondition" delay="0" conditionEdge="rising">
<ByEntityCondition>
<TriggeringEntities triggeringEntitiesRule="any">
<EntityRef entityRef="hero"/>
</TriggeringEntities>
<EntityCondition>
<TraveledDistanceCondition value="200.0"/>
</EntityCondition>
</ByEntityCondition>
</Condition>
</ConditionGroup>
</StopTrigger>
</Act>
</Story>
<StopTrigger>
<ConditionGroup>
<Condition name="criteria_RunningStopTest" delay="0" conditionEdge="rising">
<ByValueCondition>
<ParameterCondition parameterRef="" value="" rule="lessThan"/>
</ByValueCondition>
</Condition>
<Condition name="criteria_RunningRedLightTest" delay="0" conditionEdge="rising">
<ByValueCondition>
<ParameterCondition parameterRef="" value="" rule="lessThan"/>
</ByValueCondition>
</Condition>
<Condition name="criteria_WrongLaneTest" delay="0" conditionEdge="rising">
<ByValueCondition>
<ParameterCondition parameterRef="" value="" rule="lessThan"/>
</ByValueCondition>
</Condition>
<Condition name="criteria_OnSidewalkTest" delay="0" conditionEdge="rising">
<ByValueCondition>
<ParameterCondition parameterRef="" value="" rule="lessThan"/>
</ByValueCondition>
</Condition>
<Condition name="criteria_KeepLaneTest" delay="0" conditionEdge="rising">
<ByValueCondition>
<ParameterCondition parameterRef="" value="" rule="lessThan"/>
</ByValueCondition>
</Condition>
<Condition name="criteria_CollisionTest" delay="0" conditionEdge="rising">
<ByValueCondition>
<ParameterCondition parameterRef="" value="" rule="lessThan"/>
</ByValueCondition>
</Condition>
<Condition name="criteria_DrivenDistanceTest" delay="0" conditionEdge="rising">
<ByValueCondition>
<ParameterCondition parameterRef="distance_success" value="100" rule="lessThan"/>
</ByValueCondition>
</Condition>
</ConditionGroup>
</StopTrigger>
</Storyboard>
</OpenSCENARIO>
``` |
i would like to direct you to add pedestrian 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_6941">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_w_transform_6942">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_w_transform_6943">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_w_transform_6944">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_close_to_hero_6945">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_close_to_hero_6946">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_w_transform_6947">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_close_to_standing_6948">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_w_transform_6949">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_w_transform_6950">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_close_to_hero_6951">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
</Entities>
<Storyboard>
<Init>
<Actions>
<GlobalAction>
<EnvironmentAction>
<Environment name="Environment1">
<TimeOfDay animation="false" dateTime="2019-06-25T12:00:00"/>
<Weather cloudState="free">
<Sun intensity="0.85" azimuth="0" elevation="1.31"/>
<Fog visualRange="100000.0"/>
<Precipitation precipitationType="dry" intensity="0.0"/>
</Weather>
<RoadCondition frictionScaleFactor="1.0"/>
</Environment>
</EnvironmentAction>
</GlobalAction>
<Private entityRef="hero">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-9.4" y="-152.8" z="0.5" h="1.57079632679"/>
</Position>
</TeleportAction>
</PrivateAction>
<PrivateAction>
<ControllerAction>
<AssignControllerAction>
<Controller name="HeroAgent">
<Properties>
<Property name="module" value="external_control"/>
</Properties>
</Controller>
</AssignControllerAction>
<OverrideControllerValueAction>
<Throttle value="0" active="false"/>
<Brake value="0" active="false"/>
<Clutch value="0" active="false"/>
<ParkingBrake value="0" active="false"/>
<SteeringWheel value="0" active="false"/>
<Gear number="0" active="false"/>
</OverrideControllerValueAction>
</ControllerAction>
</PrivateAction>
</Private>
<Private entityRef="adversary">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-9.4" y="-71.0" z="0.5" h="1.57079632679"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="standing">
<PrivateAction>
<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_6941">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-13.634389877319336" y="-156.68316650390625" z="0.0014286803780123591"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_w_transform_6942">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-49.874778747558594" y="-63.4664192199707" z="0.5"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_w_transform_6943">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-72.4316177368164" y="-64.01346588134766" z="0.5"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_w_transform_6944">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-54.80162811279297" y="-80.17723083496094" z="0.5"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_close_to_hero_6945">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-12.477344512939453" y="-159.11219787597656" z="0.0014286803780123591"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_close_to_hero_6946">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-12.430068016052246" y="-156.2964324951172" z="0.0014286803780123591"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_w_transform_6947">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="14.505066871643066" y="-15.920809745788574" z="0.5"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_close_to_standing_6948">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-5.012459754943848" y="31.603839874267578" z="0.003017768729478121"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_w_transform_6949">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="15.373392105102539" y="75.72087097167969" z="0.5"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_w_transform_6950">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-76.35677337646484" y="23.559173583984375" z="0.5"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_close_to_hero_6951">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-21.046722412109375" y="-168.35964965820312" z="0.0014286803780123591"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
</Actions>
</Init>
<Story name="MyStory">
<Act name="Behavior">
<ManeuverGroup maximumExecutionCount="1" name="ManeuverSequence">
<Actors selectTriggeringEntities="false">
<EntityRef entityRef="adversary"/>
</Actors>
<Maneuver name="LaneChangeSimpleManeuver">
<Event name="AdversaryAccelerates" priority="overwrite">
<Action name="AdversaryAccelerates">
<PrivateAction>
<LongitudinalAction>
<SpeedAction>
<SpeedActionDynamics dynamicsShape="step" value="50" dynamicsDimension="distance"/>
<SpeedActionTarget>
<AbsoluteTargetSpeed value="5.0"/>
</SpeedActionTarget>
</SpeedAction>
</LongitudinalAction>
</PrivateAction>
</Action>
<StartTrigger>
<ConditionGroup>
<Condition name="StartCondition" delay="0" conditionEdge="rising">
<ByEntityCondition>
<TriggeringEntities triggeringEntitiesRule="any">
<EntityRef entityRef="hero"/>
</TriggeringEntities>
<EntityCondition>
<RelativeDistanceCondition entityRef="adversary" relativeDistanceType="cartesianDistance" value="40.0" freespace="false" rule="lessThan"/>
</EntityCondition>
</ByEntityCondition>
</Condition>
</ConditionGroup>
</StartTrigger>
</Event>
<Event name="AdversaryChangesLane" priority="overwrite">
<Action name="AdversaryChangesLane">
<PrivateAction>
<LateralAction>
<LaneChangeAction>
<LaneChangeActionDynamics dynamicsShape="linear" value="25" dynamicsDimension="distance"/>
<LaneChangeTarget>
<RelativeTargetLane entityRef="adversary" value="-1"/>
</LaneChangeTarget>
</LaneChangeAction>
</LateralAction>
</PrivateAction>
</Action>
<StartTrigger>
<ConditionGroup>
<Condition name="AfterAdversaryAccelerates" delay="0" conditionEdge="rising">
<ByValueCondition>
<StoryboardElementStateCondition storyboardElementType="action" storyboardElementRef="AdversaryAccelerates" state="completeState"/>
</ByValueCondition>
</Condition>
</ConditionGroup>
</StartTrigger>
</Event>
</Maneuver>
</ManeuverGroup>
<StartTrigger>
<ConditionGroup>
<Condition name="OverallStartCondition" delay="0" conditionEdge="rising">
<ByEntityCondition>
<TriggeringEntities triggeringEntitiesRule="any">
<EntityRef entityRef="hero"/>
</TriggeringEntities>
<EntityCondition>
<TraveledDistanceCondition value="1.0"/>
</EntityCondition>
</ByEntityCondition>
</Condition>
<Condition name="StartTime" delay="0" conditionEdge="rising">
<ByValueCondition>
<SimulationTimeCondition value="0" rule="equalTo"/>
</ByValueCondition>
</Condition>
</ConditionGroup>
</StartTrigger>
<StopTrigger>
<ConditionGroup>
<Condition name="EndCondition" delay="0" conditionEdge="rising">
<ByEntityCondition>
<TriggeringEntities triggeringEntitiesRule="any">
<EntityRef entityRef="hero"/>
</TriggeringEntities>
<EntityCondition>
<TraveledDistanceCondition value="200.0"/>
</EntityCondition>
</ByEntityCondition>
</Condition>
</ConditionGroup>
</StopTrigger>
</Act>
</Story>
<StopTrigger>
<ConditionGroup>
<Condition name="criteria_RunningStopTest" delay="0" conditionEdge="rising">
<ByValueCondition>
<ParameterCondition parameterRef="" value="" rule="lessThan"/>
</ByValueCondition>
</Condition>
<Condition name="criteria_RunningRedLightTest" delay="0" conditionEdge="rising">
<ByValueCondition>
<ParameterCondition parameterRef="" value="" rule="lessThan"/>
</ByValueCondition>
</Condition>
<Condition name="criteria_WrongLaneTest" delay="0" conditionEdge="rising">
<ByValueCondition>
<ParameterCondition parameterRef="" value="" rule="lessThan"/>
</ByValueCondition>
</Condition>
<Condition name="criteria_OnSidewalkTest" delay="0" conditionEdge="rising">
<ByValueCondition>
<ParameterCondition parameterRef="" value="" rule="lessThan"/>
</ByValueCondition>
</Condition>
<Condition name="criteria_KeepLaneTest" delay="0" conditionEdge="rising">
<ByValueCondition>
<ParameterCondition parameterRef="" value="" rule="lessThan"/>
</ByValueCondition>
</Condition>
<Condition name="criteria_CollisionTest" delay="0" conditionEdge="rising">
<ByValueCondition>
<ParameterCondition parameterRef="" value="" rule="lessThan"/>
</ByValueCondition>
</Condition>
<Condition name="criteria_DrivenDistanceTest" delay="0" conditionEdge="rising">
<ByValueCondition>
<ParameterCondition parameterRef="distance_success" value="100" rule="lessThan"/>
</ByValueCondition>
</Condition>
</ConditionGroup>
</StopTrigger>
</Storyboard>
</OpenSCENARIO>
``` | Here is the result:
```
<?xml version="1.0" ?>
<OpenSCENARIO>
<FileHeader revMajor="1" revMinor="0" date="2020-03-24T12:00:00" description="CARLA:LaneChangeSimple" author=""/>
<ParameterDeclarations/>
<CatalogLocations/>
<RoadNetwork>
<LogicFile filepath="Town04"/>
<SceneGraphFile filepath=""/>
</RoadNetwork>
<Entities>
<ScenarioObject name="hero">
<Vehicle name="vehicle.tesla.model3" vehicleCategory="car">
<ParameterDeclarations/>
<Performance maxSpeed="69.444" maxAcceleration="200" maxDeceleration="10.0"/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2.1" length="4.5" height="1.8"/>
</BoundingBox>
<Axles>
<FrontAxle maxSteering="0.5" wheelDiameter="0.6" trackWidth="1.8" positionX="3.1" positionZ="0.3"/>
<RearAxle maxSteering="0.0" wheelDiameter="0.6" trackWidth="1.8" positionX="0.0" positionZ="0.3"/>
</Axles>
<Properties>
<Property name="type" value="ego_vehicle"/>
</Properties>
</Vehicle>
</ScenarioObject>
<ScenarioObject name="adversary">
<Vehicle name="vehicle.lincoln.mkz_2017" vehicleCategory="car">
<ParameterDeclarations/>
<Performance maxSpeed="69.444" maxAcceleration="200" maxDeceleration="10.0"/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2.1" length="4.5" height="1.8"/>
</BoundingBox>
<Axles>
<FrontAxle maxSteering="0.5" wheelDiameter="0.6" trackWidth="1.8" positionX="3.1" positionZ="0.3"/>
<RearAxle maxSteering="0.0" wheelDiameter="0.6" trackWidth="1.8" positionX="0.0" positionZ="0.3"/>
</Axles>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Vehicle>
</ScenarioObject>
<ScenarioObject name="standing">
<Vehicle name="vehicle.volkswagen.t2" vehicleCategory="car">
<ParameterDeclarations/>
<Performance maxSpeed="69.444" maxAcceleration="200" maxDeceleration="10.0"/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2.1" length="4.5" height="1.8"/>
</BoundingBox>
<Axles>
<FrontAxle maxSteering="0.5" wheelDiameter="0.6" trackWidth="1.8" positionX="3.1" positionZ="0.3"/>
<RearAxle maxSteering="0.0" wheelDiameter="0.6" trackWidth="1.8" positionX="0.0" positionZ="0.3"/>
</Axles>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Vehicle>
</ScenarioObject>
<ScenarioObject name="pedestrian_close_to_hero_6941">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_w_transform_6942">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_w_transform_6943">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_w_transform_6944">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_close_to_hero_6945">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_close_to_hero_6946">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_w_transform_6947">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_close_to_standing_6948">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_w_transform_6949">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_w_transform_6950">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_close_to_hero_6951">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_close_to_standing_6952">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
</Entities>
<Storyboard>
<Init>
<Actions>
<GlobalAction>
<EnvironmentAction>
<Environment name="Environment1">
<TimeOfDay animation="false" dateTime="2019-06-25T12:00:00"/>
<Weather cloudState="free">
<Sun intensity="0.85" azimuth="0" elevation="1.31"/>
<Fog visualRange="100000.0"/>
<Precipitation precipitationType="dry" intensity="0.0"/>
</Weather>
<RoadCondition frictionScaleFactor="1.0"/>
</Environment>
</EnvironmentAction>
</GlobalAction>
<Private entityRef="hero">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-9.4" y="-152.8" z="0.5" h="1.57079632679"/>
</Position>
</TeleportAction>
</PrivateAction>
<PrivateAction>
<ControllerAction>
<AssignControllerAction>
<Controller name="HeroAgent">
<Properties>
<Property name="module" value="external_control"/>
</Properties>
</Controller>
</AssignControllerAction>
<OverrideControllerValueAction>
<Throttle value="0" active="false"/>
<Brake value="0" active="false"/>
<Clutch value="0" active="false"/>
<ParkingBrake value="0" active="false"/>
<SteeringWheel value="0" active="false"/>
<Gear number="0" active="false"/>
</OverrideControllerValueAction>
</ControllerAction>
</PrivateAction>
</Private>
<Private entityRef="adversary">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-9.4" y="-71.0" z="0.5" h="1.57079632679"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="standing">
<PrivateAction>
<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_6941">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-13.634389877319336" y="-156.68316650390625" z="0.0014286803780123591"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_w_transform_6942">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-49.874778747558594" y="-63.4664192199707" z="0.5"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_w_transform_6943">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-72.4316177368164" y="-64.01346588134766" z="0.5"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_w_transform_6944">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-54.80162811279297" y="-80.17723083496094" z="0.5"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_close_to_hero_6945">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-12.477344512939453" y="-159.11219787597656" z="0.0014286803780123591"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_close_to_hero_6946">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-12.430068016052246" y="-156.2964324951172" z="0.0014286803780123591"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_w_transform_6947">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="14.505066871643066" y="-15.920809745788574" z="0.5"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_close_to_standing_6948">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-5.012459754943848" y="31.603839874267578" z="0.003017768729478121"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_w_transform_6949">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="15.373392105102539" y="75.72087097167969" z="0.5"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_w_transform_6950">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-76.35677337646484" y="23.559173583984375" z="0.5"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_close_to_hero_6951">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-21.046722412109375" y="-168.35964965820312" z="0.0014286803780123591"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_close_to_standing_6952">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-8.079594612121582" y="20.342798233032227" z="0.0030553818214684725"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
</Actions>
</Init>
<Story name="MyStory">
<Act name="Behavior">
<ManeuverGroup maximumExecutionCount="1" name="ManeuverSequence">
<Actors selectTriggeringEntities="false">
<EntityRef entityRef="adversary"/>
</Actors>
<Maneuver name="LaneChangeSimpleManeuver">
<Event name="AdversaryAccelerates" priority="overwrite">
<Action name="AdversaryAccelerates">
<PrivateAction>
<LongitudinalAction>
<SpeedAction>
<SpeedActionDynamics dynamicsShape="step" value="50" dynamicsDimension="distance"/>
<SpeedActionTarget>
<AbsoluteTargetSpeed value="5.0"/>
</SpeedActionTarget>
</SpeedAction>
</LongitudinalAction>
</PrivateAction>
</Action>
<StartTrigger>
<ConditionGroup>
<Condition name="StartCondition" delay="0" conditionEdge="rising">
<ByEntityCondition>
<TriggeringEntities triggeringEntitiesRule="any">
<EntityRef entityRef="hero"/>
</TriggeringEntities>
<EntityCondition>
<RelativeDistanceCondition entityRef="adversary" relativeDistanceType="cartesianDistance" value="40.0" freespace="false" rule="lessThan"/>
</EntityCondition>
</ByEntityCondition>
</Condition>
</ConditionGroup>
</StartTrigger>
</Event>
<Event name="AdversaryChangesLane" priority="overwrite">
<Action name="AdversaryChangesLane">
<PrivateAction>
<LateralAction>
<LaneChangeAction>
<LaneChangeActionDynamics dynamicsShape="linear" value="25" dynamicsDimension="distance"/>
<LaneChangeTarget>
<RelativeTargetLane entityRef="adversary" value="-1"/>
</LaneChangeTarget>
</LaneChangeAction>
</LateralAction>
</PrivateAction>
</Action>
<StartTrigger>
<ConditionGroup>
<Condition name="AfterAdversaryAccelerates" delay="0" conditionEdge="rising">
<ByValueCondition>
<StoryboardElementStateCondition storyboardElementType="action" storyboardElementRef="AdversaryAccelerates" state="completeState"/>
</ByValueCondition>
</Condition>
</ConditionGroup>
</StartTrigger>
</Event>
</Maneuver>
</ManeuverGroup>
<StartTrigger>
<ConditionGroup>
<Condition name="OverallStartCondition" delay="0" conditionEdge="rising">
<ByEntityCondition>
<TriggeringEntities triggeringEntitiesRule="any">
<EntityRef entityRef="hero"/>
</TriggeringEntities>
<EntityCondition>
<TraveledDistanceCondition value="1.0"/>
</EntityCondition>
</ByEntityCondition>
</Condition>
<Condition name="StartTime" delay="0" conditionEdge="rising">
<ByValueCondition>
<SimulationTimeCondition value="0" rule="equalTo"/>
</ByValueCondition>
</Condition>
</ConditionGroup>
</StartTrigger>
<StopTrigger>
<ConditionGroup>
<Condition name="EndCondition" delay="0" conditionEdge="rising">
<ByEntityCondition>
<TriggeringEntities triggeringEntitiesRule="any">
<EntityRef entityRef="hero"/>
</TriggeringEntities>
<EntityCondition>
<TraveledDistanceCondition value="200.0"/>
</EntityCondition>
</ByEntityCondition>
</Condition>
</ConditionGroup>
</StopTrigger>
</Act>
</Story>
<StopTrigger>
<ConditionGroup>
<Condition name="criteria_RunningStopTest" delay="0" conditionEdge="rising">
<ByValueCondition>
<ParameterCondition parameterRef="" value="" rule="lessThan"/>
</ByValueCondition>
</Condition>
<Condition name="criteria_RunningRedLightTest" delay="0" conditionEdge="rising">
<ByValueCondition>
<ParameterCondition parameterRef="" value="" rule="lessThan"/>
</ByValueCondition>
</Condition>
<Condition name="criteria_WrongLaneTest" delay="0" conditionEdge="rising">
<ByValueCondition>
<ParameterCondition parameterRef="" value="" rule="lessThan"/>
</ByValueCondition>
</Condition>
<Condition name="criteria_OnSidewalkTest" delay="0" conditionEdge="rising">
<ByValueCondition>
<ParameterCondition parameterRef="" value="" rule="lessThan"/>
</ByValueCondition>
</Condition>
<Condition name="criteria_KeepLaneTest" delay="0" conditionEdge="rising">
<ByValueCondition>
<ParameterCondition parameterRef="" value="" rule="lessThan"/>
</ByValueCondition>
</Condition>
<Condition name="criteria_CollisionTest" delay="0" conditionEdge="rising">
<ByValueCondition>
<ParameterCondition parameterRef="" value="" rule="lessThan"/>
</ByValueCondition>
</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 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_17026">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
</Entities>
<Storyboard>
<Init>
<Actions>
<GlobalAction>
<EnvironmentAction>
<Environment name="Environment1">
<TimeOfDay animation="false" dateTime="2019-06-25T12:00:00"/>
<Weather cloudState="free">
<Sun intensity="0.85" azimuth="0" elevation="1.31"/>
<Fog visualRange="100000.0"/>
<Precipitation precipitationType="dry" intensity="0.0"/>
</Weather>
<RoadCondition frictionScaleFactor="1.0"/>
</Environment>
</EnvironmentAction>
</GlobalAction>
<Private entityRef="hero">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-9.4" y="-152.8" z="0.5" h="1.57079632679"/>
</Position>
</TeleportAction>
</PrivateAction>
<PrivateAction>
<ControllerAction>
<AssignControllerAction>
<Controller name="HeroAgent">
<Properties>
<Property name="module" value="external_control"/>
</Properties>
</Controller>
</AssignControllerAction>
<OverrideControllerValueAction>
<Throttle value="0" active="false"/>
<Brake value="0" active="false"/>
<Clutch value="0" active="false"/>
<ParkingBrake value="0" active="false"/>
<SteeringWheel value="0" active="false"/>
<Gear number="0" active="false"/>
</OverrideControllerValueAction>
</ControllerAction>
</PrivateAction>
</Private>
<Private entityRef="adversary">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-9.4" y="-71.0" z="0.5" h="1.57079632679"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="standing">
<PrivateAction>
<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_17026">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-2.3289146423339844" y="-158.86241149902344" z="0.0014286803780123591"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
</Actions>
</Init>
<Story name="MyStory">
<Act name="Behavior">
<ManeuverGroup maximumExecutionCount="1" name="ManeuverSequence">
<Actors selectTriggeringEntities="false">
<EntityRef entityRef="adversary"/>
</Actors>
<Maneuver name="LaneChangeSimpleManeuver">
<Event name="AdversaryAccelerates" priority="overwrite">
<Action name="AdversaryAccelerates">
<PrivateAction>
<LongitudinalAction>
<SpeedAction>
<SpeedActionDynamics dynamicsShape="step" value="50" dynamicsDimension="distance"/>
<SpeedActionTarget>
<AbsoluteTargetSpeed value="5.0"/>
</SpeedActionTarget>
</SpeedAction>
</LongitudinalAction>
</PrivateAction>
</Action>
<StartTrigger>
<ConditionGroup>
<Condition name="StartCondition" delay="0" conditionEdge="rising">
<ByEntityCondition>
<TriggeringEntities triggeringEntitiesRule="any">
<EntityRef entityRef="hero"/>
</TriggeringEntities>
<EntityCondition>
<RelativeDistanceCondition entityRef="adversary" relativeDistanceType="cartesianDistance" value="40.0" freespace="false" rule="lessThan"/>
</EntityCondition>
</ByEntityCondition>
</Condition>
</ConditionGroup>
</StartTrigger>
</Event>
<Event name="AdversaryChangesLane" priority="overwrite">
<Action name="AdversaryChangesLane">
<PrivateAction>
<LateralAction>
<LaneChangeAction>
<LaneChangeActionDynamics dynamicsShape="linear" value="25" dynamicsDimension="distance"/>
<LaneChangeTarget>
<RelativeTargetLane entityRef="adversary" value="-1"/>
</LaneChangeTarget>
</LaneChangeAction>
</LateralAction>
</PrivateAction>
</Action>
<StartTrigger>
<ConditionGroup>
<Condition name="AfterAdversaryAccelerates" delay="0" conditionEdge="rising">
<ByValueCondition>
<StoryboardElementStateCondition storyboardElementType="action" storyboardElementRef="AdversaryAccelerates" state="completeState"/>
</ByValueCondition>
</Condition>
</ConditionGroup>
</StartTrigger>
</Event>
</Maneuver>
</ManeuverGroup>
<StartTrigger>
<ConditionGroup>
<Condition name="OverallStartCondition" delay="0" conditionEdge="rising">
<ByEntityCondition>
<TriggeringEntities triggeringEntitiesRule="any">
<EntityRef entityRef="hero"/>
</TriggeringEntities>
<EntityCondition>
<TraveledDistanceCondition value="1.0"/>
</EntityCondition>
</ByEntityCondition>
</Condition>
<Condition name="StartTime" delay="0" conditionEdge="rising">
<ByValueCondition>
<SimulationTimeCondition value="0" rule="equalTo"/>
</ByValueCondition>
</Condition>
</ConditionGroup>
</StartTrigger>
<StopTrigger>
<ConditionGroup>
<Condition name="EndCondition" delay="0" conditionEdge="rising">
<ByEntityCondition>
<TriggeringEntities triggeringEntitiesRule="any">
<EntityRef entityRef="hero"/>
</TriggeringEntities>
<EntityCondition>
<TraveledDistanceCondition value="200.0"/>
</EntityCondition>
</ByEntityCondition>
</Condition>
</ConditionGroup>
</StopTrigger>
</Act>
</Story>
<StopTrigger>
<ConditionGroup>
<Condition name="criteria_RunningStopTest" delay="0" conditionEdge="rising">
<ByValueCondition>
<ParameterCondition parameterRef="" value="" rule="lessThan"/>
</ByValueCondition>
</Condition>
<Condition name="criteria_RunningRedLightTest" delay="0" conditionEdge="rising">
<ByValueCondition>
<ParameterCondition parameterRef="" value="" rule="lessThan"/>
</ByValueCondition>
</Condition>
<Condition name="criteria_WrongLaneTest" delay="0" conditionEdge="rising">
<ByValueCondition>
<ParameterCondition parameterRef="" value="" rule="lessThan"/>
</ByValueCondition>
</Condition>
<Condition name="criteria_OnSidewalkTest" delay="0" conditionEdge="rising">
<ByValueCondition>
<ParameterCondition parameterRef="" value="" rule="lessThan"/>
</ByValueCondition>
</Condition>
<Condition name="criteria_KeepLaneTest" delay="0" conditionEdge="rising">
<ByValueCondition>
<ParameterCondition parameterRef="" value="" rule="lessThan"/>
</ByValueCondition>
</Condition>
<Condition name="criteria_CollisionTest" delay="0" conditionEdge="rising">
<ByValueCondition>
<ParameterCondition parameterRef="" value="" rule="lessThan"/>
</ByValueCondition>
</Condition>
<Condition name="criteria_DrivenDistanceTest" delay="0" conditionEdge="rising">
<ByValueCondition>
<ParameterCondition parameterRef="distance_success" value="100" rule="lessThan"/>
</ByValueCondition>
</Condition>
</ConditionGroup>
</StopTrigger>
</Storyboard>
</OpenSCENARIO>
``` | Here is the result:
```
<?xml version="1.0" ?>
<OpenSCENARIO>
<FileHeader revMajor="1" revMinor="0" date="2020-03-24T12:00:00" description="CARLA:LaneChangeSimple" author=""/>
<ParameterDeclarations/>
<CatalogLocations/>
<RoadNetwork>
<LogicFile filepath="Town04"/>
<SceneGraphFile filepath=""/>
</RoadNetwork>
<Entities>
<ScenarioObject name="hero">
<Vehicle name="vehicle.tesla.model3" vehicleCategory="car">
<ParameterDeclarations/>
<Performance maxSpeed="69.444" maxAcceleration="200" maxDeceleration="10.0"/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2.1" length="4.5" height="1.8"/>
</BoundingBox>
<Axles>
<FrontAxle maxSteering="0.5" wheelDiameter="0.6" trackWidth="1.8" positionX="3.1" positionZ="0.3"/>
<RearAxle maxSteering="0.0" wheelDiameter="0.6" trackWidth="1.8" positionX="0.0" positionZ="0.3"/>
</Axles>
<Properties>
<Property name="type" value="ego_vehicle"/>
</Properties>
</Vehicle>
</ScenarioObject>
<ScenarioObject name="adversary">
<Vehicle name="vehicle.lincoln.mkz_2017" vehicleCategory="car">
<ParameterDeclarations/>
<Performance maxSpeed="69.444" maxAcceleration="200" maxDeceleration="10.0"/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2.1" length="4.5" height="1.8"/>
</BoundingBox>
<Axles>
<FrontAxle maxSteering="0.5" wheelDiameter="0.6" trackWidth="1.8" positionX="3.1" positionZ="0.3"/>
<RearAxle maxSteering="0.0" wheelDiameter="0.6" trackWidth="1.8" positionX="0.0" positionZ="0.3"/>
</Axles>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Vehicle>
</ScenarioObject>
<ScenarioObject name="standing">
<Vehicle name="vehicle.volkswagen.t2" vehicleCategory="car">
<ParameterDeclarations/>
<Performance maxSpeed="69.444" maxAcceleration="200" maxDeceleration="10.0"/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2.1" length="4.5" height="1.8"/>
</BoundingBox>
<Axles>
<FrontAxle maxSteering="0.5" wheelDiameter="0.6" trackWidth="1.8" positionX="3.1" positionZ="0.3"/>
<RearAxle maxSteering="0.0" wheelDiameter="0.6" trackWidth="1.8" positionX="0.0" positionZ="0.3"/>
</Axles>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Vehicle>
</ScenarioObject>
<ScenarioObject name="pedestrian_close_to_hero_17026">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_close_to_standing_17028">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
</Entities>
<Storyboard>
<Init>
<Actions>
<GlobalAction>
<EnvironmentAction>
<Environment name="Environment1">
<TimeOfDay animation="false" dateTime="2019-06-25T12:00:00"/>
<Weather cloudState="free">
<Sun intensity="0.85" azimuth="0" elevation="1.31"/>
<Fog visualRange="100000.0"/>
<Precipitation precipitationType="dry" intensity="0.0"/>
</Weather>
<RoadCondition frictionScaleFactor="1.0"/>
</Environment>
</EnvironmentAction>
</GlobalAction>
<Private entityRef="hero">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-9.4" y="-152.8" z="0.5" h="1.57079632679"/>
</Position>
</TeleportAction>
</PrivateAction>
<PrivateAction>
<ControllerAction>
<AssignControllerAction>
<Controller name="HeroAgent">
<Properties>
<Property name="module" value="external_control"/>
</Properties>
</Controller>
</AssignControllerAction>
<OverrideControllerValueAction>
<Throttle value="0" active="false"/>
<Brake value="0" active="false"/>
<Clutch value="0" active="false"/>
<ParkingBrake value="0" active="false"/>
<SteeringWheel value="0" active="false"/>
<Gear number="0" active="false"/>
</OverrideControllerValueAction>
</ControllerAction>
</PrivateAction>
</Private>
<Private entityRef="adversary">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-9.4" y="-71.0" z="0.5" h="1.57079632679"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="standing">
<PrivateAction>
<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_17026">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-2.3289146423339844" y="-158.86241149902344" z="0.0014286803780123591"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_close_to_standing_17028">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-15.397111892700195" y="40.032432556152344" z="0.0030717086046934128"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
</Actions>
</Init>
<Story name="MyStory">
<Act name="Behavior">
<ManeuverGroup maximumExecutionCount="1" name="ManeuverSequence">
<Actors selectTriggeringEntities="false">
<EntityRef entityRef="adversary"/>
</Actors>
<Maneuver name="LaneChangeSimpleManeuver">
<Event name="AdversaryAccelerates" priority="overwrite">
<Action name="AdversaryAccelerates">
<PrivateAction>
<LongitudinalAction>
<SpeedAction>
<SpeedActionDynamics dynamicsShape="step" value="50" dynamicsDimension="distance"/>
<SpeedActionTarget>
<AbsoluteTargetSpeed value="5.0"/>
</SpeedActionTarget>
</SpeedAction>
</LongitudinalAction>
</PrivateAction>
</Action>
<StartTrigger>
<ConditionGroup>
<Condition name="StartCondition" delay="0" conditionEdge="rising">
<ByEntityCondition>
<TriggeringEntities triggeringEntitiesRule="any">
<EntityRef entityRef="hero"/>
</TriggeringEntities>
<EntityCondition>
<RelativeDistanceCondition entityRef="adversary" relativeDistanceType="cartesianDistance" value="40.0" freespace="false" rule="lessThan"/>
</EntityCondition>
</ByEntityCondition>
</Condition>
</ConditionGroup>
</StartTrigger>
</Event>
<Event name="AdversaryChangesLane" priority="overwrite">
<Action name="AdversaryChangesLane">
<PrivateAction>
<LateralAction>
<LaneChangeAction>
<LaneChangeActionDynamics dynamicsShape="linear" value="25" dynamicsDimension="distance"/>
<LaneChangeTarget>
<RelativeTargetLane entityRef="adversary" value="-1"/>
</LaneChangeTarget>
</LaneChangeAction>
</LateralAction>
</PrivateAction>
</Action>
<StartTrigger>
<ConditionGroup>
<Condition name="AfterAdversaryAccelerates" delay="0" conditionEdge="rising">
<ByValueCondition>
<StoryboardElementStateCondition storyboardElementType="action" storyboardElementRef="AdversaryAccelerates" state="completeState"/>
</ByValueCondition>
</Condition>
</ConditionGroup>
</StartTrigger>
</Event>
</Maneuver>
</ManeuverGroup>
<StartTrigger>
<ConditionGroup>
<Condition name="OverallStartCondition" delay="0" conditionEdge="rising">
<ByEntityCondition>
<TriggeringEntities triggeringEntitiesRule="any">
<EntityRef entityRef="hero"/>
</TriggeringEntities>
<EntityCondition>
<TraveledDistanceCondition value="1.0"/>
</EntityCondition>
</ByEntityCondition>
</Condition>
<Condition name="StartTime" delay="0" conditionEdge="rising">
<ByValueCondition>
<SimulationTimeCondition value="0" rule="equalTo"/>
</ByValueCondition>
</Condition>
</ConditionGroup>
</StartTrigger>
<StopTrigger>
<ConditionGroup>
<Condition name="EndCondition" delay="0" conditionEdge="rising">
<ByEntityCondition>
<TriggeringEntities triggeringEntitiesRule="any">
<EntityRef entityRef="hero"/>
</TriggeringEntities>
<EntityCondition>
<TraveledDistanceCondition value="200.0"/>
</EntityCondition>
</ByEntityCondition>
</Condition>
</ConditionGroup>
</StopTrigger>
</Act>
</Story>
<StopTrigger>
<ConditionGroup>
<Condition name="criteria_RunningStopTest" delay="0" conditionEdge="rising">
<ByValueCondition>
<ParameterCondition parameterRef="" value="" rule="lessThan"/>
</ByValueCondition>
</Condition>
<Condition name="criteria_RunningRedLightTest" delay="0" conditionEdge="rising">
<ByValueCondition>
<ParameterCondition parameterRef="" value="" rule="lessThan"/>
</ByValueCondition>
</Condition>
<Condition name="criteria_WrongLaneTest" delay="0" conditionEdge="rising">
<ByValueCondition>
<ParameterCondition parameterRef="" value="" rule="lessThan"/>
</ByValueCondition>
</Condition>
<Condition name="criteria_OnSidewalkTest" delay="0" conditionEdge="rising">
<ByValueCondition>
<ParameterCondition parameterRef="" value="" rule="lessThan"/>
</ByValueCondition>
</Condition>
<Condition name="criteria_KeepLaneTest" delay="0" conditionEdge="rising">
<ByValueCondition>
<ParameterCondition parameterRef="" value="" rule="lessThan"/>
</ByValueCondition>
</Condition>
<Condition name="criteria_CollisionTest" delay="0" conditionEdge="rising">
<ByValueCondition>
<ParameterCondition parameterRef="" value="" rule="lessThan"/>
</ByValueCondition>
</Condition>
<Condition name="criteria_DrivenDistanceTest" delay="0" conditionEdge="rising">
<ByValueCondition>
<ParameterCondition parameterRef="distance_success" value="100" rule="lessThan"/>
</ByValueCondition>
</Condition>
</ConditionGroup>
</StopTrigger>
</Storyboard>
</OpenSCENARIO>
``` |
i would like to ask you to add pedestrian close to standing?
```
<?xml version="1.0" ?>
<OpenSCENARIO>
<FileHeader revMajor="1" revMinor="0" date="2020-03-24T12:00:00" description="CARLA:LaneChangeSimple" author=""/>
<ParameterDeclarations/>
<CatalogLocations/>
<RoadNetwork>
<LogicFile filepath="Town04"/>
<SceneGraphFile filepath=""/>
</RoadNetwork>
<Entities>
<ScenarioObject name="hero">
<Vehicle name="vehicle.tesla.model3" vehicleCategory="car">
<ParameterDeclarations/>
<Performance maxSpeed="69.444" maxAcceleration="200" maxDeceleration="10.0"/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2.1" length="4.5" height="1.8"/>
</BoundingBox>
<Axles>
<FrontAxle maxSteering="0.5" wheelDiameter="0.6" trackWidth="1.8" positionX="3.1" positionZ="0.3"/>
<RearAxle maxSteering="0.0" wheelDiameter="0.6" trackWidth="1.8" positionX="0.0" positionZ="0.3"/>
</Axles>
<Properties>
<Property name="type" value="ego_vehicle"/>
</Properties>
</Vehicle>
</ScenarioObject>
<ScenarioObject name="adversary">
<Vehicle name="vehicle.lincoln.mkz_2017" vehicleCategory="car">
<ParameterDeclarations/>
<Performance maxSpeed="69.444" maxAcceleration="200" maxDeceleration="10.0"/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2.1" length="4.5" height="1.8"/>
</BoundingBox>
<Axles>
<FrontAxle maxSteering="0.5" wheelDiameter="0.6" trackWidth="1.8" positionX="3.1" positionZ="0.3"/>
<RearAxle maxSteering="0.0" wheelDiameter="0.6" trackWidth="1.8" positionX="0.0" positionZ="0.3"/>
</Axles>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Vehicle>
</ScenarioObject>
<ScenarioObject name="standing">
<Vehicle name="vehicle.volkswagen.t2" vehicleCategory="car">
<ParameterDeclarations/>
<Performance maxSpeed="69.444" maxAcceleration="200" maxDeceleration="10.0"/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2.1" length="4.5" height="1.8"/>
</BoundingBox>
<Axles>
<FrontAxle maxSteering="0.5" wheelDiameter="0.6" trackWidth="1.8" positionX="3.1" positionZ="0.3"/>
<RearAxle maxSteering="0.0" wheelDiameter="0.6" trackWidth="1.8" positionX="0.0" positionZ="0.3"/>
</Axles>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Vehicle>
</ScenarioObject>
<ScenarioObject name="pedestrian_close_to_adversary_11922">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_w_transform_11923">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_close_to_hero_11924">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_close_to_hero_11925">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
</Entities>
<Storyboard>
<Init>
<Actions>
<GlobalAction>
<EnvironmentAction>
<Environment name="Environment1">
<TimeOfDay animation="false" dateTime="2019-06-25T12:00:00"/>
<Weather cloudState="free">
<Sun intensity="0.85" azimuth="0" elevation="1.31"/>
<Fog visualRange="100000.0"/>
<Precipitation precipitationType="dry" intensity="0.0"/>
</Weather>
<RoadCondition frictionScaleFactor="1.0"/>
</Environment>
</EnvironmentAction>
</GlobalAction>
<Private entityRef="hero">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-9.4" y="-152.8" z="0.5" h="1.57079632679"/>
</Position>
</TeleportAction>
</PrivateAction>
<PrivateAction>
<ControllerAction>
<AssignControllerAction>
<Controller name="HeroAgent">
<Properties>
<Property name="module" value="external_control"/>
</Properties>
</Controller>
</AssignControllerAction>
<OverrideControllerValueAction>
<Throttle value="0" active="false"/>
<Brake value="0" active="false"/>
<Clutch value="0" active="false"/>
<ParkingBrake value="0" active="false"/>
<SteeringWheel value="0" active="false"/>
<Gear number="0" active="false"/>
</OverrideControllerValueAction>
</ControllerAction>
</PrivateAction>
</Private>
<Private entityRef="adversary">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-9.4" y="-71.0" z="0.5" h="1.57079632679"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="standing">
<PrivateAction>
<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_11922">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-8.795480728149414" y="-69.36196899414062" z="0.033787801861763"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_w_transform_11923">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="71.4158706665039" y="28.806798934936523" z="0.5"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_close_to_hero_11924">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-13.505180358886719" y="-149.4913330078125" z="0.0014286803780123591"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_close_to_hero_11925">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="0.783958911895752" y="-147.7342071533203" z="0.0014286803780123591"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
</Actions>
</Init>
<Story name="MyStory">
<Act name="Behavior">
<ManeuverGroup maximumExecutionCount="1" name="ManeuverSequence">
<Actors selectTriggeringEntities="false">
<EntityRef entityRef="adversary"/>
</Actors>
<Maneuver name="LaneChangeSimpleManeuver">
<Event name="AdversaryAccelerates" priority="overwrite">
<Action name="AdversaryAccelerates">
<PrivateAction>
<LongitudinalAction>
<SpeedAction>
<SpeedActionDynamics dynamicsShape="step" value="50" dynamicsDimension="distance"/>
<SpeedActionTarget>
<AbsoluteTargetSpeed value="5.0"/>
</SpeedActionTarget>
</SpeedAction>
</LongitudinalAction>
</PrivateAction>
</Action>
<StartTrigger>
<ConditionGroup>
<Condition name="StartCondition" delay="0" conditionEdge="rising">
<ByEntityCondition>
<TriggeringEntities triggeringEntitiesRule="any">
<EntityRef entityRef="hero"/>
</TriggeringEntities>
<EntityCondition>
<RelativeDistanceCondition entityRef="adversary" relativeDistanceType="cartesianDistance" value="40.0" freespace="false" rule="lessThan"/>
</EntityCondition>
</ByEntityCondition>
</Condition>
</ConditionGroup>
</StartTrigger>
</Event>
<Event name="AdversaryChangesLane" priority="overwrite">
<Action name="AdversaryChangesLane">
<PrivateAction>
<LateralAction>
<LaneChangeAction>
<LaneChangeActionDynamics dynamicsShape="linear" value="25" dynamicsDimension="distance"/>
<LaneChangeTarget>
<RelativeTargetLane entityRef="adversary" value="-1"/>
</LaneChangeTarget>
</LaneChangeAction>
</LateralAction>
</PrivateAction>
</Action>
<StartTrigger>
<ConditionGroup>
<Condition name="AfterAdversaryAccelerates" delay="0" conditionEdge="rising">
<ByValueCondition>
<StoryboardElementStateCondition storyboardElementType="action" storyboardElementRef="AdversaryAccelerates" state="completeState"/>
</ByValueCondition>
</Condition>
</ConditionGroup>
</StartTrigger>
</Event>
</Maneuver>
</ManeuverGroup>
<StartTrigger>
<ConditionGroup>
<Condition name="OverallStartCondition" delay="0" conditionEdge="rising">
<ByEntityCondition>
<TriggeringEntities triggeringEntitiesRule="any">
<EntityRef entityRef="hero"/>
</TriggeringEntities>
<EntityCondition>
<TraveledDistanceCondition value="1.0"/>
</EntityCondition>
</ByEntityCondition>
</Condition>
<Condition name="StartTime" delay="0" conditionEdge="rising">
<ByValueCondition>
<SimulationTimeCondition value="0" rule="equalTo"/>
</ByValueCondition>
</Condition>
</ConditionGroup>
</StartTrigger>
<StopTrigger>
<ConditionGroup>
<Condition name="EndCondition" delay="0" conditionEdge="rising">
<ByEntityCondition>
<TriggeringEntities triggeringEntitiesRule="any">
<EntityRef entityRef="hero"/>
</TriggeringEntities>
<EntityCondition>
<TraveledDistanceCondition value="200.0"/>
</EntityCondition>
</ByEntityCondition>
</Condition>
</ConditionGroup>
</StopTrigger>
</Act>
</Story>
<StopTrigger>
<ConditionGroup>
<Condition name="criteria_RunningStopTest" delay="0" conditionEdge="rising">
<ByValueCondition>
<ParameterCondition parameterRef="" value="" rule="lessThan"/>
</ByValueCondition>
</Condition>
<Condition name="criteria_RunningRedLightTest" delay="0" conditionEdge="rising">
<ByValueCondition>
<ParameterCondition parameterRef="" value="" rule="lessThan"/>
</ByValueCondition>
</Condition>
<Condition name="criteria_WrongLaneTest" delay="0" conditionEdge="rising">
<ByValueCondition>
<ParameterCondition parameterRef="" value="" rule="lessThan"/>
</ByValueCondition>
</Condition>
<Condition name="criteria_OnSidewalkTest" delay="0" conditionEdge="rising">
<ByValueCondition>
<ParameterCondition parameterRef="" value="" rule="lessThan"/>
</ByValueCondition>
</Condition>
<Condition name="criteria_KeepLaneTest" delay="0" conditionEdge="rising">
<ByValueCondition>
<ParameterCondition parameterRef="" value="" rule="lessThan"/>
</ByValueCondition>
</Condition>
<Condition name="criteria_CollisionTest" delay="0" conditionEdge="rising">
<ByValueCondition>
<ParameterCondition parameterRef="" value="" rule="lessThan"/>
</ByValueCondition>
</Condition>
<Condition name="criteria_DrivenDistanceTest" delay="0" conditionEdge="rising">
<ByValueCondition>
<ParameterCondition parameterRef="distance_success" value="100" rule="lessThan"/>
</ByValueCondition>
</Condition>
</ConditionGroup>
</StopTrigger>
</Storyboard>
</OpenSCENARIO>
``` | Here is the result:
```
<?xml version="1.0" ?>
<OpenSCENARIO>
<FileHeader revMajor="1" revMinor="0" date="2020-03-24T12:00:00" description="CARLA:LaneChangeSimple" author=""/>
<ParameterDeclarations/>
<CatalogLocations/>
<RoadNetwork>
<LogicFile filepath="Town04"/>
<SceneGraphFile filepath=""/>
</RoadNetwork>
<Entities>
<ScenarioObject name="hero">
<Vehicle name="vehicle.tesla.model3" vehicleCategory="car">
<ParameterDeclarations/>
<Performance maxSpeed="69.444" maxAcceleration="200" maxDeceleration="10.0"/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2.1" length="4.5" height="1.8"/>
</BoundingBox>
<Axles>
<FrontAxle maxSteering="0.5" wheelDiameter="0.6" trackWidth="1.8" positionX="3.1" positionZ="0.3"/>
<RearAxle maxSteering="0.0" wheelDiameter="0.6" trackWidth="1.8" positionX="0.0" positionZ="0.3"/>
</Axles>
<Properties>
<Property name="type" value="ego_vehicle"/>
</Properties>
</Vehicle>
</ScenarioObject>
<ScenarioObject name="adversary">
<Vehicle name="vehicle.lincoln.mkz_2017" vehicleCategory="car">
<ParameterDeclarations/>
<Performance maxSpeed="69.444" maxAcceleration="200" maxDeceleration="10.0"/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2.1" length="4.5" height="1.8"/>
</BoundingBox>
<Axles>
<FrontAxle maxSteering="0.5" wheelDiameter="0.6" trackWidth="1.8" positionX="3.1" positionZ="0.3"/>
<RearAxle maxSteering="0.0" wheelDiameter="0.6" trackWidth="1.8" positionX="0.0" positionZ="0.3"/>
</Axles>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Vehicle>
</ScenarioObject>
<ScenarioObject name="standing">
<Vehicle name="vehicle.volkswagen.t2" vehicleCategory="car">
<ParameterDeclarations/>
<Performance maxSpeed="69.444" maxAcceleration="200" maxDeceleration="10.0"/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2.1" length="4.5" height="1.8"/>
</BoundingBox>
<Axles>
<FrontAxle maxSteering="0.5" wheelDiameter="0.6" trackWidth="1.8" positionX="3.1" positionZ="0.3"/>
<RearAxle maxSteering="0.0" wheelDiameter="0.6" trackWidth="1.8" positionX="0.0" positionZ="0.3"/>
</Axles>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Vehicle>
</ScenarioObject>
<ScenarioObject name="pedestrian_close_to_adversary_11922">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_w_transform_11923">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_close_to_hero_11924">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_close_to_hero_11925">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_close_to_standing_11926">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
</Entities>
<Storyboard>
<Init>
<Actions>
<GlobalAction>
<EnvironmentAction>
<Environment name="Environment1">
<TimeOfDay animation="false" dateTime="2019-06-25T12:00:00"/>
<Weather cloudState="free">
<Sun intensity="0.85" azimuth="0" elevation="1.31"/>
<Fog visualRange="100000.0"/>
<Precipitation precipitationType="dry" intensity="0.0"/>
</Weather>
<RoadCondition frictionScaleFactor="1.0"/>
</Environment>
</EnvironmentAction>
</GlobalAction>
<Private entityRef="hero">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-9.4" y="-152.8" z="0.5" h="1.57079632679"/>
</Position>
</TeleportAction>
</PrivateAction>
<PrivateAction>
<ControllerAction>
<AssignControllerAction>
<Controller name="HeroAgent">
<Properties>
<Property name="module" value="external_control"/>
</Properties>
</Controller>
</AssignControllerAction>
<OverrideControllerValueAction>
<Throttle value="0" active="false"/>
<Brake value="0" active="false"/>
<Clutch value="0" active="false"/>
<ParkingBrake value="0" active="false"/>
<SteeringWheel value="0" active="false"/>
<Gear number="0" active="false"/>
</OverrideControllerValueAction>
</ControllerAction>
</PrivateAction>
</Private>
<Private entityRef="adversary">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-9.4" y="-71.0" z="0.5" h="1.57079632679"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="standing">
<PrivateAction>
<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_11922">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-8.795480728149414" y="-69.36196899414062" z="0.033787801861763"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_w_transform_11923">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="71.4158706665039" y="28.806798934936523" z="0.5"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_close_to_hero_11924">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-13.505180358886719" y="-149.4913330078125" z="0.0014286803780123591"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_close_to_hero_11925">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="0.783958911895752" y="-147.7342071533203" z="0.0014286803780123591"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_close_to_standing_11926">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-14.449990272521973" y="19.225379943847656" z="0.0030637739691883326"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
</Actions>
</Init>
<Story name="MyStory">
<Act name="Behavior">
<ManeuverGroup maximumExecutionCount="1" name="ManeuverSequence">
<Actors selectTriggeringEntities="false">
<EntityRef entityRef="adversary"/>
</Actors>
<Maneuver name="LaneChangeSimpleManeuver">
<Event name="AdversaryAccelerates" priority="overwrite">
<Action name="AdversaryAccelerates">
<PrivateAction>
<LongitudinalAction>
<SpeedAction>
<SpeedActionDynamics dynamicsShape="step" value="50" dynamicsDimension="distance"/>
<SpeedActionTarget>
<AbsoluteTargetSpeed value="5.0"/>
</SpeedActionTarget>
</SpeedAction>
</LongitudinalAction>
</PrivateAction>
</Action>
<StartTrigger>
<ConditionGroup>
<Condition name="StartCondition" delay="0" conditionEdge="rising">
<ByEntityCondition>
<TriggeringEntities triggeringEntitiesRule="any">
<EntityRef entityRef="hero"/>
</TriggeringEntities>
<EntityCondition>
<RelativeDistanceCondition entityRef="adversary" relativeDistanceType="cartesianDistance" value="40.0" freespace="false" rule="lessThan"/>
</EntityCondition>
</ByEntityCondition>
</Condition>
</ConditionGroup>
</StartTrigger>
</Event>
<Event name="AdversaryChangesLane" priority="overwrite">
<Action name="AdversaryChangesLane">
<PrivateAction>
<LateralAction>
<LaneChangeAction>
<LaneChangeActionDynamics dynamicsShape="linear" value="25" dynamicsDimension="distance"/>
<LaneChangeTarget>
<RelativeTargetLane entityRef="adversary" value="-1"/>
</LaneChangeTarget>
</LaneChangeAction>
</LateralAction>
</PrivateAction>
</Action>
<StartTrigger>
<ConditionGroup>
<Condition name="AfterAdversaryAccelerates" delay="0" conditionEdge="rising">
<ByValueCondition>
<StoryboardElementStateCondition storyboardElementType="action" storyboardElementRef="AdversaryAccelerates" state="completeState"/>
</ByValueCondition>
</Condition>
</ConditionGroup>
</StartTrigger>
</Event>
</Maneuver>
</ManeuverGroup>
<StartTrigger>
<ConditionGroup>
<Condition name="OverallStartCondition" delay="0" conditionEdge="rising">
<ByEntityCondition>
<TriggeringEntities triggeringEntitiesRule="any">
<EntityRef entityRef="hero"/>
</TriggeringEntities>
<EntityCondition>
<TraveledDistanceCondition value="1.0"/>
</EntityCondition>
</ByEntityCondition>
</Condition>
<Condition name="StartTime" delay="0" conditionEdge="rising">
<ByValueCondition>
<SimulationTimeCondition value="0" rule="equalTo"/>
</ByValueCondition>
</Condition>
</ConditionGroup>
</StartTrigger>
<StopTrigger>
<ConditionGroup>
<Condition name="EndCondition" delay="0" conditionEdge="rising">
<ByEntityCondition>
<TriggeringEntities triggeringEntitiesRule="any">
<EntityRef entityRef="hero"/>
</TriggeringEntities>
<EntityCondition>
<TraveledDistanceCondition value="200.0"/>
</EntityCondition>
</ByEntityCondition>
</Condition>
</ConditionGroup>
</StopTrigger>
</Act>
</Story>
<StopTrigger>
<ConditionGroup>
<Condition name="criteria_RunningStopTest" delay="0" conditionEdge="rising">
<ByValueCondition>
<ParameterCondition parameterRef="" value="" rule="lessThan"/>
</ByValueCondition>
</Condition>
<Condition name="criteria_RunningRedLightTest" delay="0" conditionEdge="rising">
<ByValueCondition>
<ParameterCondition parameterRef="" value="" rule="lessThan"/>
</ByValueCondition>
</Condition>
<Condition name="criteria_WrongLaneTest" delay="0" conditionEdge="rising">
<ByValueCondition>
<ParameterCondition parameterRef="" value="" rule="lessThan"/>
</ByValueCondition>
</Condition>
<Condition name="criteria_OnSidewalkTest" delay="0" conditionEdge="rising">
<ByValueCondition>
<ParameterCondition parameterRef="" value="" rule="lessThan"/>
</ByValueCondition>
</Condition>
<Condition name="criteria_KeepLaneTest" delay="0" conditionEdge="rising">
<ByValueCondition>
<ParameterCondition parameterRef="" value="" rule="lessThan"/>
</ByValueCondition>
</Condition>
<Condition name="criteria_CollisionTest" delay="0" conditionEdge="rising">
<ByValueCondition>
<ParameterCondition parameterRef="" value="" rule="lessThan"/>
</ByValueCondition>
</Condition>
<Condition name="criteria_DrivenDistanceTest" delay="0" conditionEdge="rising">
<ByValueCondition>
<ParameterCondition parameterRef="distance_success" value="100" rule="lessThan"/>
</ByValueCondition>
</Condition>
</ConditionGroup>
</StopTrigger>
</Storyboard>
</OpenSCENARIO>
``` |
i would like to order you to add pedestrian at location (50.69, 39.09, 0.5)?
```
<?xml version="1.0" ?>
<OpenSCENARIO>
<FileHeader revMajor="1" revMinor="0" date="2020-03-24T12:00:00" description="CARLA:LaneChangeSimple" author=""/>
<ParameterDeclarations/>
<CatalogLocations/>
<RoadNetwork>
<LogicFile filepath="Town04"/>
<SceneGraphFile filepath=""/>
</RoadNetwork>
<Entities>
<ScenarioObject name="hero">
<Vehicle name="vehicle.tesla.model3" vehicleCategory="car">
<ParameterDeclarations/>
<Performance maxSpeed="69.444" maxAcceleration="200" maxDeceleration="10.0"/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2.1" length="4.5" height="1.8"/>
</BoundingBox>
<Axles>
<FrontAxle maxSteering="0.5" wheelDiameter="0.6" trackWidth="1.8" positionX="3.1" positionZ="0.3"/>
<RearAxle maxSteering="0.0" wheelDiameter="0.6" trackWidth="1.8" positionX="0.0" positionZ="0.3"/>
</Axles>
<Properties>
<Property name="type" value="ego_vehicle"/>
</Properties>
</Vehicle>
</ScenarioObject>
<ScenarioObject name="adversary">
<Vehicle name="vehicle.lincoln.mkz_2017" vehicleCategory="car">
<ParameterDeclarations/>
<Performance maxSpeed="69.444" maxAcceleration="200" maxDeceleration="10.0"/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2.1" length="4.5" height="1.8"/>
</BoundingBox>
<Axles>
<FrontAxle maxSteering="0.5" wheelDiameter="0.6" trackWidth="1.8" positionX="3.1" positionZ="0.3"/>
<RearAxle maxSteering="0.0" wheelDiameter="0.6" trackWidth="1.8" positionX="0.0" positionZ="0.3"/>
</Axles>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Vehicle>
</ScenarioObject>
<ScenarioObject name="standing">
<Vehicle name="vehicle.volkswagen.t2" vehicleCategory="car">
<ParameterDeclarations/>
<Performance maxSpeed="69.444" maxAcceleration="200" maxDeceleration="10.0"/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2.1" length="4.5" height="1.8"/>
</BoundingBox>
<Axles>
<FrontAxle maxSteering="0.5" wheelDiameter="0.6" trackWidth="1.8" positionX="3.1" positionZ="0.3"/>
<RearAxle maxSteering="0.0" wheelDiameter="0.6" trackWidth="1.8" positionX="0.0" positionZ="0.3"/>
</Axles>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Vehicle>
</ScenarioObject>
<ScenarioObject name="pedestrian_close_to_adversary_12020">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_close_to_hero_12021">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_close_to_adversary_12022">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_w_transform_12023">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_close_to_standing_12024">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_close_to_standing_12025">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_w_transform_12026">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_close_to_standing_12027">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_close_to_standing_12028">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_w_transform_12029">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_close_to_adversary_12030">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_close_to_adversary_12031">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_w_transform_12032">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_w_transform_12033">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_close_to_adversary_12034">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_close_to_standing_12035">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_w_transform_12036">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_close_to_hero_12037">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_close_to_adversary_12038">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_close_to_hero_12039">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
</Entities>
<Storyboard>
<Init>
<Actions>
<GlobalAction>
<EnvironmentAction>
<Environment name="Environment1">
<TimeOfDay animation="false" dateTime="2019-06-25T12:00:00"/>
<Weather cloudState="free">
<Sun intensity="0.85" azimuth="0" elevation="1.31"/>
<Fog visualRange="100000.0"/>
<Precipitation precipitationType="dry" intensity="0.0"/>
</Weather>
<RoadCondition frictionScaleFactor="1.0"/>
</Environment>
</EnvironmentAction>
</GlobalAction>
<Private entityRef="hero">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-9.4" y="-152.8" z="0.5" h="1.57079632679"/>
</Position>
</TeleportAction>
</PrivateAction>
<PrivateAction>
<ControllerAction>
<AssignControllerAction>
<Controller name="HeroAgent">
<Properties>
<Property name="module" value="external_control"/>
</Properties>
</Controller>
</AssignControllerAction>
<OverrideControllerValueAction>
<Throttle value="0" active="false"/>
<Brake value="0" active="false"/>
<Clutch value="0" active="false"/>
<ParkingBrake value="0" active="false"/>
<SteeringWheel value="0" active="false"/>
<Gear number="0" active="false"/>
</OverrideControllerValueAction>
</ControllerAction>
</PrivateAction>
</Private>
<Private entityRef="adversary">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-9.4" y="-71.0" z="0.5" h="1.57079632679"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="standing">
<PrivateAction>
<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_12020">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-3.339634656906128" y="-80.91329956054688" z="0.033788297325372696"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_close_to_hero_12021">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-15.788302421569824" y="-160.36859130859375" z="0.0014286803780123591"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_close_to_adversary_12022">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-16.28377914428711" y="-76.87030029296875" z="0.033827781677246094"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_w_transform_12023">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="37.54560470581055" y="76.84497833251953" z="0.5"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_close_to_standing_12024">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-12.229832649230957" y="24.156461715698242" z="0.0030936812981963158"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_close_to_standing_12025">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="4.974427700042725" y="32.60857009887695" z="0.0030500793363898993"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_w_transform_12026">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-45.358821868896484" y="-0.6510533094406128" z="0.5"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_close_to_standing_12027">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-2.0605833530426025" y="28.60321807861328" z="0.0029905319679528475"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_close_to_standing_12028">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-6.522221088409424" y="23.201290130615234" z="0.002997512696310878"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_w_transform_12029">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-97.72931671142578" y="-35.20793533325195" z="0.5"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_close_to_adversary_12030">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-7.572514057159424" y="-69.76631927490234" z="0.03377620503306389"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_close_to_adversary_12031">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-2.8968746662139893" y="-76.69332122802734" z="0.03379157930612564"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_w_transform_12032">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-65.66956329345703" y="-79.61555480957031" z="0.5"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_w_transform_12033">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-30.62114143371582" y="89.83930206298828" z="0.5"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_close_to_adversary_12034">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-5.430442810058594" y="-72.98046875" z="0.03379543125629425"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_close_to_standing_12035">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-5.626350402832031" y="23.144498825073242" z="0.0030295562464743853"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_w_transform_12036">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-20.382888793945312" y="95.45926666259766" z="0.5"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_close_to_hero_12037">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-17.398937225341797" y="-143.74313354492188" z="0.0014286803780123591"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_close_to_adversary_12038">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-14.322561264038086" y="-68.15229034423828" z="0.03376094624400139"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_close_to_hero_12039">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-12.54089069366455" y="-156.27928161621094" z="0.0014286803780123591"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
</Actions>
</Init>
<Story name="MyStory">
<Act name="Behavior">
<ManeuverGroup maximumExecutionCount="1" name="ManeuverSequence">
<Actors selectTriggeringEntities="false">
<EntityRef entityRef="adversary"/>
</Actors>
<Maneuver name="LaneChangeSimpleManeuver">
<Event name="AdversaryAccelerates" priority="overwrite">
<Action name="AdversaryAccelerates">
<PrivateAction>
<LongitudinalAction>
<SpeedAction>
<SpeedActionDynamics dynamicsShape="step" value="50" dynamicsDimension="distance"/>
<SpeedActionTarget>
<AbsoluteTargetSpeed value="5.0"/>
</SpeedActionTarget>
</SpeedAction>
</LongitudinalAction>
</PrivateAction>
</Action>
<StartTrigger>
<ConditionGroup>
<Condition name="StartCondition" delay="0" conditionEdge="rising">
<ByEntityCondition>
<TriggeringEntities triggeringEntitiesRule="any">
<EntityRef entityRef="hero"/>
</TriggeringEntities>
<EntityCondition>
<RelativeDistanceCondition entityRef="adversary" relativeDistanceType="cartesianDistance" value="40.0" freespace="false" rule="lessThan"/>
</EntityCondition>
</ByEntityCondition>
</Condition>
</ConditionGroup>
</StartTrigger>
</Event>
<Event name="AdversaryChangesLane" priority="overwrite">
<Action name="AdversaryChangesLane">
<PrivateAction>
<LateralAction>
<LaneChangeAction>
<LaneChangeActionDynamics dynamicsShape="linear" value="25" dynamicsDimension="distance"/>
<LaneChangeTarget>
<RelativeTargetLane entityRef="adversary" value="-1"/>
</LaneChangeTarget>
</LaneChangeAction>
</LateralAction>
</PrivateAction>
</Action>
<StartTrigger>
<ConditionGroup>
<Condition name="AfterAdversaryAccelerates" delay="0" conditionEdge="rising">
<ByValueCondition>
<StoryboardElementStateCondition storyboardElementType="action" storyboardElementRef="AdversaryAccelerates" state="completeState"/>
</ByValueCondition>
</Condition>
</ConditionGroup>
</StartTrigger>
</Event>
</Maneuver>
</ManeuverGroup>
<StartTrigger>
<ConditionGroup>
<Condition name="OverallStartCondition" delay="0" conditionEdge="rising">
<ByEntityCondition>
<TriggeringEntities triggeringEntitiesRule="any">
<EntityRef entityRef="hero"/>
</TriggeringEntities>
<EntityCondition>
<TraveledDistanceCondition value="1.0"/>
</EntityCondition>
</ByEntityCondition>
</Condition>
<Condition name="StartTime" delay="0" conditionEdge="rising">
<ByValueCondition>
<SimulationTimeCondition value="0" rule="equalTo"/>
</ByValueCondition>
</Condition>
</ConditionGroup>
</StartTrigger>
<StopTrigger>
<ConditionGroup>
<Condition name="EndCondition" delay="0" conditionEdge="rising">
<ByEntityCondition>
<TriggeringEntities triggeringEntitiesRule="any">
<EntityRef entityRef="hero"/>
</TriggeringEntities>
<EntityCondition>
<TraveledDistanceCondition value="200.0"/>
</EntityCondition>
</ByEntityCondition>
</Condition>
</ConditionGroup>
</StopTrigger>
</Act>
</Story>
<StopTrigger>
<ConditionGroup>
<Condition name="criteria_RunningStopTest" delay="0" conditionEdge="rising">
<ByValueCondition>
<ParameterCondition parameterRef="" value="" rule="lessThan"/>
</ByValueCondition>
</Condition>
<Condition name="criteria_RunningRedLightTest" delay="0" conditionEdge="rising">
<ByValueCondition>
<ParameterCondition parameterRef="" value="" rule="lessThan"/>
</ByValueCondition>
</Condition>
<Condition name="criteria_WrongLaneTest" delay="0" conditionEdge="rising">
<ByValueCondition>
<ParameterCondition parameterRef="" value="" rule="lessThan"/>
</ByValueCondition>
</Condition>
<Condition name="criteria_OnSidewalkTest" delay="0" conditionEdge="rising">
<ByValueCondition>
<ParameterCondition parameterRef="" value="" rule="lessThan"/>
</ByValueCondition>
</Condition>
<Condition name="criteria_KeepLaneTest" delay="0" conditionEdge="rising">
<ByValueCondition>
<ParameterCondition parameterRef="" value="" rule="lessThan"/>
</ByValueCondition>
</Condition>
<Condition name="criteria_CollisionTest" delay="0" conditionEdge="rising">
<ByValueCondition>
<ParameterCondition parameterRef="" value="" rule="lessThan"/>
</ByValueCondition>
</Condition>
<Condition name="criteria_DrivenDistanceTest" delay="0" conditionEdge="rising">
<ByValueCondition>
<ParameterCondition parameterRef="distance_success" value="100" rule="lessThan"/>
</ByValueCondition>
</Condition>
</ConditionGroup>
</StopTrigger>
</Storyboard>
</OpenSCENARIO>
``` | Here is the result:
```
<?xml version="1.0" ?>
<OpenSCENARIO>
<FileHeader revMajor="1" revMinor="0" date="2020-03-24T12:00:00" description="CARLA:LaneChangeSimple" author=""/>
<ParameterDeclarations/>
<CatalogLocations/>
<RoadNetwork>
<LogicFile filepath="Town04"/>
<SceneGraphFile filepath=""/>
</RoadNetwork>
<Entities>
<ScenarioObject name="hero">
<Vehicle name="vehicle.tesla.model3" vehicleCategory="car">
<ParameterDeclarations/>
<Performance maxSpeed="69.444" maxAcceleration="200" maxDeceleration="10.0"/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2.1" length="4.5" height="1.8"/>
</BoundingBox>
<Axles>
<FrontAxle maxSteering="0.5" wheelDiameter="0.6" trackWidth="1.8" positionX="3.1" positionZ="0.3"/>
<RearAxle maxSteering="0.0" wheelDiameter="0.6" trackWidth="1.8" positionX="0.0" positionZ="0.3"/>
</Axles>
<Properties>
<Property name="type" value="ego_vehicle"/>
</Properties>
</Vehicle>
</ScenarioObject>
<ScenarioObject name="adversary">
<Vehicle name="vehicle.lincoln.mkz_2017" vehicleCategory="car">
<ParameterDeclarations/>
<Performance maxSpeed="69.444" maxAcceleration="200" maxDeceleration="10.0"/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2.1" length="4.5" height="1.8"/>
</BoundingBox>
<Axles>
<FrontAxle maxSteering="0.5" wheelDiameter="0.6" trackWidth="1.8" positionX="3.1" positionZ="0.3"/>
<RearAxle maxSteering="0.0" wheelDiameter="0.6" trackWidth="1.8" positionX="0.0" positionZ="0.3"/>
</Axles>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Vehicle>
</ScenarioObject>
<ScenarioObject name="standing">
<Vehicle name="vehicle.volkswagen.t2" vehicleCategory="car">
<ParameterDeclarations/>
<Performance maxSpeed="69.444" maxAcceleration="200" maxDeceleration="10.0"/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2.1" length="4.5" height="1.8"/>
</BoundingBox>
<Axles>
<FrontAxle maxSteering="0.5" wheelDiameter="0.6" trackWidth="1.8" positionX="3.1" positionZ="0.3"/>
<RearAxle maxSteering="0.0" wheelDiameter="0.6" trackWidth="1.8" positionX="0.0" positionZ="0.3"/>
</Axles>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Vehicle>
</ScenarioObject>
<ScenarioObject name="pedestrian_close_to_adversary_12020">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_close_to_hero_12021">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_close_to_adversary_12022">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_w_transform_12023">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_close_to_standing_12024">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_close_to_standing_12025">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_w_transform_12026">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_close_to_standing_12027">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_close_to_standing_12028">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_w_transform_12029">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_close_to_adversary_12030">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_close_to_adversary_12031">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_w_transform_12032">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_w_transform_12033">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_close_to_adversary_12034">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_close_to_standing_12035">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_w_transform_12036">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_close_to_hero_12037">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_close_to_adversary_12038">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_close_to_hero_12039">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_w_transform_12040">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
</Entities>
<Storyboard>
<Init>
<Actions>
<GlobalAction>
<EnvironmentAction>
<Environment name="Environment1">
<TimeOfDay animation="false" dateTime="2019-06-25T12:00:00"/>
<Weather cloudState="free">
<Sun intensity="0.85" azimuth="0" elevation="1.31"/>
<Fog visualRange="100000.0"/>
<Precipitation precipitationType="dry" intensity="0.0"/>
</Weather>
<RoadCondition frictionScaleFactor="1.0"/>
</Environment>
</EnvironmentAction>
</GlobalAction>
<Private entityRef="hero">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-9.4" y="-152.8" z="0.5" h="1.57079632679"/>
</Position>
</TeleportAction>
</PrivateAction>
<PrivateAction>
<ControllerAction>
<AssignControllerAction>
<Controller name="HeroAgent">
<Properties>
<Property name="module" value="external_control"/>
</Properties>
</Controller>
</AssignControllerAction>
<OverrideControllerValueAction>
<Throttle value="0" active="false"/>
<Brake value="0" active="false"/>
<Clutch value="0" active="false"/>
<ParkingBrake value="0" active="false"/>
<SteeringWheel value="0" active="false"/>
<Gear number="0" active="false"/>
</OverrideControllerValueAction>
</ControllerAction>
</PrivateAction>
</Private>
<Private entityRef="adversary">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-9.4" y="-71.0" z="0.5" h="1.57079632679"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="standing">
<PrivateAction>
<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_12020">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-3.339634656906128" y="-80.91329956054688" z="0.033788297325372696"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_close_to_hero_12021">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-15.788302421569824" y="-160.36859130859375" z="0.0014286803780123591"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_close_to_adversary_12022">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-16.28377914428711" y="-76.87030029296875" z="0.033827781677246094"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_w_transform_12023">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="37.54560470581055" y="76.84497833251953" z="0.5"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_close_to_standing_12024">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-12.229832649230957" y="24.156461715698242" z="0.0030936812981963158"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_close_to_standing_12025">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="4.974427700042725" y="32.60857009887695" z="0.0030500793363898993"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_w_transform_12026">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-45.358821868896484" y="-0.6510533094406128" z="0.5"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_close_to_standing_12027">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-2.0605833530426025" y="28.60321807861328" z="0.0029905319679528475"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_close_to_standing_12028">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-6.522221088409424" y="23.201290130615234" z="0.002997512696310878"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_w_transform_12029">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-97.72931671142578" y="-35.20793533325195" z="0.5"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_close_to_adversary_12030">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-7.572514057159424" y="-69.76631927490234" z="0.03377620503306389"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_close_to_adversary_12031">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-2.8968746662139893" y="-76.69332122802734" z="0.03379157930612564"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_w_transform_12032">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-65.66956329345703" y="-79.61555480957031" z="0.5"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_w_transform_12033">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-30.62114143371582" y="89.83930206298828" z="0.5"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_close_to_adversary_12034">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-5.430442810058594" y="-72.98046875" z="0.03379543125629425"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_close_to_standing_12035">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-5.626350402832031" y="23.144498825073242" z="0.0030295562464743853"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_w_transform_12036">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-20.382888793945312" y="95.45926666259766" z="0.5"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_close_to_hero_12037">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-17.398937225341797" y="-143.74313354492188" z="0.0014286803780123591"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_close_to_adversary_12038">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-14.322561264038086" y="-68.15229034423828" z="0.03376094624400139"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_close_to_hero_12039">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-12.54089069366455" y="-156.27928161621094" z="0.0014286803780123591"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_w_transform_12040">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="50.68578338623047" y="39.089820861816406" 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_close_to_adversary_7405">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_w_transform_7406">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_close_to_standing_7407">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_w_transform_7408">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</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_w_transform_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_w_transform_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_adversary_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_close_to_adversary_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_7414">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_w_transform_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_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_adversary_7420">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_w_transform_7421">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_w_transform_7422">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
</Entities>
<Storyboard>
<Init>
<Actions>
<GlobalAction>
<EnvironmentAction>
<Environment name="Environment1">
<TimeOfDay animation="false" dateTime="2019-06-25T12:00:00"/>
<Weather cloudState="free">
<Sun intensity="0.85" azimuth="0" elevation="1.31"/>
<Fog visualRange="100000.0"/>
<Precipitation precipitationType="dry" intensity="0.0"/>
</Weather>
<RoadCondition frictionScaleFactor="1.0"/>
</Environment>
</EnvironmentAction>
</GlobalAction>
<Private entityRef="hero">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-9.4" y="-152.8" z="0.5" h="1.57079632679"/>
</Position>
</TeleportAction>
</PrivateAction>
<PrivateAction>
<ControllerAction>
<AssignControllerAction>
<Controller name="HeroAgent">
<Properties>
<Property name="module" value="external_control"/>
</Properties>
</Controller>
</AssignControllerAction>
<OverrideControllerValueAction>
<Throttle value="0" active="false"/>
<Brake value="0" active="false"/>
<Clutch value="0" active="false"/>
<ParkingBrake value="0" active="false"/>
<SteeringWheel value="0" active="false"/>
<Gear number="0" active="false"/>
</OverrideControllerValueAction>
</ControllerAction>
</PrivateAction>
</Private>
<Private entityRef="adversary">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-9.4" y="-71.0" z="0.5" h="1.57079632679"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="standing">
<PrivateAction>
<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_7405">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-15.558207511901855" y="-72.56361389160156" z="0.03380969911813736"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_w_transform_7406">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="4.208634853363037" y="66.98785400390625" z="0.5"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_close_to_standing_7407">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-8.333761215209961" y="32.15855026245117" z="0.003070411505177617"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_w_transform_7408">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="36.06934356689453" y="-49.39567947387695" z="0.5"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_close_to_adversary_7409">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-11.347148895263672" y="-66.47171020507812" z="0.03378124162554741"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_w_transform_7410">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="57.956085205078125" y="48.887386322021484" z="0.5"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_w_transform_7411">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="86.6856460571289" y="-29.06593894958496" z="0.5"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_close_to_adversary_7412">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-25.86073875427246" y="-85.2357177734375" z="0.03380008786916733"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_close_to_adversary_7413">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-7.2858052253723145" y="-60.60541915893555" z="0.033849868923425674"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_w_transform_7414">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="67.18976593017578" y="23.366531372070312" z="0.5"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_w_transform_7416">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-78.85157012939453" y="0.2759270966053009" z="0.5"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_w_transform_7418">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="78.59014892578125" y="31.580333709716797" z="0.5"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_close_to_hero_7419">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-2.7042627334594727" y="-143.52931213378906" z="0.0014286803780123591"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_close_to_adversary_7420">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-12.325956344604492" y="-74.29865264892578" z="0.03376762196421623"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_w_transform_7421">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="67.94467163085938" y="87.55734252929688" z="0.5"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_w_transform_7422">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-45.77085876464844" y="14.302431106567383" 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_7405">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_w_transform_7406">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_w_transform_7408">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</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_w_transform_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_w_transform_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_adversary_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_close_to_adversary_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_7414">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_w_transform_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_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_adversary_7420">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_w_transform_7421">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_w_transform_7422">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
</Entities>
<Storyboard>
<Init>
<Actions>
<GlobalAction>
<EnvironmentAction>
<Environment name="Environment1">
<TimeOfDay animation="false" dateTime="2019-06-25T12:00:00"/>
<Weather cloudState="free">
<Sun intensity="0.85" azimuth="0" elevation="1.31"/>
<Fog visualRange="100000.0"/>
<Precipitation precipitationType="dry" intensity="0.0"/>
</Weather>
<RoadCondition frictionScaleFactor="1.0"/>
</Environment>
</EnvironmentAction>
</GlobalAction>
<Private entityRef="hero">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-9.4" y="-152.8" z="0.5" h="1.57079632679"/>
</Position>
</TeleportAction>
</PrivateAction>
<PrivateAction>
<ControllerAction>
<AssignControllerAction>
<Controller name="HeroAgent">
<Properties>
<Property name="module" value="external_control"/>
</Properties>
</Controller>
</AssignControllerAction>
<OverrideControllerValueAction>
<Throttle value="0" active="false"/>
<Brake value="0" active="false"/>
<Clutch value="0" active="false"/>
<ParkingBrake value="0" active="false"/>
<SteeringWheel value="0" active="false"/>
<Gear number="0" active="false"/>
</OverrideControllerValueAction>
</ControllerAction>
</PrivateAction>
</Private>
<Private entityRef="adversary">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-9.4" y="-71.0" z="0.5" h="1.57079632679"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="standing">
<PrivateAction>
<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_7405">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-15.558207511901855" y="-72.56361389160156" z="0.03380969911813736"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_w_transform_7406">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="4.208634853363037" y="66.98785400390625" z="0.5"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_w_transform_7408">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="36.06934356689453" y="-49.39567947387695" z="0.5"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_close_to_adversary_7409">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-11.347148895263672" y="-66.47171020507812" z="0.03378124162554741"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_w_transform_7410">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="57.956085205078125" y="48.887386322021484" z="0.5"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_w_transform_7411">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="86.6856460571289" y="-29.06593894958496" z="0.5"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_close_to_adversary_7412">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-25.86073875427246" y="-85.2357177734375" z="0.03380008786916733"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_close_to_adversary_7413">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-7.2858052253723145" y="-60.60541915893555" z="0.033849868923425674"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_w_transform_7414">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="67.18976593017578" y="23.366531372070312" z="0.5"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_w_transform_7416">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-78.85157012939453" y="0.2759270966053009" z="0.5"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_w_transform_7418">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="78.59014892578125" y="31.580333709716797" z="0.5"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_close_to_hero_7419">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-2.7042627334594727" y="-143.52931213378906" z="0.0014286803780123591"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_close_to_adversary_7420">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-12.325956344604492" y="-74.29865264892578" z="0.03376762196421623"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_w_transform_7421">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="67.94467163085938" y="87.55734252929688" z="0.5"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_w_transform_7422">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-45.77085876464844" y="14.302431106567383" 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>
``` |
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_2369">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_w_transform_2370">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_close_to_hero_2371">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_w_transform_2374">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_close_to_standing_2375">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_w_transform_2376">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_w_transform_2377">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_w_transform_2378">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_close_to_standing_2379">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_close_to_standing_2380">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_w_transform_2381">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_close_to_standing_2382">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_w_transform_2385">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_w_transform_2387">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_w_transform_2388">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_w_transform_2389">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_w_transform_2390">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
</Entities>
<Storyboard>
<Init>
<Actions>
<GlobalAction>
<EnvironmentAction>
<Environment name="Environment1">
<TimeOfDay animation="false" dateTime="2019-06-25T12:00:00"/>
<Weather cloudState="free">
<Sun intensity="0.85" azimuth="0" elevation="1.31"/>
<Fog visualRange="100000.0"/>
<Precipitation precipitationType="dry" intensity="0.0"/>
</Weather>
<RoadCondition frictionScaleFactor="1.0"/>
</Environment>
</EnvironmentAction>
</GlobalAction>
<Private entityRef="hero">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-9.4" y="-152.8" z="0.5" h="1.57079632679"/>
</Position>
</TeleportAction>
</PrivateAction>
<PrivateAction>
<ControllerAction>
<AssignControllerAction>
<Controller name="HeroAgent">
<Properties>
<Property name="module" value="external_control"/>
</Properties>
</Controller>
</AssignControllerAction>
<OverrideControllerValueAction>
<Throttle value="0" active="false"/>
<Brake value="0" active="false"/>
<Clutch value="0" active="false"/>
<ParkingBrake value="0" active="false"/>
<SteeringWheel value="0" active="false"/>
<Gear number="0" active="false"/>
</OverrideControllerValueAction>
</ControllerAction>
</PrivateAction>
</Private>
<Private entityRef="adversary">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-9.4" y="-71.0" z="0.5" h="1.57079632679"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="standing">
<PrivateAction>
<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_2369">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-6.786583423614502" y="34.127220153808594" z="0.0030274582095444202"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_w_transform_2370">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="9.567983627319336" y="-35.63241195678711" z="0.5"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_close_to_hero_2371">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-11.475796699523926" y="-140.57652282714844" z="0.0014286803780123591"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_w_transform_2374">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="58.98617172241211" y="-92.40703582763672" z="0.5"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_close_to_standing_2375">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-8.45767879486084" y="32.384525299072266" z="0.0030651474371552467"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_w_transform_2376">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-5.153070449829102" y="27.083423614501953" z="0.5"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_w_transform_2377">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="64.95773315429688" y="-73.52658081054688" z="0.5"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_w_transform_2378">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="26.420583724975586" y="6.439128875732422" z="0.5"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_close_to_standing_2379">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-3.6790149211883545" y="34.35713577270508" z="0.003033981192857027"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_close_to_standing_2380">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-14.164599418640137" y="29.249319076538086" z="0.0030068587511777878"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_w_transform_2381">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="48.80464172363281" y="-43.33238220214844" z="0.5"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_close_to_standing_2382">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="1.641602873802185" y="28.59691619873047" z="0.0030205915682017803"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_w_transform_2385">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="67.0712661743164" y="-49.32000732421875" z="0.5"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_w_transform_2387">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="74.19943237304688" y="5.893406391143799" z="0.5"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_w_transform_2388">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="18.604942321777344" y="-88.93678283691406" z="0.5"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_w_transform_2389">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="91.89684295654297" y="42.782466888427734" z="0.5"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_w_transform_2390">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-87.51936340332031" y="49.59963607788086" 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_2369">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_w_transform_2370">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_close_to_hero_2371">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_w_transform_2374">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_close_to_standing_2375">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_w_transform_2376">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_w_transform_2377">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_w_transform_2378">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_close_to_standing_2379">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_close_to_standing_2380">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_w_transform_2381">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_w_transform_2385">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_w_transform_2387">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_w_transform_2388">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_w_transform_2389">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_w_transform_2390">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
</Entities>
<Storyboard>
<Init>
<Actions>
<GlobalAction>
<EnvironmentAction>
<Environment name="Environment1">
<TimeOfDay animation="false" dateTime="2019-06-25T12:00:00"/>
<Weather cloudState="free">
<Sun intensity="0.85" azimuth="0" elevation="1.31"/>
<Fog visualRange="100000.0"/>
<Precipitation precipitationType="dry" intensity="0.0"/>
</Weather>
<RoadCondition frictionScaleFactor="1.0"/>
</Environment>
</EnvironmentAction>
</GlobalAction>
<Private entityRef="hero">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-9.4" y="-152.8" z="0.5" h="1.57079632679"/>
</Position>
</TeleportAction>
</PrivateAction>
<PrivateAction>
<ControllerAction>
<AssignControllerAction>
<Controller name="HeroAgent">
<Properties>
<Property name="module" value="external_control"/>
</Properties>
</Controller>
</AssignControllerAction>
<OverrideControllerValueAction>
<Throttle value="0" active="false"/>
<Brake value="0" active="false"/>
<Clutch value="0" active="false"/>
<ParkingBrake value="0" active="false"/>
<SteeringWheel value="0" active="false"/>
<Gear number="0" active="false"/>
</OverrideControllerValueAction>
</ControllerAction>
</PrivateAction>
</Private>
<Private entityRef="adversary">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-9.4" y="-71.0" z="0.5" h="1.57079632679"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="standing">
<PrivateAction>
<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_2369">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-6.786583423614502" y="34.127220153808594" z="0.0030274582095444202"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_w_transform_2370">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="9.567983627319336" y="-35.63241195678711" z="0.5"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_close_to_hero_2371">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-11.475796699523926" y="-140.57652282714844" z="0.0014286803780123591"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_w_transform_2374">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="58.98617172241211" y="-92.40703582763672" z="0.5"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_close_to_standing_2375">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-8.45767879486084" y="32.384525299072266" z="0.0030651474371552467"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_w_transform_2376">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-5.153070449829102" y="27.083423614501953" z="0.5"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_w_transform_2377">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="64.95773315429688" y="-73.52658081054688" z="0.5"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_w_transform_2378">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="26.420583724975586" y="6.439128875732422" z="0.5"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_close_to_standing_2379">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-3.6790149211883545" y="34.35713577270508" z="0.003033981192857027"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_close_to_standing_2380">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-14.164599418640137" y="29.249319076538086" z="0.0030068587511777878"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_w_transform_2381">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="48.80464172363281" y="-43.33238220214844" z="0.5"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_w_transform_2385">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="67.0712661743164" y="-49.32000732421875" z="0.5"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_w_transform_2387">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="74.19943237304688" y="5.893406391143799" z="0.5"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_w_transform_2388">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="18.604942321777344" y="-88.93678283691406" z="0.5"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_w_transform_2389">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="91.89684295654297" y="42.782466888427734" z="0.5"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_w_transform_2390">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-87.51936340332031" y="49.59963607788086" 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 standing?
```
<?xml version="1.0" ?>
<OpenSCENARIO>
<FileHeader revMajor="1" revMinor="0" date="2020-03-24T12:00:00" description="CARLA:LaneChangeSimple" author=""/>
<ParameterDeclarations/>
<CatalogLocations/>
<RoadNetwork>
<LogicFile filepath="Town04"/>
<SceneGraphFile filepath=""/>
</RoadNetwork>
<Entities>
<ScenarioObject name="hero">
<Vehicle name="vehicle.tesla.model3" vehicleCategory="car">
<ParameterDeclarations/>
<Performance maxSpeed="69.444" maxAcceleration="200" maxDeceleration="10.0"/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2.1" length="4.5" height="1.8"/>
</BoundingBox>
<Axles>
<FrontAxle maxSteering="0.5" wheelDiameter="0.6" trackWidth="1.8" positionX="3.1" positionZ="0.3"/>
<RearAxle maxSteering="0.0" wheelDiameter="0.6" trackWidth="1.8" positionX="0.0" positionZ="0.3"/>
</Axles>
<Properties>
<Property name="type" value="ego_vehicle"/>
</Properties>
</Vehicle>
</ScenarioObject>
<ScenarioObject name="adversary">
<Vehicle name="vehicle.lincoln.mkz_2017" vehicleCategory="car">
<ParameterDeclarations/>
<Performance maxSpeed="69.444" maxAcceleration="200" maxDeceleration="10.0"/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2.1" length="4.5" height="1.8"/>
</BoundingBox>
<Axles>
<FrontAxle maxSteering="0.5" wheelDiameter="0.6" trackWidth="1.8" positionX="3.1" positionZ="0.3"/>
<RearAxle maxSteering="0.0" wheelDiameter="0.6" trackWidth="1.8" positionX="0.0" positionZ="0.3"/>
</Axles>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Vehicle>
</ScenarioObject>
<ScenarioObject name="standing">
<Vehicle name="vehicle.volkswagen.t2" vehicleCategory="car">
<ParameterDeclarations/>
<Performance maxSpeed="69.444" maxAcceleration="200" maxDeceleration="10.0"/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2.1" length="4.5" height="1.8"/>
</BoundingBox>
<Axles>
<FrontAxle maxSteering="0.5" wheelDiameter="0.6" trackWidth="1.8" positionX="3.1" positionZ="0.3"/>
<RearAxle maxSteering="0.0" wheelDiameter="0.6" trackWidth="1.8" positionX="0.0" positionZ="0.3"/>
</Axles>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Vehicle>
</ScenarioObject>
</Entities>
<Storyboard>
<Init>
<Actions>
<GlobalAction>
<EnvironmentAction>
<Environment name="Environment1">
<TimeOfDay animation="false" dateTime="2019-06-25T12:00:00"/>
<Weather cloudState="free">
<Sun intensity="0.85" azimuth="0" elevation="1.31"/>
<Fog visualRange="100000.0"/>
<Precipitation precipitationType="dry" intensity="0.0"/>
</Weather>
<RoadCondition frictionScaleFactor="1.0"/>
</Environment>
</EnvironmentAction>
</GlobalAction>
<Private entityRef="hero">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-9.4" y="-152.8" z="0.5" h="1.57079632679"/>
</Position>
</TeleportAction>
</PrivateAction>
<PrivateAction>
<ControllerAction>
<AssignControllerAction>
<Controller name="HeroAgent">
<Properties>
<Property name="module" value="external_control"/>
</Properties>
</Controller>
</AssignControllerAction>
<OverrideControllerValueAction>
<Throttle value="0" active="false"/>
<Brake value="0" active="false"/>
<Clutch value="0" active="false"/>
<ParkingBrake value="0" active="false"/>
<SteeringWheel value="0" active="false"/>
<Gear number="0" active="false"/>
</OverrideControllerValueAction>
</ControllerAction>
</PrivateAction>
</Private>
<Private entityRef="adversary">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-9.4" y="-71.0" z="0.5" h="1.57079632679"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="standing">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-8.2" y="29.2" z="0.5" h="1.57079632679"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
</Actions>
</Init>
<Story name="MyStory">
<Act name="Behavior">
<ManeuverGroup maximumExecutionCount="1" name="ManeuverSequence">
<Actors selectTriggeringEntities="false">
<EntityRef entityRef="adversary"/>
</Actors>
<Maneuver name="LaneChangeSimpleManeuver">
<Event name="AdversaryAccelerates" priority="overwrite">
<Action name="AdversaryAccelerates">
<PrivateAction>
<LongitudinalAction>
<SpeedAction>
<SpeedActionDynamics dynamicsShape="step" value="50" dynamicsDimension="distance"/>
<SpeedActionTarget>
<AbsoluteTargetSpeed value="5.0"/>
</SpeedActionTarget>
</SpeedAction>
</LongitudinalAction>
</PrivateAction>
</Action>
<StartTrigger>
<ConditionGroup>
<Condition name="StartCondition" delay="0" conditionEdge="rising">
<ByEntityCondition>
<TriggeringEntities triggeringEntitiesRule="any">
<EntityRef entityRef="hero"/>
</TriggeringEntities>
<EntityCondition>
<RelativeDistanceCondition entityRef="adversary" relativeDistanceType="cartesianDistance" value="40.0" freespace="false" rule="lessThan"/>
</EntityCondition>
</ByEntityCondition>
</Condition>
</ConditionGroup>
</StartTrigger>
</Event>
<Event name="AdversaryChangesLane" priority="overwrite">
<Action name="AdversaryChangesLane">
<PrivateAction>
<LateralAction>
<LaneChangeAction>
<LaneChangeActionDynamics dynamicsShape="linear" value="25" dynamicsDimension="distance"/>
<LaneChangeTarget>
<RelativeTargetLane entityRef="adversary" value="-1"/>
</LaneChangeTarget>
</LaneChangeAction>
</LateralAction>
</PrivateAction>
</Action>
<StartTrigger>
<ConditionGroup>
<Condition name="AfterAdversaryAccelerates" delay="0" conditionEdge="rising">
<ByValueCondition>
<StoryboardElementStateCondition storyboardElementType="action" storyboardElementRef="AdversaryAccelerates" state="completeState"/>
</ByValueCondition>
</Condition>
</ConditionGroup>
</StartTrigger>
</Event>
</Maneuver>
</ManeuverGroup>
<StartTrigger>
<ConditionGroup>
<Condition name="OverallStartCondition" delay="0" conditionEdge="rising">
<ByEntityCondition>
<TriggeringEntities triggeringEntitiesRule="any">
<EntityRef entityRef="hero"/>
</TriggeringEntities>
<EntityCondition>
<TraveledDistanceCondition value="1.0"/>
</EntityCondition>
</ByEntityCondition>
</Condition>
<Condition name="StartTime" delay="0" conditionEdge="rising">
<ByValueCondition>
<SimulationTimeCondition value="0" rule="equalTo"/>
</ByValueCondition>
</Condition>
</ConditionGroup>
</StartTrigger>
<StopTrigger>
<ConditionGroup>
<Condition name="EndCondition" delay="0" conditionEdge="rising">
<ByEntityCondition>
<TriggeringEntities triggeringEntitiesRule="any">
<EntityRef entityRef="hero"/>
</TriggeringEntities>
<EntityCondition>
<TraveledDistanceCondition value="200.0"/>
</EntityCondition>
</ByEntityCondition>
</Condition>
</ConditionGroup>
</StopTrigger>
</Act>
</Story>
<StopTrigger>
<ConditionGroup>
<Condition name="criteria_RunningStopTest" delay="0" conditionEdge="rising">
<ByValueCondition>
<ParameterCondition parameterRef="" value="" rule="lessThan"/>
</ByValueCondition>
</Condition>
<Condition name="criteria_RunningRedLightTest" delay="0" conditionEdge="rising">
<ByValueCondition>
<ParameterCondition parameterRef="" value="" rule="lessThan"/>
</ByValueCondition>
</Condition>
<Condition name="criteria_WrongLaneTest" delay="0" conditionEdge="rising">
<ByValueCondition>
<ParameterCondition parameterRef="" value="" rule="lessThan"/>
</ByValueCondition>
</Condition>
<Condition name="criteria_OnSidewalkTest" delay="0" conditionEdge="rising">
<ByValueCondition>
<ParameterCondition parameterRef="" value="" rule="lessThan"/>
</ByValueCondition>
</Condition>
<Condition name="criteria_KeepLaneTest" delay="0" conditionEdge="rising">
<ByValueCondition>
<ParameterCondition parameterRef="" value="" rule="lessThan"/>
</ByValueCondition>
</Condition>
<Condition name="criteria_CollisionTest" delay="0" conditionEdge="rising">
<ByValueCondition>
<ParameterCondition parameterRef="" value="" rule="lessThan"/>
</ByValueCondition>
</Condition>
<Condition name="criteria_DrivenDistanceTest" delay="0" conditionEdge="rising">
<ByValueCondition>
<ParameterCondition parameterRef="distance_success" value="100" rule="lessThan"/>
</ByValueCondition>
</Condition>
</ConditionGroup>
</StopTrigger>
</Storyboard>
</OpenSCENARIO>
``` | Here is the result:
```
<?xml version="1.0" ?>
<OpenSCENARIO>
<FileHeader revMajor="1" revMinor="0" date="2020-03-24T12:00:00" description="CARLA:LaneChangeSimple" author=""/>
<ParameterDeclarations/>
<CatalogLocations/>
<RoadNetwork>
<LogicFile filepath="Town04"/>
<SceneGraphFile filepath=""/>
</RoadNetwork>
<Entities>
<ScenarioObject name="hero">
<Vehicle name="vehicle.tesla.model3" vehicleCategory="car">
<ParameterDeclarations/>
<Performance maxSpeed="69.444" maxAcceleration="200" maxDeceleration="10.0"/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2.1" length="4.5" height="1.8"/>
</BoundingBox>
<Axles>
<FrontAxle maxSteering="0.5" wheelDiameter="0.6" trackWidth="1.8" positionX="3.1" positionZ="0.3"/>
<RearAxle maxSteering="0.0" wheelDiameter="0.6" trackWidth="1.8" positionX="0.0" positionZ="0.3"/>
</Axles>
<Properties>
<Property name="type" value="ego_vehicle"/>
</Properties>
</Vehicle>
</ScenarioObject>
<ScenarioObject name="adversary">
<Vehicle name="vehicle.lincoln.mkz_2017" vehicleCategory="car">
<ParameterDeclarations/>
<Performance maxSpeed="69.444" maxAcceleration="200" maxDeceleration="10.0"/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2.1" length="4.5" height="1.8"/>
</BoundingBox>
<Axles>
<FrontAxle maxSteering="0.5" wheelDiameter="0.6" trackWidth="1.8" positionX="3.1" positionZ="0.3"/>
<RearAxle maxSteering="0.0" wheelDiameter="0.6" trackWidth="1.8" positionX="0.0" positionZ="0.3"/>
</Axles>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Vehicle>
</ScenarioObject>
<ScenarioObject name="standing">
<Vehicle name="vehicle.volkswagen.t2" vehicleCategory="car">
<ParameterDeclarations/>
<Performance maxSpeed="69.444" maxAcceleration="200" maxDeceleration="10.0"/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2.1" length="4.5" height="1.8"/>
</BoundingBox>
<Axles>
<FrontAxle maxSteering="0.5" wheelDiameter="0.6" trackWidth="1.8" positionX="3.1" positionZ="0.3"/>
<RearAxle maxSteering="0.0" wheelDiameter="0.6" trackWidth="1.8" positionX="0.0" positionZ="0.3"/>
</Axles>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Vehicle>
</ScenarioObject>
<ScenarioObject name="pedestrian_close_to_standing_1136">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
</Entities>
<Storyboard>
<Init>
<Actions>
<GlobalAction>
<EnvironmentAction>
<Environment name="Environment1">
<TimeOfDay animation="false" dateTime="2019-06-25T12:00:00"/>
<Weather cloudState="free">
<Sun intensity="0.85" azimuth="0" elevation="1.31"/>
<Fog visualRange="100000.0"/>
<Precipitation precipitationType="dry" intensity="0.0"/>
</Weather>
<RoadCondition frictionScaleFactor="1.0"/>
</Environment>
</EnvironmentAction>
</GlobalAction>
<Private entityRef="hero">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-9.4" y="-152.8" z="0.5" h="1.57079632679"/>
</Position>
</TeleportAction>
</PrivateAction>
<PrivateAction>
<ControllerAction>
<AssignControllerAction>
<Controller name="HeroAgent">
<Properties>
<Property name="module" value="external_control"/>
</Properties>
</Controller>
</AssignControllerAction>
<OverrideControllerValueAction>
<Throttle value="0" active="false"/>
<Brake value="0" active="false"/>
<Clutch value="0" active="false"/>
<ParkingBrake value="0" active="false"/>
<SteeringWheel value="0" active="false"/>
<Gear number="0" active="false"/>
</OverrideControllerValueAction>
</ControllerAction>
</PrivateAction>
</Private>
<Private entityRef="adversary">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-9.4" y="-71.0" z="0.5" h="1.57079632679"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="standing">
<PrivateAction>
<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_1136">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-12.462454795837402" y="25.869586944580078" z="0.0030679702758789062"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
</Actions>
</Init>
<Story name="MyStory">
<Act name="Behavior">
<ManeuverGroup maximumExecutionCount="1" name="ManeuverSequence">
<Actors selectTriggeringEntities="false">
<EntityRef entityRef="adversary"/>
</Actors>
<Maneuver name="LaneChangeSimpleManeuver">
<Event name="AdversaryAccelerates" priority="overwrite">
<Action name="AdversaryAccelerates">
<PrivateAction>
<LongitudinalAction>
<SpeedAction>
<SpeedActionDynamics dynamicsShape="step" value="50" dynamicsDimension="distance"/>
<SpeedActionTarget>
<AbsoluteTargetSpeed value="5.0"/>
</SpeedActionTarget>
</SpeedAction>
</LongitudinalAction>
</PrivateAction>
</Action>
<StartTrigger>
<ConditionGroup>
<Condition name="StartCondition" delay="0" conditionEdge="rising">
<ByEntityCondition>
<TriggeringEntities triggeringEntitiesRule="any">
<EntityRef entityRef="hero"/>
</TriggeringEntities>
<EntityCondition>
<RelativeDistanceCondition entityRef="adversary" relativeDistanceType="cartesianDistance" value="40.0" freespace="false" rule="lessThan"/>
</EntityCondition>
</ByEntityCondition>
</Condition>
</ConditionGroup>
</StartTrigger>
</Event>
<Event name="AdversaryChangesLane" priority="overwrite">
<Action name="AdversaryChangesLane">
<PrivateAction>
<LateralAction>
<LaneChangeAction>
<LaneChangeActionDynamics dynamicsShape="linear" value="25" dynamicsDimension="distance"/>
<LaneChangeTarget>
<RelativeTargetLane entityRef="adversary" value="-1"/>
</LaneChangeTarget>
</LaneChangeAction>
</LateralAction>
</PrivateAction>
</Action>
<StartTrigger>
<ConditionGroup>
<Condition name="AfterAdversaryAccelerates" delay="0" conditionEdge="rising">
<ByValueCondition>
<StoryboardElementStateCondition storyboardElementType="action" storyboardElementRef="AdversaryAccelerates" state="completeState"/>
</ByValueCondition>
</Condition>
</ConditionGroup>
</StartTrigger>
</Event>
</Maneuver>
</ManeuverGroup>
<StartTrigger>
<ConditionGroup>
<Condition name="OverallStartCondition" delay="0" conditionEdge="rising">
<ByEntityCondition>
<TriggeringEntities triggeringEntitiesRule="any">
<EntityRef entityRef="hero"/>
</TriggeringEntities>
<EntityCondition>
<TraveledDistanceCondition value="1.0"/>
</EntityCondition>
</ByEntityCondition>
</Condition>
<Condition name="StartTime" delay="0" conditionEdge="rising">
<ByValueCondition>
<SimulationTimeCondition value="0" rule="equalTo"/>
</ByValueCondition>
</Condition>
</ConditionGroup>
</StartTrigger>
<StopTrigger>
<ConditionGroup>
<Condition name="EndCondition" delay="0" conditionEdge="rising">
<ByEntityCondition>
<TriggeringEntities triggeringEntitiesRule="any">
<EntityRef entityRef="hero"/>
</TriggeringEntities>
<EntityCondition>
<TraveledDistanceCondition value="200.0"/>
</EntityCondition>
</ByEntityCondition>
</Condition>
</ConditionGroup>
</StopTrigger>
</Act>
</Story>
<StopTrigger>
<ConditionGroup>
<Condition name="criteria_RunningStopTest" delay="0" conditionEdge="rising">
<ByValueCondition>
<ParameterCondition parameterRef="" value="" rule="lessThan"/>
</ByValueCondition>
</Condition>
<Condition name="criteria_RunningRedLightTest" delay="0" conditionEdge="rising">
<ByValueCondition>
<ParameterCondition parameterRef="" value="" rule="lessThan"/>
</ByValueCondition>
</Condition>
<Condition name="criteria_WrongLaneTest" delay="0" conditionEdge="rising">
<ByValueCondition>
<ParameterCondition parameterRef="" value="" rule="lessThan"/>
</ByValueCondition>
</Condition>
<Condition name="criteria_OnSidewalkTest" delay="0" conditionEdge="rising">
<ByValueCondition>
<ParameterCondition parameterRef="" value="" rule="lessThan"/>
</ByValueCondition>
</Condition>
<Condition name="criteria_KeepLaneTest" delay="0" conditionEdge="rising">
<ByValueCondition>
<ParameterCondition parameterRef="" value="" rule="lessThan"/>
</ByValueCondition>
</Condition>
<Condition name="criteria_CollisionTest" delay="0" conditionEdge="rising">
<ByValueCondition>
<ParameterCondition parameterRef="" value="" rule="lessThan"/>
</ByValueCondition>
</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_2653">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_close_to_adversary_2654">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_close_to_adversary_2655">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_close_to_standing_2656">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_w_transform_2657">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_w_transform_2658">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_close_to_hero_2659">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_w_transform_2660">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_w_transform_2661">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_w_transform_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_2663">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.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_adversary_2665">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
</Entities>
<Storyboard>
<Init>
<Actions>
<GlobalAction>
<EnvironmentAction>
<Environment name="Environment1">
<TimeOfDay animation="false" dateTime="2019-06-25T12:00:00"/>
<Weather cloudState="free">
<Sun intensity="0.85" azimuth="0" elevation="1.31"/>
<Fog visualRange="100000.0"/>
<Precipitation precipitationType="dry" intensity="0.0"/>
</Weather>
<RoadCondition frictionScaleFactor="1.0"/>
</Environment>
</EnvironmentAction>
</GlobalAction>
<Private entityRef="hero">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-9.4" y="-152.8" z="0.5" h="1.57079632679"/>
</Position>
</TeleportAction>
</PrivateAction>
<PrivateAction>
<ControllerAction>
<AssignControllerAction>
<Controller name="HeroAgent">
<Properties>
<Property name="module" value="external_control"/>
</Properties>
</Controller>
</AssignControllerAction>
<OverrideControllerValueAction>
<Throttle value="0" active="false"/>
<Brake value="0" active="false"/>
<Clutch value="0" active="false"/>
<ParkingBrake value="0" active="false"/>
<SteeringWheel value="0" active="false"/>
<Gear number="0" active="false"/>
</OverrideControllerValueAction>
</ControllerAction>
</PrivateAction>
</Private>
<Private entityRef="adversary">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-9.4" y="-71.0" z="0.5" h="1.57079632679"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="standing">
<PrivateAction>
<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_2653">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="1.755887746810913" y="25.053083419799805" z="0.003061447059735656"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_close_to_adversary_2654">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-2.4967565536499023" y="-72.2148208618164" z="0.033834684640169144"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_close_to_adversary_2655">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-13.986021995544434" y="-76.81713104248047" z="0.03382999449968338"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_close_to_standing_2656">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="1.7187917232513428" y="24.105331420898438" z="0.0030786895658820868"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_w_transform_2657">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-72.14376831054688" y="81.18190002441406" z="0.5"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_w_transform_2658">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-92.62791442871094" y="98.68904876708984" z="0.5"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_close_to_hero_2659">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-17.39614486694336" y="-146.0652618408203" z="0.0014286803780123591"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_w_transform_2660">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-92.07552337646484" y="-34.94540023803711" z="0.5"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_w_transform_2661">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="94.80089569091797" y="-23.16377067565918" z="0.5"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_w_transform_2662">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="57.803924560546875" y="-39.42872619628906" z="0.5"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_close_to_hero_2663">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-9.905516624450684" y="-144.88668823242188" z="0.0014286803780123591"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_close_to_hero_2664">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-0.09912538528442383" y="-153.1522674560547" z="0.0014286803780123591"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_close_to_adversary_2665">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-1.414907693862915" y="-64.70793151855469" z="0.03386756777763367"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
</Actions>
</Init>
<Story name="MyStory">
<Act name="Behavior">
<ManeuverGroup maximumExecutionCount="1" name="ManeuverSequence">
<Actors selectTriggeringEntities="false">
<EntityRef entityRef="adversary"/>
</Actors>
<Maneuver name="LaneChangeSimpleManeuver">
<Event name="AdversaryAccelerates" priority="overwrite">
<Action name="AdversaryAccelerates">
<PrivateAction>
<LongitudinalAction>
<SpeedAction>
<SpeedActionDynamics dynamicsShape="step" value="50" dynamicsDimension="distance"/>
<SpeedActionTarget>
<AbsoluteTargetSpeed value="5.0"/>
</SpeedActionTarget>
</SpeedAction>
</LongitudinalAction>
</PrivateAction>
</Action>
<StartTrigger>
<ConditionGroup>
<Condition name="StartCondition" delay="0" conditionEdge="rising">
<ByEntityCondition>
<TriggeringEntities triggeringEntitiesRule="any">
<EntityRef entityRef="hero"/>
</TriggeringEntities>
<EntityCondition>
<RelativeDistanceCondition entityRef="adversary" relativeDistanceType="cartesianDistance" value="40.0" freespace="false" rule="lessThan"/>
</EntityCondition>
</ByEntityCondition>
</Condition>
</ConditionGroup>
</StartTrigger>
</Event>
<Event name="AdversaryChangesLane" priority="overwrite">
<Action name="AdversaryChangesLane">
<PrivateAction>
<LateralAction>
<LaneChangeAction>
<LaneChangeActionDynamics dynamicsShape="linear" value="25" dynamicsDimension="distance"/>
<LaneChangeTarget>
<RelativeTargetLane entityRef="adversary" value="-1"/>
</LaneChangeTarget>
</LaneChangeAction>
</LateralAction>
</PrivateAction>
</Action>
<StartTrigger>
<ConditionGroup>
<Condition name="AfterAdversaryAccelerates" delay="0" conditionEdge="rising">
<ByValueCondition>
<StoryboardElementStateCondition storyboardElementType="action" storyboardElementRef="AdversaryAccelerates" state="completeState"/>
</ByValueCondition>
</Condition>
</ConditionGroup>
</StartTrigger>
</Event>
</Maneuver>
</ManeuverGroup>
<StartTrigger>
<ConditionGroup>
<Condition name="OverallStartCondition" delay="0" conditionEdge="rising">
<ByEntityCondition>
<TriggeringEntities triggeringEntitiesRule="any">
<EntityRef entityRef="hero"/>
</TriggeringEntities>
<EntityCondition>
<TraveledDistanceCondition value="1.0"/>
</EntityCondition>
</ByEntityCondition>
</Condition>
<Condition name="StartTime" delay="0" conditionEdge="rising">
<ByValueCondition>
<SimulationTimeCondition value="0" rule="equalTo"/>
</ByValueCondition>
</Condition>
</ConditionGroup>
</StartTrigger>
<StopTrigger>
<ConditionGroup>
<Condition name="EndCondition" delay="0" conditionEdge="rising">
<ByEntityCondition>
<TriggeringEntities triggeringEntitiesRule="any">
<EntityRef entityRef="hero"/>
</TriggeringEntities>
<EntityCondition>
<TraveledDistanceCondition value="200.0"/>
</EntityCondition>
</ByEntityCondition>
</Condition>
</ConditionGroup>
</StopTrigger>
</Act>
</Story>
<StopTrigger>
<ConditionGroup>
<Condition name="criteria_RunningStopTest" delay="0" conditionEdge="rising">
<ByValueCondition>
<ParameterCondition parameterRef="" value="" rule="lessThan"/>
</ByValueCondition>
</Condition>
<Condition name="criteria_RunningRedLightTest" delay="0" conditionEdge="rising">
<ByValueCondition>
<ParameterCondition parameterRef="" value="" rule="lessThan"/>
</ByValueCondition>
</Condition>
<Condition name="criteria_WrongLaneTest" delay="0" conditionEdge="rising">
<ByValueCondition>
<ParameterCondition parameterRef="" value="" rule="lessThan"/>
</ByValueCondition>
</Condition>
<Condition name="criteria_OnSidewalkTest" delay="0" conditionEdge="rising">
<ByValueCondition>
<ParameterCondition parameterRef="" value="" rule="lessThan"/>
</ByValueCondition>
</Condition>
<Condition name="criteria_KeepLaneTest" delay="0" conditionEdge="rising">
<ByValueCondition>
<ParameterCondition parameterRef="" value="" rule="lessThan"/>
</ByValueCondition>
</Condition>
<Condition name="criteria_CollisionTest" delay="0" conditionEdge="rising">
<ByValueCondition>
<ParameterCondition parameterRef="" value="" rule="lessThan"/>
</ByValueCondition>
</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_2653">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_close_to_adversary_2654">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_close_to_adversary_2655">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_close_to_standing_2656">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_w_transform_2657">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_w_transform_2658">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_close_to_hero_2659">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_w_transform_2660">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_w_transform_2661">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_w_transform_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_2663">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.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_adversary_2665">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_close_to_adversary_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>
</Entities>
<Storyboard>
<Init>
<Actions>
<GlobalAction>
<EnvironmentAction>
<Environment name="Environment1">
<TimeOfDay animation="false" dateTime="2019-06-25T12:00:00"/>
<Weather cloudState="free">
<Sun intensity="0.85" azimuth="0" elevation="1.31"/>
<Fog visualRange="100000.0"/>
<Precipitation precipitationType="dry" intensity="0.0"/>
</Weather>
<RoadCondition frictionScaleFactor="1.0"/>
</Environment>
</EnvironmentAction>
</GlobalAction>
<Private entityRef="hero">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-9.4" y="-152.8" z="0.5" h="1.57079632679"/>
</Position>
</TeleportAction>
</PrivateAction>
<PrivateAction>
<ControllerAction>
<AssignControllerAction>
<Controller name="HeroAgent">
<Properties>
<Property name="module" value="external_control"/>
</Properties>
</Controller>
</AssignControllerAction>
<OverrideControllerValueAction>
<Throttle value="0" active="false"/>
<Brake value="0" active="false"/>
<Clutch value="0" active="false"/>
<ParkingBrake value="0" active="false"/>
<SteeringWheel value="0" active="false"/>
<Gear number="0" active="false"/>
</OverrideControllerValueAction>
</ControllerAction>
</PrivateAction>
</Private>
<Private entityRef="adversary">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-9.4" y="-71.0" z="0.5" h="1.57079632679"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="standing">
<PrivateAction>
<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_2653">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="1.755887746810913" y="25.053083419799805" z="0.003061447059735656"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_close_to_adversary_2654">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-2.4967565536499023" y="-72.2148208618164" z="0.033834684640169144"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_close_to_adversary_2655">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-13.986021995544434" y="-76.81713104248047" z="0.03382999449968338"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_close_to_standing_2656">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="1.7187917232513428" y="24.105331420898438" z="0.0030786895658820868"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_w_transform_2657">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-72.14376831054688" y="81.18190002441406" z="0.5"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_w_transform_2658">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-92.62791442871094" y="98.68904876708984" z="0.5"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_close_to_hero_2659">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-17.39614486694336" y="-146.0652618408203" z="0.0014286803780123591"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_w_transform_2660">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-92.07552337646484" y="-34.94540023803711" z="0.5"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_w_transform_2661">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="94.80089569091797" y="-23.16377067565918" z="0.5"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_w_transform_2662">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="57.803924560546875" y="-39.42872619628906" z="0.5"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_close_to_hero_2663">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-9.905516624450684" y="-144.88668823242188" z="0.0014286803780123591"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_close_to_hero_2664">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-0.09912538528442383" y="-153.1522674560547" z="0.0014286803780123591"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_close_to_adversary_2665">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-1.414907693862915" y="-64.70793151855469" z="0.03386756777763367"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_close_to_adversary_2666">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-14.34024429321289" y="-78.49031829833984" z="0.03385685011744499"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
</Actions>
</Init>
<Story name="MyStory">
<Act name="Behavior">
<ManeuverGroup maximumExecutionCount="1" name="ManeuverSequence">
<Actors selectTriggeringEntities="false">
<EntityRef entityRef="adversary"/>
</Actors>
<Maneuver name="LaneChangeSimpleManeuver">
<Event name="AdversaryAccelerates" priority="overwrite">
<Action name="AdversaryAccelerates">
<PrivateAction>
<LongitudinalAction>
<SpeedAction>
<SpeedActionDynamics dynamicsShape="step" value="50" dynamicsDimension="distance"/>
<SpeedActionTarget>
<AbsoluteTargetSpeed value="5.0"/>
</SpeedActionTarget>
</SpeedAction>
</LongitudinalAction>
</PrivateAction>
</Action>
<StartTrigger>
<ConditionGroup>
<Condition name="StartCondition" delay="0" conditionEdge="rising">
<ByEntityCondition>
<TriggeringEntities triggeringEntitiesRule="any">
<EntityRef entityRef="hero"/>
</TriggeringEntities>
<EntityCondition>
<RelativeDistanceCondition entityRef="adversary" relativeDistanceType="cartesianDistance" value="40.0" freespace="false" rule="lessThan"/>
</EntityCondition>
</ByEntityCondition>
</Condition>
</ConditionGroup>
</StartTrigger>
</Event>
<Event name="AdversaryChangesLane" priority="overwrite">
<Action name="AdversaryChangesLane">
<PrivateAction>
<LateralAction>
<LaneChangeAction>
<LaneChangeActionDynamics dynamicsShape="linear" value="25" dynamicsDimension="distance"/>
<LaneChangeTarget>
<RelativeTargetLane entityRef="adversary" value="-1"/>
</LaneChangeTarget>
</LaneChangeAction>
</LateralAction>
</PrivateAction>
</Action>
<StartTrigger>
<ConditionGroup>
<Condition name="AfterAdversaryAccelerates" delay="0" conditionEdge="rising">
<ByValueCondition>
<StoryboardElementStateCondition storyboardElementType="action" storyboardElementRef="AdversaryAccelerates" state="completeState"/>
</ByValueCondition>
</Condition>
</ConditionGroup>
</StartTrigger>
</Event>
</Maneuver>
</ManeuverGroup>
<StartTrigger>
<ConditionGroup>
<Condition name="OverallStartCondition" delay="0" conditionEdge="rising">
<ByEntityCondition>
<TriggeringEntities triggeringEntitiesRule="any">
<EntityRef entityRef="hero"/>
</TriggeringEntities>
<EntityCondition>
<TraveledDistanceCondition value="1.0"/>
</EntityCondition>
</ByEntityCondition>
</Condition>
<Condition name="StartTime" delay="0" conditionEdge="rising">
<ByValueCondition>
<SimulationTimeCondition value="0" rule="equalTo"/>
</ByValueCondition>
</Condition>
</ConditionGroup>
</StartTrigger>
<StopTrigger>
<ConditionGroup>
<Condition name="EndCondition" delay="0" conditionEdge="rising">
<ByEntityCondition>
<TriggeringEntities triggeringEntitiesRule="any">
<EntityRef entityRef="hero"/>
</TriggeringEntities>
<EntityCondition>
<TraveledDistanceCondition value="200.0"/>
</EntityCondition>
</ByEntityCondition>
</Condition>
</ConditionGroup>
</StopTrigger>
</Act>
</Story>
<StopTrigger>
<ConditionGroup>
<Condition name="criteria_RunningStopTest" delay="0" conditionEdge="rising">
<ByValueCondition>
<ParameterCondition parameterRef="" value="" rule="lessThan"/>
</ByValueCondition>
</Condition>
<Condition name="criteria_RunningRedLightTest" delay="0" conditionEdge="rising">
<ByValueCondition>
<ParameterCondition parameterRef="" value="" rule="lessThan"/>
</ByValueCondition>
</Condition>
<Condition name="criteria_WrongLaneTest" delay="0" conditionEdge="rising">
<ByValueCondition>
<ParameterCondition parameterRef="" value="" rule="lessThan"/>
</ByValueCondition>
</Condition>
<Condition name="criteria_OnSidewalkTest" delay="0" conditionEdge="rising">
<ByValueCondition>
<ParameterCondition parameterRef="" value="" rule="lessThan"/>
</ByValueCondition>
</Condition>
<Condition name="criteria_KeepLaneTest" delay="0" conditionEdge="rising">
<ByValueCondition>
<ParameterCondition parameterRef="" value="" rule="lessThan"/>
</ByValueCondition>
</Condition>
<Condition name="criteria_CollisionTest" delay="0" conditionEdge="rising">
<ByValueCondition>
<ParameterCondition parameterRef="" value="" rule="lessThan"/>
</ByValueCondition>
</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_1202?
```
<?xml version="1.0" ?>
<OpenSCENARIO>
<FileHeader revMajor="1" revMinor="0" date="2020-03-24T12:00:00" description="CARLA:LaneChangeSimple" author=""/>
<ParameterDeclarations/>
<CatalogLocations/>
<RoadNetwork>
<LogicFile filepath="Town04"/>
<SceneGraphFile filepath=""/>
</RoadNetwork>
<Entities>
<ScenarioObject name="hero">
<Vehicle name="vehicle.tesla.model3" vehicleCategory="car">
<ParameterDeclarations/>
<Performance maxSpeed="69.444" maxAcceleration="200" maxDeceleration="10.0"/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2.1" length="4.5" height="1.8"/>
</BoundingBox>
<Axles>
<FrontAxle maxSteering="0.5" wheelDiameter="0.6" trackWidth="1.8" positionX="3.1" positionZ="0.3"/>
<RearAxle maxSteering="0.0" wheelDiameter="0.6" trackWidth="1.8" positionX="0.0" positionZ="0.3"/>
</Axles>
<Properties>
<Property name="type" value="ego_vehicle"/>
</Properties>
</Vehicle>
</ScenarioObject>
<ScenarioObject name="adversary">
<Vehicle name="vehicle.lincoln.mkz_2017" vehicleCategory="car">
<ParameterDeclarations/>
<Performance maxSpeed="69.444" maxAcceleration="200" maxDeceleration="10.0"/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2.1" length="4.5" height="1.8"/>
</BoundingBox>
<Axles>
<FrontAxle maxSteering="0.5" wheelDiameter="0.6" trackWidth="1.8" positionX="3.1" positionZ="0.3"/>
<RearAxle maxSteering="0.0" wheelDiameter="0.6" trackWidth="1.8" positionX="0.0" positionZ="0.3"/>
</Axles>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Vehicle>
</ScenarioObject>
<ScenarioObject name="standing">
<Vehicle name="vehicle.volkswagen.t2" vehicleCategory="car">
<ParameterDeclarations/>
<Performance maxSpeed="69.444" maxAcceleration="200" maxDeceleration="10.0"/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2.1" length="4.5" height="1.8"/>
</BoundingBox>
<Axles>
<FrontAxle maxSteering="0.5" wheelDiameter="0.6" trackWidth="1.8" positionX="3.1" positionZ="0.3"/>
<RearAxle maxSteering="0.0" wheelDiameter="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_1183">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_close_to_adversary_1187">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_close_to_adversary_1188">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_close_to_adversary_1189">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_w_transform_1191">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_close_to_hero_1192">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_w_transform_1195">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_w_transform_1197">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_close_to_adversary_1198">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_w_transform_1199">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_w_transform_1201">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_w_transform_1202">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_w_transform_1204">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_w_transform_1205">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_w_transform_1206">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_w_transform_1209">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
</Entities>
<Storyboard>
<Init>
<Actions>
<GlobalAction>
<EnvironmentAction>
<Environment name="Environment1">
<TimeOfDay animation="false" dateTime="2019-06-25T12:00:00"/>
<Weather cloudState="free">
<Sun intensity="0.85" azimuth="0" elevation="1.31"/>
<Fog visualRange="100000.0"/>
<Precipitation precipitationType="dry" intensity="0.0"/>
</Weather>
<RoadCondition frictionScaleFactor="1.0"/>
</Environment>
</EnvironmentAction>
</GlobalAction>
<Private entityRef="hero">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-9.4" y="-152.8" z="0.5" h="1.57079632679"/>
</Position>
</TeleportAction>
</PrivateAction>
<PrivateAction>
<ControllerAction>
<AssignControllerAction>
<Controller name="HeroAgent">
<Properties>
<Property name="module" value="external_control"/>
</Properties>
</Controller>
</AssignControllerAction>
<OverrideControllerValueAction>
<Throttle value="0" active="false"/>
<Brake value="0" active="false"/>
<Clutch value="0" active="false"/>
<ParkingBrake value="0" active="false"/>
<SteeringWheel value="0" active="false"/>
<Gear number="0" active="false"/>
</OverrideControllerValueAction>
</ControllerAction>
</PrivateAction>
</Private>
<Private entityRef="adversary">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-9.4" y="-71.0" z="0.5" h="1.57079632679"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="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_1183">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="75.07384490966797" y="68.12844848632812" z="0.5"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_close_to_adversary_1187">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-5.617854595184326" y="-70.62429809570312" z="0.03385249897837639"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_close_to_adversary_1188">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-14.439180374145508" y="-61.751304626464844" z="0.033838119357824326"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_close_to_adversary_1189">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-5.555234432220459" y="-79.6183090209961" z="0.033871956169605255"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_w_transform_1191">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-16.22378921508789" y="-73.13955688476562" z="0.5"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_close_to_hero_1192">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="0.5646414160728455" y="-144.817138671875" z="0.0014286803780123591"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_w_transform_1195">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="46.3681640625" y="-98.94225311279297" z="0.5"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_w_transform_1197">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-76.22289276123047" y="70.92914581298828" z="0.5"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_close_to_adversary_1198">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="0.35856810212135315" y="-63.98979949951172" z="0.033766862004995346"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_w_transform_1199">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="94.26370239257812" y="-79.97465515136719" z="0.5"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_w_transform_1201">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-15.740957260131836" y="44.099891662597656" z="0.5"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_w_transform_1202">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="15.393813133239746" y="-44.13518524169922" z="0.5"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_w_transform_1204">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="52.78047561645508" y="95.17340850830078" z="0.5"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_w_transform_1205">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-91.46916961669922" y="36.53585433959961" z="0.5"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_w_transform_1206">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="38.06277847290039" y="95.0574951171875" z="0.5"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_w_transform_1209">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="23.588886260986328" y="27.031078338623047" 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_1183">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_close_to_adversary_1187">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_close_to_adversary_1188">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_close_to_adversary_1189">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_w_transform_1191">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_close_to_hero_1192">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_w_transform_1195">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_w_transform_1197">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_close_to_adversary_1198">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_w_transform_1199">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_w_transform_1201">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_w_transform_1204">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_w_transform_1205">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_w_transform_1206">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_w_transform_1209">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
</Entities>
<Storyboard>
<Init>
<Actions>
<GlobalAction>
<EnvironmentAction>
<Environment name="Environment1">
<TimeOfDay animation="false" dateTime="2019-06-25T12:00:00"/>
<Weather cloudState="free">
<Sun intensity="0.85" azimuth="0" elevation="1.31"/>
<Fog visualRange="100000.0"/>
<Precipitation precipitationType="dry" intensity="0.0"/>
</Weather>
<RoadCondition frictionScaleFactor="1.0"/>
</Environment>
</EnvironmentAction>
</GlobalAction>
<Private entityRef="hero">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-9.4" y="-152.8" z="0.5" h="1.57079632679"/>
</Position>
</TeleportAction>
</PrivateAction>
<PrivateAction>
<ControllerAction>
<AssignControllerAction>
<Controller name="HeroAgent">
<Properties>
<Property name="module" value="external_control"/>
</Properties>
</Controller>
</AssignControllerAction>
<OverrideControllerValueAction>
<Throttle value="0" active="false"/>
<Brake value="0" active="false"/>
<Clutch value="0" active="false"/>
<ParkingBrake value="0" active="false"/>
<SteeringWheel value="0" active="false"/>
<Gear number="0" active="false"/>
</OverrideControllerValueAction>
</ControllerAction>
</PrivateAction>
</Private>
<Private entityRef="adversary">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-9.4" y="-71.0" z="0.5" h="1.57079632679"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="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_1183">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="75.07384490966797" y="68.12844848632812" z="0.5"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_close_to_adversary_1187">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-5.617854595184326" y="-70.62429809570312" z="0.03385249897837639"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_close_to_adversary_1188">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-14.439180374145508" y="-61.751304626464844" z="0.033838119357824326"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_close_to_adversary_1189">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-5.555234432220459" y="-79.6183090209961" z="0.033871956169605255"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_w_transform_1191">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-16.22378921508789" y="-73.13955688476562" z="0.5"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_close_to_hero_1192">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="0.5646414160728455" y="-144.817138671875" z="0.0014286803780123591"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_w_transform_1195">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="46.3681640625" y="-98.94225311279297" z="0.5"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_w_transform_1197">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-76.22289276123047" y="70.92914581298828" z="0.5"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_close_to_adversary_1198">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="0.35856810212135315" y="-63.98979949951172" z="0.033766862004995346"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_w_transform_1199">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="94.26370239257812" y="-79.97465515136719" z="0.5"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_w_transform_1201">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-15.740957260131836" y="44.099891662597656" z="0.5"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_w_transform_1204">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="52.78047561645508" y="95.17340850830078" z="0.5"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_w_transform_1205">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-91.46916961669922" y="36.53585433959961" z="0.5"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_w_transform_1206">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="38.06277847290039" y="95.0574951171875" z="0.5"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_w_transform_1209">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="23.588886260986328" y="27.031078338623047" 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 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_2314">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_w_transform_2315">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_w_transform_2316">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_w_transform_2317">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
</Entities>
<Storyboard>
<Init>
<Actions>
<GlobalAction>
<EnvironmentAction>
<Environment name="Environment1">
<TimeOfDay animation="false" dateTime="2019-06-25T12:00:00"/>
<Weather cloudState="free">
<Sun intensity="0.85" azimuth="0" elevation="1.31"/>
<Fog visualRange="100000.0"/>
<Precipitation precipitationType="dry" intensity="0.0"/>
</Weather>
<RoadCondition frictionScaleFactor="1.0"/>
</Environment>
</EnvironmentAction>
</GlobalAction>
<Private entityRef="hero">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-9.4" y="-152.8" z="0.5" h="1.57079632679"/>
</Position>
</TeleportAction>
</PrivateAction>
<PrivateAction>
<ControllerAction>
<AssignControllerAction>
<Controller name="HeroAgent">
<Properties>
<Property name="module" value="external_control"/>
</Properties>
</Controller>
</AssignControllerAction>
<OverrideControllerValueAction>
<Throttle value="0" active="false"/>
<Brake value="0" active="false"/>
<Clutch value="0" active="false"/>
<ParkingBrake value="0" active="false"/>
<SteeringWheel value="0" active="false"/>
<Gear number="0" active="false"/>
</OverrideControllerValueAction>
</ControllerAction>
</PrivateAction>
</Private>
<Private entityRef="adversary">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-9.4" y="-71.0" z="0.5" h="1.57079632679"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="standing">
<PrivateAction>
<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_2314">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-6.0051469802856445" y="-156.6779327392578" z="0.0014286803780123591"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_w_transform_2315">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="14.815672874450684" y="31.613603591918945" z="0.5"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_w_transform_2316">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-74.96483612060547" y="48.27415466308594" z="0.5"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_w_transform_2317">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-3.625926971435547" y="-19.163808822631836" 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_2314">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_w_transform_2315">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_w_transform_2316">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_w_transform_2317">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_close_to_hero_2318">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
</Entities>
<Storyboard>
<Init>
<Actions>
<GlobalAction>
<EnvironmentAction>
<Environment name="Environment1">
<TimeOfDay animation="false" dateTime="2019-06-25T12:00:00"/>
<Weather cloudState="free">
<Sun intensity="0.85" azimuth="0" elevation="1.31"/>
<Fog visualRange="100000.0"/>
<Precipitation precipitationType="dry" intensity="0.0"/>
</Weather>
<RoadCondition frictionScaleFactor="1.0"/>
</Environment>
</EnvironmentAction>
</GlobalAction>
<Private entityRef="hero">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-9.4" y="-152.8" z="0.5" h="1.57079632679"/>
</Position>
</TeleportAction>
</PrivateAction>
<PrivateAction>
<ControllerAction>
<AssignControllerAction>
<Controller name="HeroAgent">
<Properties>
<Property name="module" value="external_control"/>
</Properties>
</Controller>
</AssignControllerAction>
<OverrideControllerValueAction>
<Throttle value="0" active="false"/>
<Brake value="0" active="false"/>
<Clutch value="0" active="false"/>
<ParkingBrake value="0" active="false"/>
<SteeringWheel value="0" active="false"/>
<Gear number="0" active="false"/>
</OverrideControllerValueAction>
</ControllerAction>
</PrivateAction>
</Private>
<Private entityRef="adversary">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-9.4" y="-71.0" z="0.5" h="1.57079632679"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="standing">
<PrivateAction>
<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_2314">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-6.0051469802856445" y="-156.6779327392578" z="0.0014286803780123591"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_w_transform_2315">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="14.815672874450684" y="31.613603591918945" z="0.5"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_w_transform_2316">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-74.96483612060547" y="48.27415466308594" z="0.5"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_w_transform_2317">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-3.625926971435547" y="-19.163808822631836" z="0.5"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_close_to_hero_2318">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-18.413440704345703" y="-160.1279296875" z="0.0014286803780123591"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
</Actions>
</Init>
<Story name="MyStory">
<Act name="Behavior">
<ManeuverGroup maximumExecutionCount="1" name="ManeuverSequence">
<Actors selectTriggeringEntities="false">
<EntityRef entityRef="adversary"/>
</Actors>
<Maneuver name="LaneChangeSimpleManeuver">
<Event name="AdversaryAccelerates" priority="overwrite">
<Action name="AdversaryAccelerates">
<PrivateAction>
<LongitudinalAction>
<SpeedAction>
<SpeedActionDynamics dynamicsShape="step" value="50" dynamicsDimension="distance"/>
<SpeedActionTarget>
<AbsoluteTargetSpeed value="5.0"/>
</SpeedActionTarget>
</SpeedAction>
</LongitudinalAction>
</PrivateAction>
</Action>
<StartTrigger>
<ConditionGroup>
<Condition name="StartCondition" delay="0" conditionEdge="rising">
<ByEntityCondition>
<TriggeringEntities triggeringEntitiesRule="any">
<EntityRef entityRef="hero"/>
</TriggeringEntities>
<EntityCondition>
<RelativeDistanceCondition entityRef="adversary" relativeDistanceType="cartesianDistance" value="40.0" freespace="false" rule="lessThan"/>
</EntityCondition>
</ByEntityCondition>
</Condition>
</ConditionGroup>
</StartTrigger>
</Event>
<Event name="AdversaryChangesLane" priority="overwrite">
<Action name="AdversaryChangesLane">
<PrivateAction>
<LateralAction>
<LaneChangeAction>
<LaneChangeActionDynamics dynamicsShape="linear" value="25" dynamicsDimension="distance"/>
<LaneChangeTarget>
<RelativeTargetLane entityRef="adversary" value="-1"/>
</LaneChangeTarget>
</LaneChangeAction>
</LateralAction>
</PrivateAction>
</Action>
<StartTrigger>
<ConditionGroup>
<Condition name="AfterAdversaryAccelerates" delay="0" conditionEdge="rising">
<ByValueCondition>
<StoryboardElementStateCondition storyboardElementType="action" storyboardElementRef="AdversaryAccelerates" state="completeState"/>
</ByValueCondition>
</Condition>
</ConditionGroup>
</StartTrigger>
</Event>
</Maneuver>
</ManeuverGroup>
<StartTrigger>
<ConditionGroup>
<Condition name="OverallStartCondition" delay="0" conditionEdge="rising">
<ByEntityCondition>
<TriggeringEntities triggeringEntitiesRule="any">
<EntityRef entityRef="hero"/>
</TriggeringEntities>
<EntityCondition>
<TraveledDistanceCondition value="1.0"/>
</EntityCondition>
</ByEntityCondition>
</Condition>
<Condition name="StartTime" delay="0" conditionEdge="rising">
<ByValueCondition>
<SimulationTimeCondition value="0" rule="equalTo"/>
</ByValueCondition>
</Condition>
</ConditionGroup>
</StartTrigger>
<StopTrigger>
<ConditionGroup>
<Condition name="EndCondition" delay="0" conditionEdge="rising">
<ByEntityCondition>
<TriggeringEntities triggeringEntitiesRule="any">
<EntityRef entityRef="hero"/>
</TriggeringEntities>
<EntityCondition>
<TraveledDistanceCondition value="200.0"/>
</EntityCondition>
</ByEntityCondition>
</Condition>
</ConditionGroup>
</StopTrigger>
</Act>
</Story>
<StopTrigger>
<ConditionGroup>
<Condition name="criteria_RunningStopTest" delay="0" conditionEdge="rising">
<ByValueCondition>
<ParameterCondition parameterRef="" value="" rule="lessThan"/>
</ByValueCondition>
</Condition>
<Condition name="criteria_RunningRedLightTest" delay="0" conditionEdge="rising">
<ByValueCondition>
<ParameterCondition parameterRef="" value="" rule="lessThan"/>
</ByValueCondition>
</Condition>
<Condition name="criteria_WrongLaneTest" delay="0" conditionEdge="rising">
<ByValueCondition>
<ParameterCondition parameterRef="" value="" rule="lessThan"/>
</ByValueCondition>
</Condition>
<Condition name="criteria_OnSidewalkTest" delay="0" conditionEdge="rising">
<ByValueCondition>
<ParameterCondition parameterRef="" value="" rule="lessThan"/>
</ByValueCondition>
</Condition>
<Condition name="criteria_KeepLaneTest" delay="0" conditionEdge="rising">
<ByValueCondition>
<ParameterCondition parameterRef="" value="" rule="lessThan"/>
</ByValueCondition>
</Condition>
<Condition name="criteria_CollisionTest" delay="0" conditionEdge="rising">
<ByValueCondition>
<ParameterCondition parameterRef="" value="" rule="lessThan"/>
</ByValueCondition>
</Condition>
<Condition name="criteria_DrivenDistanceTest" delay="0" conditionEdge="rising">
<ByValueCondition>
<ParameterCondition parameterRef="distance_success" value="100" rule="lessThan"/>
</ByValueCondition>
</Condition>
</ConditionGroup>
</StopTrigger>
</Storyboard>
</OpenSCENARIO>
``` |
could you add pedestrian at location (-4.41, 76.54, 0.5)?
```
<?xml version="1.0" ?>
<OpenSCENARIO>
<FileHeader revMajor="1" revMinor="0" date="2020-03-24T12:00:00" description="CARLA:LaneChangeSimple" author=""/>
<ParameterDeclarations/>
<CatalogLocations/>
<RoadNetwork>
<LogicFile filepath="Town04"/>
<SceneGraphFile filepath=""/>
</RoadNetwork>
<Entities>
<ScenarioObject name="hero">
<Vehicle name="vehicle.tesla.model3" vehicleCategory="car">
<ParameterDeclarations/>
<Performance maxSpeed="69.444" maxAcceleration="200" maxDeceleration="10.0"/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2.1" length="4.5" height="1.8"/>
</BoundingBox>
<Axles>
<FrontAxle maxSteering="0.5" wheelDiameter="0.6" trackWidth="1.8" positionX="3.1" positionZ="0.3"/>
<RearAxle maxSteering="0.0" wheelDiameter="0.6" trackWidth="1.8" positionX="0.0" positionZ="0.3"/>
</Axles>
<Properties>
<Property name="type" value="ego_vehicle"/>
</Properties>
</Vehicle>
</ScenarioObject>
<ScenarioObject name="adversary">
<Vehicle name="vehicle.lincoln.mkz_2017" vehicleCategory="car">
<ParameterDeclarations/>
<Performance maxSpeed="69.444" maxAcceleration="200" maxDeceleration="10.0"/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2.1" length="4.5" height="1.8"/>
</BoundingBox>
<Axles>
<FrontAxle maxSteering="0.5" wheelDiameter="0.6" trackWidth="1.8" positionX="3.1" positionZ="0.3"/>
<RearAxle maxSteering="0.0" wheelDiameter="0.6" trackWidth="1.8" positionX="0.0" positionZ="0.3"/>
</Axles>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Vehicle>
</ScenarioObject>
<ScenarioObject name="standing">
<Vehicle name="vehicle.volkswagen.t2" vehicleCategory="car">
<ParameterDeclarations/>
<Performance maxSpeed="69.444" maxAcceleration="200" maxDeceleration="10.0"/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2.1" length="4.5" height="1.8"/>
</BoundingBox>
<Axles>
<FrontAxle maxSteering="0.5" wheelDiameter="0.6" trackWidth="1.8" positionX="3.1" positionZ="0.3"/>
<RearAxle maxSteering="0.0" wheelDiameter="0.6" trackWidth="1.8" positionX="0.0" positionZ="0.3"/>
</Axles>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Vehicle>
</ScenarioObject>
<ScenarioObject name="pedestrian_close_to_standing_8421">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_close_to_standing_8422">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_close_to_adversary_8423">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_close_to_standing_8424">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_close_to_standing_8425">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_close_to_hero_8426">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_w_transform_8427">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_w_transform_8428">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_w_transform_8429">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_close_to_standing_8430">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_w_transform_8431">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_w_transform_8432">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_w_transform_8433">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_close_to_adversary_8434">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
</Entities>
<Storyboard>
<Init>
<Actions>
<GlobalAction>
<EnvironmentAction>
<Environment name="Environment1">
<TimeOfDay animation="false" dateTime="2019-06-25T12:00:00"/>
<Weather cloudState="free">
<Sun intensity="0.85" azimuth="0" elevation="1.31"/>
<Fog visualRange="100000.0"/>
<Precipitation precipitationType="dry" intensity="0.0"/>
</Weather>
<RoadCondition frictionScaleFactor="1.0"/>
</Environment>
</EnvironmentAction>
</GlobalAction>
<Private entityRef="hero">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-9.4" y="-152.8" z="0.5" h="1.57079632679"/>
</Position>
</TeleportAction>
</PrivateAction>
<PrivateAction>
<ControllerAction>
<AssignControllerAction>
<Controller name="HeroAgent">
<Properties>
<Property name="module" value="external_control"/>
</Properties>
</Controller>
</AssignControllerAction>
<OverrideControllerValueAction>
<Throttle value="0" active="false"/>
<Brake value="0" active="false"/>
<Clutch value="0" active="false"/>
<ParkingBrake value="0" active="false"/>
<SteeringWheel value="0" active="false"/>
<Gear number="0" active="false"/>
</OverrideControllerValueAction>
</ControllerAction>
</PrivateAction>
</Private>
<Private entityRef="adversary">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-9.4" y="-71.0" z="0.5" h="1.57079632679"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="standing">
<PrivateAction>
<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_8421">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-6.082967758178711" y="38.61882400512695" z="0.0030751037411391735"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_close_to_standing_8422">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-12.60977840423584" y="23.28952980041504" z="0.0030855941586196423"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_close_to_adversary_8423">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-3.0090813636779785" y="-67.2308120727539" z="0.03383598104119301"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_close_to_standing_8424">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-14.221573829650879" y="36.674415588378906" z="0.003031844971701503"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_close_to_standing_8425">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-4.595790863037109" y="30.32195472717285" z="0.0030308531131595373"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_close_to_hero_8426">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-9.142034530639648" y="-160.59481811523438" z="0.0014286803780123591"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_w_transform_8427">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="9.380293846130371" y="26.48225212097168" z="0.5"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_w_transform_8428">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-11.918423652648926" y="-0.8748636245727539" z="0.5"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_w_transform_8429">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-73.30068969726562" y="43.299861907958984" z="0.5"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_close_to_standing_8430">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-7.976245403289795" y="22.510629653930664" z="0.0030819319654256105"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_w_transform_8431">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="95.04120635986328" y="-45.972679138183594" z="0.5"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_w_transform_8432">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="78.52086639404297" y="71.7947006225586" z="0.5"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_w_transform_8433">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="62.90945053100586" y="91.12396240234375" z="0.5"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_close_to_adversary_8434">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-12.013801574707031" y="-77.37981414794922" z="0.03378303349018097"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
</Actions>
</Init>
<Story name="MyStory">
<Act name="Behavior">
<ManeuverGroup maximumExecutionCount="1" name="ManeuverSequence">
<Actors selectTriggeringEntities="false">
<EntityRef entityRef="adversary"/>
</Actors>
<Maneuver name="LaneChangeSimpleManeuver">
<Event name="AdversaryAccelerates" priority="overwrite">
<Action name="AdversaryAccelerates">
<PrivateAction>
<LongitudinalAction>
<SpeedAction>
<SpeedActionDynamics dynamicsShape="step" value="50" dynamicsDimension="distance"/>
<SpeedActionTarget>
<AbsoluteTargetSpeed value="5.0"/>
</SpeedActionTarget>
</SpeedAction>
</LongitudinalAction>
</PrivateAction>
</Action>
<StartTrigger>
<ConditionGroup>
<Condition name="StartCondition" delay="0" conditionEdge="rising">
<ByEntityCondition>
<TriggeringEntities triggeringEntitiesRule="any">
<EntityRef entityRef="hero"/>
</TriggeringEntities>
<EntityCondition>
<RelativeDistanceCondition entityRef="adversary" relativeDistanceType="cartesianDistance" value="40.0" freespace="false" rule="lessThan"/>
</EntityCondition>
</ByEntityCondition>
</Condition>
</ConditionGroup>
</StartTrigger>
</Event>
<Event name="AdversaryChangesLane" priority="overwrite">
<Action name="AdversaryChangesLane">
<PrivateAction>
<LateralAction>
<LaneChangeAction>
<LaneChangeActionDynamics dynamicsShape="linear" value="25" dynamicsDimension="distance"/>
<LaneChangeTarget>
<RelativeTargetLane entityRef="adversary" value="-1"/>
</LaneChangeTarget>
</LaneChangeAction>
</LateralAction>
</PrivateAction>
</Action>
<StartTrigger>
<ConditionGroup>
<Condition name="AfterAdversaryAccelerates" delay="0" conditionEdge="rising">
<ByValueCondition>
<StoryboardElementStateCondition storyboardElementType="action" storyboardElementRef="AdversaryAccelerates" state="completeState"/>
</ByValueCondition>
</Condition>
</ConditionGroup>
</StartTrigger>
</Event>
</Maneuver>
</ManeuverGroup>
<StartTrigger>
<ConditionGroup>
<Condition name="OverallStartCondition" delay="0" conditionEdge="rising">
<ByEntityCondition>
<TriggeringEntities triggeringEntitiesRule="any">
<EntityRef entityRef="hero"/>
</TriggeringEntities>
<EntityCondition>
<TraveledDistanceCondition value="1.0"/>
</EntityCondition>
</ByEntityCondition>
</Condition>
<Condition name="StartTime" delay="0" conditionEdge="rising">
<ByValueCondition>
<SimulationTimeCondition value="0" rule="equalTo"/>
</ByValueCondition>
</Condition>
</ConditionGroup>
</StartTrigger>
<StopTrigger>
<ConditionGroup>
<Condition name="EndCondition" delay="0" conditionEdge="rising">
<ByEntityCondition>
<TriggeringEntities triggeringEntitiesRule="any">
<EntityRef entityRef="hero"/>
</TriggeringEntities>
<EntityCondition>
<TraveledDistanceCondition value="200.0"/>
</EntityCondition>
</ByEntityCondition>
</Condition>
</ConditionGroup>
</StopTrigger>
</Act>
</Story>
<StopTrigger>
<ConditionGroup>
<Condition name="criteria_RunningStopTest" delay="0" conditionEdge="rising">
<ByValueCondition>
<ParameterCondition parameterRef="" value="" rule="lessThan"/>
</ByValueCondition>
</Condition>
<Condition name="criteria_RunningRedLightTest" delay="0" conditionEdge="rising">
<ByValueCondition>
<ParameterCondition parameterRef="" value="" rule="lessThan"/>
</ByValueCondition>
</Condition>
<Condition name="criteria_WrongLaneTest" delay="0" conditionEdge="rising">
<ByValueCondition>
<ParameterCondition parameterRef="" value="" rule="lessThan"/>
</ByValueCondition>
</Condition>
<Condition name="criteria_OnSidewalkTest" delay="0" conditionEdge="rising">
<ByValueCondition>
<ParameterCondition parameterRef="" value="" rule="lessThan"/>
</ByValueCondition>
</Condition>
<Condition name="criteria_KeepLaneTest" delay="0" conditionEdge="rising">
<ByValueCondition>
<ParameterCondition parameterRef="" value="" rule="lessThan"/>
</ByValueCondition>
</Condition>
<Condition name="criteria_CollisionTest" delay="0" conditionEdge="rising">
<ByValueCondition>
<ParameterCondition parameterRef="" value="" rule="lessThan"/>
</ByValueCondition>
</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_8421">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_close_to_standing_8422">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_close_to_adversary_8423">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_close_to_standing_8424">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_close_to_standing_8425">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_close_to_hero_8426">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_w_transform_8427">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_w_transform_8428">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_w_transform_8429">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_close_to_standing_8430">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_w_transform_8431">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_w_transform_8432">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_w_transform_8433">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_close_to_adversary_8434">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_w_transform_8435">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
</Entities>
<Storyboard>
<Init>
<Actions>
<GlobalAction>
<EnvironmentAction>
<Environment name="Environment1">
<TimeOfDay animation="false" dateTime="2019-06-25T12:00:00"/>
<Weather cloudState="free">
<Sun intensity="0.85" azimuth="0" elevation="1.31"/>
<Fog visualRange="100000.0"/>
<Precipitation precipitationType="dry" intensity="0.0"/>
</Weather>
<RoadCondition frictionScaleFactor="1.0"/>
</Environment>
</EnvironmentAction>
</GlobalAction>
<Private entityRef="hero">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-9.4" y="-152.8" z="0.5" h="1.57079632679"/>
</Position>
</TeleportAction>
</PrivateAction>
<PrivateAction>
<ControllerAction>
<AssignControllerAction>
<Controller name="HeroAgent">
<Properties>
<Property name="module" value="external_control"/>
</Properties>
</Controller>
</AssignControllerAction>
<OverrideControllerValueAction>
<Throttle value="0" active="false"/>
<Brake value="0" active="false"/>
<Clutch value="0" active="false"/>
<ParkingBrake value="0" active="false"/>
<SteeringWheel value="0" active="false"/>
<Gear number="0" active="false"/>
</OverrideControllerValueAction>
</ControllerAction>
</PrivateAction>
</Private>
<Private entityRef="adversary">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-9.4" y="-71.0" z="0.5" h="1.57079632679"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="standing">
<PrivateAction>
<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_8421">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-6.082967758178711" y="38.61882400512695" z="0.0030751037411391735"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_close_to_standing_8422">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-12.60977840423584" y="23.28952980041504" z="0.0030855941586196423"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_close_to_adversary_8423">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-3.0090813636779785" y="-67.2308120727539" z="0.03383598104119301"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_close_to_standing_8424">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-14.221573829650879" y="36.674415588378906" z="0.003031844971701503"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_close_to_standing_8425">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-4.595790863037109" y="30.32195472717285" z="0.0030308531131595373"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_close_to_hero_8426">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-9.142034530639648" y="-160.59481811523438" z="0.0014286803780123591"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_w_transform_8427">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="9.380293846130371" y="26.48225212097168" z="0.5"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_w_transform_8428">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-11.918423652648926" y="-0.8748636245727539" z="0.5"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_w_transform_8429">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-73.30068969726562" y="43.299861907958984" z="0.5"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_close_to_standing_8430">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-7.976245403289795" y="22.510629653930664" z="0.0030819319654256105"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_w_transform_8431">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="95.04120635986328" y="-45.972679138183594" z="0.5"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_w_transform_8432">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="78.52086639404297" y="71.7947006225586" z="0.5"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_w_transform_8433">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="62.90945053100586" y="91.12396240234375" z="0.5"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_close_to_adversary_8434">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-12.013801574707031" y="-77.37981414794922" z="0.03378303349018097"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_w_transform_8435">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-4.4055070877075195" y="76.54426574707031" 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 (-54.11, -32.19, 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_13535">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_close_to_adversary_13536">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
</Entities>
<Storyboard>
<Init>
<Actions>
<GlobalAction>
<EnvironmentAction>
<Environment name="Environment1">
<TimeOfDay animation="false" dateTime="2019-06-25T12:00:00"/>
<Weather cloudState="free">
<Sun intensity="0.85" azimuth="0" elevation="1.31"/>
<Fog visualRange="100000.0"/>
<Precipitation precipitationType="dry" intensity="0.0"/>
</Weather>
<RoadCondition frictionScaleFactor="1.0"/>
</Environment>
</EnvironmentAction>
</GlobalAction>
<Private entityRef="hero">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-9.4" y="-152.8" z="0.5" h="1.57079632679"/>
</Position>
</TeleportAction>
</PrivateAction>
<PrivateAction>
<ControllerAction>
<AssignControllerAction>
<Controller name="HeroAgent">
<Properties>
<Property name="module" value="external_control"/>
</Properties>
</Controller>
</AssignControllerAction>
<OverrideControllerValueAction>
<Throttle value="0" active="false"/>
<Brake value="0" active="false"/>
<Clutch value="0" active="false"/>
<ParkingBrake value="0" active="false"/>
<SteeringWheel value="0" active="false"/>
<Gear number="0" active="false"/>
</OverrideControllerValueAction>
</ControllerAction>
</PrivateAction>
</Private>
<Private entityRef="adversary">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-9.4" y="-71.0" z="0.5" h="1.57079632679"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="standing">
<PrivateAction>
<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_13535">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-13.891300201416016" y="19.516963958740234" z="0.0030666731763631105"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_close_to_adversary_13536">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-14.052947044372559" y="-64.7320327758789" z="0.03380519896745682"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
</Actions>
</Init>
<Story name="MyStory">
<Act name="Behavior">
<ManeuverGroup maximumExecutionCount="1" name="ManeuverSequence">
<Actors selectTriggeringEntities="false">
<EntityRef entityRef="adversary"/>
</Actors>
<Maneuver name="LaneChangeSimpleManeuver">
<Event name="AdversaryAccelerates" priority="overwrite">
<Action name="AdversaryAccelerates">
<PrivateAction>
<LongitudinalAction>
<SpeedAction>
<SpeedActionDynamics dynamicsShape="step" value="50" dynamicsDimension="distance"/>
<SpeedActionTarget>
<AbsoluteTargetSpeed value="5.0"/>
</SpeedActionTarget>
</SpeedAction>
</LongitudinalAction>
</PrivateAction>
</Action>
<StartTrigger>
<ConditionGroup>
<Condition name="StartCondition" delay="0" conditionEdge="rising">
<ByEntityCondition>
<TriggeringEntities triggeringEntitiesRule="any">
<EntityRef entityRef="hero"/>
</TriggeringEntities>
<EntityCondition>
<RelativeDistanceCondition entityRef="adversary" relativeDistanceType="cartesianDistance" value="40.0" freespace="false" rule="lessThan"/>
</EntityCondition>
</ByEntityCondition>
</Condition>
</ConditionGroup>
</StartTrigger>
</Event>
<Event name="AdversaryChangesLane" priority="overwrite">
<Action name="AdversaryChangesLane">
<PrivateAction>
<LateralAction>
<LaneChangeAction>
<LaneChangeActionDynamics dynamicsShape="linear" value="25" dynamicsDimension="distance"/>
<LaneChangeTarget>
<RelativeTargetLane entityRef="adversary" value="-1"/>
</LaneChangeTarget>
</LaneChangeAction>
</LateralAction>
</PrivateAction>
</Action>
<StartTrigger>
<ConditionGroup>
<Condition name="AfterAdversaryAccelerates" delay="0" conditionEdge="rising">
<ByValueCondition>
<StoryboardElementStateCondition storyboardElementType="action" storyboardElementRef="AdversaryAccelerates" state="completeState"/>
</ByValueCondition>
</Condition>
</ConditionGroup>
</StartTrigger>
</Event>
</Maneuver>
</ManeuverGroup>
<StartTrigger>
<ConditionGroup>
<Condition name="OverallStartCondition" delay="0" conditionEdge="rising">
<ByEntityCondition>
<TriggeringEntities triggeringEntitiesRule="any">
<EntityRef entityRef="hero"/>
</TriggeringEntities>
<EntityCondition>
<TraveledDistanceCondition value="1.0"/>
</EntityCondition>
</ByEntityCondition>
</Condition>
<Condition name="StartTime" delay="0" conditionEdge="rising">
<ByValueCondition>
<SimulationTimeCondition value="0" rule="equalTo"/>
</ByValueCondition>
</Condition>
</ConditionGroup>
</StartTrigger>
<StopTrigger>
<ConditionGroup>
<Condition name="EndCondition" delay="0" conditionEdge="rising">
<ByEntityCondition>
<TriggeringEntities triggeringEntitiesRule="any">
<EntityRef entityRef="hero"/>
</TriggeringEntities>
<EntityCondition>
<TraveledDistanceCondition value="200.0"/>
</EntityCondition>
</ByEntityCondition>
</Condition>
</ConditionGroup>
</StopTrigger>
</Act>
</Story>
<StopTrigger>
<ConditionGroup>
<Condition name="criteria_RunningStopTest" delay="0" conditionEdge="rising">
<ByValueCondition>
<ParameterCondition parameterRef="" value="" rule="lessThan"/>
</ByValueCondition>
</Condition>
<Condition name="criteria_RunningRedLightTest" delay="0" conditionEdge="rising">
<ByValueCondition>
<ParameterCondition parameterRef="" value="" rule="lessThan"/>
</ByValueCondition>
</Condition>
<Condition name="criteria_WrongLaneTest" delay="0" conditionEdge="rising">
<ByValueCondition>
<ParameterCondition parameterRef="" value="" rule="lessThan"/>
</ByValueCondition>
</Condition>
<Condition name="criteria_OnSidewalkTest" delay="0" conditionEdge="rising">
<ByValueCondition>
<ParameterCondition parameterRef="" value="" rule="lessThan"/>
</ByValueCondition>
</Condition>
<Condition name="criteria_KeepLaneTest" delay="0" conditionEdge="rising">
<ByValueCondition>
<ParameterCondition parameterRef="" value="" rule="lessThan"/>
</ByValueCondition>
</Condition>
<Condition name="criteria_CollisionTest" delay="0" conditionEdge="rising">
<ByValueCondition>
<ParameterCondition parameterRef="" value="" rule="lessThan"/>
</ByValueCondition>
</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_13535">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_close_to_adversary_13536">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_w_transform_13537">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
</Entities>
<Storyboard>
<Init>
<Actions>
<GlobalAction>
<EnvironmentAction>
<Environment name="Environment1">
<TimeOfDay animation="false" dateTime="2019-06-25T12:00:00"/>
<Weather cloudState="free">
<Sun intensity="0.85" azimuth="0" elevation="1.31"/>
<Fog visualRange="100000.0"/>
<Precipitation precipitationType="dry" intensity="0.0"/>
</Weather>
<RoadCondition frictionScaleFactor="1.0"/>
</Environment>
</EnvironmentAction>
</GlobalAction>
<Private entityRef="hero">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-9.4" y="-152.8" z="0.5" h="1.57079632679"/>
</Position>
</TeleportAction>
</PrivateAction>
<PrivateAction>
<ControllerAction>
<AssignControllerAction>
<Controller name="HeroAgent">
<Properties>
<Property name="module" value="external_control"/>
</Properties>
</Controller>
</AssignControllerAction>
<OverrideControllerValueAction>
<Throttle value="0" active="false"/>
<Brake value="0" active="false"/>
<Clutch value="0" active="false"/>
<ParkingBrake value="0" active="false"/>
<SteeringWheel value="0" active="false"/>
<Gear number="0" active="false"/>
</OverrideControllerValueAction>
</ControllerAction>
</PrivateAction>
</Private>
<Private entityRef="adversary">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-9.4" y="-71.0" z="0.5" h="1.57079632679"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="standing">
<PrivateAction>
<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_13535">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-13.891300201416016" y="19.516963958740234" z="0.0030666731763631105"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_close_to_adversary_13536">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-14.052947044372559" y="-64.7320327758789" z="0.03380519896745682"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_w_transform_13537">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-54.111427307128906" y="-32.18518829345703" 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 standing?
```
<?xml version="1.0" ?>
<OpenSCENARIO>
<FileHeader revMajor="1" revMinor="0" date="2020-03-24T12:00:00" description="CARLA:LaneChangeSimple" author=""/>
<ParameterDeclarations/>
<CatalogLocations/>
<RoadNetwork>
<LogicFile filepath="Town04"/>
<SceneGraphFile filepath=""/>
</RoadNetwork>
<Entities>
<ScenarioObject name="hero">
<Vehicle name="vehicle.tesla.model3" vehicleCategory="car">
<ParameterDeclarations/>
<Performance maxSpeed="69.444" maxAcceleration="200" maxDeceleration="10.0"/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2.1" length="4.5" height="1.8"/>
</BoundingBox>
<Axles>
<FrontAxle maxSteering="0.5" wheelDiameter="0.6" trackWidth="1.8" positionX="3.1" positionZ="0.3"/>
<RearAxle maxSteering="0.0" wheelDiameter="0.6" trackWidth="1.8" positionX="0.0" positionZ="0.3"/>
</Axles>
<Properties>
<Property name="type" value="ego_vehicle"/>
</Properties>
</Vehicle>
</ScenarioObject>
<ScenarioObject name="adversary">
<Vehicle name="vehicle.lincoln.mkz_2017" vehicleCategory="car">
<ParameterDeclarations/>
<Performance maxSpeed="69.444" maxAcceleration="200" maxDeceleration="10.0"/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2.1" length="4.5" height="1.8"/>
</BoundingBox>
<Axles>
<FrontAxle maxSteering="0.5" wheelDiameter="0.6" trackWidth="1.8" positionX="3.1" positionZ="0.3"/>
<RearAxle maxSteering="0.0" wheelDiameter="0.6" trackWidth="1.8" positionX="0.0" positionZ="0.3"/>
</Axles>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Vehicle>
</ScenarioObject>
<ScenarioObject name="standing">
<Vehicle name="vehicle.volkswagen.t2" vehicleCategory="car">
<ParameterDeclarations/>
<Performance maxSpeed="69.444" maxAcceleration="200" maxDeceleration="10.0"/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2.1" length="4.5" height="1.8"/>
</BoundingBox>
<Axles>
<FrontAxle maxSteering="0.5" wheelDiameter="0.6" trackWidth="1.8" positionX="3.1" positionZ="0.3"/>
<RearAxle maxSteering="0.0" wheelDiameter="0.6" trackWidth="1.8" positionX="0.0" positionZ="0.3"/>
</Axles>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Vehicle>
</ScenarioObject>
</Entities>
<Storyboard>
<Init>
<Actions>
<GlobalAction>
<EnvironmentAction>
<Environment name="Environment1">
<TimeOfDay animation="false" dateTime="2019-06-25T12:00:00"/>
<Weather cloudState="free">
<Sun intensity="0.85" azimuth="0" elevation="1.31"/>
<Fog visualRange="100000.0"/>
<Precipitation precipitationType="dry" intensity="0.0"/>
</Weather>
<RoadCondition frictionScaleFactor="1.0"/>
</Environment>
</EnvironmentAction>
</GlobalAction>
<Private entityRef="hero">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-9.4" y="-152.8" z="0.5" h="1.57079632679"/>
</Position>
</TeleportAction>
</PrivateAction>
<PrivateAction>
<ControllerAction>
<AssignControllerAction>
<Controller name="HeroAgent">
<Properties>
<Property name="module" value="external_control"/>
</Properties>
</Controller>
</AssignControllerAction>
<OverrideControllerValueAction>
<Throttle value="0" active="false"/>
<Brake value="0" active="false"/>
<Clutch value="0" active="false"/>
<ParkingBrake value="0" active="false"/>
<SteeringWheel value="0" active="false"/>
<Gear number="0" active="false"/>
</OverrideControllerValueAction>
</ControllerAction>
</PrivateAction>
</Private>
<Private entityRef="adversary">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-9.4" y="-71.0" z="0.5" h="1.57079632679"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="standing">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-8.2" y="29.2" z="0.5" h="1.57079632679"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
</Actions>
</Init>
<Story name="MyStory">
<Act name="Behavior">
<ManeuverGroup maximumExecutionCount="1" name="ManeuverSequence">
<Actors selectTriggeringEntities="false">
<EntityRef entityRef="adversary"/>
</Actors>
<Maneuver name="LaneChangeSimpleManeuver">
<Event name="AdversaryAccelerates" priority="overwrite">
<Action name="AdversaryAccelerates">
<PrivateAction>
<LongitudinalAction>
<SpeedAction>
<SpeedActionDynamics dynamicsShape="step" value="50" dynamicsDimension="distance"/>
<SpeedActionTarget>
<AbsoluteTargetSpeed value="5.0"/>
</SpeedActionTarget>
</SpeedAction>
</LongitudinalAction>
</PrivateAction>
</Action>
<StartTrigger>
<ConditionGroup>
<Condition name="StartCondition" delay="0" conditionEdge="rising">
<ByEntityCondition>
<TriggeringEntities triggeringEntitiesRule="any">
<EntityRef entityRef="hero"/>
</TriggeringEntities>
<EntityCondition>
<RelativeDistanceCondition entityRef="adversary" relativeDistanceType="cartesianDistance" value="40.0" freespace="false" rule="lessThan"/>
</EntityCondition>
</ByEntityCondition>
</Condition>
</ConditionGroup>
</StartTrigger>
</Event>
<Event name="AdversaryChangesLane" priority="overwrite">
<Action name="AdversaryChangesLane">
<PrivateAction>
<LateralAction>
<LaneChangeAction>
<LaneChangeActionDynamics dynamicsShape="linear" value="25" dynamicsDimension="distance"/>
<LaneChangeTarget>
<RelativeTargetLane entityRef="adversary" value="-1"/>
</LaneChangeTarget>
</LaneChangeAction>
</LateralAction>
</PrivateAction>
</Action>
<StartTrigger>
<ConditionGroup>
<Condition name="AfterAdversaryAccelerates" delay="0" conditionEdge="rising">
<ByValueCondition>
<StoryboardElementStateCondition storyboardElementType="action" storyboardElementRef="AdversaryAccelerates" state="completeState"/>
</ByValueCondition>
</Condition>
</ConditionGroup>
</StartTrigger>
</Event>
</Maneuver>
</ManeuverGroup>
<StartTrigger>
<ConditionGroup>
<Condition name="OverallStartCondition" delay="0" conditionEdge="rising">
<ByEntityCondition>
<TriggeringEntities triggeringEntitiesRule="any">
<EntityRef entityRef="hero"/>
</TriggeringEntities>
<EntityCondition>
<TraveledDistanceCondition value="1.0"/>
</EntityCondition>
</ByEntityCondition>
</Condition>
<Condition name="StartTime" delay="0" conditionEdge="rising">
<ByValueCondition>
<SimulationTimeCondition value="0" rule="equalTo"/>
</ByValueCondition>
</Condition>
</ConditionGroup>
</StartTrigger>
<StopTrigger>
<ConditionGroup>
<Condition name="EndCondition" delay="0" conditionEdge="rising">
<ByEntityCondition>
<TriggeringEntities triggeringEntitiesRule="any">
<EntityRef entityRef="hero"/>
</TriggeringEntities>
<EntityCondition>
<TraveledDistanceCondition value="200.0"/>
</EntityCondition>
</ByEntityCondition>
</Condition>
</ConditionGroup>
</StopTrigger>
</Act>
</Story>
<StopTrigger>
<ConditionGroup>
<Condition name="criteria_RunningStopTest" delay="0" conditionEdge="rising">
<ByValueCondition>
<ParameterCondition parameterRef="" value="" rule="lessThan"/>
</ByValueCondition>
</Condition>
<Condition name="criteria_RunningRedLightTest" delay="0" conditionEdge="rising">
<ByValueCondition>
<ParameterCondition parameterRef="" value="" rule="lessThan"/>
</ByValueCondition>
</Condition>
<Condition name="criteria_WrongLaneTest" delay="0" conditionEdge="rising">
<ByValueCondition>
<ParameterCondition parameterRef="" value="" rule="lessThan"/>
</ByValueCondition>
</Condition>
<Condition name="criteria_OnSidewalkTest" delay="0" conditionEdge="rising">
<ByValueCondition>
<ParameterCondition parameterRef="" value="" rule="lessThan"/>
</ByValueCondition>
</Condition>
<Condition name="criteria_KeepLaneTest" delay="0" conditionEdge="rising">
<ByValueCondition>
<ParameterCondition parameterRef="" value="" rule="lessThan"/>
</ByValueCondition>
</Condition>
<Condition name="criteria_CollisionTest" delay="0" conditionEdge="rising">
<ByValueCondition>
<ParameterCondition parameterRef="" value="" rule="lessThan"/>
</ByValueCondition>
</Condition>
<Condition name="criteria_DrivenDistanceTest" delay="0" conditionEdge="rising">
<ByValueCondition>
<ParameterCondition parameterRef="distance_success" value="100" rule="lessThan"/>
</ByValueCondition>
</Condition>
</ConditionGroup>
</StopTrigger>
</Storyboard>
</OpenSCENARIO>
``` | Here is the result:
```
<?xml version="1.0" ?>
<OpenSCENARIO>
<FileHeader revMajor="1" revMinor="0" date="2020-03-24T12:00:00" description="CARLA:LaneChangeSimple" author=""/>
<ParameterDeclarations/>
<CatalogLocations/>
<RoadNetwork>
<LogicFile filepath="Town04"/>
<SceneGraphFile filepath=""/>
</RoadNetwork>
<Entities>
<ScenarioObject name="hero">
<Vehicle name="vehicle.tesla.model3" vehicleCategory="car">
<ParameterDeclarations/>
<Performance maxSpeed="69.444" maxAcceleration="200" maxDeceleration="10.0"/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2.1" length="4.5" height="1.8"/>
</BoundingBox>
<Axles>
<FrontAxle maxSteering="0.5" wheelDiameter="0.6" trackWidth="1.8" positionX="3.1" positionZ="0.3"/>
<RearAxle maxSteering="0.0" wheelDiameter="0.6" trackWidth="1.8" positionX="0.0" positionZ="0.3"/>
</Axles>
<Properties>
<Property name="type" value="ego_vehicle"/>
</Properties>
</Vehicle>
</ScenarioObject>
<ScenarioObject name="adversary">
<Vehicle name="vehicle.lincoln.mkz_2017" vehicleCategory="car">
<ParameterDeclarations/>
<Performance maxSpeed="69.444" maxAcceleration="200" maxDeceleration="10.0"/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2.1" length="4.5" height="1.8"/>
</BoundingBox>
<Axles>
<FrontAxle maxSteering="0.5" wheelDiameter="0.6" trackWidth="1.8" positionX="3.1" positionZ="0.3"/>
<RearAxle maxSteering="0.0" wheelDiameter="0.6" trackWidth="1.8" positionX="0.0" positionZ="0.3"/>
</Axles>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Vehicle>
</ScenarioObject>
<ScenarioObject name="standing">
<Vehicle name="vehicle.volkswagen.t2" vehicleCategory="car">
<ParameterDeclarations/>
<Performance maxSpeed="69.444" maxAcceleration="200" maxDeceleration="10.0"/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2.1" length="4.5" height="1.8"/>
</BoundingBox>
<Axles>
<FrontAxle maxSteering="0.5" wheelDiameter="0.6" trackWidth="1.8" positionX="3.1" positionZ="0.3"/>
<RearAxle maxSteering="0.0" wheelDiameter="0.6" trackWidth="1.8" positionX="0.0" positionZ="0.3"/>
</Axles>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Vehicle>
</ScenarioObject>
<ScenarioObject name="pedestrian_close_to_standing_7141">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
</Entities>
<Storyboard>
<Init>
<Actions>
<GlobalAction>
<EnvironmentAction>
<Environment name="Environment1">
<TimeOfDay animation="false" dateTime="2019-06-25T12:00:00"/>
<Weather cloudState="free">
<Sun intensity="0.85" azimuth="0" elevation="1.31"/>
<Fog visualRange="100000.0"/>
<Precipitation precipitationType="dry" intensity="0.0"/>
</Weather>
<RoadCondition frictionScaleFactor="1.0"/>
</Environment>
</EnvironmentAction>
</GlobalAction>
<Private entityRef="hero">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-9.4" y="-152.8" z="0.5" h="1.57079632679"/>
</Position>
</TeleportAction>
</PrivateAction>
<PrivateAction>
<ControllerAction>
<AssignControllerAction>
<Controller name="HeroAgent">
<Properties>
<Property name="module" value="external_control"/>
</Properties>
</Controller>
</AssignControllerAction>
<OverrideControllerValueAction>
<Throttle value="0" active="false"/>
<Brake value="0" active="false"/>
<Clutch value="0" active="false"/>
<ParkingBrake value="0" active="false"/>
<SteeringWheel value="0" active="false"/>
<Gear number="0" active="false"/>
</OverrideControllerValueAction>
</ControllerAction>
</PrivateAction>
</Private>
<Private entityRef="adversary">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-9.4" y="-71.0" z="0.5" h="1.57079632679"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="standing">
<PrivateAction>
<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_7141">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-9.78758716583252" y="35.745784759521484" z="0.0030348587315529585"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
</Actions>
</Init>
<Story name="MyStory">
<Act name="Behavior">
<ManeuverGroup maximumExecutionCount="1" name="ManeuverSequence">
<Actors selectTriggeringEntities="false">
<EntityRef entityRef="adversary"/>
</Actors>
<Maneuver name="LaneChangeSimpleManeuver">
<Event name="AdversaryAccelerates" priority="overwrite">
<Action name="AdversaryAccelerates">
<PrivateAction>
<LongitudinalAction>
<SpeedAction>
<SpeedActionDynamics dynamicsShape="step" value="50" dynamicsDimension="distance"/>
<SpeedActionTarget>
<AbsoluteTargetSpeed value="5.0"/>
</SpeedActionTarget>
</SpeedAction>
</LongitudinalAction>
</PrivateAction>
</Action>
<StartTrigger>
<ConditionGroup>
<Condition name="StartCondition" delay="0" conditionEdge="rising">
<ByEntityCondition>
<TriggeringEntities triggeringEntitiesRule="any">
<EntityRef entityRef="hero"/>
</TriggeringEntities>
<EntityCondition>
<RelativeDistanceCondition entityRef="adversary" relativeDistanceType="cartesianDistance" value="40.0" freespace="false" rule="lessThan"/>
</EntityCondition>
</ByEntityCondition>
</Condition>
</ConditionGroup>
</StartTrigger>
</Event>
<Event name="AdversaryChangesLane" priority="overwrite">
<Action name="AdversaryChangesLane">
<PrivateAction>
<LateralAction>
<LaneChangeAction>
<LaneChangeActionDynamics dynamicsShape="linear" value="25" dynamicsDimension="distance"/>
<LaneChangeTarget>
<RelativeTargetLane entityRef="adversary" value="-1"/>
</LaneChangeTarget>
</LaneChangeAction>
</LateralAction>
</PrivateAction>
</Action>
<StartTrigger>
<ConditionGroup>
<Condition name="AfterAdversaryAccelerates" delay="0" conditionEdge="rising">
<ByValueCondition>
<StoryboardElementStateCondition storyboardElementType="action" storyboardElementRef="AdversaryAccelerates" state="completeState"/>
</ByValueCondition>
</Condition>
</ConditionGroup>
</StartTrigger>
</Event>
</Maneuver>
</ManeuverGroup>
<StartTrigger>
<ConditionGroup>
<Condition name="OverallStartCondition" delay="0" conditionEdge="rising">
<ByEntityCondition>
<TriggeringEntities triggeringEntitiesRule="any">
<EntityRef entityRef="hero"/>
</TriggeringEntities>
<EntityCondition>
<TraveledDistanceCondition value="1.0"/>
</EntityCondition>
</ByEntityCondition>
</Condition>
<Condition name="StartTime" delay="0" conditionEdge="rising">
<ByValueCondition>
<SimulationTimeCondition value="0" rule="equalTo"/>
</ByValueCondition>
</Condition>
</ConditionGroup>
</StartTrigger>
<StopTrigger>
<ConditionGroup>
<Condition name="EndCondition" delay="0" conditionEdge="rising">
<ByEntityCondition>
<TriggeringEntities triggeringEntitiesRule="any">
<EntityRef entityRef="hero"/>
</TriggeringEntities>
<EntityCondition>
<TraveledDistanceCondition value="200.0"/>
</EntityCondition>
</ByEntityCondition>
</Condition>
</ConditionGroup>
</StopTrigger>
</Act>
</Story>
<StopTrigger>
<ConditionGroup>
<Condition name="criteria_RunningStopTest" delay="0" conditionEdge="rising">
<ByValueCondition>
<ParameterCondition parameterRef="" value="" rule="lessThan"/>
</ByValueCondition>
</Condition>
<Condition name="criteria_RunningRedLightTest" delay="0" conditionEdge="rising">
<ByValueCondition>
<ParameterCondition parameterRef="" value="" rule="lessThan"/>
</ByValueCondition>
</Condition>
<Condition name="criteria_WrongLaneTest" delay="0" conditionEdge="rising">
<ByValueCondition>
<ParameterCondition parameterRef="" value="" rule="lessThan"/>
</ByValueCondition>
</Condition>
<Condition name="criteria_OnSidewalkTest" delay="0" conditionEdge="rising">
<ByValueCondition>
<ParameterCondition parameterRef="" value="" rule="lessThan"/>
</ByValueCondition>
</Condition>
<Condition name="criteria_KeepLaneTest" delay="0" conditionEdge="rising">
<ByValueCondition>
<ParameterCondition parameterRef="" value="" rule="lessThan"/>
</ByValueCondition>
</Condition>
<Condition name="criteria_CollisionTest" delay="0" conditionEdge="rising">
<ByValueCondition>
<ParameterCondition parameterRef="" value="" rule="lessThan"/>
</ByValueCondition>
</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_17443">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
</Entities>
<Storyboard>
<Init>
<Actions>
<GlobalAction>
<EnvironmentAction>
<Environment name="Environment1">
<TimeOfDay animation="false" dateTime="2019-06-25T12:00:00"/>
<Weather cloudState="free">
<Sun intensity="0.85" azimuth="0" elevation="1.31"/>
<Fog visualRange="100000.0"/>
<Precipitation precipitationType="dry" intensity="0.0"/>
</Weather>
<RoadCondition frictionScaleFactor="1.0"/>
</Environment>
</EnvironmentAction>
</GlobalAction>
<Private entityRef="hero">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-9.4" y="-152.8" z="0.5" h="1.57079632679"/>
</Position>
</TeleportAction>
</PrivateAction>
<PrivateAction>
<ControllerAction>
<AssignControllerAction>
<Controller name="HeroAgent">
<Properties>
<Property name="module" value="external_control"/>
</Properties>
</Controller>
</AssignControllerAction>
<OverrideControllerValueAction>
<Throttle value="0" active="false"/>
<Brake value="0" active="false"/>
<Clutch value="0" active="false"/>
<ParkingBrake value="0" active="false"/>
<SteeringWheel value="0" active="false"/>
<Gear number="0" active="false"/>
</OverrideControllerValueAction>
</ControllerAction>
</PrivateAction>
</Private>
<Private entityRef="adversary">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-9.4" y="-71.0" z="0.5" h="1.57079632679"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="standing">
<PrivateAction>
<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_17443">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-4.069501876831055" y="-74.34779357910156" z="0.03382430970668793"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
</Actions>
</Init>
<Story name="MyStory">
<Act name="Behavior">
<ManeuverGroup maximumExecutionCount="1" name="ManeuverSequence">
<Actors selectTriggeringEntities="false">
<EntityRef entityRef="adversary"/>
</Actors>
<Maneuver name="LaneChangeSimpleManeuver">
<Event name="AdversaryAccelerates" priority="overwrite">
<Action name="AdversaryAccelerates">
<PrivateAction>
<LongitudinalAction>
<SpeedAction>
<SpeedActionDynamics dynamicsShape="step" value="50" dynamicsDimension="distance"/>
<SpeedActionTarget>
<AbsoluteTargetSpeed value="5.0"/>
</SpeedActionTarget>
</SpeedAction>
</LongitudinalAction>
</PrivateAction>
</Action>
<StartTrigger>
<ConditionGroup>
<Condition name="StartCondition" delay="0" conditionEdge="rising">
<ByEntityCondition>
<TriggeringEntities triggeringEntitiesRule="any">
<EntityRef entityRef="hero"/>
</TriggeringEntities>
<EntityCondition>
<RelativeDistanceCondition entityRef="adversary" relativeDistanceType="cartesianDistance" value="40.0" freespace="false" rule="lessThan"/>
</EntityCondition>
</ByEntityCondition>
</Condition>
</ConditionGroup>
</StartTrigger>
</Event>
<Event name="AdversaryChangesLane" priority="overwrite">
<Action name="AdversaryChangesLane">
<PrivateAction>
<LateralAction>
<LaneChangeAction>
<LaneChangeActionDynamics dynamicsShape="linear" value="25" dynamicsDimension="distance"/>
<LaneChangeTarget>
<RelativeTargetLane entityRef="adversary" value="-1"/>
</LaneChangeTarget>
</LaneChangeAction>
</LateralAction>
</PrivateAction>
</Action>
<StartTrigger>
<ConditionGroup>
<Condition name="AfterAdversaryAccelerates" delay="0" conditionEdge="rising">
<ByValueCondition>
<StoryboardElementStateCondition storyboardElementType="action" storyboardElementRef="AdversaryAccelerates" state="completeState"/>
</ByValueCondition>
</Condition>
</ConditionGroup>
</StartTrigger>
</Event>
</Maneuver>
</ManeuverGroup>
<StartTrigger>
<ConditionGroup>
<Condition name="OverallStartCondition" delay="0" conditionEdge="rising">
<ByEntityCondition>
<TriggeringEntities triggeringEntitiesRule="any">
<EntityRef entityRef="hero"/>
</TriggeringEntities>
<EntityCondition>
<TraveledDistanceCondition value="1.0"/>
</EntityCondition>
</ByEntityCondition>
</Condition>
<Condition name="StartTime" delay="0" conditionEdge="rising">
<ByValueCondition>
<SimulationTimeCondition value="0" rule="equalTo"/>
</ByValueCondition>
</Condition>
</ConditionGroup>
</StartTrigger>
<StopTrigger>
<ConditionGroup>
<Condition name="EndCondition" delay="0" conditionEdge="rising">
<ByEntityCondition>
<TriggeringEntities triggeringEntitiesRule="any">
<EntityRef entityRef="hero"/>
</TriggeringEntities>
<EntityCondition>
<TraveledDistanceCondition value="200.0"/>
</EntityCondition>
</ByEntityCondition>
</Condition>
</ConditionGroup>
</StopTrigger>
</Act>
</Story>
<StopTrigger>
<ConditionGroup>
<Condition name="criteria_RunningStopTest" delay="0" conditionEdge="rising">
<ByValueCondition>
<ParameterCondition parameterRef="" value="" rule="lessThan"/>
</ByValueCondition>
</Condition>
<Condition name="criteria_RunningRedLightTest" delay="0" conditionEdge="rising">
<ByValueCondition>
<ParameterCondition parameterRef="" value="" rule="lessThan"/>
</ByValueCondition>
</Condition>
<Condition name="criteria_WrongLaneTest" delay="0" conditionEdge="rising">
<ByValueCondition>
<ParameterCondition parameterRef="" value="" rule="lessThan"/>
</ByValueCondition>
</Condition>
<Condition name="criteria_OnSidewalkTest" delay="0" conditionEdge="rising">
<ByValueCondition>
<ParameterCondition parameterRef="" value="" rule="lessThan"/>
</ByValueCondition>
</Condition>
<Condition name="criteria_KeepLaneTest" delay="0" conditionEdge="rising">
<ByValueCondition>
<ParameterCondition parameterRef="" value="" rule="lessThan"/>
</ByValueCondition>
</Condition>
<Condition name="criteria_CollisionTest" delay="0" conditionEdge="rising">
<ByValueCondition>
<ParameterCondition parameterRef="" value="" rule="lessThan"/>
</ByValueCondition>
</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 (9.87, 46.83, 0.5)?
```
<?xml version="1.0" ?>
<OpenSCENARIO>
<FileHeader revMajor="1" revMinor="0" date="2020-03-24T12:00:00" description="CARLA:LaneChangeSimple" author=""/>
<ParameterDeclarations/>
<CatalogLocations/>
<RoadNetwork>
<LogicFile filepath="Town04"/>
<SceneGraphFile filepath=""/>
</RoadNetwork>
<Entities>
<ScenarioObject name="hero">
<Vehicle name="vehicle.tesla.model3" vehicleCategory="car">
<ParameterDeclarations/>
<Performance maxSpeed="69.444" maxAcceleration="200" maxDeceleration="10.0"/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2.1" length="4.5" height="1.8"/>
</BoundingBox>
<Axles>
<FrontAxle maxSteering="0.5" wheelDiameter="0.6" trackWidth="1.8" positionX="3.1" positionZ="0.3"/>
<RearAxle maxSteering="0.0" wheelDiameter="0.6" trackWidth="1.8" positionX="0.0" positionZ="0.3"/>
</Axles>
<Properties>
<Property name="type" value="ego_vehicle"/>
</Properties>
</Vehicle>
</ScenarioObject>
<ScenarioObject name="adversary">
<Vehicle name="vehicle.lincoln.mkz_2017" vehicleCategory="car">
<ParameterDeclarations/>
<Performance maxSpeed="69.444" maxAcceleration="200" maxDeceleration="10.0"/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2.1" length="4.5" height="1.8"/>
</BoundingBox>
<Axles>
<FrontAxle maxSteering="0.5" wheelDiameter="0.6" trackWidth="1.8" positionX="3.1" positionZ="0.3"/>
<RearAxle maxSteering="0.0" wheelDiameter="0.6" trackWidth="1.8" positionX="0.0" positionZ="0.3"/>
</Axles>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Vehicle>
</ScenarioObject>
<ScenarioObject name="standing">
<Vehicle name="vehicle.volkswagen.t2" vehicleCategory="car">
<ParameterDeclarations/>
<Performance maxSpeed="69.444" maxAcceleration="200" maxDeceleration="10.0"/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2.1" length="4.5" height="1.8"/>
</BoundingBox>
<Axles>
<FrontAxle maxSteering="0.5" wheelDiameter="0.6" trackWidth="1.8" positionX="3.1" positionZ="0.3"/>
<RearAxle maxSteering="0.0" wheelDiameter="0.6" trackWidth="1.8" positionX="0.0" positionZ="0.3"/>
</Axles>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Vehicle>
</ScenarioObject>
<ScenarioObject name="pedestrian_close_to_standing_3041">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_close_to_standing_3042">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_w_transform_3043">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_close_to_adversary_3044">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_w_transform_3045">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_w_transform_3046">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_w_transform_3047">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_w_transform_3048">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_w_transform_3049">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_w_transform_3050">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_close_to_hero_3051">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
</Entities>
<Storyboard>
<Init>
<Actions>
<GlobalAction>
<EnvironmentAction>
<Environment name="Environment1">
<TimeOfDay animation="false" dateTime="2019-06-25T12:00:00"/>
<Weather cloudState="free">
<Sun intensity="0.85" azimuth="0" elevation="1.31"/>
<Fog visualRange="100000.0"/>
<Precipitation precipitationType="dry" intensity="0.0"/>
</Weather>
<RoadCondition frictionScaleFactor="1.0"/>
</Environment>
</EnvironmentAction>
</GlobalAction>
<Private entityRef="hero">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-9.4" y="-152.8" z="0.5" h="1.57079632679"/>
</Position>
</TeleportAction>
</PrivateAction>
<PrivateAction>
<ControllerAction>
<AssignControllerAction>
<Controller name="HeroAgent">
<Properties>
<Property name="module" value="external_control"/>
</Properties>
</Controller>
</AssignControllerAction>
<OverrideControllerValueAction>
<Throttle value="0" active="false"/>
<Brake value="0" active="false"/>
<Clutch value="0" active="false"/>
<ParkingBrake value="0" active="false"/>
<SteeringWheel value="0" active="false"/>
<Gear number="0" active="false"/>
</OverrideControllerValueAction>
</ControllerAction>
</PrivateAction>
</Private>
<Private entityRef="adversary">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-9.4" y="-71.0" z="0.5" h="1.57079632679"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="standing">
<PrivateAction>
<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_3041">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-15.042896270751953" y="28.84239387512207" z="0.0030337523203343153"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_close_to_standing_3042">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-18.03152084350586" y="24.385421752929688" z="0.003034744178876281"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_w_transform_3043">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-53.71863555908203" y="-8.37500286102295" z="0.5"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_close_to_adversary_3044">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-15.856897354125977" y="-68.62857055664062" z="0.03374393284320831"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_w_transform_3045">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-11.70079231262207" y="29.513851165771484" z="0.5"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_w_transform_3046">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="47.39113998413086" y="-37.94965744018555" z="0.5"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_w_transform_3047">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="47.98349380493164" y="46.97432327270508" z="0.5"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_w_transform_3048">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="34.48465347290039" y="-92.26882934570312" z="0.5"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_w_transform_3049">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-9.80880069732666" y="-24.660676956176758" z="0.5"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_w_transform_3050">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="8.861835479736328" y="75.8998031616211" z="0.5"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_close_to_hero_3051">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-3.252662420272827" y="-147.8927001953125" z="0.0014286803780123591"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
</Actions>
</Init>
<Story name="MyStory">
<Act name="Behavior">
<ManeuverGroup maximumExecutionCount="1" name="ManeuverSequence">
<Actors selectTriggeringEntities="false">
<EntityRef entityRef="adversary"/>
</Actors>
<Maneuver name="LaneChangeSimpleManeuver">
<Event name="AdversaryAccelerates" priority="overwrite">
<Action name="AdversaryAccelerates">
<PrivateAction>
<LongitudinalAction>
<SpeedAction>
<SpeedActionDynamics dynamicsShape="step" value="50" dynamicsDimension="distance"/>
<SpeedActionTarget>
<AbsoluteTargetSpeed value="5.0"/>
</SpeedActionTarget>
</SpeedAction>
</LongitudinalAction>
</PrivateAction>
</Action>
<StartTrigger>
<ConditionGroup>
<Condition name="StartCondition" delay="0" conditionEdge="rising">
<ByEntityCondition>
<TriggeringEntities triggeringEntitiesRule="any">
<EntityRef entityRef="hero"/>
</TriggeringEntities>
<EntityCondition>
<RelativeDistanceCondition entityRef="adversary" relativeDistanceType="cartesianDistance" value="40.0" freespace="false" rule="lessThan"/>
</EntityCondition>
</ByEntityCondition>
</Condition>
</ConditionGroup>
</StartTrigger>
</Event>
<Event name="AdversaryChangesLane" priority="overwrite">
<Action name="AdversaryChangesLane">
<PrivateAction>
<LateralAction>
<LaneChangeAction>
<LaneChangeActionDynamics dynamicsShape="linear" value="25" dynamicsDimension="distance"/>
<LaneChangeTarget>
<RelativeTargetLane entityRef="adversary" value="-1"/>
</LaneChangeTarget>
</LaneChangeAction>
</LateralAction>
</PrivateAction>
</Action>
<StartTrigger>
<ConditionGroup>
<Condition name="AfterAdversaryAccelerates" delay="0" conditionEdge="rising">
<ByValueCondition>
<StoryboardElementStateCondition storyboardElementType="action" storyboardElementRef="AdversaryAccelerates" state="completeState"/>
</ByValueCondition>
</Condition>
</ConditionGroup>
</StartTrigger>
</Event>
</Maneuver>
</ManeuverGroup>
<StartTrigger>
<ConditionGroup>
<Condition name="OverallStartCondition" delay="0" conditionEdge="rising">
<ByEntityCondition>
<TriggeringEntities triggeringEntitiesRule="any">
<EntityRef entityRef="hero"/>
</TriggeringEntities>
<EntityCondition>
<TraveledDistanceCondition value="1.0"/>
</EntityCondition>
</ByEntityCondition>
</Condition>
<Condition name="StartTime" delay="0" conditionEdge="rising">
<ByValueCondition>
<SimulationTimeCondition value="0" rule="equalTo"/>
</ByValueCondition>
</Condition>
</ConditionGroup>
</StartTrigger>
<StopTrigger>
<ConditionGroup>
<Condition name="EndCondition" delay="0" conditionEdge="rising">
<ByEntityCondition>
<TriggeringEntities triggeringEntitiesRule="any">
<EntityRef entityRef="hero"/>
</TriggeringEntities>
<EntityCondition>
<TraveledDistanceCondition value="200.0"/>
</EntityCondition>
</ByEntityCondition>
</Condition>
</ConditionGroup>
</StopTrigger>
</Act>
</Story>
<StopTrigger>
<ConditionGroup>
<Condition name="criteria_RunningStopTest" delay="0" conditionEdge="rising">
<ByValueCondition>
<ParameterCondition parameterRef="" value="" rule="lessThan"/>
</ByValueCondition>
</Condition>
<Condition name="criteria_RunningRedLightTest" delay="0" conditionEdge="rising">
<ByValueCondition>
<ParameterCondition parameterRef="" value="" rule="lessThan"/>
</ByValueCondition>
</Condition>
<Condition name="criteria_WrongLaneTest" delay="0" conditionEdge="rising">
<ByValueCondition>
<ParameterCondition parameterRef="" value="" rule="lessThan"/>
</ByValueCondition>
</Condition>
<Condition name="criteria_OnSidewalkTest" delay="0" conditionEdge="rising">
<ByValueCondition>
<ParameterCondition parameterRef="" value="" rule="lessThan"/>
</ByValueCondition>
</Condition>
<Condition name="criteria_KeepLaneTest" delay="0" conditionEdge="rising">
<ByValueCondition>
<ParameterCondition parameterRef="" value="" rule="lessThan"/>
</ByValueCondition>
</Condition>
<Condition name="criteria_CollisionTest" delay="0" conditionEdge="rising">
<ByValueCondition>
<ParameterCondition parameterRef="" value="" rule="lessThan"/>
</ByValueCondition>
</Condition>
<Condition name="criteria_DrivenDistanceTest" delay="0" conditionEdge="rising">
<ByValueCondition>
<ParameterCondition parameterRef="distance_success" value="100" rule="lessThan"/>
</ByValueCondition>
</Condition>
</ConditionGroup>
</StopTrigger>
</Storyboard>
</OpenSCENARIO>
``` | Here is the result:
```
<?xml version="1.0" ?>
<OpenSCENARIO>
<FileHeader revMajor="1" revMinor="0" date="2020-03-24T12:00:00" description="CARLA:LaneChangeSimple" author=""/>
<ParameterDeclarations/>
<CatalogLocations/>
<RoadNetwork>
<LogicFile filepath="Town04"/>
<SceneGraphFile filepath=""/>
</RoadNetwork>
<Entities>
<ScenarioObject name="hero">
<Vehicle name="vehicle.tesla.model3" vehicleCategory="car">
<ParameterDeclarations/>
<Performance maxSpeed="69.444" maxAcceleration="200" maxDeceleration="10.0"/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2.1" length="4.5" height="1.8"/>
</BoundingBox>
<Axles>
<FrontAxle maxSteering="0.5" wheelDiameter="0.6" trackWidth="1.8" positionX="3.1" positionZ="0.3"/>
<RearAxle maxSteering="0.0" wheelDiameter="0.6" trackWidth="1.8" positionX="0.0" positionZ="0.3"/>
</Axles>
<Properties>
<Property name="type" value="ego_vehicle"/>
</Properties>
</Vehicle>
</ScenarioObject>
<ScenarioObject name="adversary">
<Vehicle name="vehicle.lincoln.mkz_2017" vehicleCategory="car">
<ParameterDeclarations/>
<Performance maxSpeed="69.444" maxAcceleration="200" maxDeceleration="10.0"/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2.1" length="4.5" height="1.8"/>
</BoundingBox>
<Axles>
<FrontAxle maxSteering="0.5" wheelDiameter="0.6" trackWidth="1.8" positionX="3.1" positionZ="0.3"/>
<RearAxle maxSteering="0.0" wheelDiameter="0.6" trackWidth="1.8" positionX="0.0" positionZ="0.3"/>
</Axles>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Vehicle>
</ScenarioObject>
<ScenarioObject name="standing">
<Vehicle name="vehicle.volkswagen.t2" vehicleCategory="car">
<ParameterDeclarations/>
<Performance maxSpeed="69.444" maxAcceleration="200" maxDeceleration="10.0"/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2.1" length="4.5" height="1.8"/>
</BoundingBox>
<Axles>
<FrontAxle maxSteering="0.5" wheelDiameter="0.6" trackWidth="1.8" positionX="3.1" positionZ="0.3"/>
<RearAxle maxSteering="0.0" wheelDiameter="0.6" trackWidth="1.8" positionX="0.0" positionZ="0.3"/>
</Axles>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Vehicle>
</ScenarioObject>
<ScenarioObject name="pedestrian_close_to_standing_3041">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_close_to_standing_3042">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_w_transform_3043">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_close_to_adversary_3044">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_w_transform_3045">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_w_transform_3046">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_w_transform_3047">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_w_transform_3048">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_w_transform_3049">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_w_transform_3050">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_close_to_hero_3051">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_w_transform_3052">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
</Entities>
<Storyboard>
<Init>
<Actions>
<GlobalAction>
<EnvironmentAction>
<Environment name="Environment1">
<TimeOfDay animation="false" dateTime="2019-06-25T12:00:00"/>
<Weather cloudState="free">
<Sun intensity="0.85" azimuth="0" elevation="1.31"/>
<Fog visualRange="100000.0"/>
<Precipitation precipitationType="dry" intensity="0.0"/>
</Weather>
<RoadCondition frictionScaleFactor="1.0"/>
</Environment>
</EnvironmentAction>
</GlobalAction>
<Private entityRef="hero">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-9.4" y="-152.8" z="0.5" h="1.57079632679"/>
</Position>
</TeleportAction>
</PrivateAction>
<PrivateAction>
<ControllerAction>
<AssignControllerAction>
<Controller name="HeroAgent">
<Properties>
<Property name="module" value="external_control"/>
</Properties>
</Controller>
</AssignControllerAction>
<OverrideControllerValueAction>
<Throttle value="0" active="false"/>
<Brake value="0" active="false"/>
<Clutch value="0" active="false"/>
<ParkingBrake value="0" active="false"/>
<SteeringWheel value="0" active="false"/>
<Gear number="0" active="false"/>
</OverrideControllerValueAction>
</ControllerAction>
</PrivateAction>
</Private>
<Private entityRef="adversary">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-9.4" y="-71.0" z="0.5" h="1.57079632679"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="standing">
<PrivateAction>
<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_3041">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-15.042896270751953" y="28.84239387512207" z="0.0030337523203343153"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_close_to_standing_3042">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-18.03152084350586" y="24.385421752929688" z="0.003034744178876281"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_w_transform_3043">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-53.71863555908203" y="-8.37500286102295" z="0.5"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_close_to_adversary_3044">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-15.856897354125977" y="-68.62857055664062" z="0.03374393284320831"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_w_transform_3045">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-11.70079231262207" y="29.513851165771484" z="0.5"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_w_transform_3046">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="47.39113998413086" y="-37.94965744018555" z="0.5"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_w_transform_3047">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="47.98349380493164" y="46.97432327270508" z="0.5"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_w_transform_3048">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="34.48465347290039" y="-92.26882934570312" z="0.5"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_w_transform_3049">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-9.80880069732666" y="-24.660676956176758" z="0.5"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_w_transform_3050">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="8.861835479736328" y="75.8998031616211" z="0.5"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_close_to_hero_3051">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-3.252662420272827" y="-147.8927001953125" z="0.0014286803780123591"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_w_transform_3052">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="9.870600700378418" y="46.82770919799805" z="0.5"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
</Actions>
</Init>
<Story name="MyStory">
<Act name="Behavior">
<ManeuverGroup maximumExecutionCount="1" name="ManeuverSequence">
<Actors selectTriggeringEntities="false">
<EntityRef entityRef="adversary"/>
</Actors>
<Maneuver name="LaneChangeSimpleManeuver">
<Event name="AdversaryAccelerates" priority="overwrite">
<Action name="AdversaryAccelerates">
<PrivateAction>
<LongitudinalAction>
<SpeedAction>
<SpeedActionDynamics dynamicsShape="step" value="50" dynamicsDimension="distance"/>
<SpeedActionTarget>
<AbsoluteTargetSpeed value="5.0"/>
</SpeedActionTarget>
</SpeedAction>
</LongitudinalAction>
</PrivateAction>
</Action>
<StartTrigger>
<ConditionGroup>
<Condition name="StartCondition" delay="0" conditionEdge="rising">
<ByEntityCondition>
<TriggeringEntities triggeringEntitiesRule="any">
<EntityRef entityRef="hero"/>
</TriggeringEntities>
<EntityCondition>
<RelativeDistanceCondition entityRef="adversary" relativeDistanceType="cartesianDistance" value="40.0" freespace="false" rule="lessThan"/>
</EntityCondition>
</ByEntityCondition>
</Condition>
</ConditionGroup>
</StartTrigger>
</Event>
<Event name="AdversaryChangesLane" priority="overwrite">
<Action name="AdversaryChangesLane">
<PrivateAction>
<LateralAction>
<LaneChangeAction>
<LaneChangeActionDynamics dynamicsShape="linear" value="25" dynamicsDimension="distance"/>
<LaneChangeTarget>
<RelativeTargetLane entityRef="adversary" value="-1"/>
</LaneChangeTarget>
</LaneChangeAction>
</LateralAction>
</PrivateAction>
</Action>
<StartTrigger>
<ConditionGroup>
<Condition name="AfterAdversaryAccelerates" delay="0" conditionEdge="rising">
<ByValueCondition>
<StoryboardElementStateCondition storyboardElementType="action" storyboardElementRef="AdversaryAccelerates" state="completeState"/>
</ByValueCondition>
</Condition>
</ConditionGroup>
</StartTrigger>
</Event>
</Maneuver>
</ManeuverGroup>
<StartTrigger>
<ConditionGroup>
<Condition name="OverallStartCondition" delay="0" conditionEdge="rising">
<ByEntityCondition>
<TriggeringEntities triggeringEntitiesRule="any">
<EntityRef entityRef="hero"/>
</TriggeringEntities>
<EntityCondition>
<TraveledDistanceCondition value="1.0"/>
</EntityCondition>
</ByEntityCondition>
</Condition>
<Condition name="StartTime" delay="0" conditionEdge="rising">
<ByValueCondition>
<SimulationTimeCondition value="0" rule="equalTo"/>
</ByValueCondition>
</Condition>
</ConditionGroup>
</StartTrigger>
<StopTrigger>
<ConditionGroup>
<Condition name="EndCondition" delay="0" conditionEdge="rising">
<ByEntityCondition>
<TriggeringEntities triggeringEntitiesRule="any">
<EntityRef entityRef="hero"/>
</TriggeringEntities>
<EntityCondition>
<TraveledDistanceCondition value="200.0"/>
</EntityCondition>
</ByEntityCondition>
</Condition>
</ConditionGroup>
</StopTrigger>
</Act>
</Story>
<StopTrigger>
<ConditionGroup>
<Condition name="criteria_RunningStopTest" delay="0" conditionEdge="rising">
<ByValueCondition>
<ParameterCondition parameterRef="" value="" rule="lessThan"/>
</ByValueCondition>
</Condition>
<Condition name="criteria_RunningRedLightTest" delay="0" conditionEdge="rising">
<ByValueCondition>
<ParameterCondition parameterRef="" value="" rule="lessThan"/>
</ByValueCondition>
</Condition>
<Condition name="criteria_WrongLaneTest" delay="0" conditionEdge="rising">
<ByValueCondition>
<ParameterCondition parameterRef="" value="" rule="lessThan"/>
</ByValueCondition>
</Condition>
<Condition name="criteria_OnSidewalkTest" delay="0" conditionEdge="rising">
<ByValueCondition>
<ParameterCondition parameterRef="" value="" rule="lessThan"/>
</ByValueCondition>
</Condition>
<Condition name="criteria_KeepLaneTest" delay="0" conditionEdge="rising">
<ByValueCondition>
<ParameterCondition parameterRef="" value="" rule="lessThan"/>
</ByValueCondition>
</Condition>
<Condition name="criteria_CollisionTest" delay="0" conditionEdge="rising">
<ByValueCondition>
<ParameterCondition parameterRef="" value="" rule="lessThan"/>
</ByValueCondition>
</Condition>
<Condition name="criteria_DrivenDistanceTest" delay="0" conditionEdge="rising">
<ByValueCondition>
<ParameterCondition parameterRef="distance_success" value="100" rule="lessThan"/>
</ByValueCondition>
</Condition>
</ConditionGroup>
</StopTrigger>
</Storyboard>
</OpenSCENARIO>
``` |
add pedestrian close to standing?
```
<?xml version="1.0" ?>
<OpenSCENARIO>
<FileHeader revMajor="1" revMinor="0" date="2020-03-24T12:00:00" description="CARLA:LaneChangeSimple" author=""/>
<ParameterDeclarations/>
<CatalogLocations/>
<RoadNetwork>
<LogicFile filepath="Town04"/>
<SceneGraphFile filepath=""/>
</RoadNetwork>
<Entities>
<ScenarioObject name="hero">
<Vehicle name="vehicle.tesla.model3" vehicleCategory="car">
<ParameterDeclarations/>
<Performance maxSpeed="69.444" maxAcceleration="200" maxDeceleration="10.0"/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2.1" length="4.5" height="1.8"/>
</BoundingBox>
<Axles>
<FrontAxle maxSteering="0.5" wheelDiameter="0.6" trackWidth="1.8" positionX="3.1" positionZ="0.3"/>
<RearAxle maxSteering="0.0" wheelDiameter="0.6" trackWidth="1.8" positionX="0.0" positionZ="0.3"/>
</Axles>
<Properties>
<Property name="type" value="ego_vehicle"/>
</Properties>
</Vehicle>
</ScenarioObject>
<ScenarioObject name="adversary">
<Vehicle name="vehicle.lincoln.mkz_2017" vehicleCategory="car">
<ParameterDeclarations/>
<Performance maxSpeed="69.444" maxAcceleration="200" maxDeceleration="10.0"/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2.1" length="4.5" height="1.8"/>
</BoundingBox>
<Axles>
<FrontAxle maxSteering="0.5" wheelDiameter="0.6" trackWidth="1.8" positionX="3.1" positionZ="0.3"/>
<RearAxle maxSteering="0.0" wheelDiameter="0.6" trackWidth="1.8" positionX="0.0" positionZ="0.3"/>
</Axles>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Vehicle>
</ScenarioObject>
<ScenarioObject name="standing">
<Vehicle name="vehicle.volkswagen.t2" vehicleCategory="car">
<ParameterDeclarations/>
<Performance maxSpeed="69.444" maxAcceleration="200" maxDeceleration="10.0"/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2.1" length="4.5" height="1.8"/>
</BoundingBox>
<Axles>
<FrontAxle maxSteering="0.5" wheelDiameter="0.6" trackWidth="1.8" positionX="3.1" positionZ="0.3"/>
<RearAxle maxSteering="0.0" wheelDiameter="0.6" trackWidth="1.8" positionX="0.0" positionZ="0.3"/>
</Axles>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Vehicle>
</ScenarioObject>
</Entities>
<Storyboard>
<Init>
<Actions>
<GlobalAction>
<EnvironmentAction>
<Environment name="Environment1">
<TimeOfDay animation="false" dateTime="2019-06-25T12:00:00"/>
<Weather cloudState="free">
<Sun intensity="0.85" azimuth="0" elevation="1.31"/>
<Fog visualRange="100000.0"/>
<Precipitation precipitationType="dry" intensity="0.0"/>
</Weather>
<RoadCondition frictionScaleFactor="1.0"/>
</Environment>
</EnvironmentAction>
</GlobalAction>
<Private entityRef="hero">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-9.4" y="-152.8" z="0.5" h="1.57079632679"/>
</Position>
</TeleportAction>
</PrivateAction>
<PrivateAction>
<ControllerAction>
<AssignControllerAction>
<Controller name="HeroAgent">
<Properties>
<Property name="module" value="external_control"/>
</Properties>
</Controller>
</AssignControllerAction>
<OverrideControllerValueAction>
<Throttle value="0" active="false"/>
<Brake value="0" active="false"/>
<Clutch value="0" active="false"/>
<ParkingBrake value="0" active="false"/>
<SteeringWheel value="0" active="false"/>
<Gear number="0" active="false"/>
</OverrideControllerValueAction>
</ControllerAction>
</PrivateAction>
</Private>
<Private entityRef="adversary">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-9.4" y="-71.0" z="0.5" h="1.57079632679"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="standing">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-8.2" y="29.2" z="0.5" h="1.57079632679"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
</Actions>
</Init>
<Story name="MyStory">
<Act name="Behavior">
<ManeuverGroup maximumExecutionCount="1" name="ManeuverSequence">
<Actors selectTriggeringEntities="false">
<EntityRef entityRef="adversary"/>
</Actors>
<Maneuver name="LaneChangeSimpleManeuver">
<Event name="AdversaryAccelerates" priority="overwrite">
<Action name="AdversaryAccelerates">
<PrivateAction>
<LongitudinalAction>
<SpeedAction>
<SpeedActionDynamics dynamicsShape="step" value="50" dynamicsDimension="distance"/>
<SpeedActionTarget>
<AbsoluteTargetSpeed value="5.0"/>
</SpeedActionTarget>
</SpeedAction>
</LongitudinalAction>
</PrivateAction>
</Action>
<StartTrigger>
<ConditionGroup>
<Condition name="StartCondition" delay="0" conditionEdge="rising">
<ByEntityCondition>
<TriggeringEntities triggeringEntitiesRule="any">
<EntityRef entityRef="hero"/>
</TriggeringEntities>
<EntityCondition>
<RelativeDistanceCondition entityRef="adversary" relativeDistanceType="cartesianDistance" value="40.0" freespace="false" rule="lessThan"/>
</EntityCondition>
</ByEntityCondition>
</Condition>
</ConditionGroup>
</StartTrigger>
</Event>
<Event name="AdversaryChangesLane" priority="overwrite">
<Action name="AdversaryChangesLane">
<PrivateAction>
<LateralAction>
<LaneChangeAction>
<LaneChangeActionDynamics dynamicsShape="linear" value="25" dynamicsDimension="distance"/>
<LaneChangeTarget>
<RelativeTargetLane entityRef="adversary" value="-1"/>
</LaneChangeTarget>
</LaneChangeAction>
</LateralAction>
</PrivateAction>
</Action>
<StartTrigger>
<ConditionGroup>
<Condition name="AfterAdversaryAccelerates" delay="0" conditionEdge="rising">
<ByValueCondition>
<StoryboardElementStateCondition storyboardElementType="action" storyboardElementRef="AdversaryAccelerates" state="completeState"/>
</ByValueCondition>
</Condition>
</ConditionGroup>
</StartTrigger>
</Event>
</Maneuver>
</ManeuverGroup>
<StartTrigger>
<ConditionGroup>
<Condition name="OverallStartCondition" delay="0" conditionEdge="rising">
<ByEntityCondition>
<TriggeringEntities triggeringEntitiesRule="any">
<EntityRef entityRef="hero"/>
</TriggeringEntities>
<EntityCondition>
<TraveledDistanceCondition value="1.0"/>
</EntityCondition>
</ByEntityCondition>
</Condition>
<Condition name="StartTime" delay="0" conditionEdge="rising">
<ByValueCondition>
<SimulationTimeCondition value="0" rule="equalTo"/>
</ByValueCondition>
</Condition>
</ConditionGroup>
</StartTrigger>
<StopTrigger>
<ConditionGroup>
<Condition name="EndCondition" delay="0" conditionEdge="rising">
<ByEntityCondition>
<TriggeringEntities triggeringEntitiesRule="any">
<EntityRef entityRef="hero"/>
</TriggeringEntities>
<EntityCondition>
<TraveledDistanceCondition value="200.0"/>
</EntityCondition>
</ByEntityCondition>
</Condition>
</ConditionGroup>
</StopTrigger>
</Act>
</Story>
<StopTrigger>
<ConditionGroup>
<Condition name="criteria_RunningStopTest" delay="0" conditionEdge="rising">
<ByValueCondition>
<ParameterCondition parameterRef="" value="" rule="lessThan"/>
</ByValueCondition>
</Condition>
<Condition name="criteria_RunningRedLightTest" delay="0" conditionEdge="rising">
<ByValueCondition>
<ParameterCondition parameterRef="" value="" rule="lessThan"/>
</ByValueCondition>
</Condition>
<Condition name="criteria_WrongLaneTest" delay="0" conditionEdge="rising">
<ByValueCondition>
<ParameterCondition parameterRef="" value="" rule="lessThan"/>
</ByValueCondition>
</Condition>
<Condition name="criteria_OnSidewalkTest" delay="0" conditionEdge="rising">
<ByValueCondition>
<ParameterCondition parameterRef="" value="" rule="lessThan"/>
</ByValueCondition>
</Condition>
<Condition name="criteria_KeepLaneTest" delay="0" conditionEdge="rising">
<ByValueCondition>
<ParameterCondition parameterRef="" value="" rule="lessThan"/>
</ByValueCondition>
</Condition>
<Condition name="criteria_CollisionTest" delay="0" conditionEdge="rising">
<ByValueCondition>
<ParameterCondition parameterRef="" value="" rule="lessThan"/>
</ByValueCondition>
</Condition>
<Condition name="criteria_DrivenDistanceTest" delay="0" conditionEdge="rising">
<ByValueCondition>
<ParameterCondition parameterRef="distance_success" value="100" rule="lessThan"/>
</ByValueCondition>
</Condition>
</ConditionGroup>
</StopTrigger>
</Storyboard>
</OpenSCENARIO>
``` | Here is the result:
```
<?xml version="1.0" ?>
<OpenSCENARIO>
<FileHeader revMajor="1" revMinor="0" date="2020-03-24T12:00:00" description="CARLA:LaneChangeSimple" author=""/>
<ParameterDeclarations/>
<CatalogLocations/>
<RoadNetwork>
<LogicFile filepath="Town04"/>
<SceneGraphFile filepath=""/>
</RoadNetwork>
<Entities>
<ScenarioObject name="hero">
<Vehicle name="vehicle.tesla.model3" vehicleCategory="car">
<ParameterDeclarations/>
<Performance maxSpeed="69.444" maxAcceleration="200" maxDeceleration="10.0"/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2.1" length="4.5" height="1.8"/>
</BoundingBox>
<Axles>
<FrontAxle maxSteering="0.5" wheelDiameter="0.6" trackWidth="1.8" positionX="3.1" positionZ="0.3"/>
<RearAxle maxSteering="0.0" wheelDiameter="0.6" trackWidth="1.8" positionX="0.0" positionZ="0.3"/>
</Axles>
<Properties>
<Property name="type" value="ego_vehicle"/>
</Properties>
</Vehicle>
</ScenarioObject>
<ScenarioObject name="adversary">
<Vehicle name="vehicle.lincoln.mkz_2017" vehicleCategory="car">
<ParameterDeclarations/>
<Performance maxSpeed="69.444" maxAcceleration="200" maxDeceleration="10.0"/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2.1" length="4.5" height="1.8"/>
</BoundingBox>
<Axles>
<FrontAxle maxSteering="0.5" wheelDiameter="0.6" trackWidth="1.8" positionX="3.1" positionZ="0.3"/>
<RearAxle maxSteering="0.0" wheelDiameter="0.6" trackWidth="1.8" positionX="0.0" positionZ="0.3"/>
</Axles>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Vehicle>
</ScenarioObject>
<ScenarioObject name="standing">
<Vehicle name="vehicle.volkswagen.t2" vehicleCategory="car">
<ParameterDeclarations/>
<Performance maxSpeed="69.444" maxAcceleration="200" maxDeceleration="10.0"/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2.1" length="4.5" height="1.8"/>
</BoundingBox>
<Axles>
<FrontAxle maxSteering="0.5" wheelDiameter="0.6" trackWidth="1.8" positionX="3.1" positionZ="0.3"/>
<RearAxle maxSteering="0.0" wheelDiameter="0.6" trackWidth="1.8" positionX="0.0" positionZ="0.3"/>
</Axles>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Vehicle>
</ScenarioObject>
<ScenarioObject name="pedestrian_close_to_standing_22834">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
</Entities>
<Storyboard>
<Init>
<Actions>
<GlobalAction>
<EnvironmentAction>
<Environment name="Environment1">
<TimeOfDay animation="false" dateTime="2019-06-25T12:00:00"/>
<Weather cloudState="free">
<Sun intensity="0.85" azimuth="0" elevation="1.31"/>
<Fog visualRange="100000.0"/>
<Precipitation precipitationType="dry" intensity="0.0"/>
</Weather>
<RoadCondition frictionScaleFactor="1.0"/>
</Environment>
</EnvironmentAction>
</GlobalAction>
<Private entityRef="hero">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-9.4" y="-152.8" z="0.5" h="1.57079632679"/>
</Position>
</TeleportAction>
</PrivateAction>
<PrivateAction>
<ControllerAction>
<AssignControllerAction>
<Controller name="HeroAgent">
<Properties>
<Property name="module" value="external_control"/>
</Properties>
</Controller>
</AssignControllerAction>
<OverrideControllerValueAction>
<Throttle value="0" active="false"/>
<Brake value="0" active="false"/>
<Clutch value="0" active="false"/>
<ParkingBrake value="0" active="false"/>
<SteeringWheel value="0" active="false"/>
<Gear number="0" active="false"/>
</OverrideControllerValueAction>
</ControllerAction>
</PrivateAction>
</Private>
<Private entityRef="adversary">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-9.4" y="-71.0" z="0.5" h="1.57079632679"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="standing">
<PrivateAction>
<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_22834">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-6.374607086181641" y="35.34638595581055" z="0.0030402755364775658"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
</Actions>
</Init>
<Story name="MyStory">
<Act name="Behavior">
<ManeuverGroup maximumExecutionCount="1" name="ManeuverSequence">
<Actors selectTriggeringEntities="false">
<EntityRef entityRef="adversary"/>
</Actors>
<Maneuver name="LaneChangeSimpleManeuver">
<Event name="AdversaryAccelerates" priority="overwrite">
<Action name="AdversaryAccelerates">
<PrivateAction>
<LongitudinalAction>
<SpeedAction>
<SpeedActionDynamics dynamicsShape="step" value="50" dynamicsDimension="distance"/>
<SpeedActionTarget>
<AbsoluteTargetSpeed value="5.0"/>
</SpeedActionTarget>
</SpeedAction>
</LongitudinalAction>
</PrivateAction>
</Action>
<StartTrigger>
<ConditionGroup>
<Condition name="StartCondition" delay="0" conditionEdge="rising">
<ByEntityCondition>
<TriggeringEntities triggeringEntitiesRule="any">
<EntityRef entityRef="hero"/>
</TriggeringEntities>
<EntityCondition>
<RelativeDistanceCondition entityRef="adversary" relativeDistanceType="cartesianDistance" value="40.0" freespace="false" rule="lessThan"/>
</EntityCondition>
</ByEntityCondition>
</Condition>
</ConditionGroup>
</StartTrigger>
</Event>
<Event name="AdversaryChangesLane" priority="overwrite">
<Action name="AdversaryChangesLane">
<PrivateAction>
<LateralAction>
<LaneChangeAction>
<LaneChangeActionDynamics dynamicsShape="linear" value="25" dynamicsDimension="distance"/>
<LaneChangeTarget>
<RelativeTargetLane entityRef="adversary" value="-1"/>
</LaneChangeTarget>
</LaneChangeAction>
</LateralAction>
</PrivateAction>
</Action>
<StartTrigger>
<ConditionGroup>
<Condition name="AfterAdversaryAccelerates" delay="0" conditionEdge="rising">
<ByValueCondition>
<StoryboardElementStateCondition storyboardElementType="action" storyboardElementRef="AdversaryAccelerates" state="completeState"/>
</ByValueCondition>
</Condition>
</ConditionGroup>
</StartTrigger>
</Event>
</Maneuver>
</ManeuverGroup>
<StartTrigger>
<ConditionGroup>
<Condition name="OverallStartCondition" delay="0" conditionEdge="rising">
<ByEntityCondition>
<TriggeringEntities triggeringEntitiesRule="any">
<EntityRef entityRef="hero"/>
</TriggeringEntities>
<EntityCondition>
<TraveledDistanceCondition value="1.0"/>
</EntityCondition>
</ByEntityCondition>
</Condition>
<Condition name="StartTime" delay="0" conditionEdge="rising">
<ByValueCondition>
<SimulationTimeCondition value="0" rule="equalTo"/>
</ByValueCondition>
</Condition>
</ConditionGroup>
</StartTrigger>
<StopTrigger>
<ConditionGroup>
<Condition name="EndCondition" delay="0" conditionEdge="rising">
<ByEntityCondition>
<TriggeringEntities triggeringEntitiesRule="any">
<EntityRef entityRef="hero"/>
</TriggeringEntities>
<EntityCondition>
<TraveledDistanceCondition value="200.0"/>
</EntityCondition>
</ByEntityCondition>
</Condition>
</ConditionGroup>
</StopTrigger>
</Act>
</Story>
<StopTrigger>
<ConditionGroup>
<Condition name="criteria_RunningStopTest" delay="0" conditionEdge="rising">
<ByValueCondition>
<ParameterCondition parameterRef="" value="" rule="lessThan"/>
</ByValueCondition>
</Condition>
<Condition name="criteria_RunningRedLightTest" delay="0" conditionEdge="rising">
<ByValueCondition>
<ParameterCondition parameterRef="" value="" rule="lessThan"/>
</ByValueCondition>
</Condition>
<Condition name="criteria_WrongLaneTest" delay="0" conditionEdge="rising">
<ByValueCondition>
<ParameterCondition parameterRef="" value="" rule="lessThan"/>
</ByValueCondition>
</Condition>
<Condition name="criteria_OnSidewalkTest" delay="0" conditionEdge="rising">
<ByValueCondition>
<ParameterCondition parameterRef="" value="" rule="lessThan"/>
</ByValueCondition>
</Condition>
<Condition name="criteria_KeepLaneTest" delay="0" conditionEdge="rising">
<ByValueCondition>
<ParameterCondition parameterRef="" value="" rule="lessThan"/>
</ByValueCondition>
</Condition>
<Condition name="criteria_CollisionTest" delay="0" conditionEdge="rising">
<ByValueCondition>
<ParameterCondition parameterRef="" value="" rule="lessThan"/>
</ByValueCondition>
</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_standing_14139?
```
<?xml version="1.0" ?>
<OpenSCENARIO>
<FileHeader revMajor="1" revMinor="0" date="2020-03-24T12:00:00" description="CARLA:LaneChangeSimple" author=""/>
<ParameterDeclarations/>
<CatalogLocations/>
<RoadNetwork>
<LogicFile filepath="Town04"/>
<SceneGraphFile filepath=""/>
</RoadNetwork>
<Entities>
<ScenarioObject name="hero">
<Vehicle name="vehicle.tesla.model3" vehicleCategory="car">
<ParameterDeclarations/>
<Performance maxSpeed="69.444" maxAcceleration="200" maxDeceleration="10.0"/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2.1" length="4.5" height="1.8"/>
</BoundingBox>
<Axles>
<FrontAxle maxSteering="0.5" wheelDiameter="0.6" trackWidth="1.8" positionX="3.1" positionZ="0.3"/>
<RearAxle maxSteering="0.0" wheelDiameter="0.6" trackWidth="1.8" positionX="0.0" positionZ="0.3"/>
</Axles>
<Properties>
<Property name="type" value="ego_vehicle"/>
</Properties>
</Vehicle>
</ScenarioObject>
<ScenarioObject name="adversary">
<Vehicle name="vehicle.lincoln.mkz_2017" vehicleCategory="car">
<ParameterDeclarations/>
<Performance maxSpeed="69.444" maxAcceleration="200" maxDeceleration="10.0"/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2.1" length="4.5" height="1.8"/>
</BoundingBox>
<Axles>
<FrontAxle maxSteering="0.5" wheelDiameter="0.6" trackWidth="1.8" positionX="3.1" positionZ="0.3"/>
<RearAxle maxSteering="0.0" wheelDiameter="0.6" trackWidth="1.8" positionX="0.0" positionZ="0.3"/>
</Axles>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Vehicle>
</ScenarioObject>
<ScenarioObject name="standing">
<Vehicle name="vehicle.volkswagen.t2" vehicleCategory="car">
<ParameterDeclarations/>
<Performance maxSpeed="69.444" maxAcceleration="200" maxDeceleration="10.0"/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2.1" length="4.5" height="1.8"/>
</BoundingBox>
<Axles>
<FrontAxle maxSteering="0.5" wheelDiameter="0.6" trackWidth="1.8" positionX="3.1" positionZ="0.3"/>
<RearAxle maxSteering="0.0" wheelDiameter="0.6" 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_14126">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_close_to_standing_14128">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_close_to_hero_14131">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_w_transform_14132">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_close_to_adversary_14133">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_close_to_standing_14134">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_w_transform_14135">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_close_to_hero_14136">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_close_to_standing_14139">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_close_to_standing_14140">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_w_transform_14141">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_close_to_adversary_14143">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_close_to_standing_14144">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_w_transform_14148">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_w_transform_14150">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_close_to_hero_14151">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_w_transform_14152">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
</Entities>
<Storyboard>
<Init>
<Actions>
<GlobalAction>
<EnvironmentAction>
<Environment name="Environment1">
<TimeOfDay animation="false" dateTime="2019-06-25T12:00:00"/>
<Weather cloudState="free">
<Sun intensity="0.85" azimuth="0" elevation="1.31"/>
<Fog visualRange="100000.0"/>
<Precipitation precipitationType="dry" intensity="0.0"/>
</Weather>
<RoadCondition frictionScaleFactor="1.0"/>
</Environment>
</EnvironmentAction>
</GlobalAction>
<Private entityRef="hero">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-9.4" y="-152.8" z="0.5" h="1.57079632679"/>
</Position>
</TeleportAction>
</PrivateAction>
<PrivateAction>
<ControllerAction>
<AssignControllerAction>
<Controller name="HeroAgent">
<Properties>
<Property name="module" value="external_control"/>
</Properties>
</Controller>
</AssignControllerAction>
<OverrideControllerValueAction>
<Throttle value="0" active="false"/>
<Brake value="0" active="false"/>
<Clutch value="0" active="false"/>
<ParkingBrake value="0" active="false"/>
<SteeringWheel value="0" active="false"/>
<Gear number="0" active="false"/>
</OverrideControllerValueAction>
</ControllerAction>
</PrivateAction>
</Private>
<Private entityRef="adversary">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-9.4" y="-71.0" z="0.5" h="1.57079632679"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="standing">
<PrivateAction>
<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_14126">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="1.9337002038955688" y="-79.49373626708984" z="0.033816754817962646"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_close_to_standing_14128">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-12.699142456054688" y="26.497772216796875" z="0.003019142197445035"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_close_to_hero_14131">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-12.96983814239502" y="-157.97682189941406" z="0.0014286803780123591"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_w_transform_14132">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-64.39191436767578" y="74.92682647705078" z="0.5"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_close_to_adversary_14133">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-12.856531143188477" y="-66.39035034179688" z="0.033806800842285156"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_close_to_standing_14134">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-17.057994842529297" y="29.549633026123047" z="0.0030554579570889473"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_w_transform_14135">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="15.264094352722168" y="44.06159973144531" z="0.5"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_close_to_hero_14136">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-14.559999465942383" y="-143.28089904785156" z="0.0014286803780123591"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_close_to_standing_14139">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-10.992015838623047" y="31.149307250976562" z="0.0030349730513989925"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_close_to_standing_14140">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-5.331754684448242" y="30.54104995727539" z="0.002996978582814336"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_w_transform_14141">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-92.82874298095703" y="-4.27286958694458" z="0.5"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_close_to_adversary_14143">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-3.0995092391967773" y="-78.00618743896484" z="0.03385402634739876"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_close_to_standing_14144">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-2.28900146484375" y="36.00025939941406" z="0.0030696869362145662"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_w_transform_14148">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-91.16700744628906" y="92.2335205078125" z="0.5"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_w_transform_14150">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="0.3045576512813568" y="-86.075927734375" z="0.5"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_close_to_hero_14151">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-16.250625610351562" y="-143.05043029785156" z="0.0014286803780123591"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_w_transform_14152">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-69.9432601928711" y="1.8276755809783936" 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_14126">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_close_to_standing_14128">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_close_to_hero_14131">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_w_transform_14132">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_close_to_adversary_14133">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_close_to_standing_14134">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_w_transform_14135">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_close_to_hero_14136">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_close_to_standing_14140">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_w_transform_14141">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_close_to_adversary_14143">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_close_to_standing_14144">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_w_transform_14148">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_w_transform_14150">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_close_to_hero_14151">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_w_transform_14152">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
</Entities>
<Storyboard>
<Init>
<Actions>
<GlobalAction>
<EnvironmentAction>
<Environment name="Environment1">
<TimeOfDay animation="false" dateTime="2019-06-25T12:00:00"/>
<Weather cloudState="free">
<Sun intensity="0.85" azimuth="0" elevation="1.31"/>
<Fog visualRange="100000.0"/>
<Precipitation precipitationType="dry" intensity="0.0"/>
</Weather>
<RoadCondition frictionScaleFactor="1.0"/>
</Environment>
</EnvironmentAction>
</GlobalAction>
<Private entityRef="hero">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-9.4" y="-152.8" z="0.5" h="1.57079632679"/>
</Position>
</TeleportAction>
</PrivateAction>
<PrivateAction>
<ControllerAction>
<AssignControllerAction>
<Controller name="HeroAgent">
<Properties>
<Property name="module" value="external_control"/>
</Properties>
</Controller>
</AssignControllerAction>
<OverrideControllerValueAction>
<Throttle value="0" active="false"/>
<Brake value="0" active="false"/>
<Clutch value="0" active="false"/>
<ParkingBrake value="0" active="false"/>
<SteeringWheel value="0" active="false"/>
<Gear number="0" active="false"/>
</OverrideControllerValueAction>
</ControllerAction>
</PrivateAction>
</Private>
<Private entityRef="adversary">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-9.4" y="-71.0" z="0.5" h="1.57079632679"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="standing">
<PrivateAction>
<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_14126">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="1.9337002038955688" y="-79.49373626708984" z="0.033816754817962646"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_close_to_standing_14128">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-12.699142456054688" y="26.497772216796875" z="0.003019142197445035"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_close_to_hero_14131">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-12.96983814239502" y="-157.97682189941406" z="0.0014286803780123591"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_w_transform_14132">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-64.39191436767578" y="74.92682647705078" z="0.5"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_close_to_adversary_14133">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-12.856531143188477" y="-66.39035034179688" z="0.033806800842285156"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_close_to_standing_14134">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-17.057994842529297" y="29.549633026123047" z="0.0030554579570889473"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_w_transform_14135">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="15.264094352722168" y="44.06159973144531" z="0.5"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_close_to_hero_14136">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-14.559999465942383" y="-143.28089904785156" z="0.0014286803780123591"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_close_to_standing_14140">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-5.331754684448242" y="30.54104995727539" z="0.002996978582814336"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_w_transform_14141">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-92.82874298095703" y="-4.27286958694458" z="0.5"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_close_to_adversary_14143">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-3.0995092391967773" y="-78.00618743896484" z="0.03385402634739876"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_close_to_standing_14144">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-2.28900146484375" y="36.00025939941406" z="0.0030696869362145662"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_w_transform_14148">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-91.16700744628906" y="92.2335205078125" z="0.5"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_w_transform_14150">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="0.3045576512813568" y="-86.075927734375" z="0.5"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_close_to_hero_14151">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-16.250625610351562" y="-143.05043029785156" z="0.0014286803780123591"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_w_transform_14152">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-69.9432601928711" y="1.8276755809783936" 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>
``` |