request
stringlengths 11k
36.3k
| response
stringlengths 11k
36.2k
|
---|---|
i would like to direct you to add pedestrian at location (-69.04, 31.82, 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_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>
</Entities>
<Storyboard>
<Init>
<Actions>
<GlobalAction>
<EnvironmentAction>
<Environment name="Environment1">
<TimeOfDay animation="false" dateTime="2019-06-25T12:00:00"/>
<Weather cloudState="free">
<Sun intensity="0.85" azimuth="0" elevation="1.31"/>
<Fog visualRange="100000.0"/>
<Precipitation precipitationType="dry" intensity="0.0"/>
</Weather>
<RoadCondition frictionScaleFactor="1.0"/>
</Environment>
</EnvironmentAction>
</GlobalAction>
<Private entityRef="hero">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-9.4" y="-152.8" z="0.5" h="1.57079632679"/>
</Position>
</TeleportAction>
</PrivateAction>
<PrivateAction>
<ControllerAction>
<AssignControllerAction>
<Controller name="HeroAgent">
<Properties>
<Property name="module" value="external_control"/>
</Properties>
</Controller>
</AssignControllerAction>
<OverrideControllerValueAction>
<Throttle value="0" active="false"/>
<Brake value="0" active="false"/>
<Clutch value="0" active="false"/>
<ParkingBrake value="0" active="false"/>
<SteeringWheel value="0" active="false"/>
<Gear number="0" active="false"/>
</OverrideControllerValueAction>
</ControllerAction>
</PrivateAction>
</Private>
<Private entityRef="adversary">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-9.4" y="-71.0" z="0.5" h="1.57079632679"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="standing">
<PrivateAction>
<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>
</Actions>
</Init>
<Story name="MyStory">
<Act name="Behavior">
<ManeuverGroup maximumExecutionCount="1" name="ManeuverSequence">
<Actors selectTriggeringEntities="false">
<EntityRef entityRef="adversary"/>
</Actors>
<Maneuver name="LaneChangeSimpleManeuver">
<Event name="AdversaryAccelerates" priority="overwrite">
<Action name="AdversaryAccelerates">
<PrivateAction>
<LongitudinalAction>
<SpeedAction>
<SpeedActionDynamics dynamicsShape="step" value="50" dynamicsDimension="distance"/>
<SpeedActionTarget>
<AbsoluteTargetSpeed value="5.0"/>
</SpeedActionTarget>
</SpeedAction>
</LongitudinalAction>
</PrivateAction>
</Action>
<StartTrigger>
<ConditionGroup>
<Condition name="StartCondition" delay="0" conditionEdge="rising">
<ByEntityCondition>
<TriggeringEntities triggeringEntitiesRule="any">
<EntityRef entityRef="hero"/>
</TriggeringEntities>
<EntityCondition>
<RelativeDistanceCondition entityRef="adversary" relativeDistanceType="cartesianDistance" value="40.0" freespace="false" rule="lessThan"/>
</EntityCondition>
</ByEntityCondition>
</Condition>
</ConditionGroup>
</StartTrigger>
</Event>
<Event name="AdversaryChangesLane" priority="overwrite">
<Action name="AdversaryChangesLane">
<PrivateAction>
<LateralAction>
<LaneChangeAction>
<LaneChangeActionDynamics dynamicsShape="linear" value="25" dynamicsDimension="distance"/>
<LaneChangeTarget>
<RelativeTargetLane entityRef="adversary" value="-1"/>
</LaneChangeTarget>
</LaneChangeAction>
</LateralAction>
</PrivateAction>
</Action>
<StartTrigger>
<ConditionGroup>
<Condition name="AfterAdversaryAccelerates" delay="0" conditionEdge="rising">
<ByValueCondition>
<StoryboardElementStateCondition storyboardElementType="action" storyboardElementRef="AdversaryAccelerates" state="completeState"/>
</ByValueCondition>
</Condition>
</ConditionGroup>
</StartTrigger>
</Event>
</Maneuver>
</ManeuverGroup>
<StartTrigger>
<ConditionGroup>
<Condition name="OverallStartCondition" delay="0" conditionEdge="rising">
<ByEntityCondition>
<TriggeringEntities triggeringEntitiesRule="any">
<EntityRef entityRef="hero"/>
</TriggeringEntities>
<EntityCondition>
<TraveledDistanceCondition value="1.0"/>
</EntityCondition>
</ByEntityCondition>
</Condition>
<Condition name="StartTime" delay="0" conditionEdge="rising">
<ByValueCondition>
<SimulationTimeCondition value="0" rule="equalTo"/>
</ByValueCondition>
</Condition>
</ConditionGroup>
</StartTrigger>
<StopTrigger>
<ConditionGroup>
<Condition name="EndCondition" delay="0" conditionEdge="rising">
<ByEntityCondition>
<TriggeringEntities triggeringEntitiesRule="any">
<EntityRef entityRef="hero"/>
</TriggeringEntities>
<EntityCondition>
<TraveledDistanceCondition value="200.0"/>
</EntityCondition>
</ByEntityCondition>
</Condition>
</ConditionGroup>
</StopTrigger>
</Act>
</Story>
<StopTrigger>
<ConditionGroup>
<Condition name="criteria_RunningStopTest" delay="0" conditionEdge="rising">
<ByValueCondition>
<ParameterCondition parameterRef="" value="" rule="lessThan"/>
</ByValueCondition>
</Condition>
<Condition name="criteria_RunningRedLightTest" delay="0" conditionEdge="rising">
<ByValueCondition>
<ParameterCondition parameterRef="" value="" rule="lessThan"/>
</ByValueCondition>
</Condition>
<Condition name="criteria_WrongLaneTest" delay="0" conditionEdge="rising">
<ByValueCondition>
<ParameterCondition parameterRef="" value="" rule="lessThan"/>
</ByValueCondition>
</Condition>
<Condition name="criteria_OnSidewalkTest" delay="0" conditionEdge="rising">
<ByValueCondition>
<ParameterCondition parameterRef="" value="" rule="lessThan"/>
</ByValueCondition>
</Condition>
<Condition name="criteria_KeepLaneTest" delay="0" conditionEdge="rising">
<ByValueCondition>
<ParameterCondition parameterRef="" value="" rule="lessThan"/>
</ByValueCondition>
</Condition>
<Condition name="criteria_CollisionTest" delay="0" conditionEdge="rising">
<ByValueCondition>
<ParameterCondition parameterRef="" value="" rule="lessThan"/>
</ByValueCondition>
</Condition>
<Condition name="criteria_DrivenDistanceTest" delay="0" conditionEdge="rising">
<ByValueCondition>
<ParameterCondition parameterRef="distance_success" value="100" rule="lessThan"/>
</ByValueCondition>
</Condition>
</ConditionGroup>
</StopTrigger>
</Storyboard>
</OpenSCENARIO>
``` | Here is the result:
```
<?xml version="1.0" ?>
<OpenSCENARIO>
<FileHeader revMajor="1" revMinor="0" date="2020-03-24T12:00:00" description="CARLA:LaneChangeSimple" author=""/>
<ParameterDeclarations/>
<CatalogLocations/>
<RoadNetwork>
<LogicFile filepath="Town04"/>
<SceneGraphFile filepath=""/>
</RoadNetwork>
<Entities>
<ScenarioObject name="hero">
<Vehicle name="vehicle.tesla.model3" vehicleCategory="car">
<ParameterDeclarations/>
<Performance maxSpeed="69.444" maxAcceleration="200" maxDeceleration="10.0"/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2.1" length="4.5" height="1.8"/>
</BoundingBox>
<Axles>
<FrontAxle maxSteering="0.5" wheelDiameter="0.6" trackWidth="1.8" positionX="3.1" positionZ="0.3"/>
<RearAxle maxSteering="0.0" wheelDiameter="0.6" trackWidth="1.8" positionX="0.0" positionZ="0.3"/>
</Axles>
<Properties>
<Property name="type" value="ego_vehicle"/>
</Properties>
</Vehicle>
</ScenarioObject>
<ScenarioObject name="adversary">
<Vehicle name="vehicle.lincoln.mkz_2017" vehicleCategory="car">
<ParameterDeclarations/>
<Performance maxSpeed="69.444" maxAcceleration="200" maxDeceleration="10.0"/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2.1" length="4.5" height="1.8"/>
</BoundingBox>
<Axles>
<FrontAxle maxSteering="0.5" wheelDiameter="0.6" trackWidth="1.8" positionX="3.1" positionZ="0.3"/>
<RearAxle maxSteering="0.0" wheelDiameter="0.6" trackWidth="1.8" positionX="0.0" positionZ="0.3"/>
</Axles>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Vehicle>
</ScenarioObject>
<ScenarioObject name="standing">
<Vehicle name="vehicle.volkswagen.t2" vehicleCategory="car">
<ParameterDeclarations/>
<Performance maxSpeed="69.444" maxAcceleration="200" maxDeceleration="10.0"/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2.1" length="4.5" height="1.8"/>
</BoundingBox>
<Axles>
<FrontAxle maxSteering="0.5" wheelDiameter="0.6" trackWidth="1.8" positionX="3.1" positionZ="0.3"/>
<RearAxle maxSteering="0.0" wheelDiameter="0.6" 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_w_transform_21990">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
</Entities>
<Storyboard>
<Init>
<Actions>
<GlobalAction>
<EnvironmentAction>
<Environment name="Environment1">
<TimeOfDay animation="false" dateTime="2019-06-25T12:00:00"/>
<Weather cloudState="free">
<Sun intensity="0.85" azimuth="0" elevation="1.31"/>
<Fog visualRange="100000.0"/>
<Precipitation precipitationType="dry" intensity="0.0"/>
</Weather>
<RoadCondition frictionScaleFactor="1.0"/>
</Environment>
</EnvironmentAction>
</GlobalAction>
<Private entityRef="hero">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-9.4" y="-152.8" z="0.5" h="1.57079632679"/>
</Position>
</TeleportAction>
</PrivateAction>
<PrivateAction>
<ControllerAction>
<AssignControllerAction>
<Controller name="HeroAgent">
<Properties>
<Property name="module" value="external_control"/>
</Properties>
</Controller>
</AssignControllerAction>
<OverrideControllerValueAction>
<Throttle value="0" active="false"/>
<Brake value="0" active="false"/>
<Clutch value="0" active="false"/>
<ParkingBrake value="0" active="false"/>
<SteeringWheel value="0" active="false"/>
<Gear number="0" active="false"/>
</OverrideControllerValueAction>
</ControllerAction>
</PrivateAction>
</Private>
<Private entityRef="adversary">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-9.4" y="-71.0" z="0.5" h="1.57079632679"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="standing">
<PrivateAction>
<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_w_transform_21990">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-69.03892517089844" y="31.817731857299805" z="0.5"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
</Actions>
</Init>
<Story name="MyStory">
<Act name="Behavior">
<ManeuverGroup maximumExecutionCount="1" name="ManeuverSequence">
<Actors selectTriggeringEntities="false">
<EntityRef entityRef="adversary"/>
</Actors>
<Maneuver name="LaneChangeSimpleManeuver">
<Event name="AdversaryAccelerates" priority="overwrite">
<Action name="AdversaryAccelerates">
<PrivateAction>
<LongitudinalAction>
<SpeedAction>
<SpeedActionDynamics dynamicsShape="step" value="50" dynamicsDimension="distance"/>
<SpeedActionTarget>
<AbsoluteTargetSpeed value="5.0"/>
</SpeedActionTarget>
</SpeedAction>
</LongitudinalAction>
</PrivateAction>
</Action>
<StartTrigger>
<ConditionGroup>
<Condition name="StartCondition" delay="0" conditionEdge="rising">
<ByEntityCondition>
<TriggeringEntities triggeringEntitiesRule="any">
<EntityRef entityRef="hero"/>
</TriggeringEntities>
<EntityCondition>
<RelativeDistanceCondition entityRef="adversary" relativeDistanceType="cartesianDistance" value="40.0" freespace="false" rule="lessThan"/>
</EntityCondition>
</ByEntityCondition>
</Condition>
</ConditionGroup>
</StartTrigger>
</Event>
<Event name="AdversaryChangesLane" priority="overwrite">
<Action name="AdversaryChangesLane">
<PrivateAction>
<LateralAction>
<LaneChangeAction>
<LaneChangeActionDynamics dynamicsShape="linear" value="25" dynamicsDimension="distance"/>
<LaneChangeTarget>
<RelativeTargetLane entityRef="adversary" value="-1"/>
</LaneChangeTarget>
</LaneChangeAction>
</LateralAction>
</PrivateAction>
</Action>
<StartTrigger>
<ConditionGroup>
<Condition name="AfterAdversaryAccelerates" delay="0" conditionEdge="rising">
<ByValueCondition>
<StoryboardElementStateCondition storyboardElementType="action" storyboardElementRef="AdversaryAccelerates" state="completeState"/>
</ByValueCondition>
</Condition>
</ConditionGroup>
</StartTrigger>
</Event>
</Maneuver>
</ManeuverGroup>
<StartTrigger>
<ConditionGroup>
<Condition name="OverallStartCondition" delay="0" conditionEdge="rising">
<ByEntityCondition>
<TriggeringEntities triggeringEntitiesRule="any">
<EntityRef entityRef="hero"/>
</TriggeringEntities>
<EntityCondition>
<TraveledDistanceCondition value="1.0"/>
</EntityCondition>
</ByEntityCondition>
</Condition>
<Condition name="StartTime" delay="0" conditionEdge="rising">
<ByValueCondition>
<SimulationTimeCondition value="0" rule="equalTo"/>
</ByValueCondition>
</Condition>
</ConditionGroup>
</StartTrigger>
<StopTrigger>
<ConditionGroup>
<Condition name="EndCondition" delay="0" conditionEdge="rising">
<ByEntityCondition>
<TriggeringEntities triggeringEntitiesRule="any">
<EntityRef entityRef="hero"/>
</TriggeringEntities>
<EntityCondition>
<TraveledDistanceCondition value="200.0"/>
</EntityCondition>
</ByEntityCondition>
</Condition>
</ConditionGroup>
</StopTrigger>
</Act>
</Story>
<StopTrigger>
<ConditionGroup>
<Condition name="criteria_RunningStopTest" delay="0" conditionEdge="rising">
<ByValueCondition>
<ParameterCondition parameterRef="" value="" rule="lessThan"/>
</ByValueCondition>
</Condition>
<Condition name="criteria_RunningRedLightTest" delay="0" conditionEdge="rising">
<ByValueCondition>
<ParameterCondition parameterRef="" value="" rule="lessThan"/>
</ByValueCondition>
</Condition>
<Condition name="criteria_WrongLaneTest" delay="0" conditionEdge="rising">
<ByValueCondition>
<ParameterCondition parameterRef="" value="" rule="lessThan"/>
</ByValueCondition>
</Condition>
<Condition name="criteria_OnSidewalkTest" delay="0" conditionEdge="rising">
<ByValueCondition>
<ParameterCondition parameterRef="" value="" rule="lessThan"/>
</ByValueCondition>
</Condition>
<Condition name="criteria_KeepLaneTest" delay="0" conditionEdge="rising">
<ByValueCondition>
<ParameterCondition parameterRef="" value="" rule="lessThan"/>
</ByValueCondition>
</Condition>
<Condition name="criteria_CollisionTest" delay="0" conditionEdge="rising">
<ByValueCondition>
<ParameterCondition parameterRef="" value="" rule="lessThan"/>
</ByValueCondition>
</Condition>
<Condition name="criteria_DrivenDistanceTest" delay="0" conditionEdge="rising">
<ByValueCondition>
<ParameterCondition parameterRef="distance_success" value="100" rule="lessThan"/>
</ByValueCondition>
</Condition>
</ConditionGroup>
</StopTrigger>
</Storyboard>
</OpenSCENARIO>
``` |
i would like to order you to add pedestrian close to adversary?
```
<?xml version="1.0" ?>
<OpenSCENARIO>
<FileHeader revMajor="1" revMinor="0" date="2020-03-24T12:00:00" description="CARLA:LaneChangeSimple" author=""/>
<ParameterDeclarations/>
<CatalogLocations/>
<RoadNetwork>
<LogicFile filepath="Town04"/>
<SceneGraphFile filepath=""/>
</RoadNetwork>
<Entities>
<ScenarioObject name="hero">
<Vehicle name="vehicle.tesla.model3" vehicleCategory="car">
<ParameterDeclarations/>
<Performance maxSpeed="69.444" maxAcceleration="200" maxDeceleration="10.0"/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2.1" length="4.5" height="1.8"/>
</BoundingBox>
<Axles>
<FrontAxle maxSteering="0.5" wheelDiameter="0.6" trackWidth="1.8" positionX="3.1" positionZ="0.3"/>
<RearAxle maxSteering="0.0" wheelDiameter="0.6" trackWidth="1.8" positionX="0.0" positionZ="0.3"/>
</Axles>
<Properties>
<Property name="type" value="ego_vehicle"/>
</Properties>
</Vehicle>
</ScenarioObject>
<ScenarioObject name="adversary">
<Vehicle name="vehicle.lincoln.mkz_2017" vehicleCategory="car">
<ParameterDeclarations/>
<Performance maxSpeed="69.444" maxAcceleration="200" maxDeceleration="10.0"/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2.1" length="4.5" height="1.8"/>
</BoundingBox>
<Axles>
<FrontAxle maxSteering="0.5" wheelDiameter="0.6" trackWidth="1.8" positionX="3.1" positionZ="0.3"/>
<RearAxle maxSteering="0.0" wheelDiameter="0.6" trackWidth="1.8" positionX="0.0" positionZ="0.3"/>
</Axles>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Vehicle>
</ScenarioObject>
<ScenarioObject name="standing">
<Vehicle name="vehicle.volkswagen.t2" vehicleCategory="car">
<ParameterDeclarations/>
<Performance maxSpeed="69.444" maxAcceleration="200" maxDeceleration="10.0"/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2.1" length="4.5" height="1.8"/>
</BoundingBox>
<Axles>
<FrontAxle maxSteering="0.5" wheelDiameter="0.6" trackWidth="1.8" positionX="3.1" positionZ="0.3"/>
<RearAxle maxSteering="0.0" wheelDiameter="0.6" trackWidth="1.8" positionX="0.0" positionZ="0.3"/>
</Axles>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Vehicle>
</ScenarioObject>
<ScenarioObject name="pedestrian_close_to_hero_22212">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_close_to_adversary_22213">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_close_to_standing_22214">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_w_transform_22215">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_close_to_hero_22216">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
</Entities>
<Storyboard>
<Init>
<Actions>
<GlobalAction>
<EnvironmentAction>
<Environment name="Environment1">
<TimeOfDay animation="false" dateTime="2019-06-25T12:00:00"/>
<Weather cloudState="free">
<Sun intensity="0.85" azimuth="0" elevation="1.31"/>
<Fog visualRange="100000.0"/>
<Precipitation precipitationType="dry" intensity="0.0"/>
</Weather>
<RoadCondition frictionScaleFactor="1.0"/>
</Environment>
</EnvironmentAction>
</GlobalAction>
<Private entityRef="hero">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-9.4" y="-152.8" z="0.5" h="1.57079632679"/>
</Position>
</TeleportAction>
</PrivateAction>
<PrivateAction>
<ControllerAction>
<AssignControllerAction>
<Controller name="HeroAgent">
<Properties>
<Property name="module" value="external_control"/>
</Properties>
</Controller>
</AssignControllerAction>
<OverrideControllerValueAction>
<Throttle value="0" active="false"/>
<Brake value="0" active="false"/>
<Clutch value="0" active="false"/>
<ParkingBrake value="0" active="false"/>
<SteeringWheel value="0" active="false"/>
<Gear number="0" active="false"/>
</OverrideControllerValueAction>
</ControllerAction>
</PrivateAction>
</Private>
<Private entityRef="adversary">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-9.4" y="-71.0" z="0.5" h="1.57079632679"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="standing">
<PrivateAction>
<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_22212">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-7.587126731872559" y="-152.93983459472656" z="0.0014286803780123591"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_close_to_adversary_22213">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-19.378618240356445" y="-67.46537017822266" z="0.033799972385168076"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_close_to_standing_22214">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-4.283341884613037" y="15.044241905212402" z="0.0030622100457549095"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_w_transform_22215">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-38.167640686035156" y="-26.99011993408203" z="0.5"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_close_to_hero_22216">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="0.09498277306556702" y="-156.2344512939453" 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_22212">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_close_to_adversary_22213">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_close_to_standing_22214">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_w_transform_22215">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_close_to_hero_22216">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_close_to_adversary_22217">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
</Entities>
<Storyboard>
<Init>
<Actions>
<GlobalAction>
<EnvironmentAction>
<Environment name="Environment1">
<TimeOfDay animation="false" dateTime="2019-06-25T12:00:00"/>
<Weather cloudState="free">
<Sun intensity="0.85" azimuth="0" elevation="1.31"/>
<Fog visualRange="100000.0"/>
<Precipitation precipitationType="dry" intensity="0.0"/>
</Weather>
<RoadCondition frictionScaleFactor="1.0"/>
</Environment>
</EnvironmentAction>
</GlobalAction>
<Private entityRef="hero">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-9.4" y="-152.8" z="0.5" h="1.57079632679"/>
</Position>
</TeleportAction>
</PrivateAction>
<PrivateAction>
<ControllerAction>
<AssignControllerAction>
<Controller name="HeroAgent">
<Properties>
<Property name="module" value="external_control"/>
</Properties>
</Controller>
</AssignControllerAction>
<OverrideControllerValueAction>
<Throttle value="0" active="false"/>
<Brake value="0" active="false"/>
<Clutch value="0" active="false"/>
<ParkingBrake value="0" active="false"/>
<SteeringWheel value="0" active="false"/>
<Gear number="0" active="false"/>
</OverrideControllerValueAction>
</ControllerAction>
</PrivateAction>
</Private>
<Private entityRef="adversary">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-9.4" y="-71.0" z="0.5" h="1.57079632679"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="standing">
<PrivateAction>
<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_22212">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-7.587126731872559" y="-152.93983459472656" z="0.0014286803780123591"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_close_to_adversary_22213">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-19.378618240356445" y="-67.46537017822266" z="0.033799972385168076"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_close_to_standing_22214">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-4.283341884613037" y="15.044241905212402" z="0.0030622100457549095"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_w_transform_22215">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-38.167640686035156" y="-26.99011993408203" z="0.5"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_close_to_hero_22216">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="0.09498277306556702" y="-156.2344512939453" z="0.0014286803780123591"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_close_to_adversary_22217">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-12.722945213317871" y="-64.37458801269531" z="0.033821675926446915"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
</Actions>
</Init>
<Story name="MyStory">
<Act name="Behavior">
<ManeuverGroup maximumExecutionCount="1" name="ManeuverSequence">
<Actors selectTriggeringEntities="false">
<EntityRef entityRef="adversary"/>
</Actors>
<Maneuver name="LaneChangeSimpleManeuver">
<Event name="AdversaryAccelerates" priority="overwrite">
<Action name="AdversaryAccelerates">
<PrivateAction>
<LongitudinalAction>
<SpeedAction>
<SpeedActionDynamics dynamicsShape="step" value="50" dynamicsDimension="distance"/>
<SpeedActionTarget>
<AbsoluteTargetSpeed value="5.0"/>
</SpeedActionTarget>
</SpeedAction>
</LongitudinalAction>
</PrivateAction>
</Action>
<StartTrigger>
<ConditionGroup>
<Condition name="StartCondition" delay="0" conditionEdge="rising">
<ByEntityCondition>
<TriggeringEntities triggeringEntitiesRule="any">
<EntityRef entityRef="hero"/>
</TriggeringEntities>
<EntityCondition>
<RelativeDistanceCondition entityRef="adversary" relativeDistanceType="cartesianDistance" value="40.0" freespace="false" rule="lessThan"/>
</EntityCondition>
</ByEntityCondition>
</Condition>
</ConditionGroup>
</StartTrigger>
</Event>
<Event name="AdversaryChangesLane" priority="overwrite">
<Action name="AdversaryChangesLane">
<PrivateAction>
<LateralAction>
<LaneChangeAction>
<LaneChangeActionDynamics dynamicsShape="linear" value="25" dynamicsDimension="distance"/>
<LaneChangeTarget>
<RelativeTargetLane entityRef="adversary" value="-1"/>
</LaneChangeTarget>
</LaneChangeAction>
</LateralAction>
</PrivateAction>
</Action>
<StartTrigger>
<ConditionGroup>
<Condition name="AfterAdversaryAccelerates" delay="0" conditionEdge="rising">
<ByValueCondition>
<StoryboardElementStateCondition storyboardElementType="action" storyboardElementRef="AdversaryAccelerates" state="completeState"/>
</ByValueCondition>
</Condition>
</ConditionGroup>
</StartTrigger>
</Event>
</Maneuver>
</ManeuverGroup>
<StartTrigger>
<ConditionGroup>
<Condition name="OverallStartCondition" delay="0" conditionEdge="rising">
<ByEntityCondition>
<TriggeringEntities triggeringEntitiesRule="any">
<EntityRef entityRef="hero"/>
</TriggeringEntities>
<EntityCondition>
<TraveledDistanceCondition value="1.0"/>
</EntityCondition>
</ByEntityCondition>
</Condition>
<Condition name="StartTime" delay="0" conditionEdge="rising">
<ByValueCondition>
<SimulationTimeCondition value="0" rule="equalTo"/>
</ByValueCondition>
</Condition>
</ConditionGroup>
</StartTrigger>
<StopTrigger>
<ConditionGroup>
<Condition name="EndCondition" delay="0" conditionEdge="rising">
<ByEntityCondition>
<TriggeringEntities triggeringEntitiesRule="any">
<EntityRef entityRef="hero"/>
</TriggeringEntities>
<EntityCondition>
<TraveledDistanceCondition value="200.0"/>
</EntityCondition>
</ByEntityCondition>
</Condition>
</ConditionGroup>
</StopTrigger>
</Act>
</Story>
<StopTrigger>
<ConditionGroup>
<Condition name="criteria_RunningStopTest" delay="0" conditionEdge="rising">
<ByValueCondition>
<ParameterCondition parameterRef="" value="" rule="lessThan"/>
</ByValueCondition>
</Condition>
<Condition name="criteria_RunningRedLightTest" delay="0" conditionEdge="rising">
<ByValueCondition>
<ParameterCondition parameterRef="" value="" rule="lessThan"/>
</ByValueCondition>
</Condition>
<Condition name="criteria_WrongLaneTest" delay="0" conditionEdge="rising">
<ByValueCondition>
<ParameterCondition parameterRef="" value="" rule="lessThan"/>
</ByValueCondition>
</Condition>
<Condition name="criteria_OnSidewalkTest" delay="0" conditionEdge="rising">
<ByValueCondition>
<ParameterCondition parameterRef="" value="" rule="lessThan"/>
</ByValueCondition>
</Condition>
<Condition name="criteria_KeepLaneTest" delay="0" conditionEdge="rising">
<ByValueCondition>
<ParameterCondition parameterRef="" value="" rule="lessThan"/>
</ByValueCondition>
</Condition>
<Condition name="criteria_CollisionTest" delay="0" conditionEdge="rising">
<ByValueCondition>
<ParameterCondition parameterRef="" value="" rule="lessThan"/>
</ByValueCondition>
</Condition>
<Condition name="criteria_DrivenDistanceTest" delay="0" conditionEdge="rising">
<ByValueCondition>
<ParameterCondition parameterRef="distance_success" value="100" rule="lessThan"/>
</ByValueCondition>
</Condition>
</ConditionGroup>
</StopTrigger>
</Storyboard>
</OpenSCENARIO>
``` |
please remove pedestrian actor named pedestrian_close_to_hero_5072?
```
<?xml version="1.0" ?>
<OpenSCENARIO>
<FileHeader revMajor="1" revMinor="0" date="2020-03-24T12:00:00" description="CARLA:LaneChangeSimple" author=""/>
<ParameterDeclarations/>
<CatalogLocations/>
<RoadNetwork>
<LogicFile filepath="Town04"/>
<SceneGraphFile filepath=""/>
</RoadNetwork>
<Entities>
<ScenarioObject name="hero">
<Vehicle name="vehicle.tesla.model3" vehicleCategory="car">
<ParameterDeclarations/>
<Performance maxSpeed="69.444" maxAcceleration="200" maxDeceleration="10.0"/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2.1" length="4.5" height="1.8"/>
</BoundingBox>
<Axles>
<FrontAxle maxSteering="0.5" wheelDiameter="0.6" trackWidth="1.8" positionX="3.1" positionZ="0.3"/>
<RearAxle maxSteering="0.0" wheelDiameter="0.6" trackWidth="1.8" positionX="0.0" positionZ="0.3"/>
</Axles>
<Properties>
<Property name="type" value="ego_vehicle"/>
</Properties>
</Vehicle>
</ScenarioObject>
<ScenarioObject name="adversary">
<Vehicle name="vehicle.lincoln.mkz_2017" vehicleCategory="car">
<ParameterDeclarations/>
<Performance maxSpeed="69.444" maxAcceleration="200" maxDeceleration="10.0"/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2.1" length="4.5" height="1.8"/>
</BoundingBox>
<Axles>
<FrontAxle maxSteering="0.5" wheelDiameter="0.6" trackWidth="1.8" positionX="3.1" positionZ="0.3"/>
<RearAxle maxSteering="0.0" wheelDiameter="0.6" trackWidth="1.8" positionX="0.0" positionZ="0.3"/>
</Axles>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Vehicle>
</ScenarioObject>
<ScenarioObject name="standing">
<Vehicle name="vehicle.volkswagen.t2" vehicleCategory="car">
<ParameterDeclarations/>
<Performance maxSpeed="69.444" maxAcceleration="200" maxDeceleration="10.0"/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2.1" length="4.5" height="1.8"/>
</BoundingBox>
<Axles>
<FrontAxle maxSteering="0.5" wheelDiameter="0.6" trackWidth="1.8" positionX="3.1" positionZ="0.3"/>
<RearAxle maxSteering="0.0" wheelDiameter="0.6" 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_5070">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_close_to_hero_5072">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_w_transform_5074">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
</Entities>
<Storyboard>
<Init>
<Actions>
<GlobalAction>
<EnvironmentAction>
<Environment name="Environment1">
<TimeOfDay animation="false" dateTime="2019-06-25T12:00:00"/>
<Weather cloudState="free">
<Sun intensity="0.85" azimuth="0" elevation="1.31"/>
<Fog visualRange="100000.0"/>
<Precipitation precipitationType="dry" intensity="0.0"/>
</Weather>
<RoadCondition frictionScaleFactor="1.0"/>
</Environment>
</EnvironmentAction>
</GlobalAction>
<Private entityRef="hero">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-9.4" y="-152.8" z="0.5" h="1.57079632679"/>
</Position>
</TeleportAction>
</PrivateAction>
<PrivateAction>
<ControllerAction>
<AssignControllerAction>
<Controller name="HeroAgent">
<Properties>
<Property name="module" value="external_control"/>
</Properties>
</Controller>
</AssignControllerAction>
<OverrideControllerValueAction>
<Throttle value="0" active="false"/>
<Brake value="0" active="false"/>
<Clutch value="0" active="false"/>
<ParkingBrake value="0" active="false"/>
<SteeringWheel value="0" active="false"/>
<Gear number="0" active="false"/>
</OverrideControllerValueAction>
</ControllerAction>
</PrivateAction>
</Private>
<Private entityRef="adversary">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-9.4" y="-71.0" z="0.5" h="1.57079632679"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="standing">
<PrivateAction>
<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_5070">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-9.173321723937988" y="24.116497039794922" z="0.0031149673741310835"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_close_to_hero_5072">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-13.634016990661621" y="-160.23904418945312" z="0.0014286803780123591"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_w_transform_5074">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="79.4383544921875" y="60.636329650878906" z="0.5"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
</Actions>
</Init>
<Story name="MyStory">
<Act name="Behavior">
<ManeuverGroup maximumExecutionCount="1" name="ManeuverSequence">
<Actors selectTriggeringEntities="false">
<EntityRef entityRef="adversary"/>
</Actors>
<Maneuver name="LaneChangeSimpleManeuver">
<Event name="AdversaryAccelerates" priority="overwrite">
<Action name="AdversaryAccelerates">
<PrivateAction>
<LongitudinalAction>
<SpeedAction>
<SpeedActionDynamics dynamicsShape="step" value="50" dynamicsDimension="distance"/>
<SpeedActionTarget>
<AbsoluteTargetSpeed value="5.0"/>
</SpeedActionTarget>
</SpeedAction>
</LongitudinalAction>
</PrivateAction>
</Action>
<StartTrigger>
<ConditionGroup>
<Condition name="StartCondition" delay="0" conditionEdge="rising">
<ByEntityCondition>
<TriggeringEntities triggeringEntitiesRule="any">
<EntityRef entityRef="hero"/>
</TriggeringEntities>
<EntityCondition>
<RelativeDistanceCondition entityRef="adversary" relativeDistanceType="cartesianDistance" value="40.0" freespace="false" rule="lessThan"/>
</EntityCondition>
</ByEntityCondition>
</Condition>
</ConditionGroup>
</StartTrigger>
</Event>
<Event name="AdversaryChangesLane" priority="overwrite">
<Action name="AdversaryChangesLane">
<PrivateAction>
<LateralAction>
<LaneChangeAction>
<LaneChangeActionDynamics dynamicsShape="linear" value="25" dynamicsDimension="distance"/>
<LaneChangeTarget>
<RelativeTargetLane entityRef="adversary" value="-1"/>
</LaneChangeTarget>
</LaneChangeAction>
</LateralAction>
</PrivateAction>
</Action>
<StartTrigger>
<ConditionGroup>
<Condition name="AfterAdversaryAccelerates" delay="0" conditionEdge="rising">
<ByValueCondition>
<StoryboardElementStateCondition storyboardElementType="action" storyboardElementRef="AdversaryAccelerates" state="completeState"/>
</ByValueCondition>
</Condition>
</ConditionGroup>
</StartTrigger>
</Event>
</Maneuver>
</ManeuverGroup>
<StartTrigger>
<ConditionGroup>
<Condition name="OverallStartCondition" delay="0" conditionEdge="rising">
<ByEntityCondition>
<TriggeringEntities triggeringEntitiesRule="any">
<EntityRef entityRef="hero"/>
</TriggeringEntities>
<EntityCondition>
<TraveledDistanceCondition value="1.0"/>
</EntityCondition>
</ByEntityCondition>
</Condition>
<Condition name="StartTime" delay="0" conditionEdge="rising">
<ByValueCondition>
<SimulationTimeCondition value="0" rule="equalTo"/>
</ByValueCondition>
</Condition>
</ConditionGroup>
</StartTrigger>
<StopTrigger>
<ConditionGroup>
<Condition name="EndCondition" delay="0" conditionEdge="rising">
<ByEntityCondition>
<TriggeringEntities triggeringEntitiesRule="any">
<EntityRef entityRef="hero"/>
</TriggeringEntities>
<EntityCondition>
<TraveledDistanceCondition value="200.0"/>
</EntityCondition>
</ByEntityCondition>
</Condition>
</ConditionGroup>
</StopTrigger>
</Act>
</Story>
<StopTrigger>
<ConditionGroup>
<Condition name="criteria_RunningStopTest" delay="0" conditionEdge="rising">
<ByValueCondition>
<ParameterCondition parameterRef="" value="" rule="lessThan"/>
</ByValueCondition>
</Condition>
<Condition name="criteria_RunningRedLightTest" delay="0" conditionEdge="rising">
<ByValueCondition>
<ParameterCondition parameterRef="" value="" rule="lessThan"/>
</ByValueCondition>
</Condition>
<Condition name="criteria_WrongLaneTest" delay="0" conditionEdge="rising">
<ByValueCondition>
<ParameterCondition parameterRef="" value="" rule="lessThan"/>
</ByValueCondition>
</Condition>
<Condition name="criteria_OnSidewalkTest" delay="0" conditionEdge="rising">
<ByValueCondition>
<ParameterCondition parameterRef="" value="" rule="lessThan"/>
</ByValueCondition>
</Condition>
<Condition name="criteria_KeepLaneTest" delay="0" conditionEdge="rising">
<ByValueCondition>
<ParameterCondition parameterRef="" value="" rule="lessThan"/>
</ByValueCondition>
</Condition>
<Condition name="criteria_CollisionTest" delay="0" conditionEdge="rising">
<ByValueCondition>
<ParameterCondition parameterRef="" value="" rule="lessThan"/>
</ByValueCondition>
</Condition>
<Condition name="criteria_DrivenDistanceTest" delay="0" conditionEdge="rising">
<ByValueCondition>
<ParameterCondition parameterRef="distance_success" value="100" rule="lessThan"/>
</ByValueCondition>
</Condition>
</ConditionGroup>
</StopTrigger>
</Storyboard>
</OpenSCENARIO>
``` | Here is the result:
```
<?xml version="1.0" ?>
<OpenSCENARIO>
<FileHeader revMajor="1" revMinor="0" date="2020-03-24T12:00:00" description="CARLA:LaneChangeSimple" author=""/>
<ParameterDeclarations/>
<CatalogLocations/>
<RoadNetwork>
<LogicFile filepath="Town04"/>
<SceneGraphFile filepath=""/>
</RoadNetwork>
<Entities>
<ScenarioObject name="hero">
<Vehicle name="vehicle.tesla.model3" vehicleCategory="car">
<ParameterDeclarations/>
<Performance maxSpeed="69.444" maxAcceleration="200" maxDeceleration="10.0"/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2.1" length="4.5" height="1.8"/>
</BoundingBox>
<Axles>
<FrontAxle maxSteering="0.5" wheelDiameter="0.6" trackWidth="1.8" positionX="3.1" positionZ="0.3"/>
<RearAxle maxSteering="0.0" wheelDiameter="0.6" trackWidth="1.8" positionX="0.0" positionZ="0.3"/>
</Axles>
<Properties>
<Property name="type" value="ego_vehicle"/>
</Properties>
</Vehicle>
</ScenarioObject>
<ScenarioObject name="adversary">
<Vehicle name="vehicle.lincoln.mkz_2017" vehicleCategory="car">
<ParameterDeclarations/>
<Performance maxSpeed="69.444" maxAcceleration="200" maxDeceleration="10.0"/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2.1" length="4.5" height="1.8"/>
</BoundingBox>
<Axles>
<FrontAxle maxSteering="0.5" wheelDiameter="0.6" trackWidth="1.8" positionX="3.1" positionZ="0.3"/>
<RearAxle maxSteering="0.0" wheelDiameter="0.6" trackWidth="1.8" positionX="0.0" positionZ="0.3"/>
</Axles>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Vehicle>
</ScenarioObject>
<ScenarioObject name="standing">
<Vehicle name="vehicle.volkswagen.t2" vehicleCategory="car">
<ParameterDeclarations/>
<Performance maxSpeed="69.444" maxAcceleration="200" maxDeceleration="10.0"/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2.1" length="4.5" height="1.8"/>
</BoundingBox>
<Axles>
<FrontAxle maxSteering="0.5" wheelDiameter="0.6" trackWidth="1.8" positionX="3.1" positionZ="0.3"/>
<RearAxle maxSteering="0.0" wheelDiameter="0.6" 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_5070">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_w_transform_5074">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
</Entities>
<Storyboard>
<Init>
<Actions>
<GlobalAction>
<EnvironmentAction>
<Environment name="Environment1">
<TimeOfDay animation="false" dateTime="2019-06-25T12:00:00"/>
<Weather cloudState="free">
<Sun intensity="0.85" azimuth="0" elevation="1.31"/>
<Fog visualRange="100000.0"/>
<Precipitation precipitationType="dry" intensity="0.0"/>
</Weather>
<RoadCondition frictionScaleFactor="1.0"/>
</Environment>
</EnvironmentAction>
</GlobalAction>
<Private entityRef="hero">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-9.4" y="-152.8" z="0.5" h="1.57079632679"/>
</Position>
</TeleportAction>
</PrivateAction>
<PrivateAction>
<ControllerAction>
<AssignControllerAction>
<Controller name="HeroAgent">
<Properties>
<Property name="module" value="external_control"/>
</Properties>
</Controller>
</AssignControllerAction>
<OverrideControllerValueAction>
<Throttle value="0" active="false"/>
<Brake value="0" active="false"/>
<Clutch value="0" active="false"/>
<ParkingBrake value="0" active="false"/>
<SteeringWheel value="0" active="false"/>
<Gear number="0" active="false"/>
</OverrideControllerValueAction>
</ControllerAction>
</PrivateAction>
</Private>
<Private entityRef="adversary">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-9.4" y="-71.0" z="0.5" h="1.57079632679"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="standing">
<PrivateAction>
<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_5070">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-9.173321723937988" y="24.116497039794922" z="0.0031149673741310835"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_w_transform_5074">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="79.4383544921875" y="60.636329650878906" z="0.5"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
</Actions>
</Init>
<Story name="MyStory">
<Act name="Behavior">
<ManeuverGroup maximumExecutionCount="1" name="ManeuverSequence">
<Actors selectTriggeringEntities="false">
<EntityRef entityRef="adversary"/>
</Actors>
<Maneuver name="LaneChangeSimpleManeuver">
<Event name="AdversaryAccelerates" priority="overwrite">
<Action name="AdversaryAccelerates">
<PrivateAction>
<LongitudinalAction>
<SpeedAction>
<SpeedActionDynamics dynamicsShape="step" value="50" dynamicsDimension="distance"/>
<SpeedActionTarget>
<AbsoluteTargetSpeed value="5.0"/>
</SpeedActionTarget>
</SpeedAction>
</LongitudinalAction>
</PrivateAction>
</Action>
<StartTrigger>
<ConditionGroup>
<Condition name="StartCondition" delay="0" conditionEdge="rising">
<ByEntityCondition>
<TriggeringEntities triggeringEntitiesRule="any">
<EntityRef entityRef="hero"/>
</TriggeringEntities>
<EntityCondition>
<RelativeDistanceCondition entityRef="adversary" relativeDistanceType="cartesianDistance" value="40.0" freespace="false" rule="lessThan"/>
</EntityCondition>
</ByEntityCondition>
</Condition>
</ConditionGroup>
</StartTrigger>
</Event>
<Event name="AdversaryChangesLane" priority="overwrite">
<Action name="AdversaryChangesLane">
<PrivateAction>
<LateralAction>
<LaneChangeAction>
<LaneChangeActionDynamics dynamicsShape="linear" value="25" dynamicsDimension="distance"/>
<LaneChangeTarget>
<RelativeTargetLane entityRef="adversary" value="-1"/>
</LaneChangeTarget>
</LaneChangeAction>
</LateralAction>
</PrivateAction>
</Action>
<StartTrigger>
<ConditionGroup>
<Condition name="AfterAdversaryAccelerates" delay="0" conditionEdge="rising">
<ByValueCondition>
<StoryboardElementStateCondition storyboardElementType="action" storyboardElementRef="AdversaryAccelerates" state="completeState"/>
</ByValueCondition>
</Condition>
</ConditionGroup>
</StartTrigger>
</Event>
</Maneuver>
</ManeuverGroup>
<StartTrigger>
<ConditionGroup>
<Condition name="OverallStartCondition" delay="0" conditionEdge="rising">
<ByEntityCondition>
<TriggeringEntities triggeringEntitiesRule="any">
<EntityRef entityRef="hero"/>
</TriggeringEntities>
<EntityCondition>
<TraveledDistanceCondition value="1.0"/>
</EntityCondition>
</ByEntityCondition>
</Condition>
<Condition name="StartTime" delay="0" conditionEdge="rising">
<ByValueCondition>
<SimulationTimeCondition value="0" rule="equalTo"/>
</ByValueCondition>
</Condition>
</ConditionGroup>
</StartTrigger>
<StopTrigger>
<ConditionGroup>
<Condition name="EndCondition" delay="0" conditionEdge="rising">
<ByEntityCondition>
<TriggeringEntities triggeringEntitiesRule="any">
<EntityRef entityRef="hero"/>
</TriggeringEntities>
<EntityCondition>
<TraveledDistanceCondition value="200.0"/>
</EntityCondition>
</ByEntityCondition>
</Condition>
</ConditionGroup>
</StopTrigger>
</Act>
</Story>
<StopTrigger>
<ConditionGroup>
<Condition name="criteria_RunningStopTest" delay="0" conditionEdge="rising">
<ByValueCondition>
<ParameterCondition parameterRef="" value="" rule="lessThan"/>
</ByValueCondition>
</Condition>
<Condition name="criteria_RunningRedLightTest" delay="0" conditionEdge="rising">
<ByValueCondition>
<ParameterCondition parameterRef="" value="" rule="lessThan"/>
</ByValueCondition>
</Condition>
<Condition name="criteria_WrongLaneTest" delay="0" conditionEdge="rising">
<ByValueCondition>
<ParameterCondition parameterRef="" value="" rule="lessThan"/>
</ByValueCondition>
</Condition>
<Condition name="criteria_OnSidewalkTest" delay="0" conditionEdge="rising">
<ByValueCondition>
<ParameterCondition parameterRef="" value="" rule="lessThan"/>
</ByValueCondition>
</Condition>
<Condition name="criteria_KeepLaneTest" delay="0" conditionEdge="rising">
<ByValueCondition>
<ParameterCondition parameterRef="" value="" rule="lessThan"/>
</ByValueCondition>
</Condition>
<Condition name="criteria_CollisionTest" delay="0" conditionEdge="rising">
<ByValueCondition>
<ParameterCondition parameterRef="" value="" rule="lessThan"/>
</ByValueCondition>
</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 (-93.6, 2.21, 0.5)?
```
<?xml version="1.0" ?>
<OpenSCENARIO>
<FileHeader revMajor="1" revMinor="0" date="2020-03-24T12:00:00" description="CARLA:LaneChangeSimple" author=""/>
<ParameterDeclarations/>
<CatalogLocations/>
<RoadNetwork>
<LogicFile filepath="Town04"/>
<SceneGraphFile filepath=""/>
</RoadNetwork>
<Entities>
<ScenarioObject name="hero">
<Vehicle name="vehicle.tesla.model3" vehicleCategory="car">
<ParameterDeclarations/>
<Performance maxSpeed="69.444" maxAcceleration="200" maxDeceleration="10.0"/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2.1" length="4.5" height="1.8"/>
</BoundingBox>
<Axles>
<FrontAxle maxSteering="0.5" wheelDiameter="0.6" trackWidth="1.8" positionX="3.1" positionZ="0.3"/>
<RearAxle maxSteering="0.0" wheelDiameter="0.6" trackWidth="1.8" positionX="0.0" positionZ="0.3"/>
</Axles>
<Properties>
<Property name="type" value="ego_vehicle"/>
</Properties>
</Vehicle>
</ScenarioObject>
<ScenarioObject name="adversary">
<Vehicle name="vehicle.lincoln.mkz_2017" vehicleCategory="car">
<ParameterDeclarations/>
<Performance maxSpeed="69.444" maxAcceleration="200" maxDeceleration="10.0"/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2.1" length="4.5" height="1.8"/>
</BoundingBox>
<Axles>
<FrontAxle maxSteering="0.5" wheelDiameter="0.6" trackWidth="1.8" positionX="3.1" positionZ="0.3"/>
<RearAxle maxSteering="0.0" wheelDiameter="0.6" trackWidth="1.8" positionX="0.0" positionZ="0.3"/>
</Axles>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Vehicle>
</ScenarioObject>
<ScenarioObject name="standing">
<Vehicle name="vehicle.volkswagen.t2" vehicleCategory="car">
<ParameterDeclarations/>
<Performance maxSpeed="69.444" maxAcceleration="200" maxDeceleration="10.0"/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2.1" length="4.5" height="1.8"/>
</BoundingBox>
<Axles>
<FrontAxle maxSteering="0.5" wheelDiameter="0.6" trackWidth="1.8" positionX="3.1" positionZ="0.3"/>
<RearAxle maxSteering="0.0" wheelDiameter="0.6" trackWidth="1.8" positionX="0.0" positionZ="0.3"/>
</Axles>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Vehicle>
</ScenarioObject>
<ScenarioObject name="pedestrian_close_to_hero_11494">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_close_to_standing_11495">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_w_transform_11496">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_close_to_standing_11497">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_close_to_hero_11498">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_w_transform_11499">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_close_to_adversary_11500">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_close_to_hero_11501">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_close_to_standing_11502">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_close_to_adversary_11503">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_close_to_hero_11504">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_close_to_standing_11505">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_w_transform_11506">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_close_to_standing_11507">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_w_transform_11508">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_close_to_adversary_11509">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_close_to_adversary_11510">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_w_transform_11512">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_w_transform_11513">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_w_transform_11514">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_close_to_adversary_11515">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_close_to_adversary_11516">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
</Entities>
<Storyboard>
<Init>
<Actions>
<GlobalAction>
<EnvironmentAction>
<Environment name="Environment1">
<TimeOfDay animation="false" dateTime="2019-06-25T12:00:00"/>
<Weather cloudState="free">
<Sun intensity="0.85" azimuth="0" elevation="1.31"/>
<Fog visualRange="100000.0"/>
<Precipitation precipitationType="dry" intensity="0.0"/>
</Weather>
<RoadCondition frictionScaleFactor="1.0"/>
</Environment>
</EnvironmentAction>
</GlobalAction>
<Private entityRef="hero">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-9.4" y="-152.8" z="0.5" h="1.57079632679"/>
</Position>
</TeleportAction>
</PrivateAction>
<PrivateAction>
<ControllerAction>
<AssignControllerAction>
<Controller name="HeroAgent">
<Properties>
<Property name="module" value="external_control"/>
</Properties>
</Controller>
</AssignControllerAction>
<OverrideControllerValueAction>
<Throttle value="0" active="false"/>
<Brake value="0" active="false"/>
<Clutch value="0" active="false"/>
<ParkingBrake value="0" active="false"/>
<SteeringWheel value="0" active="false"/>
<Gear number="0" active="false"/>
</OverrideControllerValueAction>
</ControllerAction>
</PrivateAction>
</Private>
<Private entityRef="adversary">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-9.4" y="-71.0" z="0.5" h="1.57079632679"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="standing">
<PrivateAction>
<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_11494">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-13.953701972961426" y="-154.40423583984375" z="0.0014286803780123591"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_close_to_standing_11495">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-13.115679740905762" y="24.927146911621094" z="0.003066101111471653"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_w_transform_11496">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="53.318973541259766" y="-54.612056732177734" z="0.5"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_close_to_standing_11497">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-1.7604485750198364" y="25.44367790222168" z="0.0030748748686164618"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_close_to_hero_11498">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-3.046135902404785" y="-160.49215698242188" z="0.0014286803780123591"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_w_transform_11499">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="86.2193603515625" y="71.88724517822266" z="0.5"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_close_to_adversary_11500">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-3.239300489425659" y="-68.80986785888672" z="0.033801689743995667"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_close_to_hero_11501">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-15.703459739685059" y="-155.58966064453125" z="0.0014286803780123591"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_close_to_standing_11502">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-16.41238021850586" y="37.68846130371094" z="0.0030257415492087603"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_close_to_adversary_11503">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-13.204350471496582" y="-73.42582702636719" z="0.03382003679871559"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_close_to_hero_11504">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-6.240666389465332" y="-145.92904663085938" z="0.0014286803780123591"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_close_to_standing_11505">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-3.503732919692993" y="36.189453125" z="0.0030453491490334272"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_w_transform_11506">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="73.14051818847656" y="68.286865234375" z="0.5"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_close_to_standing_11507">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-12.84599494934082" y="36.88718032836914" z="0.003085288917645812"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_w_transform_11508">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="35.85855484008789" y="-83.90972900390625" z="0.5"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_close_to_adversary_11509">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-1.7638944387435913" y="-78.15076446533203" z="0.0337713249027729"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_close_to_adversary_11510">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-6.556031227111816" y="-63.254798889160156" z="0.03374442830681801"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_w_transform_11512">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="23.807540893554688" y="-76.07571411132812" z="0.5"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_w_transform_11513">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="87.92166137695312" y="-58.97306442260742" z="0.5"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_w_transform_11514">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="78.61576080322266" y="26.593643188476562" z="0.5"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_close_to_adversary_11515">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-2.1084325313568115" y="-67.80938720703125" z="0.03372836858034134"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_close_to_adversary_11516">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-5.975419998168945" y="-56.62736511230469" z="0.03374069184064865"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
</Actions>
</Init>
<Story name="MyStory">
<Act name="Behavior">
<ManeuverGroup maximumExecutionCount="1" name="ManeuverSequence">
<Actors selectTriggeringEntities="false">
<EntityRef entityRef="adversary"/>
</Actors>
<Maneuver name="LaneChangeSimpleManeuver">
<Event name="AdversaryAccelerates" priority="overwrite">
<Action name="AdversaryAccelerates">
<PrivateAction>
<LongitudinalAction>
<SpeedAction>
<SpeedActionDynamics dynamicsShape="step" value="50" dynamicsDimension="distance"/>
<SpeedActionTarget>
<AbsoluteTargetSpeed value="5.0"/>
</SpeedActionTarget>
</SpeedAction>
</LongitudinalAction>
</PrivateAction>
</Action>
<StartTrigger>
<ConditionGroup>
<Condition name="StartCondition" delay="0" conditionEdge="rising">
<ByEntityCondition>
<TriggeringEntities triggeringEntitiesRule="any">
<EntityRef entityRef="hero"/>
</TriggeringEntities>
<EntityCondition>
<RelativeDistanceCondition entityRef="adversary" relativeDistanceType="cartesianDistance" value="40.0" freespace="false" rule="lessThan"/>
</EntityCondition>
</ByEntityCondition>
</Condition>
</ConditionGroup>
</StartTrigger>
</Event>
<Event name="AdversaryChangesLane" priority="overwrite">
<Action name="AdversaryChangesLane">
<PrivateAction>
<LateralAction>
<LaneChangeAction>
<LaneChangeActionDynamics dynamicsShape="linear" value="25" dynamicsDimension="distance"/>
<LaneChangeTarget>
<RelativeTargetLane entityRef="adversary" value="-1"/>
</LaneChangeTarget>
</LaneChangeAction>
</LateralAction>
</PrivateAction>
</Action>
<StartTrigger>
<ConditionGroup>
<Condition name="AfterAdversaryAccelerates" delay="0" conditionEdge="rising">
<ByValueCondition>
<StoryboardElementStateCondition storyboardElementType="action" storyboardElementRef="AdversaryAccelerates" state="completeState"/>
</ByValueCondition>
</Condition>
</ConditionGroup>
</StartTrigger>
</Event>
</Maneuver>
</ManeuverGroup>
<StartTrigger>
<ConditionGroup>
<Condition name="OverallStartCondition" delay="0" conditionEdge="rising">
<ByEntityCondition>
<TriggeringEntities triggeringEntitiesRule="any">
<EntityRef entityRef="hero"/>
</TriggeringEntities>
<EntityCondition>
<TraveledDistanceCondition value="1.0"/>
</EntityCondition>
</ByEntityCondition>
</Condition>
<Condition name="StartTime" delay="0" conditionEdge="rising">
<ByValueCondition>
<SimulationTimeCondition value="0" rule="equalTo"/>
</ByValueCondition>
</Condition>
</ConditionGroup>
</StartTrigger>
<StopTrigger>
<ConditionGroup>
<Condition name="EndCondition" delay="0" conditionEdge="rising">
<ByEntityCondition>
<TriggeringEntities triggeringEntitiesRule="any">
<EntityRef entityRef="hero"/>
</TriggeringEntities>
<EntityCondition>
<TraveledDistanceCondition value="200.0"/>
</EntityCondition>
</ByEntityCondition>
</Condition>
</ConditionGroup>
</StopTrigger>
</Act>
</Story>
<StopTrigger>
<ConditionGroup>
<Condition name="criteria_RunningStopTest" delay="0" conditionEdge="rising">
<ByValueCondition>
<ParameterCondition parameterRef="" value="" rule="lessThan"/>
</ByValueCondition>
</Condition>
<Condition name="criteria_RunningRedLightTest" delay="0" conditionEdge="rising">
<ByValueCondition>
<ParameterCondition parameterRef="" value="" rule="lessThan"/>
</ByValueCondition>
</Condition>
<Condition name="criteria_WrongLaneTest" delay="0" conditionEdge="rising">
<ByValueCondition>
<ParameterCondition parameterRef="" value="" rule="lessThan"/>
</ByValueCondition>
</Condition>
<Condition name="criteria_OnSidewalkTest" delay="0" conditionEdge="rising">
<ByValueCondition>
<ParameterCondition parameterRef="" value="" rule="lessThan"/>
</ByValueCondition>
</Condition>
<Condition name="criteria_KeepLaneTest" delay="0" conditionEdge="rising">
<ByValueCondition>
<ParameterCondition parameterRef="" value="" rule="lessThan"/>
</ByValueCondition>
</Condition>
<Condition name="criteria_CollisionTest" delay="0" conditionEdge="rising">
<ByValueCondition>
<ParameterCondition parameterRef="" value="" rule="lessThan"/>
</ByValueCondition>
</Condition>
<Condition name="criteria_DrivenDistanceTest" delay="0" conditionEdge="rising">
<ByValueCondition>
<ParameterCondition parameterRef="distance_success" value="100" rule="lessThan"/>
</ByValueCondition>
</Condition>
</ConditionGroup>
</StopTrigger>
</Storyboard>
</OpenSCENARIO>
``` | Here is the result:
```
<?xml version="1.0" ?>
<OpenSCENARIO>
<FileHeader revMajor="1" revMinor="0" date="2020-03-24T12:00:00" description="CARLA:LaneChangeSimple" author=""/>
<ParameterDeclarations/>
<CatalogLocations/>
<RoadNetwork>
<LogicFile filepath="Town04"/>
<SceneGraphFile filepath=""/>
</RoadNetwork>
<Entities>
<ScenarioObject name="hero">
<Vehicle name="vehicle.tesla.model3" vehicleCategory="car">
<ParameterDeclarations/>
<Performance maxSpeed="69.444" maxAcceleration="200" maxDeceleration="10.0"/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2.1" length="4.5" height="1.8"/>
</BoundingBox>
<Axles>
<FrontAxle maxSteering="0.5" wheelDiameter="0.6" trackWidth="1.8" positionX="3.1" positionZ="0.3"/>
<RearAxle maxSteering="0.0" wheelDiameter="0.6" trackWidth="1.8" positionX="0.0" positionZ="0.3"/>
</Axles>
<Properties>
<Property name="type" value="ego_vehicle"/>
</Properties>
</Vehicle>
</ScenarioObject>
<ScenarioObject name="adversary">
<Vehicle name="vehicle.lincoln.mkz_2017" vehicleCategory="car">
<ParameterDeclarations/>
<Performance maxSpeed="69.444" maxAcceleration="200" maxDeceleration="10.0"/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2.1" length="4.5" height="1.8"/>
</BoundingBox>
<Axles>
<FrontAxle maxSteering="0.5" wheelDiameter="0.6" trackWidth="1.8" positionX="3.1" positionZ="0.3"/>
<RearAxle maxSteering="0.0" wheelDiameter="0.6" trackWidth="1.8" positionX="0.0" positionZ="0.3"/>
</Axles>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Vehicle>
</ScenarioObject>
<ScenarioObject name="standing">
<Vehicle name="vehicle.volkswagen.t2" vehicleCategory="car">
<ParameterDeclarations/>
<Performance maxSpeed="69.444" maxAcceleration="200" maxDeceleration="10.0"/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2.1" length="4.5" height="1.8"/>
</BoundingBox>
<Axles>
<FrontAxle maxSteering="0.5" wheelDiameter="0.6" trackWidth="1.8" positionX="3.1" positionZ="0.3"/>
<RearAxle maxSteering="0.0" wheelDiameter="0.6" 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_11494">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_close_to_standing_11495">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_w_transform_11496">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_close_to_standing_11497">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_close_to_hero_11498">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_w_transform_11499">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_close_to_adversary_11500">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_close_to_hero_11501">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_close_to_standing_11502">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_close_to_adversary_11503">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_close_to_hero_11504">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_close_to_standing_11505">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_w_transform_11506">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_close_to_standing_11507">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_w_transform_11508">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_close_to_adversary_11509">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_close_to_adversary_11510">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_w_transform_11512">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_w_transform_11513">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_w_transform_11514">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_close_to_adversary_11515">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_close_to_adversary_11516">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_w_transform_11517">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
</Entities>
<Storyboard>
<Init>
<Actions>
<GlobalAction>
<EnvironmentAction>
<Environment name="Environment1">
<TimeOfDay animation="false" dateTime="2019-06-25T12:00:00"/>
<Weather cloudState="free">
<Sun intensity="0.85" azimuth="0" elevation="1.31"/>
<Fog visualRange="100000.0"/>
<Precipitation precipitationType="dry" intensity="0.0"/>
</Weather>
<RoadCondition frictionScaleFactor="1.0"/>
</Environment>
</EnvironmentAction>
</GlobalAction>
<Private entityRef="hero">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-9.4" y="-152.8" z="0.5" h="1.57079632679"/>
</Position>
</TeleportAction>
</PrivateAction>
<PrivateAction>
<ControllerAction>
<AssignControllerAction>
<Controller name="HeroAgent">
<Properties>
<Property name="module" value="external_control"/>
</Properties>
</Controller>
</AssignControllerAction>
<OverrideControllerValueAction>
<Throttle value="0" active="false"/>
<Brake value="0" active="false"/>
<Clutch value="0" active="false"/>
<ParkingBrake value="0" active="false"/>
<SteeringWheel value="0" active="false"/>
<Gear number="0" active="false"/>
</OverrideControllerValueAction>
</ControllerAction>
</PrivateAction>
</Private>
<Private entityRef="adversary">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-9.4" y="-71.0" z="0.5" h="1.57079632679"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="standing">
<PrivateAction>
<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_11494">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-13.953701972961426" y="-154.40423583984375" z="0.0014286803780123591"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_close_to_standing_11495">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-13.115679740905762" y="24.927146911621094" z="0.003066101111471653"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_w_transform_11496">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="53.318973541259766" y="-54.612056732177734" z="0.5"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_close_to_standing_11497">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-1.7604485750198364" y="25.44367790222168" z="0.0030748748686164618"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_close_to_hero_11498">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-3.046135902404785" y="-160.49215698242188" z="0.0014286803780123591"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_w_transform_11499">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="86.2193603515625" y="71.88724517822266" z="0.5"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_close_to_adversary_11500">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-3.239300489425659" y="-68.80986785888672" z="0.033801689743995667"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_close_to_hero_11501">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-15.703459739685059" y="-155.58966064453125" z="0.0014286803780123591"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_close_to_standing_11502">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-16.41238021850586" y="37.68846130371094" z="0.0030257415492087603"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_close_to_adversary_11503">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-13.204350471496582" y="-73.42582702636719" z="0.03382003679871559"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_close_to_hero_11504">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-6.240666389465332" y="-145.92904663085938" z="0.0014286803780123591"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_close_to_standing_11505">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-3.503732919692993" y="36.189453125" z="0.0030453491490334272"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_w_transform_11506">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="73.14051818847656" y="68.286865234375" z="0.5"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_close_to_standing_11507">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-12.84599494934082" y="36.88718032836914" z="0.003085288917645812"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_w_transform_11508">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="35.85855484008789" y="-83.90972900390625" z="0.5"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_close_to_adversary_11509">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-1.7638944387435913" y="-78.15076446533203" z="0.0337713249027729"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_close_to_adversary_11510">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-6.556031227111816" y="-63.254798889160156" z="0.03374442830681801"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_w_transform_11512">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="23.807540893554688" y="-76.07571411132812" z="0.5"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_w_transform_11513">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="87.92166137695312" y="-58.97306442260742" z="0.5"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_w_transform_11514">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="78.61576080322266" y="26.593643188476562" z="0.5"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_close_to_adversary_11515">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-2.1084325313568115" y="-67.80938720703125" z="0.03372836858034134"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_close_to_adversary_11516">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-5.975419998168945" y="-56.62736511230469" z="0.03374069184064865"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_w_transform_11517">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-93.60316467285156" y="2.2091643810272217" z="0.5"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
</Actions>
</Init>
<Story name="MyStory">
<Act name="Behavior">
<ManeuverGroup maximumExecutionCount="1" name="ManeuverSequence">
<Actors selectTriggeringEntities="false">
<EntityRef entityRef="adversary"/>
</Actors>
<Maneuver name="LaneChangeSimpleManeuver">
<Event name="AdversaryAccelerates" priority="overwrite">
<Action name="AdversaryAccelerates">
<PrivateAction>
<LongitudinalAction>
<SpeedAction>
<SpeedActionDynamics dynamicsShape="step" value="50" dynamicsDimension="distance"/>
<SpeedActionTarget>
<AbsoluteTargetSpeed value="5.0"/>
</SpeedActionTarget>
</SpeedAction>
</LongitudinalAction>
</PrivateAction>
</Action>
<StartTrigger>
<ConditionGroup>
<Condition name="StartCondition" delay="0" conditionEdge="rising">
<ByEntityCondition>
<TriggeringEntities triggeringEntitiesRule="any">
<EntityRef entityRef="hero"/>
</TriggeringEntities>
<EntityCondition>
<RelativeDistanceCondition entityRef="adversary" relativeDistanceType="cartesianDistance" value="40.0" freespace="false" rule="lessThan"/>
</EntityCondition>
</ByEntityCondition>
</Condition>
</ConditionGroup>
</StartTrigger>
</Event>
<Event name="AdversaryChangesLane" priority="overwrite">
<Action name="AdversaryChangesLane">
<PrivateAction>
<LateralAction>
<LaneChangeAction>
<LaneChangeActionDynamics dynamicsShape="linear" value="25" dynamicsDimension="distance"/>
<LaneChangeTarget>
<RelativeTargetLane entityRef="adversary" value="-1"/>
</LaneChangeTarget>
</LaneChangeAction>
</LateralAction>
</PrivateAction>
</Action>
<StartTrigger>
<ConditionGroup>
<Condition name="AfterAdversaryAccelerates" delay="0" conditionEdge="rising">
<ByValueCondition>
<StoryboardElementStateCondition storyboardElementType="action" storyboardElementRef="AdversaryAccelerates" state="completeState"/>
</ByValueCondition>
</Condition>
</ConditionGroup>
</StartTrigger>
</Event>
</Maneuver>
</ManeuverGroup>
<StartTrigger>
<ConditionGroup>
<Condition name="OverallStartCondition" delay="0" conditionEdge="rising">
<ByEntityCondition>
<TriggeringEntities triggeringEntitiesRule="any">
<EntityRef entityRef="hero"/>
</TriggeringEntities>
<EntityCondition>
<TraveledDistanceCondition value="1.0"/>
</EntityCondition>
</ByEntityCondition>
</Condition>
<Condition name="StartTime" delay="0" conditionEdge="rising">
<ByValueCondition>
<SimulationTimeCondition value="0" rule="equalTo"/>
</ByValueCondition>
</Condition>
</ConditionGroup>
</StartTrigger>
<StopTrigger>
<ConditionGroup>
<Condition name="EndCondition" delay="0" conditionEdge="rising">
<ByEntityCondition>
<TriggeringEntities triggeringEntitiesRule="any">
<EntityRef entityRef="hero"/>
</TriggeringEntities>
<EntityCondition>
<TraveledDistanceCondition value="200.0"/>
</EntityCondition>
</ByEntityCondition>
</Condition>
</ConditionGroup>
</StopTrigger>
</Act>
</Story>
<StopTrigger>
<ConditionGroup>
<Condition name="criteria_RunningStopTest" delay="0" conditionEdge="rising">
<ByValueCondition>
<ParameterCondition parameterRef="" value="" rule="lessThan"/>
</ByValueCondition>
</Condition>
<Condition name="criteria_RunningRedLightTest" delay="0" conditionEdge="rising">
<ByValueCondition>
<ParameterCondition parameterRef="" value="" rule="lessThan"/>
</ByValueCondition>
</Condition>
<Condition name="criteria_WrongLaneTest" delay="0" conditionEdge="rising">
<ByValueCondition>
<ParameterCondition parameterRef="" value="" rule="lessThan"/>
</ByValueCondition>
</Condition>
<Condition name="criteria_OnSidewalkTest" delay="0" conditionEdge="rising">
<ByValueCondition>
<ParameterCondition parameterRef="" value="" rule="lessThan"/>
</ByValueCondition>
</Condition>
<Condition name="criteria_KeepLaneTest" delay="0" conditionEdge="rising">
<ByValueCondition>
<ParameterCondition parameterRef="" value="" rule="lessThan"/>
</ByValueCondition>
</Condition>
<Condition name="criteria_CollisionTest" delay="0" conditionEdge="rising">
<ByValueCondition>
<ParameterCondition parameterRef="" value="" rule="lessThan"/>
</ByValueCondition>
</Condition>
<Condition name="criteria_DrivenDistanceTest" delay="0" conditionEdge="rising">
<ByValueCondition>
<ParameterCondition parameterRef="distance_success" value="100" rule="lessThan"/>
</ByValueCondition>
</Condition>
</ConditionGroup>
</StopTrigger>
</Storyboard>
</OpenSCENARIO>
``` |
i would like you to display remove pedestrian actor named pedestrian_w_transform_12059?
```
<?xml version="1.0" ?>
<OpenSCENARIO>
<FileHeader revMajor="1" revMinor="0" date="2020-03-24T12:00:00" description="CARLA:LaneChangeSimple" author=""/>
<ParameterDeclarations/>
<CatalogLocations/>
<RoadNetwork>
<LogicFile filepath="Town04"/>
<SceneGraphFile filepath=""/>
</RoadNetwork>
<Entities>
<ScenarioObject name="hero">
<Vehicle name="vehicle.tesla.model3" vehicleCategory="car">
<ParameterDeclarations/>
<Performance maxSpeed="69.444" maxAcceleration="200" maxDeceleration="10.0"/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2.1" length="4.5" height="1.8"/>
</BoundingBox>
<Axles>
<FrontAxle maxSteering="0.5" wheelDiameter="0.6" trackWidth="1.8" positionX="3.1" positionZ="0.3"/>
<RearAxle maxSteering="0.0" wheelDiameter="0.6" trackWidth="1.8" positionX="0.0" positionZ="0.3"/>
</Axles>
<Properties>
<Property name="type" value="ego_vehicle"/>
</Properties>
</Vehicle>
</ScenarioObject>
<ScenarioObject name="adversary">
<Vehicle name="vehicle.lincoln.mkz_2017" vehicleCategory="car">
<ParameterDeclarations/>
<Performance maxSpeed="69.444" maxAcceleration="200" maxDeceleration="10.0"/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2.1" length="4.5" height="1.8"/>
</BoundingBox>
<Axles>
<FrontAxle maxSteering="0.5" wheelDiameter="0.6" trackWidth="1.8" positionX="3.1" positionZ="0.3"/>
<RearAxle maxSteering="0.0" wheelDiameter="0.6" trackWidth="1.8" positionX="0.0" positionZ="0.3"/>
</Axles>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Vehicle>
</ScenarioObject>
<ScenarioObject name="standing">
<Vehicle name="vehicle.volkswagen.t2" vehicleCategory="car">
<ParameterDeclarations/>
<Performance maxSpeed="69.444" maxAcceleration="200" maxDeceleration="10.0"/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2.1" length="4.5" height="1.8"/>
</BoundingBox>
<Axles>
<FrontAxle maxSteering="0.5" wheelDiameter="0.6" trackWidth="1.8" positionX="3.1" positionZ="0.3"/>
<RearAxle maxSteering="0.0" wheelDiameter="0.6" 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_12042">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_close_to_adversary_12043">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_close_to_standing_12044">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_close_to_hero_12045">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_w_transform_12047">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_w_transform_12048">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_close_to_hero_12049">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_close_to_standing_12050">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_close_to_hero_12052">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_close_to_hero_12054">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_close_to_hero_12056">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_w_transform_12059">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_close_to_standing_12060">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_w_transform_12061">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
</Entities>
<Storyboard>
<Init>
<Actions>
<GlobalAction>
<EnvironmentAction>
<Environment name="Environment1">
<TimeOfDay animation="false" dateTime="2019-06-25T12:00:00"/>
<Weather cloudState="free">
<Sun intensity="0.85" azimuth="0" elevation="1.31"/>
<Fog visualRange="100000.0"/>
<Precipitation precipitationType="dry" intensity="0.0"/>
</Weather>
<RoadCondition frictionScaleFactor="1.0"/>
</Environment>
</EnvironmentAction>
</GlobalAction>
<Private entityRef="hero">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-9.4" y="-152.8" z="0.5" h="1.57079632679"/>
</Position>
</TeleportAction>
</PrivateAction>
<PrivateAction>
<ControllerAction>
<AssignControllerAction>
<Controller name="HeroAgent">
<Properties>
<Property name="module" value="external_control"/>
</Properties>
</Controller>
</AssignControllerAction>
<OverrideControllerValueAction>
<Throttle value="0" active="false"/>
<Brake value="0" active="false"/>
<Clutch value="0" active="false"/>
<ParkingBrake value="0" active="false"/>
<SteeringWheel value="0" active="false"/>
<Gear number="0" active="false"/>
</OverrideControllerValueAction>
</ControllerAction>
</PrivateAction>
</Private>
<Private entityRef="adversary">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-9.4" y="-71.0" z="0.5" h="1.57079632679"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="standing">
<PrivateAction>
<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_12042">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-16.11376953125" y="-157.87144470214844" z="0.0014286803780123591"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_close_to_adversary_12043">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-2.1103460788726807" y="-65.72465515136719" z="0.03381183370947838"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_close_to_standing_12044">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-5.796273708343506" y="22.847434997558594" z="0.0030852125491946936"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_close_to_hero_12045">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-14.26443099975586" y="-144.85658264160156" z="0.0014286803780123591"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_w_transform_12047">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="40.90994644165039" y="11.962778091430664" z="0.5"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_w_transform_12048">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="61.480018615722656" y="-65.07039642333984" z="0.5"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_close_to_hero_12049">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="1.988531231880188" y="-145.62013244628906" z="0.0014286803780123591"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_close_to_standing_12050">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-4.346388339996338" y="38.043670654296875" z="0.003055686829611659"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_close_to_hero_12052">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-18.81285858154297" y="-152.5988006591797" z="0.0014286803780123591"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_close_to_hero_12054">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-5.946720123291016" y="-148.5005340576172" z="0.0014286803780123591"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_close_to_hero_12056">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-14.558456420898438" y="-147.63861083984375" z="0.0014286803780123591"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_w_transform_12059">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-82.27315521240234" y="-0.7236582636833191" z="0.5"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_close_to_standing_12060">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="0.6363654732704163" y="36.86687469482422" z="0.003003616351634264"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_w_transform_12061">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-45.905670166015625" y="-44.50135803222656" z="0.5"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
</Actions>
</Init>
<Story name="MyStory">
<Act name="Behavior">
<ManeuverGroup maximumExecutionCount="1" name="ManeuverSequence">
<Actors selectTriggeringEntities="false">
<EntityRef entityRef="adversary"/>
</Actors>
<Maneuver name="LaneChangeSimpleManeuver">
<Event name="AdversaryAccelerates" priority="overwrite">
<Action name="AdversaryAccelerates">
<PrivateAction>
<LongitudinalAction>
<SpeedAction>
<SpeedActionDynamics dynamicsShape="step" value="50" dynamicsDimension="distance"/>
<SpeedActionTarget>
<AbsoluteTargetSpeed value="5.0"/>
</SpeedActionTarget>
</SpeedAction>
</LongitudinalAction>
</PrivateAction>
</Action>
<StartTrigger>
<ConditionGroup>
<Condition name="StartCondition" delay="0" conditionEdge="rising">
<ByEntityCondition>
<TriggeringEntities triggeringEntitiesRule="any">
<EntityRef entityRef="hero"/>
</TriggeringEntities>
<EntityCondition>
<RelativeDistanceCondition entityRef="adversary" relativeDistanceType="cartesianDistance" value="40.0" freespace="false" rule="lessThan"/>
</EntityCondition>
</ByEntityCondition>
</Condition>
</ConditionGroup>
</StartTrigger>
</Event>
<Event name="AdversaryChangesLane" priority="overwrite">
<Action name="AdversaryChangesLane">
<PrivateAction>
<LateralAction>
<LaneChangeAction>
<LaneChangeActionDynamics dynamicsShape="linear" value="25" dynamicsDimension="distance"/>
<LaneChangeTarget>
<RelativeTargetLane entityRef="adversary" value="-1"/>
</LaneChangeTarget>
</LaneChangeAction>
</LateralAction>
</PrivateAction>
</Action>
<StartTrigger>
<ConditionGroup>
<Condition name="AfterAdversaryAccelerates" delay="0" conditionEdge="rising">
<ByValueCondition>
<StoryboardElementStateCondition storyboardElementType="action" storyboardElementRef="AdversaryAccelerates" state="completeState"/>
</ByValueCondition>
</Condition>
</ConditionGroup>
</StartTrigger>
</Event>
</Maneuver>
</ManeuverGroup>
<StartTrigger>
<ConditionGroup>
<Condition name="OverallStartCondition" delay="0" conditionEdge="rising">
<ByEntityCondition>
<TriggeringEntities triggeringEntitiesRule="any">
<EntityRef entityRef="hero"/>
</TriggeringEntities>
<EntityCondition>
<TraveledDistanceCondition value="1.0"/>
</EntityCondition>
</ByEntityCondition>
</Condition>
<Condition name="StartTime" delay="0" conditionEdge="rising">
<ByValueCondition>
<SimulationTimeCondition value="0" rule="equalTo"/>
</ByValueCondition>
</Condition>
</ConditionGroup>
</StartTrigger>
<StopTrigger>
<ConditionGroup>
<Condition name="EndCondition" delay="0" conditionEdge="rising">
<ByEntityCondition>
<TriggeringEntities triggeringEntitiesRule="any">
<EntityRef entityRef="hero"/>
</TriggeringEntities>
<EntityCondition>
<TraveledDistanceCondition value="200.0"/>
</EntityCondition>
</ByEntityCondition>
</Condition>
</ConditionGroup>
</StopTrigger>
</Act>
</Story>
<StopTrigger>
<ConditionGroup>
<Condition name="criteria_RunningStopTest" delay="0" conditionEdge="rising">
<ByValueCondition>
<ParameterCondition parameterRef="" value="" rule="lessThan"/>
</ByValueCondition>
</Condition>
<Condition name="criteria_RunningRedLightTest" delay="0" conditionEdge="rising">
<ByValueCondition>
<ParameterCondition parameterRef="" value="" rule="lessThan"/>
</ByValueCondition>
</Condition>
<Condition name="criteria_WrongLaneTest" delay="0" conditionEdge="rising">
<ByValueCondition>
<ParameterCondition parameterRef="" value="" rule="lessThan"/>
</ByValueCondition>
</Condition>
<Condition name="criteria_OnSidewalkTest" delay="0" conditionEdge="rising">
<ByValueCondition>
<ParameterCondition parameterRef="" value="" rule="lessThan"/>
</ByValueCondition>
</Condition>
<Condition name="criteria_KeepLaneTest" delay="0" conditionEdge="rising">
<ByValueCondition>
<ParameterCondition parameterRef="" value="" rule="lessThan"/>
</ByValueCondition>
</Condition>
<Condition name="criteria_CollisionTest" delay="0" conditionEdge="rising">
<ByValueCondition>
<ParameterCondition parameterRef="" value="" rule="lessThan"/>
</ByValueCondition>
</Condition>
<Condition name="criteria_DrivenDistanceTest" delay="0" conditionEdge="rising">
<ByValueCondition>
<ParameterCondition parameterRef="distance_success" value="100" rule="lessThan"/>
</ByValueCondition>
</Condition>
</ConditionGroup>
</StopTrigger>
</Storyboard>
</OpenSCENARIO>
``` | Here is the result:
```
<?xml version="1.0" ?>
<OpenSCENARIO>
<FileHeader revMajor="1" revMinor="0" date="2020-03-24T12:00:00" description="CARLA:LaneChangeSimple" author=""/>
<ParameterDeclarations/>
<CatalogLocations/>
<RoadNetwork>
<LogicFile filepath="Town04"/>
<SceneGraphFile filepath=""/>
</RoadNetwork>
<Entities>
<ScenarioObject name="hero">
<Vehicle name="vehicle.tesla.model3" vehicleCategory="car">
<ParameterDeclarations/>
<Performance maxSpeed="69.444" maxAcceleration="200" maxDeceleration="10.0"/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2.1" length="4.5" height="1.8"/>
</BoundingBox>
<Axles>
<FrontAxle maxSteering="0.5" wheelDiameter="0.6" trackWidth="1.8" positionX="3.1" positionZ="0.3"/>
<RearAxle maxSteering="0.0" wheelDiameter="0.6" trackWidth="1.8" positionX="0.0" positionZ="0.3"/>
</Axles>
<Properties>
<Property name="type" value="ego_vehicle"/>
</Properties>
</Vehicle>
</ScenarioObject>
<ScenarioObject name="adversary">
<Vehicle name="vehicle.lincoln.mkz_2017" vehicleCategory="car">
<ParameterDeclarations/>
<Performance maxSpeed="69.444" maxAcceleration="200" maxDeceleration="10.0"/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2.1" length="4.5" height="1.8"/>
</BoundingBox>
<Axles>
<FrontAxle maxSteering="0.5" wheelDiameter="0.6" trackWidth="1.8" positionX="3.1" positionZ="0.3"/>
<RearAxle maxSteering="0.0" wheelDiameter="0.6" trackWidth="1.8" positionX="0.0" positionZ="0.3"/>
</Axles>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Vehicle>
</ScenarioObject>
<ScenarioObject name="standing">
<Vehicle name="vehicle.volkswagen.t2" vehicleCategory="car">
<ParameterDeclarations/>
<Performance maxSpeed="69.444" maxAcceleration="200" maxDeceleration="10.0"/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2.1" length="4.5" height="1.8"/>
</BoundingBox>
<Axles>
<FrontAxle maxSteering="0.5" wheelDiameter="0.6" trackWidth="1.8" positionX="3.1" positionZ="0.3"/>
<RearAxle maxSteering="0.0" wheelDiameter="0.6" 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_12042">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_close_to_adversary_12043">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_close_to_standing_12044">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_close_to_hero_12045">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_w_transform_12047">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_w_transform_12048">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_close_to_hero_12049">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_close_to_standing_12050">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_close_to_hero_12052">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_close_to_hero_12054">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_close_to_hero_12056">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_close_to_standing_12060">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_w_transform_12061">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
</Entities>
<Storyboard>
<Init>
<Actions>
<GlobalAction>
<EnvironmentAction>
<Environment name="Environment1">
<TimeOfDay animation="false" dateTime="2019-06-25T12:00:00"/>
<Weather cloudState="free">
<Sun intensity="0.85" azimuth="0" elevation="1.31"/>
<Fog visualRange="100000.0"/>
<Precipitation precipitationType="dry" intensity="0.0"/>
</Weather>
<RoadCondition frictionScaleFactor="1.0"/>
</Environment>
</EnvironmentAction>
</GlobalAction>
<Private entityRef="hero">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-9.4" y="-152.8" z="0.5" h="1.57079632679"/>
</Position>
</TeleportAction>
</PrivateAction>
<PrivateAction>
<ControllerAction>
<AssignControllerAction>
<Controller name="HeroAgent">
<Properties>
<Property name="module" value="external_control"/>
</Properties>
</Controller>
</AssignControllerAction>
<OverrideControllerValueAction>
<Throttle value="0" active="false"/>
<Brake value="0" active="false"/>
<Clutch value="0" active="false"/>
<ParkingBrake value="0" active="false"/>
<SteeringWheel value="0" active="false"/>
<Gear number="0" active="false"/>
</OverrideControllerValueAction>
</ControllerAction>
</PrivateAction>
</Private>
<Private entityRef="adversary">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-9.4" y="-71.0" z="0.5" h="1.57079632679"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="standing">
<PrivateAction>
<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_12042">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-16.11376953125" y="-157.87144470214844" z="0.0014286803780123591"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_close_to_adversary_12043">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-2.1103460788726807" y="-65.72465515136719" z="0.03381183370947838"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_close_to_standing_12044">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-5.796273708343506" y="22.847434997558594" z="0.0030852125491946936"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_close_to_hero_12045">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-14.26443099975586" y="-144.85658264160156" z="0.0014286803780123591"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_w_transform_12047">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="40.90994644165039" y="11.962778091430664" z="0.5"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_w_transform_12048">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="61.480018615722656" y="-65.07039642333984" z="0.5"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_close_to_hero_12049">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="1.988531231880188" y="-145.62013244628906" z="0.0014286803780123591"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_close_to_standing_12050">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-4.346388339996338" y="38.043670654296875" z="0.003055686829611659"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_close_to_hero_12052">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-18.81285858154297" y="-152.5988006591797" z="0.0014286803780123591"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_close_to_hero_12054">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-5.946720123291016" y="-148.5005340576172" z="0.0014286803780123591"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_close_to_hero_12056">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-14.558456420898438" y="-147.63861083984375" z="0.0014286803780123591"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_close_to_standing_12060">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="0.6363654732704163" y="36.86687469482422" z="0.003003616351634264"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_w_transform_12061">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-45.905670166015625" y="-44.50135803222656" z="0.5"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
</Actions>
</Init>
<Story name="MyStory">
<Act name="Behavior">
<ManeuverGroup maximumExecutionCount="1" name="ManeuverSequence">
<Actors selectTriggeringEntities="false">
<EntityRef entityRef="adversary"/>
</Actors>
<Maneuver name="LaneChangeSimpleManeuver">
<Event name="AdversaryAccelerates" priority="overwrite">
<Action name="AdversaryAccelerates">
<PrivateAction>
<LongitudinalAction>
<SpeedAction>
<SpeedActionDynamics dynamicsShape="step" value="50" dynamicsDimension="distance"/>
<SpeedActionTarget>
<AbsoluteTargetSpeed value="5.0"/>
</SpeedActionTarget>
</SpeedAction>
</LongitudinalAction>
</PrivateAction>
</Action>
<StartTrigger>
<ConditionGroup>
<Condition name="StartCondition" delay="0" conditionEdge="rising">
<ByEntityCondition>
<TriggeringEntities triggeringEntitiesRule="any">
<EntityRef entityRef="hero"/>
</TriggeringEntities>
<EntityCondition>
<RelativeDistanceCondition entityRef="adversary" relativeDistanceType="cartesianDistance" value="40.0" freespace="false" rule="lessThan"/>
</EntityCondition>
</ByEntityCondition>
</Condition>
</ConditionGroup>
</StartTrigger>
</Event>
<Event name="AdversaryChangesLane" priority="overwrite">
<Action name="AdversaryChangesLane">
<PrivateAction>
<LateralAction>
<LaneChangeAction>
<LaneChangeActionDynamics dynamicsShape="linear" value="25" dynamicsDimension="distance"/>
<LaneChangeTarget>
<RelativeTargetLane entityRef="adversary" value="-1"/>
</LaneChangeTarget>
</LaneChangeAction>
</LateralAction>
</PrivateAction>
</Action>
<StartTrigger>
<ConditionGroup>
<Condition name="AfterAdversaryAccelerates" delay="0" conditionEdge="rising">
<ByValueCondition>
<StoryboardElementStateCondition storyboardElementType="action" storyboardElementRef="AdversaryAccelerates" state="completeState"/>
</ByValueCondition>
</Condition>
</ConditionGroup>
</StartTrigger>
</Event>
</Maneuver>
</ManeuverGroup>
<StartTrigger>
<ConditionGroup>
<Condition name="OverallStartCondition" delay="0" conditionEdge="rising">
<ByEntityCondition>
<TriggeringEntities triggeringEntitiesRule="any">
<EntityRef entityRef="hero"/>
</TriggeringEntities>
<EntityCondition>
<TraveledDistanceCondition value="1.0"/>
</EntityCondition>
</ByEntityCondition>
</Condition>
<Condition name="StartTime" delay="0" conditionEdge="rising">
<ByValueCondition>
<SimulationTimeCondition value="0" rule="equalTo"/>
</ByValueCondition>
</Condition>
</ConditionGroup>
</StartTrigger>
<StopTrigger>
<ConditionGroup>
<Condition name="EndCondition" delay="0" conditionEdge="rising">
<ByEntityCondition>
<TriggeringEntities triggeringEntitiesRule="any">
<EntityRef entityRef="hero"/>
</TriggeringEntities>
<EntityCondition>
<TraveledDistanceCondition value="200.0"/>
</EntityCondition>
</ByEntityCondition>
</Condition>
</ConditionGroup>
</StopTrigger>
</Act>
</Story>
<StopTrigger>
<ConditionGroup>
<Condition name="criteria_RunningStopTest" delay="0" conditionEdge="rising">
<ByValueCondition>
<ParameterCondition parameterRef="" value="" rule="lessThan"/>
</ByValueCondition>
</Condition>
<Condition name="criteria_RunningRedLightTest" delay="0" conditionEdge="rising">
<ByValueCondition>
<ParameterCondition parameterRef="" value="" rule="lessThan"/>
</ByValueCondition>
</Condition>
<Condition name="criteria_WrongLaneTest" delay="0" conditionEdge="rising">
<ByValueCondition>
<ParameterCondition parameterRef="" value="" rule="lessThan"/>
</ByValueCondition>
</Condition>
<Condition name="criteria_OnSidewalkTest" delay="0" conditionEdge="rising">
<ByValueCondition>
<ParameterCondition parameterRef="" value="" rule="lessThan"/>
</ByValueCondition>
</Condition>
<Condition name="criteria_KeepLaneTest" delay="0" conditionEdge="rising">
<ByValueCondition>
<ParameterCondition parameterRef="" value="" rule="lessThan"/>
</ByValueCondition>
</Condition>
<Condition name="criteria_CollisionTest" delay="0" conditionEdge="rising">
<ByValueCondition>
<ParameterCondition parameterRef="" value="" rule="lessThan"/>
</ByValueCondition>
</Condition>
<Condition name="criteria_DrivenDistanceTest" delay="0" conditionEdge="rising">
<ByValueCondition>
<ParameterCondition parameterRef="distance_success" value="100" rule="lessThan"/>
</ByValueCondition>
</Condition>
</ConditionGroup>
</StopTrigger>
</Storyboard>
</OpenSCENARIO>
``` |
i need you to remove pedestrian close to 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_24532">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_close_to_standing_24533">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_close_to_adversary_24534">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_w_transform_24535">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_close_to_adversary_24536">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_close_to_hero_24537">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_close_to_hero_24538">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_w_transform_24539">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_close_to_hero_24540">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_close_to_standing_24541">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_w_transform_24543">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_w_transform_24546">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_close_to_hero_24547">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_close_to_adversary_24548">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_close_to_hero_24549">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
</Entities>
<Storyboard>
<Init>
<Actions>
<GlobalAction>
<EnvironmentAction>
<Environment name="Environment1">
<TimeOfDay animation="false" dateTime="2019-06-25T12:00:00"/>
<Weather cloudState="free">
<Sun intensity="0.85" azimuth="0" elevation="1.31"/>
<Fog visualRange="100000.0"/>
<Precipitation precipitationType="dry" intensity="0.0"/>
</Weather>
<RoadCondition frictionScaleFactor="1.0"/>
</Environment>
</EnvironmentAction>
</GlobalAction>
<Private entityRef="hero">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-9.4" y="-152.8" z="0.5" h="1.57079632679"/>
</Position>
</TeleportAction>
</PrivateAction>
<PrivateAction>
<ControllerAction>
<AssignControllerAction>
<Controller name="HeroAgent">
<Properties>
<Property name="module" value="external_control"/>
</Properties>
</Controller>
</AssignControllerAction>
<OverrideControllerValueAction>
<Throttle value="0" active="false"/>
<Brake value="0" active="false"/>
<Clutch value="0" active="false"/>
<ParkingBrake value="0" active="false"/>
<SteeringWheel value="0" active="false"/>
<Gear number="0" active="false"/>
</OverrideControllerValueAction>
</ControllerAction>
</PrivateAction>
</Private>
<Private entityRef="adversary">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-9.4" y="-71.0" z="0.5" h="1.57079632679"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="standing">
<PrivateAction>
<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_24532">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-5.552370548248291" y="-71.93125915527344" z="0.03379184752702713"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_close_to_standing_24533">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-12.458139419555664" y="21.483552932739258" z="0.003057784866541624"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_close_to_adversary_24534">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="4.8818206787109375" y="-62.438209533691406" z="0.0338057316839695"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_w_transform_24535">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-30.631576538085938" y="17.058963775634766" z="0.5"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_close_to_adversary_24536">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-16.480487823486328" y="-80.0225830078125" z="0.03379382938146591"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_close_to_hero_24537">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-10.017240524291992" y="-157.06155395507812" z="0.0014286803780123591"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_close_to_hero_24538">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-14.16549301147461" y="-151.5673370361328" z="0.0014286803780123591"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_w_transform_24539">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="95.16203308105469" y="-85.48065948486328" z="0.5"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_close_to_hero_24540">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-9.06181812286377" y="-156.62733459472656" z="0.0014286803780123591"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_close_to_standing_24541">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-9.908958435058594" y="22.096784591674805" z="0.003114891005679965"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_w_transform_24543">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-16.254743576049805" y="-96.78816986083984" z="0.5"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_w_transform_24546">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-22.588062286376953" y="79.59503936767578" z="0.5"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_close_to_hero_24547">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-13.474165916442871" y="-154.42677307128906" z="0.0014286803780123591"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_close_to_adversary_24548">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-19.0859375" y="-65.2992172241211" z="0.03379222750663757"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_close_to_hero_24549">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-1.563932180404663" y="-143.42420959472656" 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_24533">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_close_to_adversary_24534">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_w_transform_24535">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_close_to_adversary_24536">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_close_to_hero_24537">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_close_to_hero_24538">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_w_transform_24539">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_close_to_hero_24540">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_close_to_standing_24541">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_w_transform_24543">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_w_transform_24546">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_close_to_hero_24547">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_close_to_adversary_24548">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_close_to_hero_24549">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
</Entities>
<Storyboard>
<Init>
<Actions>
<GlobalAction>
<EnvironmentAction>
<Environment name="Environment1">
<TimeOfDay animation="false" dateTime="2019-06-25T12:00:00"/>
<Weather cloudState="free">
<Sun intensity="0.85" azimuth="0" elevation="1.31"/>
<Fog visualRange="100000.0"/>
<Precipitation precipitationType="dry" intensity="0.0"/>
</Weather>
<RoadCondition frictionScaleFactor="1.0"/>
</Environment>
</EnvironmentAction>
</GlobalAction>
<Private entityRef="hero">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-9.4" y="-152.8" z="0.5" h="1.57079632679"/>
</Position>
</TeleportAction>
</PrivateAction>
<PrivateAction>
<ControllerAction>
<AssignControllerAction>
<Controller name="HeroAgent">
<Properties>
<Property name="module" value="external_control"/>
</Properties>
</Controller>
</AssignControllerAction>
<OverrideControllerValueAction>
<Throttle value="0" active="false"/>
<Brake value="0" active="false"/>
<Clutch value="0" active="false"/>
<ParkingBrake value="0" active="false"/>
<SteeringWheel value="0" active="false"/>
<Gear number="0" active="false"/>
</OverrideControllerValueAction>
</ControllerAction>
</PrivateAction>
</Private>
<Private entityRef="adversary">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-9.4" y="-71.0" z="0.5" h="1.57079632679"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="standing">
<PrivateAction>
<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_24533">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-12.458139419555664" y="21.483552932739258" z="0.003057784866541624"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_close_to_adversary_24534">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="4.8818206787109375" y="-62.438209533691406" z="0.0338057316839695"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_w_transform_24535">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-30.631576538085938" y="17.058963775634766" z="0.5"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_close_to_adversary_24536">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-16.480487823486328" y="-80.0225830078125" z="0.03379382938146591"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_close_to_hero_24537">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-10.017240524291992" y="-157.06155395507812" z="0.0014286803780123591"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_close_to_hero_24538">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-14.16549301147461" y="-151.5673370361328" z="0.0014286803780123591"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_w_transform_24539">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="95.16203308105469" y="-85.48065948486328" z="0.5"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_close_to_hero_24540">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-9.06181812286377" y="-156.62733459472656" z="0.0014286803780123591"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_close_to_standing_24541">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-9.908958435058594" y="22.096784591674805" z="0.003114891005679965"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_w_transform_24543">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-16.254743576049805" y="-96.78816986083984" z="0.5"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_w_transform_24546">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-22.588062286376953" y="79.59503936767578" z="0.5"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_close_to_hero_24547">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-13.474165916442871" y="-154.42677307128906" z="0.0014286803780123591"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_close_to_adversary_24548">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-19.0859375" y="-65.2992172241211" z="0.03379222750663757"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_close_to_hero_24549">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-1.563932180404663" y="-143.42420959472656" 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 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_2920">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_w_transform_2922">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_close_to_adversary_2923">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_w_transform_2924">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_w_transform_2925">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_close_to_adversary_2927">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_close_to_standing_2928">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_close_to_hero_2929">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_w_transform_2930">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_close_to_standing_2931">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_w_transform_2932">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_close_to_hero_2933">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_w_transform_2934">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_close_to_hero_2935">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_close_to_adversary_2937">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_close_to_standing_2938">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_close_to_hero_2940">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_close_to_standing_2943">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
</Entities>
<Storyboard>
<Init>
<Actions>
<GlobalAction>
<EnvironmentAction>
<Environment name="Environment1">
<TimeOfDay animation="false" dateTime="2019-06-25T12:00:00"/>
<Weather cloudState="free">
<Sun intensity="0.85" azimuth="0" elevation="1.31"/>
<Fog visualRange="100000.0"/>
<Precipitation precipitationType="dry" intensity="0.0"/>
</Weather>
<RoadCondition frictionScaleFactor="1.0"/>
</Environment>
</EnvironmentAction>
</GlobalAction>
<Private entityRef="hero">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-9.4" y="-152.8" z="0.5" h="1.57079632679"/>
</Position>
</TeleportAction>
</PrivateAction>
<PrivateAction>
<ControllerAction>
<AssignControllerAction>
<Controller name="HeroAgent">
<Properties>
<Property name="module" value="external_control"/>
</Properties>
</Controller>
</AssignControllerAction>
<OverrideControllerValueAction>
<Throttle value="0" active="false"/>
<Brake value="0" active="false"/>
<Clutch value="0" active="false"/>
<ParkingBrake value="0" active="false"/>
<SteeringWheel value="0" active="false"/>
<Gear number="0" active="false"/>
</OverrideControllerValueAction>
</ControllerAction>
</PrivateAction>
</Private>
<Private entityRef="adversary">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-9.4" y="-71.0" z="0.5" h="1.57079632679"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="standing">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-8.2" y="29.2" z="0.5" h="1.57079632679"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_close_to_adversary_2920">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-4.813758850097656" y="-70.54711151123047" z="0.03383602201938629"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_w_transform_2922">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-2.6751482486724854" y="66.56273651123047" z="0.5"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_close_to_adversary_2923">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-6.642816066741943" y="-65.53434753417969" z="0.033819884061813354"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_w_transform_2924">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="25.489906311035156" y="-19.627689361572266" z="0.5"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_w_transform_2925">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-94.83949279785156" y="-84.39360046386719" z="0.5"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_close_to_adversary_2927">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-16.762676239013672" y="-77.61457824707031" z="0.03381210193037987"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_close_to_standing_2928">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="1.0648047924041748" y="33.05671691894531" z="0.0030604933854192495"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_close_to_hero_2929">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-1.9898229837417603" y="-161.3629150390625" z="0.0014286803780123591"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_w_transform_2930">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-94.4214096069336" y="-75.22297668457031" z="0.5"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_close_to_standing_2931">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-4.750020980834961" y="36.39348220825195" z="0.0030406187288463116"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_w_transform_2932">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-97.98226928710938" y="-49.163326263427734" z="0.5"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_close_to_hero_2933">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-14.995834350585938" y="-171.61492919921875" z="0.0014286803780123591"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_w_transform_2934">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-46.77202606201172" y="-19.222822189331055" z="0.5"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_close_to_hero_2935">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-18.705610275268555" y="-147.83935546875" z="0.0014286803780123591"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_close_to_adversary_2937">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-5.704074859619141" y="-74.52523040771484" z="0.033817749470472336"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_close_to_standing_2938">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-12.405303955078125" y="37.19302749633789" z="0.0031256102956831455"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_close_to_hero_2940">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-2.049483060836792" y="-145.3531036376953" z="0.0014286803780123591"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_close_to_standing_2943">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-12.197725296020508" y="46.05961227416992" z="0.003088989295065403"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
</Actions>
</Init>
<Story name="MyStory">
<Act name="Behavior">
<ManeuverGroup maximumExecutionCount="1" name="ManeuverSequence">
<Actors selectTriggeringEntities="false">
<EntityRef entityRef="adversary"/>
</Actors>
<Maneuver name="LaneChangeSimpleManeuver">
<Event name="AdversaryAccelerates" priority="overwrite">
<Action name="AdversaryAccelerates">
<PrivateAction>
<LongitudinalAction>
<SpeedAction>
<SpeedActionDynamics dynamicsShape="step" value="50" dynamicsDimension="distance"/>
<SpeedActionTarget>
<AbsoluteTargetSpeed value="5.0"/>
</SpeedActionTarget>
</SpeedAction>
</LongitudinalAction>
</PrivateAction>
</Action>
<StartTrigger>
<ConditionGroup>
<Condition name="StartCondition" delay="0" conditionEdge="rising">
<ByEntityCondition>
<TriggeringEntities triggeringEntitiesRule="any">
<EntityRef entityRef="hero"/>
</TriggeringEntities>
<EntityCondition>
<RelativeDistanceCondition entityRef="adversary" relativeDistanceType="cartesianDistance" value="40.0" freespace="false" rule="lessThan"/>
</EntityCondition>
</ByEntityCondition>
</Condition>
</ConditionGroup>
</StartTrigger>
</Event>
<Event name="AdversaryChangesLane" priority="overwrite">
<Action name="AdversaryChangesLane">
<PrivateAction>
<LateralAction>
<LaneChangeAction>
<LaneChangeActionDynamics dynamicsShape="linear" value="25" dynamicsDimension="distance"/>
<LaneChangeTarget>
<RelativeTargetLane entityRef="adversary" value="-1"/>
</LaneChangeTarget>
</LaneChangeAction>
</LateralAction>
</PrivateAction>
</Action>
<StartTrigger>
<ConditionGroup>
<Condition name="AfterAdversaryAccelerates" delay="0" conditionEdge="rising">
<ByValueCondition>
<StoryboardElementStateCondition storyboardElementType="action" storyboardElementRef="AdversaryAccelerates" state="completeState"/>
</ByValueCondition>
</Condition>
</ConditionGroup>
</StartTrigger>
</Event>
</Maneuver>
</ManeuverGroup>
<StartTrigger>
<ConditionGroup>
<Condition name="OverallStartCondition" delay="0" conditionEdge="rising">
<ByEntityCondition>
<TriggeringEntities triggeringEntitiesRule="any">
<EntityRef entityRef="hero"/>
</TriggeringEntities>
<EntityCondition>
<TraveledDistanceCondition value="1.0"/>
</EntityCondition>
</ByEntityCondition>
</Condition>
<Condition name="StartTime" delay="0" conditionEdge="rising">
<ByValueCondition>
<SimulationTimeCondition value="0" rule="equalTo"/>
</ByValueCondition>
</Condition>
</ConditionGroup>
</StartTrigger>
<StopTrigger>
<ConditionGroup>
<Condition name="EndCondition" delay="0" conditionEdge="rising">
<ByEntityCondition>
<TriggeringEntities triggeringEntitiesRule="any">
<EntityRef entityRef="hero"/>
</TriggeringEntities>
<EntityCondition>
<TraveledDistanceCondition value="200.0"/>
</EntityCondition>
</ByEntityCondition>
</Condition>
</ConditionGroup>
</StopTrigger>
</Act>
</Story>
<StopTrigger>
<ConditionGroup>
<Condition name="criteria_RunningStopTest" delay="0" conditionEdge="rising">
<ByValueCondition>
<ParameterCondition parameterRef="" value="" rule="lessThan"/>
</ByValueCondition>
</Condition>
<Condition name="criteria_RunningRedLightTest" delay="0" conditionEdge="rising">
<ByValueCondition>
<ParameterCondition parameterRef="" value="" rule="lessThan"/>
</ByValueCondition>
</Condition>
<Condition name="criteria_WrongLaneTest" delay="0" conditionEdge="rising">
<ByValueCondition>
<ParameterCondition parameterRef="" value="" rule="lessThan"/>
</ByValueCondition>
</Condition>
<Condition name="criteria_OnSidewalkTest" delay="0" conditionEdge="rising">
<ByValueCondition>
<ParameterCondition parameterRef="" value="" rule="lessThan"/>
</ByValueCondition>
</Condition>
<Condition name="criteria_KeepLaneTest" delay="0" conditionEdge="rising">
<ByValueCondition>
<ParameterCondition parameterRef="" value="" rule="lessThan"/>
</ByValueCondition>
</Condition>
<Condition name="criteria_CollisionTest" delay="0" conditionEdge="rising">
<ByValueCondition>
<ParameterCondition parameterRef="" value="" rule="lessThan"/>
</ByValueCondition>
</Condition>
<Condition name="criteria_DrivenDistanceTest" delay="0" conditionEdge="rising">
<ByValueCondition>
<ParameterCondition parameterRef="distance_success" value="100" rule="lessThan"/>
</ByValueCondition>
</Condition>
</ConditionGroup>
</StopTrigger>
</Storyboard>
</OpenSCENARIO>
``` | Here is the result:
```
<?xml version="1.0" ?>
<OpenSCENARIO>
<FileHeader revMajor="1" revMinor="0" date="2020-03-24T12:00:00" description="CARLA:LaneChangeSimple" author=""/>
<ParameterDeclarations/>
<CatalogLocations/>
<RoadNetwork>
<LogicFile filepath="Town04"/>
<SceneGraphFile filepath=""/>
</RoadNetwork>
<Entities>
<ScenarioObject name="hero">
<Vehicle name="vehicle.tesla.model3" vehicleCategory="car">
<ParameterDeclarations/>
<Performance maxSpeed="69.444" maxAcceleration="200" maxDeceleration="10.0"/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2.1" length="4.5" height="1.8"/>
</BoundingBox>
<Axles>
<FrontAxle maxSteering="0.5" wheelDiameter="0.6" trackWidth="1.8" positionX="3.1" positionZ="0.3"/>
<RearAxle maxSteering="0.0" wheelDiameter="0.6" trackWidth="1.8" positionX="0.0" positionZ="0.3"/>
</Axles>
<Properties>
<Property name="type" value="ego_vehicle"/>
</Properties>
</Vehicle>
</ScenarioObject>
<ScenarioObject name="adversary">
<Vehicle name="vehicle.lincoln.mkz_2017" vehicleCategory="car">
<ParameterDeclarations/>
<Performance maxSpeed="69.444" maxAcceleration="200" maxDeceleration="10.0"/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2.1" length="4.5" height="1.8"/>
</BoundingBox>
<Axles>
<FrontAxle maxSteering="0.5" wheelDiameter="0.6" trackWidth="1.8" positionX="3.1" positionZ="0.3"/>
<RearAxle maxSteering="0.0" wheelDiameter="0.6" trackWidth="1.8" positionX="0.0" positionZ="0.3"/>
</Axles>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Vehicle>
</ScenarioObject>
<ScenarioObject name="standing">
<Vehicle name="vehicle.volkswagen.t2" vehicleCategory="car">
<ParameterDeclarations/>
<Performance maxSpeed="69.444" maxAcceleration="200" maxDeceleration="10.0"/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2.1" length="4.5" height="1.8"/>
</BoundingBox>
<Axles>
<FrontAxle maxSteering="0.5" wheelDiameter="0.6" trackWidth="1.8" positionX="3.1" positionZ="0.3"/>
<RearAxle maxSteering="0.0" wheelDiameter="0.6" trackWidth="1.8" positionX="0.0" positionZ="0.3"/>
</Axles>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Vehicle>
</ScenarioObject>
<ScenarioObject name="pedestrian_close_to_adversary_2920">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_w_transform_2922">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_close_to_adversary_2923">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_w_transform_2924">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_w_transform_2925">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_close_to_adversary_2927">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_close_to_standing_2928">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_close_to_hero_2929">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_w_transform_2930">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_close_to_standing_2931">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_w_transform_2932">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_close_to_hero_2933">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_w_transform_2934">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_close_to_hero_2935">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_close_to_standing_2938">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_close_to_hero_2940">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_close_to_standing_2943">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
</Entities>
<Storyboard>
<Init>
<Actions>
<GlobalAction>
<EnvironmentAction>
<Environment name="Environment1">
<TimeOfDay animation="false" dateTime="2019-06-25T12:00:00"/>
<Weather cloudState="free">
<Sun intensity="0.85" azimuth="0" elevation="1.31"/>
<Fog visualRange="100000.0"/>
<Precipitation precipitationType="dry" intensity="0.0"/>
</Weather>
<RoadCondition frictionScaleFactor="1.0"/>
</Environment>
</EnvironmentAction>
</GlobalAction>
<Private entityRef="hero">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-9.4" y="-152.8" z="0.5" h="1.57079632679"/>
</Position>
</TeleportAction>
</PrivateAction>
<PrivateAction>
<ControllerAction>
<AssignControllerAction>
<Controller name="HeroAgent">
<Properties>
<Property name="module" value="external_control"/>
</Properties>
</Controller>
</AssignControllerAction>
<OverrideControllerValueAction>
<Throttle value="0" active="false"/>
<Brake value="0" active="false"/>
<Clutch value="0" active="false"/>
<ParkingBrake value="0" active="false"/>
<SteeringWheel value="0" active="false"/>
<Gear number="0" active="false"/>
</OverrideControllerValueAction>
</ControllerAction>
</PrivateAction>
</Private>
<Private entityRef="adversary">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-9.4" y="-71.0" z="0.5" h="1.57079632679"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="standing">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-8.2" y="29.2" z="0.5" h="1.57079632679"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_close_to_adversary_2920">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-4.813758850097656" y="-70.54711151123047" z="0.03383602201938629"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_w_transform_2922">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-2.6751482486724854" y="66.56273651123047" z="0.5"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_close_to_adversary_2923">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-6.642816066741943" y="-65.53434753417969" z="0.033819884061813354"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_w_transform_2924">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="25.489906311035156" y="-19.627689361572266" z="0.5"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_w_transform_2925">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-94.83949279785156" y="-84.39360046386719" z="0.5"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_close_to_adversary_2927">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-16.762676239013672" y="-77.61457824707031" z="0.03381210193037987"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_close_to_standing_2928">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="1.0648047924041748" y="33.05671691894531" z="0.0030604933854192495"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_close_to_hero_2929">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-1.9898229837417603" y="-161.3629150390625" z="0.0014286803780123591"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_w_transform_2930">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-94.4214096069336" y="-75.22297668457031" z="0.5"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_close_to_standing_2931">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-4.750020980834961" y="36.39348220825195" z="0.0030406187288463116"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_w_transform_2932">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-97.98226928710938" y="-49.163326263427734" z="0.5"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_close_to_hero_2933">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-14.995834350585938" y="-171.61492919921875" z="0.0014286803780123591"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_w_transform_2934">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-46.77202606201172" y="-19.222822189331055" z="0.5"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_close_to_hero_2935">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-18.705610275268555" y="-147.83935546875" z="0.0014286803780123591"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_close_to_standing_2938">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-12.405303955078125" y="37.19302749633789" z="0.0031256102956831455"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_close_to_hero_2940">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-2.049483060836792" y="-145.3531036376953" z="0.0014286803780123591"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_close_to_standing_2943">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-12.197725296020508" y="46.05961227416992" z="0.003088989295065403"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
</Actions>
</Init>
<Story name="MyStory">
<Act name="Behavior">
<ManeuverGroup maximumExecutionCount="1" name="ManeuverSequence">
<Actors selectTriggeringEntities="false">
<EntityRef entityRef="adversary"/>
</Actors>
<Maneuver name="LaneChangeSimpleManeuver">
<Event name="AdversaryAccelerates" priority="overwrite">
<Action name="AdversaryAccelerates">
<PrivateAction>
<LongitudinalAction>
<SpeedAction>
<SpeedActionDynamics dynamicsShape="step" value="50" dynamicsDimension="distance"/>
<SpeedActionTarget>
<AbsoluteTargetSpeed value="5.0"/>
</SpeedActionTarget>
</SpeedAction>
</LongitudinalAction>
</PrivateAction>
</Action>
<StartTrigger>
<ConditionGroup>
<Condition name="StartCondition" delay="0" conditionEdge="rising">
<ByEntityCondition>
<TriggeringEntities triggeringEntitiesRule="any">
<EntityRef entityRef="hero"/>
</TriggeringEntities>
<EntityCondition>
<RelativeDistanceCondition entityRef="adversary" relativeDistanceType="cartesianDistance" value="40.0" freespace="false" rule="lessThan"/>
</EntityCondition>
</ByEntityCondition>
</Condition>
</ConditionGroup>
</StartTrigger>
</Event>
<Event name="AdversaryChangesLane" priority="overwrite">
<Action name="AdversaryChangesLane">
<PrivateAction>
<LateralAction>
<LaneChangeAction>
<LaneChangeActionDynamics dynamicsShape="linear" value="25" dynamicsDimension="distance"/>
<LaneChangeTarget>
<RelativeTargetLane entityRef="adversary" value="-1"/>
</LaneChangeTarget>
</LaneChangeAction>
</LateralAction>
</PrivateAction>
</Action>
<StartTrigger>
<ConditionGroup>
<Condition name="AfterAdversaryAccelerates" delay="0" conditionEdge="rising">
<ByValueCondition>
<StoryboardElementStateCondition storyboardElementType="action" storyboardElementRef="AdversaryAccelerates" state="completeState"/>
</ByValueCondition>
</Condition>
</ConditionGroup>
</StartTrigger>
</Event>
</Maneuver>
</ManeuverGroup>
<StartTrigger>
<ConditionGroup>
<Condition name="OverallStartCondition" delay="0" conditionEdge="rising">
<ByEntityCondition>
<TriggeringEntities triggeringEntitiesRule="any">
<EntityRef entityRef="hero"/>
</TriggeringEntities>
<EntityCondition>
<TraveledDistanceCondition value="1.0"/>
</EntityCondition>
</ByEntityCondition>
</Condition>
<Condition name="StartTime" delay="0" conditionEdge="rising">
<ByValueCondition>
<SimulationTimeCondition value="0" rule="equalTo"/>
</ByValueCondition>
</Condition>
</ConditionGroup>
</StartTrigger>
<StopTrigger>
<ConditionGroup>
<Condition name="EndCondition" delay="0" conditionEdge="rising">
<ByEntityCondition>
<TriggeringEntities triggeringEntitiesRule="any">
<EntityRef entityRef="hero"/>
</TriggeringEntities>
<EntityCondition>
<TraveledDistanceCondition value="200.0"/>
</EntityCondition>
</ByEntityCondition>
</Condition>
</ConditionGroup>
</StopTrigger>
</Act>
</Story>
<StopTrigger>
<ConditionGroup>
<Condition name="criteria_RunningStopTest" delay="0" conditionEdge="rising">
<ByValueCondition>
<ParameterCondition parameterRef="" value="" rule="lessThan"/>
</ByValueCondition>
</Condition>
<Condition name="criteria_RunningRedLightTest" delay="0" conditionEdge="rising">
<ByValueCondition>
<ParameterCondition parameterRef="" value="" rule="lessThan"/>
</ByValueCondition>
</Condition>
<Condition name="criteria_WrongLaneTest" delay="0" conditionEdge="rising">
<ByValueCondition>
<ParameterCondition parameterRef="" value="" rule="lessThan"/>
</ByValueCondition>
</Condition>
<Condition name="criteria_OnSidewalkTest" delay="0" conditionEdge="rising">
<ByValueCondition>
<ParameterCondition parameterRef="" value="" rule="lessThan"/>
</ByValueCondition>
</Condition>
<Condition name="criteria_KeepLaneTest" delay="0" conditionEdge="rising">
<ByValueCondition>
<ParameterCondition parameterRef="" value="" rule="lessThan"/>
</ByValueCondition>
</Condition>
<Condition name="criteria_CollisionTest" delay="0" conditionEdge="rising">
<ByValueCondition>
<ParameterCondition parameterRef="" value="" rule="lessThan"/>
</ByValueCondition>
</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 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_20244">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_w_transform_20245">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_w_transform_20246">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_w_transform_20247">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_w_transform_20248">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_w_transform_20249">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_w_transform_20250">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_w_transform_20251">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_w_transform_20252">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_close_to_adversary_20253">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_close_to_adversary_20254">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
</Entities>
<Storyboard>
<Init>
<Actions>
<GlobalAction>
<EnvironmentAction>
<Environment name="Environment1">
<TimeOfDay animation="false" dateTime="2019-06-25T12:00:00"/>
<Weather cloudState="free">
<Sun intensity="0.85" azimuth="0" elevation="1.31"/>
<Fog visualRange="100000.0"/>
<Precipitation precipitationType="dry" intensity="0.0"/>
</Weather>
<RoadCondition frictionScaleFactor="1.0"/>
</Environment>
</EnvironmentAction>
</GlobalAction>
<Private entityRef="hero">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-9.4" y="-152.8" z="0.5" h="1.57079632679"/>
</Position>
</TeleportAction>
</PrivateAction>
<PrivateAction>
<ControllerAction>
<AssignControllerAction>
<Controller name="HeroAgent">
<Properties>
<Property name="module" value="external_control"/>
</Properties>
</Controller>
</AssignControllerAction>
<OverrideControllerValueAction>
<Throttle value="0" active="false"/>
<Brake value="0" active="false"/>
<Clutch value="0" active="false"/>
<ParkingBrake value="0" active="false"/>
<SteeringWheel value="0" active="false"/>
<Gear number="0" active="false"/>
</OverrideControllerValueAction>
</ControllerAction>
</PrivateAction>
</Private>
<Private entityRef="adversary">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-9.4" y="-71.0" z="0.5" h="1.57079632679"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="standing">
<PrivateAction>
<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_20244">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-5.615669250488281" y="-147.76866149902344" z="0.0014286803780123591"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_w_transform_20245">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="1.610993504524231" y="37.24824523925781" z="0.5"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_w_transform_20246">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="67.63915252685547" y="71.62901306152344" z="0.5"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_w_transform_20247">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-9.776551246643066" y="81.62794494628906" z="0.5"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_w_transform_20248">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-3.3355138301849365" y="-69.8095703125" z="0.5"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_w_transform_20249">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="85.23389434814453" y="34.34525680541992" z="0.5"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_w_transform_20250">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="84.77828216552734" y="42.06327438354492" z="0.5"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_w_transform_20251">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-20.085548400878906" y="63.69440841674805" z="0.5"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_w_transform_20252">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-21.01184844970703" y="5.280867099761963" z="0.5"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_close_to_adversary_20253">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-16.72345542907715" y="-75.96733093261719" z="0.03379417210817337"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_close_to_adversary_20254">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-6.36320686340332" y="-80.29988861083984" z="0.03375183045864105"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
</Actions>
</Init>
<Story name="MyStory">
<Act name="Behavior">
<ManeuverGroup maximumExecutionCount="1" name="ManeuverSequence">
<Actors selectTriggeringEntities="false">
<EntityRef entityRef="adversary"/>
</Actors>
<Maneuver name="LaneChangeSimpleManeuver">
<Event name="AdversaryAccelerates" priority="overwrite">
<Action name="AdversaryAccelerates">
<PrivateAction>
<LongitudinalAction>
<SpeedAction>
<SpeedActionDynamics dynamicsShape="step" value="50" dynamicsDimension="distance"/>
<SpeedActionTarget>
<AbsoluteTargetSpeed value="5.0"/>
</SpeedActionTarget>
</SpeedAction>
</LongitudinalAction>
</PrivateAction>
</Action>
<StartTrigger>
<ConditionGroup>
<Condition name="StartCondition" delay="0" conditionEdge="rising">
<ByEntityCondition>
<TriggeringEntities triggeringEntitiesRule="any">
<EntityRef entityRef="hero"/>
</TriggeringEntities>
<EntityCondition>
<RelativeDistanceCondition entityRef="adversary" relativeDistanceType="cartesianDistance" value="40.0" freespace="false" rule="lessThan"/>
</EntityCondition>
</ByEntityCondition>
</Condition>
</ConditionGroup>
</StartTrigger>
</Event>
<Event name="AdversaryChangesLane" priority="overwrite">
<Action name="AdversaryChangesLane">
<PrivateAction>
<LateralAction>
<LaneChangeAction>
<LaneChangeActionDynamics dynamicsShape="linear" value="25" dynamicsDimension="distance"/>
<LaneChangeTarget>
<RelativeTargetLane entityRef="adversary" value="-1"/>
</LaneChangeTarget>
</LaneChangeAction>
</LateralAction>
</PrivateAction>
</Action>
<StartTrigger>
<ConditionGroup>
<Condition name="AfterAdversaryAccelerates" delay="0" conditionEdge="rising">
<ByValueCondition>
<StoryboardElementStateCondition storyboardElementType="action" storyboardElementRef="AdversaryAccelerates" state="completeState"/>
</ByValueCondition>
</Condition>
</ConditionGroup>
</StartTrigger>
</Event>
</Maneuver>
</ManeuverGroup>
<StartTrigger>
<ConditionGroup>
<Condition name="OverallStartCondition" delay="0" conditionEdge="rising">
<ByEntityCondition>
<TriggeringEntities triggeringEntitiesRule="any">
<EntityRef entityRef="hero"/>
</TriggeringEntities>
<EntityCondition>
<TraveledDistanceCondition value="1.0"/>
</EntityCondition>
</ByEntityCondition>
</Condition>
<Condition name="StartTime" delay="0" conditionEdge="rising">
<ByValueCondition>
<SimulationTimeCondition value="0" rule="equalTo"/>
</ByValueCondition>
</Condition>
</ConditionGroup>
</StartTrigger>
<StopTrigger>
<ConditionGroup>
<Condition name="EndCondition" delay="0" conditionEdge="rising">
<ByEntityCondition>
<TriggeringEntities triggeringEntitiesRule="any">
<EntityRef entityRef="hero"/>
</TriggeringEntities>
<EntityCondition>
<TraveledDistanceCondition value="200.0"/>
</EntityCondition>
</ByEntityCondition>
</Condition>
</ConditionGroup>
</StopTrigger>
</Act>
</Story>
<StopTrigger>
<ConditionGroup>
<Condition name="criteria_RunningStopTest" delay="0" conditionEdge="rising">
<ByValueCondition>
<ParameterCondition parameterRef="" value="" rule="lessThan"/>
</ByValueCondition>
</Condition>
<Condition name="criteria_RunningRedLightTest" delay="0" conditionEdge="rising">
<ByValueCondition>
<ParameterCondition parameterRef="" value="" rule="lessThan"/>
</ByValueCondition>
</Condition>
<Condition name="criteria_WrongLaneTest" delay="0" conditionEdge="rising">
<ByValueCondition>
<ParameterCondition parameterRef="" value="" rule="lessThan"/>
</ByValueCondition>
</Condition>
<Condition name="criteria_OnSidewalkTest" delay="0" conditionEdge="rising">
<ByValueCondition>
<ParameterCondition parameterRef="" value="" rule="lessThan"/>
</ByValueCondition>
</Condition>
<Condition name="criteria_KeepLaneTest" delay="0" conditionEdge="rising">
<ByValueCondition>
<ParameterCondition parameterRef="" value="" rule="lessThan"/>
</ByValueCondition>
</Condition>
<Condition name="criteria_CollisionTest" delay="0" conditionEdge="rising">
<ByValueCondition>
<ParameterCondition parameterRef="" value="" rule="lessThan"/>
</ByValueCondition>
</Condition>
<Condition name="criteria_DrivenDistanceTest" delay="0" conditionEdge="rising">
<ByValueCondition>
<ParameterCondition parameterRef="distance_success" value="100" rule="lessThan"/>
</ByValueCondition>
</Condition>
</ConditionGroup>
</StopTrigger>
</Storyboard>
</OpenSCENARIO>
``` | Here is the result:
```
<?xml version="1.0" ?>
<OpenSCENARIO>
<FileHeader revMajor="1" revMinor="0" date="2020-03-24T12:00:00" description="CARLA:LaneChangeSimple" author=""/>
<ParameterDeclarations/>
<CatalogLocations/>
<RoadNetwork>
<LogicFile filepath="Town04"/>
<SceneGraphFile filepath=""/>
</RoadNetwork>
<Entities>
<ScenarioObject name="hero">
<Vehicle name="vehicle.tesla.model3" vehicleCategory="car">
<ParameterDeclarations/>
<Performance maxSpeed="69.444" maxAcceleration="200" maxDeceleration="10.0"/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2.1" length="4.5" height="1.8"/>
</BoundingBox>
<Axles>
<FrontAxle maxSteering="0.5" wheelDiameter="0.6" trackWidth="1.8" positionX="3.1" positionZ="0.3"/>
<RearAxle maxSteering="0.0" wheelDiameter="0.6" trackWidth="1.8" positionX="0.0" positionZ="0.3"/>
</Axles>
<Properties>
<Property name="type" value="ego_vehicle"/>
</Properties>
</Vehicle>
</ScenarioObject>
<ScenarioObject name="adversary">
<Vehicle name="vehicle.lincoln.mkz_2017" vehicleCategory="car">
<ParameterDeclarations/>
<Performance maxSpeed="69.444" maxAcceleration="200" maxDeceleration="10.0"/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2.1" length="4.5" height="1.8"/>
</BoundingBox>
<Axles>
<FrontAxle maxSteering="0.5" wheelDiameter="0.6" trackWidth="1.8" positionX="3.1" positionZ="0.3"/>
<RearAxle maxSteering="0.0" wheelDiameter="0.6" trackWidth="1.8" positionX="0.0" positionZ="0.3"/>
</Axles>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Vehicle>
</ScenarioObject>
<ScenarioObject name="standing">
<Vehicle name="vehicle.volkswagen.t2" vehicleCategory="car">
<ParameterDeclarations/>
<Performance maxSpeed="69.444" maxAcceleration="200" maxDeceleration="10.0"/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2.1" length="4.5" height="1.8"/>
</BoundingBox>
<Axles>
<FrontAxle maxSteering="0.5" wheelDiameter="0.6" trackWidth="1.8" positionX="3.1" positionZ="0.3"/>
<RearAxle maxSteering="0.0" wheelDiameter="0.6" 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_20244">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_w_transform_20245">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_w_transform_20246">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_w_transform_20247">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_w_transform_20248">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_w_transform_20249">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_w_transform_20250">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_w_transform_20251">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_w_transform_20252">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_close_to_adversary_20253">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_close_to_adversary_20254">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_close_to_standing_20255">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
</Entities>
<Storyboard>
<Init>
<Actions>
<GlobalAction>
<EnvironmentAction>
<Environment name="Environment1">
<TimeOfDay animation="false" dateTime="2019-06-25T12:00:00"/>
<Weather cloudState="free">
<Sun intensity="0.85" azimuth="0" elevation="1.31"/>
<Fog visualRange="100000.0"/>
<Precipitation precipitationType="dry" intensity="0.0"/>
</Weather>
<RoadCondition frictionScaleFactor="1.0"/>
</Environment>
</EnvironmentAction>
</GlobalAction>
<Private entityRef="hero">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-9.4" y="-152.8" z="0.5" h="1.57079632679"/>
</Position>
</TeleportAction>
</PrivateAction>
<PrivateAction>
<ControllerAction>
<AssignControllerAction>
<Controller name="HeroAgent">
<Properties>
<Property name="module" value="external_control"/>
</Properties>
</Controller>
</AssignControllerAction>
<OverrideControllerValueAction>
<Throttle value="0" active="false"/>
<Brake value="0" active="false"/>
<Clutch value="0" active="false"/>
<ParkingBrake value="0" active="false"/>
<SteeringWheel value="0" active="false"/>
<Gear number="0" active="false"/>
</OverrideControllerValueAction>
</ControllerAction>
</PrivateAction>
</Private>
<Private entityRef="adversary">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-9.4" y="-71.0" z="0.5" h="1.57079632679"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="standing">
<PrivateAction>
<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_20244">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-5.615669250488281" y="-147.76866149902344" z="0.0014286803780123591"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_w_transform_20245">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="1.610993504524231" y="37.24824523925781" z="0.5"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_w_transform_20246">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="67.63915252685547" y="71.62901306152344" z="0.5"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_w_transform_20247">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-9.776551246643066" y="81.62794494628906" z="0.5"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_w_transform_20248">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-3.3355138301849365" y="-69.8095703125" z="0.5"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_w_transform_20249">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="85.23389434814453" y="34.34525680541992" z="0.5"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_w_transform_20250">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="84.77828216552734" y="42.06327438354492" z="0.5"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_w_transform_20251">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-20.085548400878906" y="63.69440841674805" z="0.5"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_w_transform_20252">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-21.01184844970703" y="5.280867099761963" z="0.5"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_close_to_adversary_20253">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-16.72345542907715" y="-75.96733093261719" z="0.03379417210817337"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_close_to_adversary_20254">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-6.36320686340332" y="-80.29988861083984" z="0.03375183045864105"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_close_to_standing_20255">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-1.600986361503601" y="29.508686065673828" z="0.0030198288150131702"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
</Actions>
</Init>
<Story name="MyStory">
<Act name="Behavior">
<ManeuverGroup maximumExecutionCount="1" name="ManeuverSequence">
<Actors selectTriggeringEntities="false">
<EntityRef entityRef="adversary"/>
</Actors>
<Maneuver name="LaneChangeSimpleManeuver">
<Event name="AdversaryAccelerates" priority="overwrite">
<Action name="AdversaryAccelerates">
<PrivateAction>
<LongitudinalAction>
<SpeedAction>
<SpeedActionDynamics dynamicsShape="step" value="50" dynamicsDimension="distance"/>
<SpeedActionTarget>
<AbsoluteTargetSpeed value="5.0"/>
</SpeedActionTarget>
</SpeedAction>
</LongitudinalAction>
</PrivateAction>
</Action>
<StartTrigger>
<ConditionGroup>
<Condition name="StartCondition" delay="0" conditionEdge="rising">
<ByEntityCondition>
<TriggeringEntities triggeringEntitiesRule="any">
<EntityRef entityRef="hero"/>
</TriggeringEntities>
<EntityCondition>
<RelativeDistanceCondition entityRef="adversary" relativeDistanceType="cartesianDistance" value="40.0" freespace="false" rule="lessThan"/>
</EntityCondition>
</ByEntityCondition>
</Condition>
</ConditionGroup>
</StartTrigger>
</Event>
<Event name="AdversaryChangesLane" priority="overwrite">
<Action name="AdversaryChangesLane">
<PrivateAction>
<LateralAction>
<LaneChangeAction>
<LaneChangeActionDynamics dynamicsShape="linear" value="25" dynamicsDimension="distance"/>
<LaneChangeTarget>
<RelativeTargetLane entityRef="adversary" value="-1"/>
</LaneChangeTarget>
</LaneChangeAction>
</LateralAction>
</PrivateAction>
</Action>
<StartTrigger>
<ConditionGroup>
<Condition name="AfterAdversaryAccelerates" delay="0" conditionEdge="rising">
<ByValueCondition>
<StoryboardElementStateCondition storyboardElementType="action" storyboardElementRef="AdversaryAccelerates" state="completeState"/>
</ByValueCondition>
</Condition>
</ConditionGroup>
</StartTrigger>
</Event>
</Maneuver>
</ManeuverGroup>
<StartTrigger>
<ConditionGroup>
<Condition name="OverallStartCondition" delay="0" conditionEdge="rising">
<ByEntityCondition>
<TriggeringEntities triggeringEntitiesRule="any">
<EntityRef entityRef="hero"/>
</TriggeringEntities>
<EntityCondition>
<TraveledDistanceCondition value="1.0"/>
</EntityCondition>
</ByEntityCondition>
</Condition>
<Condition name="StartTime" delay="0" conditionEdge="rising">
<ByValueCondition>
<SimulationTimeCondition value="0" rule="equalTo"/>
</ByValueCondition>
</Condition>
</ConditionGroup>
</StartTrigger>
<StopTrigger>
<ConditionGroup>
<Condition name="EndCondition" delay="0" conditionEdge="rising">
<ByEntityCondition>
<TriggeringEntities triggeringEntitiesRule="any">
<EntityRef entityRef="hero"/>
</TriggeringEntities>
<EntityCondition>
<TraveledDistanceCondition value="200.0"/>
</EntityCondition>
</ByEntityCondition>
</Condition>
</ConditionGroup>
</StopTrigger>
</Act>
</Story>
<StopTrigger>
<ConditionGroup>
<Condition name="criteria_RunningStopTest" delay="0" conditionEdge="rising">
<ByValueCondition>
<ParameterCondition parameterRef="" value="" rule="lessThan"/>
</ByValueCondition>
</Condition>
<Condition name="criteria_RunningRedLightTest" delay="0" conditionEdge="rising">
<ByValueCondition>
<ParameterCondition parameterRef="" value="" rule="lessThan"/>
</ByValueCondition>
</Condition>
<Condition name="criteria_WrongLaneTest" delay="0" conditionEdge="rising">
<ByValueCondition>
<ParameterCondition parameterRef="" value="" rule="lessThan"/>
</ByValueCondition>
</Condition>
<Condition name="criteria_OnSidewalkTest" delay="0" conditionEdge="rising">
<ByValueCondition>
<ParameterCondition parameterRef="" value="" rule="lessThan"/>
</ByValueCondition>
</Condition>
<Condition name="criteria_KeepLaneTest" delay="0" conditionEdge="rising">
<ByValueCondition>
<ParameterCondition parameterRef="" value="" rule="lessThan"/>
</ByValueCondition>
</Condition>
<Condition name="criteria_CollisionTest" delay="0" conditionEdge="rising">
<ByValueCondition>
<ParameterCondition parameterRef="" value="" rule="lessThan"/>
</ByValueCondition>
</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 (73.38, 57.78, 0.5)?
```
<?xml version="1.0" ?>
<OpenSCENARIO>
<FileHeader revMajor="1" revMinor="0" date="2020-03-24T12:00:00" description="CARLA:LaneChangeSimple" author=""/>
<ParameterDeclarations/>
<CatalogLocations/>
<RoadNetwork>
<LogicFile filepath="Town04"/>
<SceneGraphFile filepath=""/>
</RoadNetwork>
<Entities>
<ScenarioObject name="hero">
<Vehicle name="vehicle.tesla.model3" vehicleCategory="car">
<ParameterDeclarations/>
<Performance maxSpeed="69.444" maxAcceleration="200" maxDeceleration="10.0"/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2.1" length="4.5" height="1.8"/>
</BoundingBox>
<Axles>
<FrontAxle maxSteering="0.5" wheelDiameter="0.6" trackWidth="1.8" positionX="3.1" positionZ="0.3"/>
<RearAxle maxSteering="0.0" wheelDiameter="0.6" trackWidth="1.8" positionX="0.0" positionZ="0.3"/>
</Axles>
<Properties>
<Property name="type" value="ego_vehicle"/>
</Properties>
</Vehicle>
</ScenarioObject>
<ScenarioObject name="adversary">
<Vehicle name="vehicle.lincoln.mkz_2017" vehicleCategory="car">
<ParameterDeclarations/>
<Performance maxSpeed="69.444" maxAcceleration="200" maxDeceleration="10.0"/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2.1" length="4.5" height="1.8"/>
</BoundingBox>
<Axles>
<FrontAxle maxSteering="0.5" wheelDiameter="0.6" trackWidth="1.8" positionX="3.1" positionZ="0.3"/>
<RearAxle maxSteering="0.0" wheelDiameter="0.6" trackWidth="1.8" positionX="0.0" positionZ="0.3"/>
</Axles>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Vehicle>
</ScenarioObject>
<ScenarioObject name="standing">
<Vehicle name="vehicle.volkswagen.t2" vehicleCategory="car">
<ParameterDeclarations/>
<Performance maxSpeed="69.444" maxAcceleration="200" maxDeceleration="10.0"/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2.1" length="4.5" height="1.8"/>
</BoundingBox>
<Axles>
<FrontAxle maxSteering="0.5" wheelDiameter="0.6" trackWidth="1.8" positionX="3.1" positionZ="0.3"/>
<RearAxle maxSteering="0.0" wheelDiameter="0.6" trackWidth="1.8" positionX="0.0" positionZ="0.3"/>
</Axles>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Vehicle>
</ScenarioObject>
<ScenarioObject name="pedestrian_close_to_adversary_24060">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_close_to_adversary_24061">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_close_to_standing_24062">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_w_transform_24063">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_w_transform_24064">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_close_to_hero_24066">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_w_transform_24067">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_w_transform_24068">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_w_transform_24069">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_w_transform_24070">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_w_transform_24071">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_w_transform_24072">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_close_to_adversary_24073">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_w_transform_24074">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_close_to_hero_24075">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_close_to_standing_24076">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_close_to_adversary_24077">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_close_to_standing_24078">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_close_to_hero_24079">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_w_transform_24080">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_w_transform_24081">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_w_transform_24082">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_close_to_standing_24083">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
</Entities>
<Storyboard>
<Init>
<Actions>
<GlobalAction>
<EnvironmentAction>
<Environment name="Environment1">
<TimeOfDay animation="false" dateTime="2019-06-25T12:00:00"/>
<Weather cloudState="free">
<Sun intensity="0.85" azimuth="0" elevation="1.31"/>
<Fog visualRange="100000.0"/>
<Precipitation precipitationType="dry" intensity="0.0"/>
</Weather>
<RoadCondition frictionScaleFactor="1.0"/>
</Environment>
</EnvironmentAction>
</GlobalAction>
<Private entityRef="hero">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-9.4" y="-152.8" z="0.5" h="1.57079632679"/>
</Position>
</TeleportAction>
</PrivateAction>
<PrivateAction>
<ControllerAction>
<AssignControllerAction>
<Controller name="HeroAgent">
<Properties>
<Property name="module" value="external_control"/>
</Properties>
</Controller>
</AssignControllerAction>
<OverrideControllerValueAction>
<Throttle value="0" active="false"/>
<Brake value="0" active="false"/>
<Clutch value="0" active="false"/>
<ParkingBrake value="0" active="false"/>
<SteeringWheel value="0" active="false"/>
<Gear number="0" active="false"/>
</OverrideControllerValueAction>
</ControllerAction>
</PrivateAction>
</Private>
<Private entityRef="adversary">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-9.4" y="-71.0" z="0.5" h="1.57079632679"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="standing">
<PrivateAction>
<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_24060">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-17.523052215576172" y="-77.14266967773438" z="0.03379703313112259"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_close_to_adversary_24061">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-10.275589942932129" y="-62.55509948730469" z="0.03379669040441513"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_close_to_standing_24062">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="0.210555762052536" y="22.655061721801758" z="0.0030471801292151213"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_w_transform_24063">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="98.15438842773438" y="-87.75901794433594" z="0.5"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_w_transform_24064">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-26.599609375" y="4.509710311889648" z="0.5"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_close_to_hero_24066">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-17.10677719116211" y="-145.7477569580078" z="0.0014286803780123591"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_w_transform_24067">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="90.63117218017578" y="57.915225982666016" z="0.5"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_w_transform_24068">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-46.77716827392578" y="-35.79703140258789" z="0.5"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_w_transform_24069">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="58.46192169189453" y="43.31678771972656" z="0.5"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_w_transform_24070">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-5.7322096824646" y="-31.690736770629883" z="0.5"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_w_transform_24071">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="0.33137398958206177" y="5.336429119110107" z="0.5"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_w_transform_24072">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="41.34903335571289" y="-56.70338821411133" z="0.5"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_close_to_adversary_24073">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-1.607432246208191" y="-69.68079376220703" z="0.03380691632628441"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_w_transform_24074">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="30.233484268188477" y="46.617347717285156" z="0.5"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_close_to_hero_24075">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-11.59603214263916" y="-145.02395629882812" z="0.0014286803780123591"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_close_to_standing_24076">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-11.58846378326416" y="21.137718200683594" z="0.0030571746174246073"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_close_to_adversary_24077">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-15.599952697753906" y="-74.66851806640625" z="0.03375060856342316"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_close_to_standing_24078">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-12.190749168395996" y="36.753456115722656" z="0.00299320206977427"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_close_to_hero_24079">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-20.286401748657227" y="-159.5482635498047" z="0.0014286803780123591"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_w_transform_24080">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="74.20526885986328" y="-25.21648597717285" z="0.5"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_w_transform_24081">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-28.564390182495117" y="-12.963323593139648" z="0.5"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_w_transform_24082">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="58.56641387939453" y="-69.81739807128906" z="0.5"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_close_to_standing_24083">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="0.9230772852897644" y="26.842365264892578" z="0.0030756378546357155"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
</Actions>
</Init>
<Story name="MyStory">
<Act name="Behavior">
<ManeuverGroup maximumExecutionCount="1" name="ManeuverSequence">
<Actors selectTriggeringEntities="false">
<EntityRef entityRef="adversary"/>
</Actors>
<Maneuver name="LaneChangeSimpleManeuver">
<Event name="AdversaryAccelerates" priority="overwrite">
<Action name="AdversaryAccelerates">
<PrivateAction>
<LongitudinalAction>
<SpeedAction>
<SpeedActionDynamics dynamicsShape="step" value="50" dynamicsDimension="distance"/>
<SpeedActionTarget>
<AbsoluteTargetSpeed value="5.0"/>
</SpeedActionTarget>
</SpeedAction>
</LongitudinalAction>
</PrivateAction>
</Action>
<StartTrigger>
<ConditionGroup>
<Condition name="StartCondition" delay="0" conditionEdge="rising">
<ByEntityCondition>
<TriggeringEntities triggeringEntitiesRule="any">
<EntityRef entityRef="hero"/>
</TriggeringEntities>
<EntityCondition>
<RelativeDistanceCondition entityRef="adversary" relativeDistanceType="cartesianDistance" value="40.0" freespace="false" rule="lessThan"/>
</EntityCondition>
</ByEntityCondition>
</Condition>
</ConditionGroup>
</StartTrigger>
</Event>
<Event name="AdversaryChangesLane" priority="overwrite">
<Action name="AdversaryChangesLane">
<PrivateAction>
<LateralAction>
<LaneChangeAction>
<LaneChangeActionDynamics dynamicsShape="linear" value="25" dynamicsDimension="distance"/>
<LaneChangeTarget>
<RelativeTargetLane entityRef="adversary" value="-1"/>
</LaneChangeTarget>
</LaneChangeAction>
</LateralAction>
</PrivateAction>
</Action>
<StartTrigger>
<ConditionGroup>
<Condition name="AfterAdversaryAccelerates" delay="0" conditionEdge="rising">
<ByValueCondition>
<StoryboardElementStateCondition storyboardElementType="action" storyboardElementRef="AdversaryAccelerates" state="completeState"/>
</ByValueCondition>
</Condition>
</ConditionGroup>
</StartTrigger>
</Event>
</Maneuver>
</ManeuverGroup>
<StartTrigger>
<ConditionGroup>
<Condition name="OverallStartCondition" delay="0" conditionEdge="rising">
<ByEntityCondition>
<TriggeringEntities triggeringEntitiesRule="any">
<EntityRef entityRef="hero"/>
</TriggeringEntities>
<EntityCondition>
<TraveledDistanceCondition value="1.0"/>
</EntityCondition>
</ByEntityCondition>
</Condition>
<Condition name="StartTime" delay="0" conditionEdge="rising">
<ByValueCondition>
<SimulationTimeCondition value="0" rule="equalTo"/>
</ByValueCondition>
</Condition>
</ConditionGroup>
</StartTrigger>
<StopTrigger>
<ConditionGroup>
<Condition name="EndCondition" delay="0" conditionEdge="rising">
<ByEntityCondition>
<TriggeringEntities triggeringEntitiesRule="any">
<EntityRef entityRef="hero"/>
</TriggeringEntities>
<EntityCondition>
<TraveledDistanceCondition value="200.0"/>
</EntityCondition>
</ByEntityCondition>
</Condition>
</ConditionGroup>
</StopTrigger>
</Act>
</Story>
<StopTrigger>
<ConditionGroup>
<Condition name="criteria_RunningStopTest" delay="0" conditionEdge="rising">
<ByValueCondition>
<ParameterCondition parameterRef="" value="" rule="lessThan"/>
</ByValueCondition>
</Condition>
<Condition name="criteria_RunningRedLightTest" delay="0" conditionEdge="rising">
<ByValueCondition>
<ParameterCondition parameterRef="" value="" rule="lessThan"/>
</ByValueCondition>
</Condition>
<Condition name="criteria_WrongLaneTest" delay="0" conditionEdge="rising">
<ByValueCondition>
<ParameterCondition parameterRef="" value="" rule="lessThan"/>
</ByValueCondition>
</Condition>
<Condition name="criteria_OnSidewalkTest" delay="0" conditionEdge="rising">
<ByValueCondition>
<ParameterCondition parameterRef="" value="" rule="lessThan"/>
</ByValueCondition>
</Condition>
<Condition name="criteria_KeepLaneTest" delay="0" conditionEdge="rising">
<ByValueCondition>
<ParameterCondition parameterRef="" value="" rule="lessThan"/>
</ByValueCondition>
</Condition>
<Condition name="criteria_CollisionTest" delay="0" conditionEdge="rising">
<ByValueCondition>
<ParameterCondition parameterRef="" value="" rule="lessThan"/>
</ByValueCondition>
</Condition>
<Condition name="criteria_DrivenDistanceTest" delay="0" conditionEdge="rising">
<ByValueCondition>
<ParameterCondition parameterRef="distance_success" value="100" rule="lessThan"/>
</ByValueCondition>
</Condition>
</ConditionGroup>
</StopTrigger>
</Storyboard>
</OpenSCENARIO>
``` | Here is the result:
```
<?xml version="1.0" ?>
<OpenSCENARIO>
<FileHeader revMajor="1" revMinor="0" date="2020-03-24T12:00:00" description="CARLA:LaneChangeSimple" author=""/>
<ParameterDeclarations/>
<CatalogLocations/>
<RoadNetwork>
<LogicFile filepath="Town04"/>
<SceneGraphFile filepath=""/>
</RoadNetwork>
<Entities>
<ScenarioObject name="hero">
<Vehicle name="vehicle.tesla.model3" vehicleCategory="car">
<ParameterDeclarations/>
<Performance maxSpeed="69.444" maxAcceleration="200" maxDeceleration="10.0"/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2.1" length="4.5" height="1.8"/>
</BoundingBox>
<Axles>
<FrontAxle maxSteering="0.5" wheelDiameter="0.6" trackWidth="1.8" positionX="3.1" positionZ="0.3"/>
<RearAxle maxSteering="0.0" wheelDiameter="0.6" trackWidth="1.8" positionX="0.0" positionZ="0.3"/>
</Axles>
<Properties>
<Property name="type" value="ego_vehicle"/>
</Properties>
</Vehicle>
</ScenarioObject>
<ScenarioObject name="adversary">
<Vehicle name="vehicle.lincoln.mkz_2017" vehicleCategory="car">
<ParameterDeclarations/>
<Performance maxSpeed="69.444" maxAcceleration="200" maxDeceleration="10.0"/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2.1" length="4.5" height="1.8"/>
</BoundingBox>
<Axles>
<FrontAxle maxSteering="0.5" wheelDiameter="0.6" trackWidth="1.8" positionX="3.1" positionZ="0.3"/>
<RearAxle maxSteering="0.0" wheelDiameter="0.6" trackWidth="1.8" positionX="0.0" positionZ="0.3"/>
</Axles>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Vehicle>
</ScenarioObject>
<ScenarioObject name="standing">
<Vehicle name="vehicle.volkswagen.t2" vehicleCategory="car">
<ParameterDeclarations/>
<Performance maxSpeed="69.444" maxAcceleration="200" maxDeceleration="10.0"/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2.1" length="4.5" height="1.8"/>
</BoundingBox>
<Axles>
<FrontAxle maxSteering="0.5" wheelDiameter="0.6" trackWidth="1.8" positionX="3.1" positionZ="0.3"/>
<RearAxle maxSteering="0.0" wheelDiameter="0.6" trackWidth="1.8" positionX="0.0" positionZ="0.3"/>
</Axles>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Vehicle>
</ScenarioObject>
<ScenarioObject name="pedestrian_close_to_adversary_24060">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_close_to_adversary_24061">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_close_to_standing_24062">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_w_transform_24063">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_w_transform_24064">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_close_to_hero_24066">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_w_transform_24067">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_w_transform_24068">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_w_transform_24069">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_w_transform_24070">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_w_transform_24071">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_w_transform_24072">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_close_to_adversary_24073">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_w_transform_24074">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_close_to_hero_24075">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_close_to_standing_24076">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_close_to_adversary_24077">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_close_to_standing_24078">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_close_to_hero_24079">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_w_transform_24080">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_w_transform_24081">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_w_transform_24082">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_close_to_standing_24083">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_w_transform_24084">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
</Entities>
<Storyboard>
<Init>
<Actions>
<GlobalAction>
<EnvironmentAction>
<Environment name="Environment1">
<TimeOfDay animation="false" dateTime="2019-06-25T12:00:00"/>
<Weather cloudState="free">
<Sun intensity="0.85" azimuth="0" elevation="1.31"/>
<Fog visualRange="100000.0"/>
<Precipitation precipitationType="dry" intensity="0.0"/>
</Weather>
<RoadCondition frictionScaleFactor="1.0"/>
</Environment>
</EnvironmentAction>
</GlobalAction>
<Private entityRef="hero">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-9.4" y="-152.8" z="0.5" h="1.57079632679"/>
</Position>
</TeleportAction>
</PrivateAction>
<PrivateAction>
<ControllerAction>
<AssignControllerAction>
<Controller name="HeroAgent">
<Properties>
<Property name="module" value="external_control"/>
</Properties>
</Controller>
</AssignControllerAction>
<OverrideControllerValueAction>
<Throttle value="0" active="false"/>
<Brake value="0" active="false"/>
<Clutch value="0" active="false"/>
<ParkingBrake value="0" active="false"/>
<SteeringWheel value="0" active="false"/>
<Gear number="0" active="false"/>
</OverrideControllerValueAction>
</ControllerAction>
</PrivateAction>
</Private>
<Private entityRef="adversary">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-9.4" y="-71.0" z="0.5" h="1.57079632679"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="standing">
<PrivateAction>
<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_24060">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-17.523052215576172" y="-77.14266967773438" z="0.03379703313112259"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_close_to_adversary_24061">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-10.275589942932129" y="-62.55509948730469" z="0.03379669040441513"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_close_to_standing_24062">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="0.210555762052536" y="22.655061721801758" z="0.0030471801292151213"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_w_transform_24063">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="98.15438842773438" y="-87.75901794433594" z="0.5"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_w_transform_24064">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-26.599609375" y="4.509710311889648" z="0.5"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_close_to_hero_24066">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-17.10677719116211" y="-145.7477569580078" z="0.0014286803780123591"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_w_transform_24067">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="90.63117218017578" y="57.915225982666016" z="0.5"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_w_transform_24068">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-46.77716827392578" y="-35.79703140258789" z="0.5"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_w_transform_24069">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="58.46192169189453" y="43.31678771972656" z="0.5"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_w_transform_24070">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-5.7322096824646" y="-31.690736770629883" z="0.5"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_w_transform_24071">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="0.33137398958206177" y="5.336429119110107" z="0.5"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_w_transform_24072">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="41.34903335571289" y="-56.70338821411133" z="0.5"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_close_to_adversary_24073">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-1.607432246208191" y="-69.68079376220703" z="0.03380691632628441"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_w_transform_24074">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="30.233484268188477" y="46.617347717285156" z="0.5"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_close_to_hero_24075">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-11.59603214263916" y="-145.02395629882812" z="0.0014286803780123591"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_close_to_standing_24076">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-11.58846378326416" y="21.137718200683594" z="0.0030571746174246073"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_close_to_adversary_24077">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-15.599952697753906" y="-74.66851806640625" z="0.03375060856342316"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_close_to_standing_24078">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-12.190749168395996" y="36.753456115722656" z="0.00299320206977427"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_close_to_hero_24079">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-20.286401748657227" y="-159.5482635498047" z="0.0014286803780123591"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_w_transform_24080">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="74.20526885986328" y="-25.21648597717285" z="0.5"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_w_transform_24081">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-28.564390182495117" y="-12.963323593139648" z="0.5"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_w_transform_24082">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="58.56641387939453" y="-69.81739807128906" z="0.5"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_close_to_standing_24083">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="0.9230772852897644" y="26.842365264892578" z="0.0030756378546357155"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_w_transform_24084">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="73.37615966796875" y="57.781368255615234" z="0.5"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
</Actions>
</Init>
<Story name="MyStory">
<Act name="Behavior">
<ManeuverGroup maximumExecutionCount="1" name="ManeuverSequence">
<Actors selectTriggeringEntities="false">
<EntityRef entityRef="adversary"/>
</Actors>
<Maneuver name="LaneChangeSimpleManeuver">
<Event name="AdversaryAccelerates" priority="overwrite">
<Action name="AdversaryAccelerates">
<PrivateAction>
<LongitudinalAction>
<SpeedAction>
<SpeedActionDynamics dynamicsShape="step" value="50" dynamicsDimension="distance"/>
<SpeedActionTarget>
<AbsoluteTargetSpeed value="5.0"/>
</SpeedActionTarget>
</SpeedAction>
</LongitudinalAction>
</PrivateAction>
</Action>
<StartTrigger>
<ConditionGroup>
<Condition name="StartCondition" delay="0" conditionEdge="rising">
<ByEntityCondition>
<TriggeringEntities triggeringEntitiesRule="any">
<EntityRef entityRef="hero"/>
</TriggeringEntities>
<EntityCondition>
<RelativeDistanceCondition entityRef="adversary" relativeDistanceType="cartesianDistance" value="40.0" freespace="false" rule="lessThan"/>
</EntityCondition>
</ByEntityCondition>
</Condition>
</ConditionGroup>
</StartTrigger>
</Event>
<Event name="AdversaryChangesLane" priority="overwrite">
<Action name="AdversaryChangesLane">
<PrivateAction>
<LateralAction>
<LaneChangeAction>
<LaneChangeActionDynamics dynamicsShape="linear" value="25" dynamicsDimension="distance"/>
<LaneChangeTarget>
<RelativeTargetLane entityRef="adversary" value="-1"/>
</LaneChangeTarget>
</LaneChangeAction>
</LateralAction>
</PrivateAction>
</Action>
<StartTrigger>
<ConditionGroup>
<Condition name="AfterAdversaryAccelerates" delay="0" conditionEdge="rising">
<ByValueCondition>
<StoryboardElementStateCondition storyboardElementType="action" storyboardElementRef="AdversaryAccelerates" state="completeState"/>
</ByValueCondition>
</Condition>
</ConditionGroup>
</StartTrigger>
</Event>
</Maneuver>
</ManeuverGroup>
<StartTrigger>
<ConditionGroup>
<Condition name="OverallStartCondition" delay="0" conditionEdge="rising">
<ByEntityCondition>
<TriggeringEntities triggeringEntitiesRule="any">
<EntityRef entityRef="hero"/>
</TriggeringEntities>
<EntityCondition>
<TraveledDistanceCondition value="1.0"/>
</EntityCondition>
</ByEntityCondition>
</Condition>
<Condition name="StartTime" delay="0" conditionEdge="rising">
<ByValueCondition>
<SimulationTimeCondition value="0" rule="equalTo"/>
</ByValueCondition>
</Condition>
</ConditionGroup>
</StartTrigger>
<StopTrigger>
<ConditionGroup>
<Condition name="EndCondition" delay="0" conditionEdge="rising">
<ByEntityCondition>
<TriggeringEntities triggeringEntitiesRule="any">
<EntityRef entityRef="hero"/>
</TriggeringEntities>
<EntityCondition>
<TraveledDistanceCondition value="200.0"/>
</EntityCondition>
</ByEntityCondition>
</Condition>
</ConditionGroup>
</StopTrigger>
</Act>
</Story>
<StopTrigger>
<ConditionGroup>
<Condition name="criteria_RunningStopTest" delay="0" conditionEdge="rising">
<ByValueCondition>
<ParameterCondition parameterRef="" value="" rule="lessThan"/>
</ByValueCondition>
</Condition>
<Condition name="criteria_RunningRedLightTest" delay="0" conditionEdge="rising">
<ByValueCondition>
<ParameterCondition parameterRef="" value="" rule="lessThan"/>
</ByValueCondition>
</Condition>
<Condition name="criteria_WrongLaneTest" delay="0" conditionEdge="rising">
<ByValueCondition>
<ParameterCondition parameterRef="" value="" rule="lessThan"/>
</ByValueCondition>
</Condition>
<Condition name="criteria_OnSidewalkTest" delay="0" conditionEdge="rising">
<ByValueCondition>
<ParameterCondition parameterRef="" value="" rule="lessThan"/>
</ByValueCondition>
</Condition>
<Condition name="criteria_KeepLaneTest" delay="0" conditionEdge="rising">
<ByValueCondition>
<ParameterCondition parameterRef="" value="" rule="lessThan"/>
</ByValueCondition>
</Condition>
<Condition name="criteria_CollisionTest" delay="0" conditionEdge="rising">
<ByValueCondition>
<ParameterCondition parameterRef="" value="" rule="lessThan"/>
</ByValueCondition>
</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 (37.66, -24.13, 0.5)?
```
<?xml version="1.0" ?>
<OpenSCENARIO>
<FileHeader revMajor="1" revMinor="0" date="2020-03-24T12:00:00" description="CARLA:LaneChangeSimple" author=""/>
<ParameterDeclarations/>
<CatalogLocations/>
<RoadNetwork>
<LogicFile filepath="Town04"/>
<SceneGraphFile filepath=""/>
</RoadNetwork>
<Entities>
<ScenarioObject name="hero">
<Vehicle name="vehicle.tesla.model3" vehicleCategory="car">
<ParameterDeclarations/>
<Performance maxSpeed="69.444" maxAcceleration="200" maxDeceleration="10.0"/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2.1" length="4.5" height="1.8"/>
</BoundingBox>
<Axles>
<FrontAxle maxSteering="0.5" wheelDiameter="0.6" trackWidth="1.8" positionX="3.1" positionZ="0.3"/>
<RearAxle maxSteering="0.0" wheelDiameter="0.6" trackWidth="1.8" positionX="0.0" positionZ="0.3"/>
</Axles>
<Properties>
<Property name="type" value="ego_vehicle"/>
</Properties>
</Vehicle>
</ScenarioObject>
<ScenarioObject name="adversary">
<Vehicle name="vehicle.lincoln.mkz_2017" vehicleCategory="car">
<ParameterDeclarations/>
<Performance maxSpeed="69.444" maxAcceleration="200" maxDeceleration="10.0"/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2.1" length="4.5" height="1.8"/>
</BoundingBox>
<Axles>
<FrontAxle maxSteering="0.5" wheelDiameter="0.6" trackWidth="1.8" positionX="3.1" positionZ="0.3"/>
<RearAxle maxSteering="0.0" wheelDiameter="0.6" trackWidth="1.8" positionX="0.0" positionZ="0.3"/>
</Axles>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Vehicle>
</ScenarioObject>
<ScenarioObject name="standing">
<Vehicle name="vehicle.volkswagen.t2" vehicleCategory="car">
<ParameterDeclarations/>
<Performance maxSpeed="69.444" maxAcceleration="200" maxDeceleration="10.0"/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2.1" length="4.5" height="1.8"/>
</BoundingBox>
<Axles>
<FrontAxle maxSteering="0.5" wheelDiameter="0.6" trackWidth="1.8" positionX="3.1" positionZ="0.3"/>
<RearAxle maxSteering="0.0" wheelDiameter="0.6" trackWidth="1.8" positionX="0.0" positionZ="0.3"/>
</Axles>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Vehicle>
</ScenarioObject>
<ScenarioObject name="pedestrian_close_to_adversary_21410">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_w_transform_21411">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_close_to_adversary_21412">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_close_to_standing_21413">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_close_to_standing_21415">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_w_transform_21417">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_w_transform_21419">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_w_transform_21420">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_close_to_standing_21421">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_close_to_standing_21422">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_close_to_standing_21423">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_close_to_adversary_21424">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_w_transform_21425">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
</Entities>
<Storyboard>
<Init>
<Actions>
<GlobalAction>
<EnvironmentAction>
<Environment name="Environment1">
<TimeOfDay animation="false" dateTime="2019-06-25T12:00:00"/>
<Weather cloudState="free">
<Sun intensity="0.85" azimuth="0" elevation="1.31"/>
<Fog visualRange="100000.0"/>
<Precipitation precipitationType="dry" intensity="0.0"/>
</Weather>
<RoadCondition frictionScaleFactor="1.0"/>
</Environment>
</EnvironmentAction>
</GlobalAction>
<Private entityRef="hero">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-9.4" y="-152.8" z="0.5" h="1.57079632679"/>
</Position>
</TeleportAction>
</PrivateAction>
<PrivateAction>
<ControllerAction>
<AssignControllerAction>
<Controller name="HeroAgent">
<Properties>
<Property name="module" value="external_control"/>
</Properties>
</Controller>
</AssignControllerAction>
<OverrideControllerValueAction>
<Throttle value="0" active="false"/>
<Brake value="0" active="false"/>
<Clutch value="0" active="false"/>
<ParkingBrake value="0" active="false"/>
<SteeringWheel value="0" active="false"/>
<Gear number="0" active="false"/>
</OverrideControllerValueAction>
</ControllerAction>
</PrivateAction>
</Private>
<Private entityRef="adversary">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-9.4" y="-71.0" z="0.5" h="1.57079632679"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="standing">
<PrivateAction>
<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_21410">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-6.094005107879639" y="-71.96620178222656" z="0.03381751850247383"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_w_transform_21411">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="72.87431335449219" y="49.415809631347656" z="0.5"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_close_to_adversary_21412">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="3.1491425037384033" y="-67.59172821044922" z="0.03380798175930977"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_close_to_standing_21413">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="8.66268253326416" y="15.568912506103516" z="0.0030396650545299053"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_close_to_standing_21415">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-14.623006820678711" y="34.9498291015625" z="0.003060645889490843"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_w_transform_21417">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="39.613426208496094" y="-42.72093200683594" z="0.5"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_w_transform_21419">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="78.21614837646484" y="-86.49200439453125" z="0.5"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_w_transform_21420">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="34.985740661621094" y="-8.313955307006836" z="0.5"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_close_to_standing_21421">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-8.675797462463379" y="22.192899703979492" z="0.0030740355141460896"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_close_to_standing_21422">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-10.145678520202637" y="39.06889343261719" z="0.0030724334064871073"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_close_to_standing_21423">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-7.371234893798828" y="36.93041229248047" z="0.0030643080826848745"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_close_to_adversary_21424">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-1.2980693578720093" y="-76.35714721679688" z="0.033776357769966125"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_w_transform_21425">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-88.77630615234375" y="42.00151824951172" z="0.5"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
</Actions>
</Init>
<Story name="MyStory">
<Act name="Behavior">
<ManeuverGroup maximumExecutionCount="1" name="ManeuverSequence">
<Actors selectTriggeringEntities="false">
<EntityRef entityRef="adversary"/>
</Actors>
<Maneuver name="LaneChangeSimpleManeuver">
<Event name="AdversaryAccelerates" priority="overwrite">
<Action name="AdversaryAccelerates">
<PrivateAction>
<LongitudinalAction>
<SpeedAction>
<SpeedActionDynamics dynamicsShape="step" value="50" dynamicsDimension="distance"/>
<SpeedActionTarget>
<AbsoluteTargetSpeed value="5.0"/>
</SpeedActionTarget>
</SpeedAction>
</LongitudinalAction>
</PrivateAction>
</Action>
<StartTrigger>
<ConditionGroup>
<Condition name="StartCondition" delay="0" conditionEdge="rising">
<ByEntityCondition>
<TriggeringEntities triggeringEntitiesRule="any">
<EntityRef entityRef="hero"/>
</TriggeringEntities>
<EntityCondition>
<RelativeDistanceCondition entityRef="adversary" relativeDistanceType="cartesianDistance" value="40.0" freespace="false" rule="lessThan"/>
</EntityCondition>
</ByEntityCondition>
</Condition>
</ConditionGroup>
</StartTrigger>
</Event>
<Event name="AdversaryChangesLane" priority="overwrite">
<Action name="AdversaryChangesLane">
<PrivateAction>
<LateralAction>
<LaneChangeAction>
<LaneChangeActionDynamics dynamicsShape="linear" value="25" dynamicsDimension="distance"/>
<LaneChangeTarget>
<RelativeTargetLane entityRef="adversary" value="-1"/>
</LaneChangeTarget>
</LaneChangeAction>
</LateralAction>
</PrivateAction>
</Action>
<StartTrigger>
<ConditionGroup>
<Condition name="AfterAdversaryAccelerates" delay="0" conditionEdge="rising">
<ByValueCondition>
<StoryboardElementStateCondition storyboardElementType="action" storyboardElementRef="AdversaryAccelerates" state="completeState"/>
</ByValueCondition>
</Condition>
</ConditionGroup>
</StartTrigger>
</Event>
</Maneuver>
</ManeuverGroup>
<StartTrigger>
<ConditionGroup>
<Condition name="OverallStartCondition" delay="0" conditionEdge="rising">
<ByEntityCondition>
<TriggeringEntities triggeringEntitiesRule="any">
<EntityRef entityRef="hero"/>
</TriggeringEntities>
<EntityCondition>
<TraveledDistanceCondition value="1.0"/>
</EntityCondition>
</ByEntityCondition>
</Condition>
<Condition name="StartTime" delay="0" conditionEdge="rising">
<ByValueCondition>
<SimulationTimeCondition value="0" rule="equalTo"/>
</ByValueCondition>
</Condition>
</ConditionGroup>
</StartTrigger>
<StopTrigger>
<ConditionGroup>
<Condition name="EndCondition" delay="0" conditionEdge="rising">
<ByEntityCondition>
<TriggeringEntities triggeringEntitiesRule="any">
<EntityRef entityRef="hero"/>
</TriggeringEntities>
<EntityCondition>
<TraveledDistanceCondition value="200.0"/>
</EntityCondition>
</ByEntityCondition>
</Condition>
</ConditionGroup>
</StopTrigger>
</Act>
</Story>
<StopTrigger>
<ConditionGroup>
<Condition name="criteria_RunningStopTest" delay="0" conditionEdge="rising">
<ByValueCondition>
<ParameterCondition parameterRef="" value="" rule="lessThan"/>
</ByValueCondition>
</Condition>
<Condition name="criteria_RunningRedLightTest" delay="0" conditionEdge="rising">
<ByValueCondition>
<ParameterCondition parameterRef="" value="" rule="lessThan"/>
</ByValueCondition>
</Condition>
<Condition name="criteria_WrongLaneTest" delay="0" conditionEdge="rising">
<ByValueCondition>
<ParameterCondition parameterRef="" value="" rule="lessThan"/>
</ByValueCondition>
</Condition>
<Condition name="criteria_OnSidewalkTest" delay="0" conditionEdge="rising">
<ByValueCondition>
<ParameterCondition parameterRef="" value="" rule="lessThan"/>
</ByValueCondition>
</Condition>
<Condition name="criteria_KeepLaneTest" delay="0" conditionEdge="rising">
<ByValueCondition>
<ParameterCondition parameterRef="" value="" rule="lessThan"/>
</ByValueCondition>
</Condition>
<Condition name="criteria_CollisionTest" delay="0" conditionEdge="rising">
<ByValueCondition>
<ParameterCondition parameterRef="" value="" rule="lessThan"/>
</ByValueCondition>
</Condition>
<Condition name="criteria_DrivenDistanceTest" delay="0" conditionEdge="rising">
<ByValueCondition>
<ParameterCondition parameterRef="distance_success" value="100" rule="lessThan"/>
</ByValueCondition>
</Condition>
</ConditionGroup>
</StopTrigger>
</Storyboard>
</OpenSCENARIO>
``` | Here is the result:
```
<?xml version="1.0" ?>
<OpenSCENARIO>
<FileHeader revMajor="1" revMinor="0" date="2020-03-24T12:00:00" description="CARLA:LaneChangeSimple" author=""/>
<ParameterDeclarations/>
<CatalogLocations/>
<RoadNetwork>
<LogicFile filepath="Town04"/>
<SceneGraphFile filepath=""/>
</RoadNetwork>
<Entities>
<ScenarioObject name="hero">
<Vehicle name="vehicle.tesla.model3" vehicleCategory="car">
<ParameterDeclarations/>
<Performance maxSpeed="69.444" maxAcceleration="200" maxDeceleration="10.0"/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2.1" length="4.5" height="1.8"/>
</BoundingBox>
<Axles>
<FrontAxle maxSteering="0.5" wheelDiameter="0.6" trackWidth="1.8" positionX="3.1" positionZ="0.3"/>
<RearAxle maxSteering="0.0" wheelDiameter="0.6" trackWidth="1.8" positionX="0.0" positionZ="0.3"/>
</Axles>
<Properties>
<Property name="type" value="ego_vehicle"/>
</Properties>
</Vehicle>
</ScenarioObject>
<ScenarioObject name="adversary">
<Vehicle name="vehicle.lincoln.mkz_2017" vehicleCategory="car">
<ParameterDeclarations/>
<Performance maxSpeed="69.444" maxAcceleration="200" maxDeceleration="10.0"/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2.1" length="4.5" height="1.8"/>
</BoundingBox>
<Axles>
<FrontAxle maxSteering="0.5" wheelDiameter="0.6" trackWidth="1.8" positionX="3.1" positionZ="0.3"/>
<RearAxle maxSteering="0.0" wheelDiameter="0.6" trackWidth="1.8" positionX="0.0" positionZ="0.3"/>
</Axles>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Vehicle>
</ScenarioObject>
<ScenarioObject name="standing">
<Vehicle name="vehicle.volkswagen.t2" vehicleCategory="car">
<ParameterDeclarations/>
<Performance maxSpeed="69.444" maxAcceleration="200" maxDeceleration="10.0"/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2.1" length="4.5" height="1.8"/>
</BoundingBox>
<Axles>
<FrontAxle maxSteering="0.5" wheelDiameter="0.6" trackWidth="1.8" positionX="3.1" positionZ="0.3"/>
<RearAxle maxSteering="0.0" wheelDiameter="0.6" 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_21410">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_w_transform_21411">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_close_to_adversary_21412">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_close_to_standing_21413">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_close_to_standing_21415">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_w_transform_21417">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_w_transform_21419">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_w_transform_21420">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_close_to_standing_21421">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_close_to_standing_21422">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_close_to_standing_21423">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_close_to_adversary_21424">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_w_transform_21425">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_w_transform_21426">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
</Entities>
<Storyboard>
<Init>
<Actions>
<GlobalAction>
<EnvironmentAction>
<Environment name="Environment1">
<TimeOfDay animation="false" dateTime="2019-06-25T12:00:00"/>
<Weather cloudState="free">
<Sun intensity="0.85" azimuth="0" elevation="1.31"/>
<Fog visualRange="100000.0"/>
<Precipitation precipitationType="dry" intensity="0.0"/>
</Weather>
<RoadCondition frictionScaleFactor="1.0"/>
</Environment>
</EnvironmentAction>
</GlobalAction>
<Private entityRef="hero">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-9.4" y="-152.8" z="0.5" h="1.57079632679"/>
</Position>
</TeleportAction>
</PrivateAction>
<PrivateAction>
<ControllerAction>
<AssignControllerAction>
<Controller name="HeroAgent">
<Properties>
<Property name="module" value="external_control"/>
</Properties>
</Controller>
</AssignControllerAction>
<OverrideControllerValueAction>
<Throttle value="0" active="false"/>
<Brake value="0" active="false"/>
<Clutch value="0" active="false"/>
<ParkingBrake value="0" active="false"/>
<SteeringWheel value="0" active="false"/>
<Gear number="0" active="false"/>
</OverrideControllerValueAction>
</ControllerAction>
</PrivateAction>
</Private>
<Private entityRef="adversary">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-9.4" y="-71.0" z="0.5" h="1.57079632679"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="standing">
<PrivateAction>
<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_21410">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-6.094005107879639" y="-71.96620178222656" z="0.03381751850247383"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_w_transform_21411">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="72.87431335449219" y="49.415809631347656" z="0.5"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_close_to_adversary_21412">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="3.1491425037384033" y="-67.59172821044922" z="0.03380798175930977"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_close_to_standing_21413">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="8.66268253326416" y="15.568912506103516" z="0.0030396650545299053"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_close_to_standing_21415">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-14.623006820678711" y="34.9498291015625" z="0.003060645889490843"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_w_transform_21417">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="39.613426208496094" y="-42.72093200683594" z="0.5"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_w_transform_21419">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="78.21614837646484" y="-86.49200439453125" z="0.5"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_w_transform_21420">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="34.985740661621094" y="-8.313955307006836" z="0.5"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_close_to_standing_21421">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-8.675797462463379" y="22.192899703979492" z="0.0030740355141460896"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_close_to_standing_21422">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-10.145678520202637" y="39.06889343261719" z="0.0030724334064871073"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_close_to_standing_21423">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-7.371234893798828" y="36.93041229248047" z="0.0030643080826848745"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_close_to_adversary_21424">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-1.2980693578720093" y="-76.35714721679688" z="0.033776357769966125"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_w_transform_21425">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-88.77630615234375" y="42.00151824951172" z="0.5"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_w_transform_21426">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="37.66038513183594" y="-24.133935928344727" z="0.5"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
</Actions>
</Init>
<Story name="MyStory">
<Act name="Behavior">
<ManeuverGroup maximumExecutionCount="1" name="ManeuverSequence">
<Actors selectTriggeringEntities="false">
<EntityRef entityRef="adversary"/>
</Actors>
<Maneuver name="LaneChangeSimpleManeuver">
<Event name="AdversaryAccelerates" priority="overwrite">
<Action name="AdversaryAccelerates">
<PrivateAction>
<LongitudinalAction>
<SpeedAction>
<SpeedActionDynamics dynamicsShape="step" value="50" dynamicsDimension="distance"/>
<SpeedActionTarget>
<AbsoluteTargetSpeed value="5.0"/>
</SpeedActionTarget>
</SpeedAction>
</LongitudinalAction>
</PrivateAction>
</Action>
<StartTrigger>
<ConditionGroup>
<Condition name="StartCondition" delay="0" conditionEdge="rising">
<ByEntityCondition>
<TriggeringEntities triggeringEntitiesRule="any">
<EntityRef entityRef="hero"/>
</TriggeringEntities>
<EntityCondition>
<RelativeDistanceCondition entityRef="adversary" relativeDistanceType="cartesianDistance" value="40.0" freespace="false" rule="lessThan"/>
</EntityCondition>
</ByEntityCondition>
</Condition>
</ConditionGroup>
</StartTrigger>
</Event>
<Event name="AdversaryChangesLane" priority="overwrite">
<Action name="AdversaryChangesLane">
<PrivateAction>
<LateralAction>
<LaneChangeAction>
<LaneChangeActionDynamics dynamicsShape="linear" value="25" dynamicsDimension="distance"/>
<LaneChangeTarget>
<RelativeTargetLane entityRef="adversary" value="-1"/>
</LaneChangeTarget>
</LaneChangeAction>
</LateralAction>
</PrivateAction>
</Action>
<StartTrigger>
<ConditionGroup>
<Condition name="AfterAdversaryAccelerates" delay="0" conditionEdge="rising">
<ByValueCondition>
<StoryboardElementStateCondition storyboardElementType="action" storyboardElementRef="AdversaryAccelerates" state="completeState"/>
</ByValueCondition>
</Condition>
</ConditionGroup>
</StartTrigger>
</Event>
</Maneuver>
</ManeuverGroup>
<StartTrigger>
<ConditionGroup>
<Condition name="OverallStartCondition" delay="0" conditionEdge="rising">
<ByEntityCondition>
<TriggeringEntities triggeringEntitiesRule="any">
<EntityRef entityRef="hero"/>
</TriggeringEntities>
<EntityCondition>
<TraveledDistanceCondition value="1.0"/>
</EntityCondition>
</ByEntityCondition>
</Condition>
<Condition name="StartTime" delay="0" conditionEdge="rising">
<ByValueCondition>
<SimulationTimeCondition value="0" rule="equalTo"/>
</ByValueCondition>
</Condition>
</ConditionGroup>
</StartTrigger>
<StopTrigger>
<ConditionGroup>
<Condition name="EndCondition" delay="0" conditionEdge="rising">
<ByEntityCondition>
<TriggeringEntities triggeringEntitiesRule="any">
<EntityRef entityRef="hero"/>
</TriggeringEntities>
<EntityCondition>
<TraveledDistanceCondition value="200.0"/>
</EntityCondition>
</ByEntityCondition>
</Condition>
</ConditionGroup>
</StopTrigger>
</Act>
</Story>
<StopTrigger>
<ConditionGroup>
<Condition name="criteria_RunningStopTest" delay="0" conditionEdge="rising">
<ByValueCondition>
<ParameterCondition parameterRef="" value="" rule="lessThan"/>
</ByValueCondition>
</Condition>
<Condition name="criteria_RunningRedLightTest" delay="0" conditionEdge="rising">
<ByValueCondition>
<ParameterCondition parameterRef="" value="" rule="lessThan"/>
</ByValueCondition>
</Condition>
<Condition name="criteria_WrongLaneTest" delay="0" conditionEdge="rising">
<ByValueCondition>
<ParameterCondition parameterRef="" value="" rule="lessThan"/>
</ByValueCondition>
</Condition>
<Condition name="criteria_OnSidewalkTest" delay="0" conditionEdge="rising">
<ByValueCondition>
<ParameterCondition parameterRef="" value="" rule="lessThan"/>
</ByValueCondition>
</Condition>
<Condition name="criteria_KeepLaneTest" delay="0" conditionEdge="rising">
<ByValueCondition>
<ParameterCondition parameterRef="" value="" rule="lessThan"/>
</ByValueCondition>
</Condition>
<Condition name="criteria_CollisionTest" delay="0" conditionEdge="rising">
<ByValueCondition>
<ParameterCondition parameterRef="" value="" rule="lessThan"/>
</ByValueCondition>
</Condition>
<Condition name="criteria_DrivenDistanceTest" delay="0" conditionEdge="rising">
<ByValueCondition>
<ParameterCondition parameterRef="distance_success" value="100" rule="lessThan"/>
</ByValueCondition>
</Condition>
</ConditionGroup>
</StopTrigger>
</Storyboard>
</OpenSCENARIO>
``` |
i would like to ask you to add pedestrian at location (-49.11, 2.57, 0.5)?
```
<?xml version="1.0" ?>
<OpenSCENARIO>
<FileHeader revMajor="1" revMinor="0" date="2020-03-24T12:00:00" description="CARLA:LaneChangeSimple" author=""/>
<ParameterDeclarations/>
<CatalogLocations/>
<RoadNetwork>
<LogicFile filepath="Town04"/>
<SceneGraphFile filepath=""/>
</RoadNetwork>
<Entities>
<ScenarioObject name="hero">
<Vehicle name="vehicle.tesla.model3" vehicleCategory="car">
<ParameterDeclarations/>
<Performance maxSpeed="69.444" maxAcceleration="200" maxDeceleration="10.0"/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2.1" length="4.5" height="1.8"/>
</BoundingBox>
<Axles>
<FrontAxle maxSteering="0.5" wheelDiameter="0.6" trackWidth="1.8" positionX="3.1" positionZ="0.3"/>
<RearAxle maxSteering="0.0" wheelDiameter="0.6" trackWidth="1.8" positionX="0.0" positionZ="0.3"/>
</Axles>
<Properties>
<Property name="type" value="ego_vehicle"/>
</Properties>
</Vehicle>
</ScenarioObject>
<ScenarioObject name="adversary">
<Vehicle name="vehicle.lincoln.mkz_2017" vehicleCategory="car">
<ParameterDeclarations/>
<Performance maxSpeed="69.444" maxAcceleration="200" maxDeceleration="10.0"/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2.1" length="4.5" height="1.8"/>
</BoundingBox>
<Axles>
<FrontAxle maxSteering="0.5" wheelDiameter="0.6" trackWidth="1.8" positionX="3.1" positionZ="0.3"/>
<RearAxle maxSteering="0.0" wheelDiameter="0.6" trackWidth="1.8" positionX="0.0" positionZ="0.3"/>
</Axles>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Vehicle>
</ScenarioObject>
<ScenarioObject name="standing">
<Vehicle name="vehicle.volkswagen.t2" vehicleCategory="car">
<ParameterDeclarations/>
<Performance maxSpeed="69.444" maxAcceleration="200" maxDeceleration="10.0"/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2.1" length="4.5" height="1.8"/>
</BoundingBox>
<Axles>
<FrontAxle maxSteering="0.5" wheelDiameter="0.6" trackWidth="1.8" positionX="3.1" positionZ="0.3"/>
<RearAxle maxSteering="0.0" wheelDiameter="0.6" trackWidth="1.8" positionX="0.0" positionZ="0.3"/>
</Axles>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Vehicle>
</ScenarioObject>
<ScenarioObject name="pedestrian_close_to_adversary_17832">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_close_to_hero_17833">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_w_transform_17834">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_w_transform_17835">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_close_to_standing_17836">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_w_transform_17837">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_w_transform_17838">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_w_transform_17839">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_w_transform_17840">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_w_transform_17841">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_w_transform_17842">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_close_to_adversary_17843">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_w_transform_17844">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_w_transform_17845">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_w_transform_17846">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_close_to_standing_17847">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_close_to_adversary_17848">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
</Entities>
<Storyboard>
<Init>
<Actions>
<GlobalAction>
<EnvironmentAction>
<Environment name="Environment1">
<TimeOfDay animation="false" dateTime="2019-06-25T12:00:00"/>
<Weather cloudState="free">
<Sun intensity="0.85" azimuth="0" elevation="1.31"/>
<Fog visualRange="100000.0"/>
<Precipitation precipitationType="dry" intensity="0.0"/>
</Weather>
<RoadCondition frictionScaleFactor="1.0"/>
</Environment>
</EnvironmentAction>
</GlobalAction>
<Private entityRef="hero">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-9.4" y="-152.8" z="0.5" h="1.57079632679"/>
</Position>
</TeleportAction>
</PrivateAction>
<PrivateAction>
<ControllerAction>
<AssignControllerAction>
<Controller name="HeroAgent">
<Properties>
<Property name="module" value="external_control"/>
</Properties>
</Controller>
</AssignControllerAction>
<OverrideControllerValueAction>
<Throttle value="0" active="false"/>
<Brake value="0" active="false"/>
<Clutch value="0" active="false"/>
<ParkingBrake value="0" active="false"/>
<SteeringWheel value="0" active="false"/>
<Gear number="0" active="false"/>
</OverrideControllerValueAction>
</ControllerAction>
</PrivateAction>
</Private>
<Private entityRef="adversary">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-9.4" y="-71.0" z="0.5" h="1.57079632679"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="standing">
<PrivateAction>
<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_17832">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-1.9720851182937622" y="-64.19654846191406" z="0.03379295393824577"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_close_to_hero_17833">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-15.663413047790527" y="-161.4272003173828" z="0.0014286803780123591"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_w_transform_17834">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="88.27017211914062" y="-40.5029182434082" z="0.5"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_w_transform_17835">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="7.839468479156494" y="-9.150470733642578" z="0.5"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_close_to_standing_17836">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-1.9820475578308105" y="22.973819732666016" z="0.0030422210693359375"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_w_transform_17837">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-79.6601791381836" y="1.5076470375061035" z="0.5"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_w_transform_17838">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="99.08524322509766" y="70.56426239013672" z="0.5"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_w_transform_17839">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="83.42037200927734" y="-60.318458557128906" z="0.5"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_w_transform_17840">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-90.51765441894531" y="62.88644790649414" z="0.5"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_w_transform_17841">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="2.573927402496338" y="-7.878414630889893" z="0.5"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_w_transform_17842">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="95.64444732666016" y="-86.76863861083984" z="0.5"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_close_to_adversary_17843">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-4.110469341278076" y="-79.30397033691406" z="0.03375495970249176"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_w_transform_17844">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="71.481201171875" y="-57.7549934387207" z="0.5"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_w_transform_17845">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="79.10324096679688" y="13.898649215698242" z="0.5"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_w_transform_17846">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-90.86009979248047" y="40.22270965576172" z="0.5"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_close_to_standing_17847">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-2.0825531482696533" y="23.041418075561523" z="0.0030834197532385588"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_close_to_adversary_17848">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-15.401345252990723" y="-73.6476821899414" z="0.03381931409239769"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
</Actions>
</Init>
<Story name="MyStory">
<Act name="Behavior">
<ManeuverGroup maximumExecutionCount="1" name="ManeuverSequence">
<Actors selectTriggeringEntities="false">
<EntityRef entityRef="adversary"/>
</Actors>
<Maneuver name="LaneChangeSimpleManeuver">
<Event name="AdversaryAccelerates" priority="overwrite">
<Action name="AdversaryAccelerates">
<PrivateAction>
<LongitudinalAction>
<SpeedAction>
<SpeedActionDynamics dynamicsShape="step" value="50" dynamicsDimension="distance"/>
<SpeedActionTarget>
<AbsoluteTargetSpeed value="5.0"/>
</SpeedActionTarget>
</SpeedAction>
</LongitudinalAction>
</PrivateAction>
</Action>
<StartTrigger>
<ConditionGroup>
<Condition name="StartCondition" delay="0" conditionEdge="rising">
<ByEntityCondition>
<TriggeringEntities triggeringEntitiesRule="any">
<EntityRef entityRef="hero"/>
</TriggeringEntities>
<EntityCondition>
<RelativeDistanceCondition entityRef="adversary" relativeDistanceType="cartesianDistance" value="40.0" freespace="false" rule="lessThan"/>
</EntityCondition>
</ByEntityCondition>
</Condition>
</ConditionGroup>
</StartTrigger>
</Event>
<Event name="AdversaryChangesLane" priority="overwrite">
<Action name="AdversaryChangesLane">
<PrivateAction>
<LateralAction>
<LaneChangeAction>
<LaneChangeActionDynamics dynamicsShape="linear" value="25" dynamicsDimension="distance"/>
<LaneChangeTarget>
<RelativeTargetLane entityRef="adversary" value="-1"/>
</LaneChangeTarget>
</LaneChangeAction>
</LateralAction>
</PrivateAction>
</Action>
<StartTrigger>
<ConditionGroup>
<Condition name="AfterAdversaryAccelerates" delay="0" conditionEdge="rising">
<ByValueCondition>
<StoryboardElementStateCondition storyboardElementType="action" storyboardElementRef="AdversaryAccelerates" state="completeState"/>
</ByValueCondition>
</Condition>
</ConditionGroup>
</StartTrigger>
</Event>
</Maneuver>
</ManeuverGroup>
<StartTrigger>
<ConditionGroup>
<Condition name="OverallStartCondition" delay="0" conditionEdge="rising">
<ByEntityCondition>
<TriggeringEntities triggeringEntitiesRule="any">
<EntityRef entityRef="hero"/>
</TriggeringEntities>
<EntityCondition>
<TraveledDistanceCondition value="1.0"/>
</EntityCondition>
</ByEntityCondition>
</Condition>
<Condition name="StartTime" delay="0" conditionEdge="rising">
<ByValueCondition>
<SimulationTimeCondition value="0" rule="equalTo"/>
</ByValueCondition>
</Condition>
</ConditionGroup>
</StartTrigger>
<StopTrigger>
<ConditionGroup>
<Condition name="EndCondition" delay="0" conditionEdge="rising">
<ByEntityCondition>
<TriggeringEntities triggeringEntitiesRule="any">
<EntityRef entityRef="hero"/>
</TriggeringEntities>
<EntityCondition>
<TraveledDistanceCondition value="200.0"/>
</EntityCondition>
</ByEntityCondition>
</Condition>
</ConditionGroup>
</StopTrigger>
</Act>
</Story>
<StopTrigger>
<ConditionGroup>
<Condition name="criteria_RunningStopTest" delay="0" conditionEdge="rising">
<ByValueCondition>
<ParameterCondition parameterRef="" value="" rule="lessThan"/>
</ByValueCondition>
</Condition>
<Condition name="criteria_RunningRedLightTest" delay="0" conditionEdge="rising">
<ByValueCondition>
<ParameterCondition parameterRef="" value="" rule="lessThan"/>
</ByValueCondition>
</Condition>
<Condition name="criteria_WrongLaneTest" delay="0" conditionEdge="rising">
<ByValueCondition>
<ParameterCondition parameterRef="" value="" rule="lessThan"/>
</ByValueCondition>
</Condition>
<Condition name="criteria_OnSidewalkTest" delay="0" conditionEdge="rising">
<ByValueCondition>
<ParameterCondition parameterRef="" value="" rule="lessThan"/>
</ByValueCondition>
</Condition>
<Condition name="criteria_KeepLaneTest" delay="0" conditionEdge="rising">
<ByValueCondition>
<ParameterCondition parameterRef="" value="" rule="lessThan"/>
</ByValueCondition>
</Condition>
<Condition name="criteria_CollisionTest" delay="0" conditionEdge="rising">
<ByValueCondition>
<ParameterCondition parameterRef="" value="" rule="lessThan"/>
</ByValueCondition>
</Condition>
<Condition name="criteria_DrivenDistanceTest" delay="0" conditionEdge="rising">
<ByValueCondition>
<ParameterCondition parameterRef="distance_success" value="100" rule="lessThan"/>
</ByValueCondition>
</Condition>
</ConditionGroup>
</StopTrigger>
</Storyboard>
</OpenSCENARIO>
``` | Here is the result:
```
<?xml version="1.0" ?>
<OpenSCENARIO>
<FileHeader revMajor="1" revMinor="0" date="2020-03-24T12:00:00" description="CARLA:LaneChangeSimple" author=""/>
<ParameterDeclarations/>
<CatalogLocations/>
<RoadNetwork>
<LogicFile filepath="Town04"/>
<SceneGraphFile filepath=""/>
</RoadNetwork>
<Entities>
<ScenarioObject name="hero">
<Vehicle name="vehicle.tesla.model3" vehicleCategory="car">
<ParameterDeclarations/>
<Performance maxSpeed="69.444" maxAcceleration="200" maxDeceleration="10.0"/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2.1" length="4.5" height="1.8"/>
</BoundingBox>
<Axles>
<FrontAxle maxSteering="0.5" wheelDiameter="0.6" trackWidth="1.8" positionX="3.1" positionZ="0.3"/>
<RearAxle maxSteering="0.0" wheelDiameter="0.6" trackWidth="1.8" positionX="0.0" positionZ="0.3"/>
</Axles>
<Properties>
<Property name="type" value="ego_vehicle"/>
</Properties>
</Vehicle>
</ScenarioObject>
<ScenarioObject name="adversary">
<Vehicle name="vehicle.lincoln.mkz_2017" vehicleCategory="car">
<ParameterDeclarations/>
<Performance maxSpeed="69.444" maxAcceleration="200" maxDeceleration="10.0"/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2.1" length="4.5" height="1.8"/>
</BoundingBox>
<Axles>
<FrontAxle maxSteering="0.5" wheelDiameter="0.6" trackWidth="1.8" positionX="3.1" positionZ="0.3"/>
<RearAxle maxSteering="0.0" wheelDiameter="0.6" trackWidth="1.8" positionX="0.0" positionZ="0.3"/>
</Axles>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Vehicle>
</ScenarioObject>
<ScenarioObject name="standing">
<Vehicle name="vehicle.volkswagen.t2" vehicleCategory="car">
<ParameterDeclarations/>
<Performance maxSpeed="69.444" maxAcceleration="200" maxDeceleration="10.0"/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2.1" length="4.5" height="1.8"/>
</BoundingBox>
<Axles>
<FrontAxle maxSteering="0.5" wheelDiameter="0.6" trackWidth="1.8" positionX="3.1" positionZ="0.3"/>
<RearAxle maxSteering="0.0" wheelDiameter="0.6" 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_17832">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_close_to_hero_17833">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_w_transform_17834">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_w_transform_17835">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_close_to_standing_17836">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_w_transform_17837">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_w_transform_17838">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_w_transform_17839">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_w_transform_17840">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_w_transform_17841">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_w_transform_17842">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_close_to_adversary_17843">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_w_transform_17844">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_w_transform_17845">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_w_transform_17846">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_close_to_standing_17847">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_close_to_adversary_17848">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_w_transform_17849">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
</Entities>
<Storyboard>
<Init>
<Actions>
<GlobalAction>
<EnvironmentAction>
<Environment name="Environment1">
<TimeOfDay animation="false" dateTime="2019-06-25T12:00:00"/>
<Weather cloudState="free">
<Sun intensity="0.85" azimuth="0" elevation="1.31"/>
<Fog visualRange="100000.0"/>
<Precipitation precipitationType="dry" intensity="0.0"/>
</Weather>
<RoadCondition frictionScaleFactor="1.0"/>
</Environment>
</EnvironmentAction>
</GlobalAction>
<Private entityRef="hero">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-9.4" y="-152.8" z="0.5" h="1.57079632679"/>
</Position>
</TeleportAction>
</PrivateAction>
<PrivateAction>
<ControllerAction>
<AssignControllerAction>
<Controller name="HeroAgent">
<Properties>
<Property name="module" value="external_control"/>
</Properties>
</Controller>
</AssignControllerAction>
<OverrideControllerValueAction>
<Throttle value="0" active="false"/>
<Brake value="0" active="false"/>
<Clutch value="0" active="false"/>
<ParkingBrake value="0" active="false"/>
<SteeringWheel value="0" active="false"/>
<Gear number="0" active="false"/>
</OverrideControllerValueAction>
</ControllerAction>
</PrivateAction>
</Private>
<Private entityRef="adversary">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-9.4" y="-71.0" z="0.5" h="1.57079632679"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="standing">
<PrivateAction>
<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_17832">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-1.9720851182937622" y="-64.19654846191406" z="0.03379295393824577"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_close_to_hero_17833">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-15.663413047790527" y="-161.4272003173828" z="0.0014286803780123591"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_w_transform_17834">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="88.27017211914062" y="-40.5029182434082" z="0.5"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_w_transform_17835">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="7.839468479156494" y="-9.150470733642578" z="0.5"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_close_to_standing_17836">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-1.9820475578308105" y="22.973819732666016" z="0.0030422210693359375"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_w_transform_17837">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-79.6601791381836" y="1.5076470375061035" z="0.5"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_w_transform_17838">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="99.08524322509766" y="70.56426239013672" z="0.5"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_w_transform_17839">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="83.42037200927734" y="-60.318458557128906" z="0.5"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_w_transform_17840">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-90.51765441894531" y="62.88644790649414" z="0.5"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_w_transform_17841">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="2.573927402496338" y="-7.878414630889893" z="0.5"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_w_transform_17842">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="95.64444732666016" y="-86.76863861083984" z="0.5"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_close_to_adversary_17843">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-4.110469341278076" y="-79.30397033691406" z="0.03375495970249176"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_w_transform_17844">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="71.481201171875" y="-57.7549934387207" z="0.5"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_w_transform_17845">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="79.10324096679688" y="13.898649215698242" z="0.5"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_w_transform_17846">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-90.86009979248047" y="40.22270965576172" z="0.5"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_close_to_standing_17847">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-2.0825531482696533" y="23.041418075561523" z="0.0030834197532385588"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_close_to_adversary_17848">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-15.401345252990723" y="-73.6476821899414" z="0.03381931409239769"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_w_transform_17849">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-49.10712432861328" y="2.5709357261657715" z="0.5"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
</Actions>
</Init>
<Story name="MyStory">
<Act name="Behavior">
<ManeuverGroup maximumExecutionCount="1" name="ManeuverSequence">
<Actors selectTriggeringEntities="false">
<EntityRef entityRef="adversary"/>
</Actors>
<Maneuver name="LaneChangeSimpleManeuver">
<Event name="AdversaryAccelerates" priority="overwrite">
<Action name="AdversaryAccelerates">
<PrivateAction>
<LongitudinalAction>
<SpeedAction>
<SpeedActionDynamics dynamicsShape="step" value="50" dynamicsDimension="distance"/>
<SpeedActionTarget>
<AbsoluteTargetSpeed value="5.0"/>
</SpeedActionTarget>
</SpeedAction>
</LongitudinalAction>
</PrivateAction>
</Action>
<StartTrigger>
<ConditionGroup>
<Condition name="StartCondition" delay="0" conditionEdge="rising">
<ByEntityCondition>
<TriggeringEntities triggeringEntitiesRule="any">
<EntityRef entityRef="hero"/>
</TriggeringEntities>
<EntityCondition>
<RelativeDistanceCondition entityRef="adversary" relativeDistanceType="cartesianDistance" value="40.0" freespace="false" rule="lessThan"/>
</EntityCondition>
</ByEntityCondition>
</Condition>
</ConditionGroup>
</StartTrigger>
</Event>
<Event name="AdversaryChangesLane" priority="overwrite">
<Action name="AdversaryChangesLane">
<PrivateAction>
<LateralAction>
<LaneChangeAction>
<LaneChangeActionDynamics dynamicsShape="linear" value="25" dynamicsDimension="distance"/>
<LaneChangeTarget>
<RelativeTargetLane entityRef="adversary" value="-1"/>
</LaneChangeTarget>
</LaneChangeAction>
</LateralAction>
</PrivateAction>
</Action>
<StartTrigger>
<ConditionGroup>
<Condition name="AfterAdversaryAccelerates" delay="0" conditionEdge="rising">
<ByValueCondition>
<StoryboardElementStateCondition storyboardElementType="action" storyboardElementRef="AdversaryAccelerates" state="completeState"/>
</ByValueCondition>
</Condition>
</ConditionGroup>
</StartTrigger>
</Event>
</Maneuver>
</ManeuverGroup>
<StartTrigger>
<ConditionGroup>
<Condition name="OverallStartCondition" delay="0" conditionEdge="rising">
<ByEntityCondition>
<TriggeringEntities triggeringEntitiesRule="any">
<EntityRef entityRef="hero"/>
</TriggeringEntities>
<EntityCondition>
<TraveledDistanceCondition value="1.0"/>
</EntityCondition>
</ByEntityCondition>
</Condition>
<Condition name="StartTime" delay="0" conditionEdge="rising">
<ByValueCondition>
<SimulationTimeCondition value="0" rule="equalTo"/>
</ByValueCondition>
</Condition>
</ConditionGroup>
</StartTrigger>
<StopTrigger>
<ConditionGroup>
<Condition name="EndCondition" delay="0" conditionEdge="rising">
<ByEntityCondition>
<TriggeringEntities triggeringEntitiesRule="any">
<EntityRef entityRef="hero"/>
</TriggeringEntities>
<EntityCondition>
<TraveledDistanceCondition value="200.0"/>
</EntityCondition>
</ByEntityCondition>
</Condition>
</ConditionGroup>
</StopTrigger>
</Act>
</Story>
<StopTrigger>
<ConditionGroup>
<Condition name="criteria_RunningStopTest" delay="0" conditionEdge="rising">
<ByValueCondition>
<ParameterCondition parameterRef="" value="" rule="lessThan"/>
</ByValueCondition>
</Condition>
<Condition name="criteria_RunningRedLightTest" delay="0" conditionEdge="rising">
<ByValueCondition>
<ParameterCondition parameterRef="" value="" rule="lessThan"/>
</ByValueCondition>
</Condition>
<Condition name="criteria_WrongLaneTest" delay="0" conditionEdge="rising">
<ByValueCondition>
<ParameterCondition parameterRef="" value="" rule="lessThan"/>
</ByValueCondition>
</Condition>
<Condition name="criteria_OnSidewalkTest" delay="0" conditionEdge="rising">
<ByValueCondition>
<ParameterCondition parameterRef="" value="" rule="lessThan"/>
</ByValueCondition>
</Condition>
<Condition name="criteria_KeepLaneTest" delay="0" conditionEdge="rising">
<ByValueCondition>
<ParameterCondition parameterRef="" value="" rule="lessThan"/>
</ByValueCondition>
</Condition>
<Condition name="criteria_CollisionTest" delay="0" conditionEdge="rising">
<ByValueCondition>
<ParameterCondition parameterRef="" value="" rule="lessThan"/>
</ByValueCondition>
</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_18366">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
</Entities>
<Storyboard>
<Init>
<Actions>
<GlobalAction>
<EnvironmentAction>
<Environment name="Environment1">
<TimeOfDay animation="false" dateTime="2019-06-25T12:00:00"/>
<Weather cloudState="free">
<Sun intensity="0.85" azimuth="0" elevation="1.31"/>
<Fog visualRange="100000.0"/>
<Precipitation precipitationType="dry" intensity="0.0"/>
</Weather>
<RoadCondition frictionScaleFactor="1.0"/>
</Environment>
</EnvironmentAction>
</GlobalAction>
<Private entityRef="hero">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-9.4" y="-152.8" z="0.5" h="1.57079632679"/>
</Position>
</TeleportAction>
</PrivateAction>
<PrivateAction>
<ControllerAction>
<AssignControllerAction>
<Controller name="HeroAgent">
<Properties>
<Property name="module" value="external_control"/>
</Properties>
</Controller>
</AssignControllerAction>
<OverrideControllerValueAction>
<Throttle value="0" active="false"/>
<Brake value="0" active="false"/>
<Clutch value="0" active="false"/>
<ParkingBrake value="0" active="false"/>
<SteeringWheel value="0" active="false"/>
<Gear number="0" active="false"/>
</OverrideControllerValueAction>
</ControllerAction>
</PrivateAction>
</Private>
<Private entityRef="adversary">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-9.4" y="-71.0" z="0.5" h="1.57079632679"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="standing">
<PrivateAction>
<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_18366">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-10.162556648254395" y="-76.27542877197266" z="0.033740997314453125"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
</Actions>
</Init>
<Story name="MyStory">
<Act name="Behavior">
<ManeuverGroup maximumExecutionCount="1" name="ManeuverSequence">
<Actors selectTriggeringEntities="false">
<EntityRef entityRef="adversary"/>
</Actors>
<Maneuver name="LaneChangeSimpleManeuver">
<Event name="AdversaryAccelerates" priority="overwrite">
<Action name="AdversaryAccelerates">
<PrivateAction>
<LongitudinalAction>
<SpeedAction>
<SpeedActionDynamics dynamicsShape="step" value="50" dynamicsDimension="distance"/>
<SpeedActionTarget>
<AbsoluteTargetSpeed value="5.0"/>
</SpeedActionTarget>
</SpeedAction>
</LongitudinalAction>
</PrivateAction>
</Action>
<StartTrigger>
<ConditionGroup>
<Condition name="StartCondition" delay="0" conditionEdge="rising">
<ByEntityCondition>
<TriggeringEntities triggeringEntitiesRule="any">
<EntityRef entityRef="hero"/>
</TriggeringEntities>
<EntityCondition>
<RelativeDistanceCondition entityRef="adversary" relativeDistanceType="cartesianDistance" value="40.0" freespace="false" rule="lessThan"/>
</EntityCondition>
</ByEntityCondition>
</Condition>
</ConditionGroup>
</StartTrigger>
</Event>
<Event name="AdversaryChangesLane" priority="overwrite">
<Action name="AdversaryChangesLane">
<PrivateAction>
<LateralAction>
<LaneChangeAction>
<LaneChangeActionDynamics dynamicsShape="linear" value="25" dynamicsDimension="distance"/>
<LaneChangeTarget>
<RelativeTargetLane entityRef="adversary" value="-1"/>
</LaneChangeTarget>
</LaneChangeAction>
</LateralAction>
</PrivateAction>
</Action>
<StartTrigger>
<ConditionGroup>
<Condition name="AfterAdversaryAccelerates" delay="0" conditionEdge="rising">
<ByValueCondition>
<StoryboardElementStateCondition storyboardElementType="action" storyboardElementRef="AdversaryAccelerates" state="completeState"/>
</ByValueCondition>
</Condition>
</ConditionGroup>
</StartTrigger>
</Event>
</Maneuver>
</ManeuverGroup>
<StartTrigger>
<ConditionGroup>
<Condition name="OverallStartCondition" delay="0" conditionEdge="rising">
<ByEntityCondition>
<TriggeringEntities triggeringEntitiesRule="any">
<EntityRef entityRef="hero"/>
</TriggeringEntities>
<EntityCondition>
<TraveledDistanceCondition value="1.0"/>
</EntityCondition>
</ByEntityCondition>
</Condition>
<Condition name="StartTime" delay="0" conditionEdge="rising">
<ByValueCondition>
<SimulationTimeCondition value="0" rule="equalTo"/>
</ByValueCondition>
</Condition>
</ConditionGroup>
</StartTrigger>
<StopTrigger>
<ConditionGroup>
<Condition name="EndCondition" delay="0" conditionEdge="rising">
<ByEntityCondition>
<TriggeringEntities triggeringEntitiesRule="any">
<EntityRef entityRef="hero"/>
</TriggeringEntities>
<EntityCondition>
<TraveledDistanceCondition value="200.0"/>
</EntityCondition>
</ByEntityCondition>
</Condition>
</ConditionGroup>
</StopTrigger>
</Act>
</Story>
<StopTrigger>
<ConditionGroup>
<Condition name="criteria_RunningStopTest" delay="0" conditionEdge="rising">
<ByValueCondition>
<ParameterCondition parameterRef="" value="" rule="lessThan"/>
</ByValueCondition>
</Condition>
<Condition name="criteria_RunningRedLightTest" delay="0" conditionEdge="rising">
<ByValueCondition>
<ParameterCondition parameterRef="" value="" rule="lessThan"/>
</ByValueCondition>
</Condition>
<Condition name="criteria_WrongLaneTest" delay="0" conditionEdge="rising">
<ByValueCondition>
<ParameterCondition parameterRef="" value="" rule="lessThan"/>
</ByValueCondition>
</Condition>
<Condition name="criteria_OnSidewalkTest" delay="0" conditionEdge="rising">
<ByValueCondition>
<ParameterCondition parameterRef="" value="" rule="lessThan"/>
</ByValueCondition>
</Condition>
<Condition name="criteria_KeepLaneTest" delay="0" conditionEdge="rising">
<ByValueCondition>
<ParameterCondition parameterRef="" value="" rule="lessThan"/>
</ByValueCondition>
</Condition>
<Condition name="criteria_CollisionTest" delay="0" conditionEdge="rising">
<ByValueCondition>
<ParameterCondition parameterRef="" value="" rule="lessThan"/>
</ByValueCondition>
</Condition>
<Condition name="criteria_DrivenDistanceTest" delay="0" conditionEdge="rising">
<ByValueCondition>
<ParameterCondition parameterRef="distance_success" value="100" rule="lessThan"/>
</ByValueCondition>
</Condition>
</ConditionGroup>
</StopTrigger>
</Storyboard>
</OpenSCENARIO>
``` | Here is the result:
```
<?xml version="1.0" ?>
<OpenSCENARIO>
<FileHeader revMajor="1" revMinor="0" date="2020-03-24T12:00:00" description="CARLA:LaneChangeSimple" author=""/>
<ParameterDeclarations/>
<CatalogLocations/>
<RoadNetwork>
<LogicFile filepath="Town04"/>
<SceneGraphFile filepath=""/>
</RoadNetwork>
<Entities>
<ScenarioObject name="hero">
<Vehicle name="vehicle.tesla.model3" vehicleCategory="car">
<ParameterDeclarations/>
<Performance maxSpeed="69.444" maxAcceleration="200" maxDeceleration="10.0"/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2.1" length="4.5" height="1.8"/>
</BoundingBox>
<Axles>
<FrontAxle maxSteering="0.5" wheelDiameter="0.6" trackWidth="1.8" positionX="3.1" positionZ="0.3"/>
<RearAxle maxSteering="0.0" wheelDiameter="0.6" trackWidth="1.8" positionX="0.0" positionZ="0.3"/>
</Axles>
<Properties>
<Property name="type" value="ego_vehicle"/>
</Properties>
</Vehicle>
</ScenarioObject>
<ScenarioObject name="adversary">
<Vehicle name="vehicle.lincoln.mkz_2017" vehicleCategory="car">
<ParameterDeclarations/>
<Performance maxSpeed="69.444" maxAcceleration="200" maxDeceleration="10.0"/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2.1" length="4.5" height="1.8"/>
</BoundingBox>
<Axles>
<FrontAxle maxSteering="0.5" wheelDiameter="0.6" trackWidth="1.8" positionX="3.1" positionZ="0.3"/>
<RearAxle maxSteering="0.0" wheelDiameter="0.6" trackWidth="1.8" positionX="0.0" positionZ="0.3"/>
</Axles>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Vehicle>
</ScenarioObject>
<ScenarioObject name="standing">
<Vehicle name="vehicle.volkswagen.t2" vehicleCategory="car">
<ParameterDeclarations/>
<Performance maxSpeed="69.444" maxAcceleration="200" maxDeceleration="10.0"/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2.1" length="4.5" height="1.8"/>
</BoundingBox>
<Axles>
<FrontAxle maxSteering="0.5" wheelDiameter="0.6" trackWidth="1.8" positionX="3.1" positionZ="0.3"/>
<RearAxle maxSteering="0.0" wheelDiameter="0.6" 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_18366">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_close_to_standing_18367">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
</Entities>
<Storyboard>
<Init>
<Actions>
<GlobalAction>
<EnvironmentAction>
<Environment name="Environment1">
<TimeOfDay animation="false" dateTime="2019-06-25T12:00:00"/>
<Weather cloudState="free">
<Sun intensity="0.85" azimuth="0" elevation="1.31"/>
<Fog visualRange="100000.0"/>
<Precipitation precipitationType="dry" intensity="0.0"/>
</Weather>
<RoadCondition frictionScaleFactor="1.0"/>
</Environment>
</EnvironmentAction>
</GlobalAction>
<Private entityRef="hero">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-9.4" y="-152.8" z="0.5" h="1.57079632679"/>
</Position>
</TeleportAction>
</PrivateAction>
<PrivateAction>
<ControllerAction>
<AssignControllerAction>
<Controller name="HeroAgent">
<Properties>
<Property name="module" value="external_control"/>
</Properties>
</Controller>
</AssignControllerAction>
<OverrideControllerValueAction>
<Throttle value="0" active="false"/>
<Brake value="0" active="false"/>
<Clutch value="0" active="false"/>
<ParkingBrake value="0" active="false"/>
<SteeringWheel value="0" active="false"/>
<Gear number="0" active="false"/>
</OverrideControllerValueAction>
</ControllerAction>
</PrivateAction>
</Private>
<Private entityRef="adversary">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-9.4" y="-71.0" z="0.5" h="1.57079632679"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="standing">
<PrivateAction>
<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_18366">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-10.162556648254395" y="-76.27542877197266" z="0.033740997314453125"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_close_to_standing_18367">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-13.822799682617188" y="30.658594131469727" z="0.003092269878834486"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
</Actions>
</Init>
<Story name="MyStory">
<Act name="Behavior">
<ManeuverGroup maximumExecutionCount="1" name="ManeuverSequence">
<Actors selectTriggeringEntities="false">
<EntityRef entityRef="adversary"/>
</Actors>
<Maneuver name="LaneChangeSimpleManeuver">
<Event name="AdversaryAccelerates" priority="overwrite">
<Action name="AdversaryAccelerates">
<PrivateAction>
<LongitudinalAction>
<SpeedAction>
<SpeedActionDynamics dynamicsShape="step" value="50" dynamicsDimension="distance"/>
<SpeedActionTarget>
<AbsoluteTargetSpeed value="5.0"/>
</SpeedActionTarget>
</SpeedAction>
</LongitudinalAction>
</PrivateAction>
</Action>
<StartTrigger>
<ConditionGroup>
<Condition name="StartCondition" delay="0" conditionEdge="rising">
<ByEntityCondition>
<TriggeringEntities triggeringEntitiesRule="any">
<EntityRef entityRef="hero"/>
</TriggeringEntities>
<EntityCondition>
<RelativeDistanceCondition entityRef="adversary" relativeDistanceType="cartesianDistance" value="40.0" freespace="false" rule="lessThan"/>
</EntityCondition>
</ByEntityCondition>
</Condition>
</ConditionGroup>
</StartTrigger>
</Event>
<Event name="AdversaryChangesLane" priority="overwrite">
<Action name="AdversaryChangesLane">
<PrivateAction>
<LateralAction>
<LaneChangeAction>
<LaneChangeActionDynamics dynamicsShape="linear" value="25" dynamicsDimension="distance"/>
<LaneChangeTarget>
<RelativeTargetLane entityRef="adversary" value="-1"/>
</LaneChangeTarget>
</LaneChangeAction>
</LateralAction>
</PrivateAction>
</Action>
<StartTrigger>
<ConditionGroup>
<Condition name="AfterAdversaryAccelerates" delay="0" conditionEdge="rising">
<ByValueCondition>
<StoryboardElementStateCondition storyboardElementType="action" storyboardElementRef="AdversaryAccelerates" state="completeState"/>
</ByValueCondition>
</Condition>
</ConditionGroup>
</StartTrigger>
</Event>
</Maneuver>
</ManeuverGroup>
<StartTrigger>
<ConditionGroup>
<Condition name="OverallStartCondition" delay="0" conditionEdge="rising">
<ByEntityCondition>
<TriggeringEntities triggeringEntitiesRule="any">
<EntityRef entityRef="hero"/>
</TriggeringEntities>
<EntityCondition>
<TraveledDistanceCondition value="1.0"/>
</EntityCondition>
</ByEntityCondition>
</Condition>
<Condition name="StartTime" delay="0" conditionEdge="rising">
<ByValueCondition>
<SimulationTimeCondition value="0" rule="equalTo"/>
</ByValueCondition>
</Condition>
</ConditionGroup>
</StartTrigger>
<StopTrigger>
<ConditionGroup>
<Condition name="EndCondition" delay="0" conditionEdge="rising">
<ByEntityCondition>
<TriggeringEntities triggeringEntitiesRule="any">
<EntityRef entityRef="hero"/>
</TriggeringEntities>
<EntityCondition>
<TraveledDistanceCondition value="200.0"/>
</EntityCondition>
</ByEntityCondition>
</Condition>
</ConditionGroup>
</StopTrigger>
</Act>
</Story>
<StopTrigger>
<ConditionGroup>
<Condition name="criteria_RunningStopTest" delay="0" conditionEdge="rising">
<ByValueCondition>
<ParameterCondition parameterRef="" value="" rule="lessThan"/>
</ByValueCondition>
</Condition>
<Condition name="criteria_RunningRedLightTest" delay="0" conditionEdge="rising">
<ByValueCondition>
<ParameterCondition parameterRef="" value="" rule="lessThan"/>
</ByValueCondition>
</Condition>
<Condition name="criteria_WrongLaneTest" delay="0" conditionEdge="rising">
<ByValueCondition>
<ParameterCondition parameterRef="" value="" rule="lessThan"/>
</ByValueCondition>
</Condition>
<Condition name="criteria_OnSidewalkTest" delay="0" conditionEdge="rising">
<ByValueCondition>
<ParameterCondition parameterRef="" value="" rule="lessThan"/>
</ByValueCondition>
</Condition>
<Condition name="criteria_KeepLaneTest" delay="0" conditionEdge="rising">
<ByValueCondition>
<ParameterCondition parameterRef="" value="" rule="lessThan"/>
</ByValueCondition>
</Condition>
<Condition name="criteria_CollisionTest" delay="0" conditionEdge="rising">
<ByValueCondition>
<ParameterCondition parameterRef="" value="" rule="lessThan"/>
</ByValueCondition>
</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>
</Entities>
<Storyboard>
<Init>
<Actions>
<GlobalAction>
<EnvironmentAction>
<Environment name="Environment1">
<TimeOfDay animation="false" dateTime="2019-06-25T12:00:00"/>
<Weather cloudState="free">
<Sun intensity="0.85" azimuth="0" elevation="1.31"/>
<Fog visualRange="100000.0"/>
<Precipitation precipitationType="dry" intensity="0.0"/>
</Weather>
<RoadCondition frictionScaleFactor="1.0"/>
</Environment>
</EnvironmentAction>
</GlobalAction>
<Private entityRef="hero">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-9.4" y="-152.8" z="0.5" h="1.57079632679"/>
</Position>
</TeleportAction>
</PrivateAction>
<PrivateAction>
<ControllerAction>
<AssignControllerAction>
<Controller name="HeroAgent">
<Properties>
<Property name="module" value="external_control"/>
</Properties>
</Controller>
</AssignControllerAction>
<OverrideControllerValueAction>
<Throttle value="0" active="false"/>
<Brake value="0" active="false"/>
<Clutch value="0" active="false"/>
<ParkingBrake value="0" active="false"/>
<SteeringWheel value="0" active="false"/>
<Gear number="0" active="false"/>
</OverrideControllerValueAction>
</ControllerAction>
</PrivateAction>
</Private>
<Private entityRef="adversary">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-9.4" y="-71.0" z="0.5" h="1.57079632679"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="standing">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-8.2" y="29.2" z="0.5" h="1.57079632679"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
</Actions>
</Init>
<Story name="MyStory">
<Act name="Behavior">
<ManeuverGroup maximumExecutionCount="1" name="ManeuverSequence">
<Actors selectTriggeringEntities="false">
<EntityRef entityRef="adversary"/>
</Actors>
<Maneuver name="LaneChangeSimpleManeuver">
<Event name="AdversaryAccelerates" priority="overwrite">
<Action name="AdversaryAccelerates">
<PrivateAction>
<LongitudinalAction>
<SpeedAction>
<SpeedActionDynamics dynamicsShape="step" value="50" dynamicsDimension="distance"/>
<SpeedActionTarget>
<AbsoluteTargetSpeed value="5.0"/>
</SpeedActionTarget>
</SpeedAction>
</LongitudinalAction>
</PrivateAction>
</Action>
<StartTrigger>
<ConditionGroup>
<Condition name="StartCondition" delay="0" conditionEdge="rising">
<ByEntityCondition>
<TriggeringEntities triggeringEntitiesRule="any">
<EntityRef entityRef="hero"/>
</TriggeringEntities>
<EntityCondition>
<RelativeDistanceCondition entityRef="adversary" relativeDistanceType="cartesianDistance" value="40.0" freespace="false" rule="lessThan"/>
</EntityCondition>
</ByEntityCondition>
</Condition>
</ConditionGroup>
</StartTrigger>
</Event>
<Event name="AdversaryChangesLane" priority="overwrite">
<Action name="AdversaryChangesLane">
<PrivateAction>
<LateralAction>
<LaneChangeAction>
<LaneChangeActionDynamics dynamicsShape="linear" value="25" dynamicsDimension="distance"/>
<LaneChangeTarget>
<RelativeTargetLane entityRef="adversary" value="-1"/>
</LaneChangeTarget>
</LaneChangeAction>
</LateralAction>
</PrivateAction>
</Action>
<StartTrigger>
<ConditionGroup>
<Condition name="AfterAdversaryAccelerates" delay="0" conditionEdge="rising">
<ByValueCondition>
<StoryboardElementStateCondition storyboardElementType="action" storyboardElementRef="AdversaryAccelerates" state="completeState"/>
</ByValueCondition>
</Condition>
</ConditionGroup>
</StartTrigger>
</Event>
</Maneuver>
</ManeuverGroup>
<StartTrigger>
<ConditionGroup>
<Condition name="OverallStartCondition" delay="0" conditionEdge="rising">
<ByEntityCondition>
<TriggeringEntities triggeringEntitiesRule="any">
<EntityRef entityRef="hero"/>
</TriggeringEntities>
<EntityCondition>
<TraveledDistanceCondition value="1.0"/>
</EntityCondition>
</ByEntityCondition>
</Condition>
<Condition name="StartTime" delay="0" conditionEdge="rising">
<ByValueCondition>
<SimulationTimeCondition value="0" rule="equalTo"/>
</ByValueCondition>
</Condition>
</ConditionGroup>
</StartTrigger>
<StopTrigger>
<ConditionGroup>
<Condition name="EndCondition" delay="0" conditionEdge="rising">
<ByEntityCondition>
<TriggeringEntities triggeringEntitiesRule="any">
<EntityRef entityRef="hero"/>
</TriggeringEntities>
<EntityCondition>
<TraveledDistanceCondition value="200.0"/>
</EntityCondition>
</ByEntityCondition>
</Condition>
</ConditionGroup>
</StopTrigger>
</Act>
</Story>
<StopTrigger>
<ConditionGroup>
<Condition name="criteria_RunningStopTest" delay="0" conditionEdge="rising">
<ByValueCondition>
<ParameterCondition parameterRef="" value="" rule="lessThan"/>
</ByValueCondition>
</Condition>
<Condition name="criteria_RunningRedLightTest" delay="0" conditionEdge="rising">
<ByValueCondition>
<ParameterCondition parameterRef="" value="" rule="lessThan"/>
</ByValueCondition>
</Condition>
<Condition name="criteria_WrongLaneTest" delay="0" conditionEdge="rising">
<ByValueCondition>
<ParameterCondition parameterRef="" value="" rule="lessThan"/>
</ByValueCondition>
</Condition>
<Condition name="criteria_OnSidewalkTest" delay="0" conditionEdge="rising">
<ByValueCondition>
<ParameterCondition parameterRef="" value="" rule="lessThan"/>
</ByValueCondition>
</Condition>
<Condition name="criteria_KeepLaneTest" delay="0" conditionEdge="rising">
<ByValueCondition>
<ParameterCondition parameterRef="" value="" rule="lessThan"/>
</ByValueCondition>
</Condition>
<Condition name="criteria_CollisionTest" delay="0" conditionEdge="rising">
<ByValueCondition>
<ParameterCondition parameterRef="" value="" rule="lessThan"/>
</ByValueCondition>
</Condition>
<Condition name="criteria_DrivenDistanceTest" delay="0" conditionEdge="rising">
<ByValueCondition>
<ParameterCondition parameterRef="distance_success" value="100" rule="lessThan"/>
</ByValueCondition>
</Condition>
</ConditionGroup>
</StopTrigger>
</Storyboard>
</OpenSCENARIO>
``` | Here is the result:
```
<?xml version="1.0" ?>
<OpenSCENARIO>
<FileHeader revMajor="1" revMinor="0" date="2020-03-24T12:00:00" description="CARLA:LaneChangeSimple" author=""/>
<ParameterDeclarations/>
<CatalogLocations/>
<RoadNetwork>
<LogicFile filepath="Town04"/>
<SceneGraphFile filepath=""/>
</RoadNetwork>
<Entities>
<ScenarioObject name="hero">
<Vehicle name="vehicle.tesla.model3" vehicleCategory="car">
<ParameterDeclarations/>
<Performance maxSpeed="69.444" maxAcceleration="200" maxDeceleration="10.0"/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2.1" length="4.5" height="1.8"/>
</BoundingBox>
<Axles>
<FrontAxle maxSteering="0.5" wheelDiameter="0.6" trackWidth="1.8" positionX="3.1" positionZ="0.3"/>
<RearAxle maxSteering="0.0" wheelDiameter="0.6" trackWidth="1.8" positionX="0.0" positionZ="0.3"/>
</Axles>
<Properties>
<Property name="type" value="ego_vehicle"/>
</Properties>
</Vehicle>
</ScenarioObject>
<ScenarioObject name="adversary">
<Vehicle name="vehicle.lincoln.mkz_2017" vehicleCategory="car">
<ParameterDeclarations/>
<Performance maxSpeed="69.444" maxAcceleration="200" maxDeceleration="10.0"/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2.1" length="4.5" height="1.8"/>
</BoundingBox>
<Axles>
<FrontAxle maxSteering="0.5" wheelDiameter="0.6" trackWidth="1.8" positionX="3.1" positionZ="0.3"/>
<RearAxle maxSteering="0.0" wheelDiameter="0.6" trackWidth="1.8" positionX="0.0" positionZ="0.3"/>
</Axles>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Vehicle>
</ScenarioObject>
<ScenarioObject name="standing">
<Vehicle name="vehicle.volkswagen.t2" vehicleCategory="car">
<ParameterDeclarations/>
<Performance maxSpeed="69.444" maxAcceleration="200" maxDeceleration="10.0"/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2.1" length="4.5" height="1.8"/>
</BoundingBox>
<Axles>
<FrontAxle maxSteering="0.5" wheelDiameter="0.6" trackWidth="1.8" positionX="3.1" positionZ="0.3"/>
<RearAxle maxSteering="0.0" wheelDiameter="0.6" trackWidth="1.8" positionX="0.0" positionZ="0.3"/>
</Axles>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Vehicle>
</ScenarioObject>
<ScenarioObject name="pedestrian_close_to_hero_2156">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
</Entities>
<Storyboard>
<Init>
<Actions>
<GlobalAction>
<EnvironmentAction>
<Environment name="Environment1">
<TimeOfDay animation="false" dateTime="2019-06-25T12:00:00"/>
<Weather cloudState="free">
<Sun intensity="0.85" azimuth="0" elevation="1.31"/>
<Fog visualRange="100000.0"/>
<Precipitation precipitationType="dry" intensity="0.0"/>
</Weather>
<RoadCondition frictionScaleFactor="1.0"/>
</Environment>
</EnvironmentAction>
</GlobalAction>
<Private entityRef="hero">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-9.4" y="-152.8" z="0.5" h="1.57079632679"/>
</Position>
</TeleportAction>
</PrivateAction>
<PrivateAction>
<ControllerAction>
<AssignControllerAction>
<Controller name="HeroAgent">
<Properties>
<Property name="module" value="external_control"/>
</Properties>
</Controller>
</AssignControllerAction>
<OverrideControllerValueAction>
<Throttle value="0" active="false"/>
<Brake value="0" active="false"/>
<Clutch value="0" active="false"/>
<ParkingBrake value="0" active="false"/>
<SteeringWheel value="0" active="false"/>
<Gear number="0" active="false"/>
</OverrideControllerValueAction>
</ControllerAction>
</PrivateAction>
</Private>
<Private entityRef="adversary">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-9.4" y="-71.0" z="0.5" h="1.57079632679"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="standing">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-8.2" y="29.2" z="0.5" h="1.57079632679"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_close_to_hero_2156">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="3.792800188064575" y="-147.44180297851562" z="0.0014286803780123591"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
</Actions>
</Init>
<Story name="MyStory">
<Act name="Behavior">
<ManeuverGroup maximumExecutionCount="1" name="ManeuverSequence">
<Actors selectTriggeringEntities="false">
<EntityRef entityRef="adversary"/>
</Actors>
<Maneuver name="LaneChangeSimpleManeuver">
<Event name="AdversaryAccelerates" priority="overwrite">
<Action name="AdversaryAccelerates">
<PrivateAction>
<LongitudinalAction>
<SpeedAction>
<SpeedActionDynamics dynamicsShape="step" value="50" dynamicsDimension="distance"/>
<SpeedActionTarget>
<AbsoluteTargetSpeed value="5.0"/>
</SpeedActionTarget>
</SpeedAction>
</LongitudinalAction>
</PrivateAction>
</Action>
<StartTrigger>
<ConditionGroup>
<Condition name="StartCondition" delay="0" conditionEdge="rising">
<ByEntityCondition>
<TriggeringEntities triggeringEntitiesRule="any">
<EntityRef entityRef="hero"/>
</TriggeringEntities>
<EntityCondition>
<RelativeDistanceCondition entityRef="adversary" relativeDistanceType="cartesianDistance" value="40.0" freespace="false" rule="lessThan"/>
</EntityCondition>
</ByEntityCondition>
</Condition>
</ConditionGroup>
</StartTrigger>
</Event>
<Event name="AdversaryChangesLane" priority="overwrite">
<Action name="AdversaryChangesLane">
<PrivateAction>
<LateralAction>
<LaneChangeAction>
<LaneChangeActionDynamics dynamicsShape="linear" value="25" dynamicsDimension="distance"/>
<LaneChangeTarget>
<RelativeTargetLane entityRef="adversary" value="-1"/>
</LaneChangeTarget>
</LaneChangeAction>
</LateralAction>
</PrivateAction>
</Action>
<StartTrigger>
<ConditionGroup>
<Condition name="AfterAdversaryAccelerates" delay="0" conditionEdge="rising">
<ByValueCondition>
<StoryboardElementStateCondition storyboardElementType="action" storyboardElementRef="AdversaryAccelerates" state="completeState"/>
</ByValueCondition>
</Condition>
</ConditionGroup>
</StartTrigger>
</Event>
</Maneuver>
</ManeuverGroup>
<StartTrigger>
<ConditionGroup>
<Condition name="OverallStartCondition" delay="0" conditionEdge="rising">
<ByEntityCondition>
<TriggeringEntities triggeringEntitiesRule="any">
<EntityRef entityRef="hero"/>
</TriggeringEntities>
<EntityCondition>
<TraveledDistanceCondition value="1.0"/>
</EntityCondition>
</ByEntityCondition>
</Condition>
<Condition name="StartTime" delay="0" conditionEdge="rising">
<ByValueCondition>
<SimulationTimeCondition value="0" rule="equalTo"/>
</ByValueCondition>
</Condition>
</ConditionGroup>
</StartTrigger>
<StopTrigger>
<ConditionGroup>
<Condition name="EndCondition" delay="0" conditionEdge="rising">
<ByEntityCondition>
<TriggeringEntities triggeringEntitiesRule="any">
<EntityRef entityRef="hero"/>
</TriggeringEntities>
<EntityCondition>
<TraveledDistanceCondition value="200.0"/>
</EntityCondition>
</ByEntityCondition>
</Condition>
</ConditionGroup>
</StopTrigger>
</Act>
</Story>
<StopTrigger>
<ConditionGroup>
<Condition name="criteria_RunningStopTest" delay="0" conditionEdge="rising">
<ByValueCondition>
<ParameterCondition parameterRef="" value="" rule="lessThan"/>
</ByValueCondition>
</Condition>
<Condition name="criteria_RunningRedLightTest" delay="0" conditionEdge="rising">
<ByValueCondition>
<ParameterCondition parameterRef="" value="" rule="lessThan"/>
</ByValueCondition>
</Condition>
<Condition name="criteria_WrongLaneTest" delay="0" conditionEdge="rising">
<ByValueCondition>
<ParameterCondition parameterRef="" value="" rule="lessThan"/>
</ByValueCondition>
</Condition>
<Condition name="criteria_OnSidewalkTest" delay="0" conditionEdge="rising">
<ByValueCondition>
<ParameterCondition parameterRef="" value="" rule="lessThan"/>
</ByValueCondition>
</Condition>
<Condition name="criteria_KeepLaneTest" delay="0" conditionEdge="rising">
<ByValueCondition>
<ParameterCondition parameterRef="" value="" rule="lessThan"/>
</ByValueCondition>
</Condition>
<Condition name="criteria_CollisionTest" delay="0" conditionEdge="rising">
<ByValueCondition>
<ParameterCondition parameterRef="" value="" rule="lessThan"/>
</ByValueCondition>
</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 (37.74, 3.12, 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_20571">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_close_to_adversary_20573">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_w_transform_20574">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_w_transform_20575">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_close_to_standing_20576">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_close_to_standing_20577">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_w_transform_20578">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_w_transform_20579">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
</Entities>
<Storyboard>
<Init>
<Actions>
<GlobalAction>
<EnvironmentAction>
<Environment name="Environment1">
<TimeOfDay animation="false" dateTime="2019-06-25T12:00:00"/>
<Weather cloudState="free">
<Sun intensity="0.85" azimuth="0" elevation="1.31"/>
<Fog visualRange="100000.0"/>
<Precipitation precipitationType="dry" intensity="0.0"/>
</Weather>
<RoadCondition frictionScaleFactor="1.0"/>
</Environment>
</EnvironmentAction>
</GlobalAction>
<Private entityRef="hero">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-9.4" y="-152.8" z="0.5" h="1.57079632679"/>
</Position>
</TeleportAction>
</PrivateAction>
<PrivateAction>
<ControllerAction>
<AssignControllerAction>
<Controller name="HeroAgent">
<Properties>
<Property name="module" value="external_control"/>
</Properties>
</Controller>
</AssignControllerAction>
<OverrideControllerValueAction>
<Throttle value="0" active="false"/>
<Brake value="0" active="false"/>
<Clutch value="0" active="false"/>
<ParkingBrake value="0" active="false"/>
<SteeringWheel value="0" active="false"/>
<Gear number="0" active="false"/>
</OverrideControllerValueAction>
</ControllerAction>
</PrivateAction>
</Private>
<Private entityRef="adversary">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-9.4" y="-71.0" z="0.5" h="1.57079632679"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="standing">
<PrivateAction>
<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_20571">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-2.844613552093506" y="-154.5093994140625" z="0.0014286803780123591"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_close_to_adversary_20573">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-15.997243881225586" y="-73.91507720947266" z="0.03382354602217674"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_w_transform_20574">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="52.2464485168457" y="35.85972213745117" z="0.5"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_w_transform_20575">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-55.436222076416016" y="57.63719177246094" z="0.5"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_close_to_standing_20576">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-12.728658676147461" y="20.575664520263672" z="0.0031121443025767803"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_close_to_standing_20577">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-1.7521164417266846" y="28.989253997802734" z="0.0031108856201171875"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_w_transform_20578">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="10.321331977844238" y="92.06385040283203" z="0.5"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_w_transform_20579">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="13.060663223266602" y="-67.4849624633789" z="0.5"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
</Actions>
</Init>
<Story name="MyStory">
<Act name="Behavior">
<ManeuverGroup maximumExecutionCount="1" name="ManeuverSequence">
<Actors selectTriggeringEntities="false">
<EntityRef entityRef="adversary"/>
</Actors>
<Maneuver name="LaneChangeSimpleManeuver">
<Event name="AdversaryAccelerates" priority="overwrite">
<Action name="AdversaryAccelerates">
<PrivateAction>
<LongitudinalAction>
<SpeedAction>
<SpeedActionDynamics dynamicsShape="step" value="50" dynamicsDimension="distance"/>
<SpeedActionTarget>
<AbsoluteTargetSpeed value="5.0"/>
</SpeedActionTarget>
</SpeedAction>
</LongitudinalAction>
</PrivateAction>
</Action>
<StartTrigger>
<ConditionGroup>
<Condition name="StartCondition" delay="0" conditionEdge="rising">
<ByEntityCondition>
<TriggeringEntities triggeringEntitiesRule="any">
<EntityRef entityRef="hero"/>
</TriggeringEntities>
<EntityCondition>
<RelativeDistanceCondition entityRef="adversary" relativeDistanceType="cartesianDistance" value="40.0" freespace="false" rule="lessThan"/>
</EntityCondition>
</ByEntityCondition>
</Condition>
</ConditionGroup>
</StartTrigger>
</Event>
<Event name="AdversaryChangesLane" priority="overwrite">
<Action name="AdversaryChangesLane">
<PrivateAction>
<LateralAction>
<LaneChangeAction>
<LaneChangeActionDynamics dynamicsShape="linear" value="25" dynamicsDimension="distance"/>
<LaneChangeTarget>
<RelativeTargetLane entityRef="adversary" value="-1"/>
</LaneChangeTarget>
</LaneChangeAction>
</LateralAction>
</PrivateAction>
</Action>
<StartTrigger>
<ConditionGroup>
<Condition name="AfterAdversaryAccelerates" delay="0" conditionEdge="rising">
<ByValueCondition>
<StoryboardElementStateCondition storyboardElementType="action" storyboardElementRef="AdversaryAccelerates" state="completeState"/>
</ByValueCondition>
</Condition>
</ConditionGroup>
</StartTrigger>
</Event>
</Maneuver>
</ManeuverGroup>
<StartTrigger>
<ConditionGroup>
<Condition name="OverallStartCondition" delay="0" conditionEdge="rising">
<ByEntityCondition>
<TriggeringEntities triggeringEntitiesRule="any">
<EntityRef entityRef="hero"/>
</TriggeringEntities>
<EntityCondition>
<TraveledDistanceCondition value="1.0"/>
</EntityCondition>
</ByEntityCondition>
</Condition>
<Condition name="StartTime" delay="0" conditionEdge="rising">
<ByValueCondition>
<SimulationTimeCondition value="0" rule="equalTo"/>
</ByValueCondition>
</Condition>
</ConditionGroup>
</StartTrigger>
<StopTrigger>
<ConditionGroup>
<Condition name="EndCondition" delay="0" conditionEdge="rising">
<ByEntityCondition>
<TriggeringEntities triggeringEntitiesRule="any">
<EntityRef entityRef="hero"/>
</TriggeringEntities>
<EntityCondition>
<TraveledDistanceCondition value="200.0"/>
</EntityCondition>
</ByEntityCondition>
</Condition>
</ConditionGroup>
</StopTrigger>
</Act>
</Story>
<StopTrigger>
<ConditionGroup>
<Condition name="criteria_RunningStopTest" delay="0" conditionEdge="rising">
<ByValueCondition>
<ParameterCondition parameterRef="" value="" rule="lessThan"/>
</ByValueCondition>
</Condition>
<Condition name="criteria_RunningRedLightTest" delay="0" conditionEdge="rising">
<ByValueCondition>
<ParameterCondition parameterRef="" value="" rule="lessThan"/>
</ByValueCondition>
</Condition>
<Condition name="criteria_WrongLaneTest" delay="0" conditionEdge="rising">
<ByValueCondition>
<ParameterCondition parameterRef="" value="" rule="lessThan"/>
</ByValueCondition>
</Condition>
<Condition name="criteria_OnSidewalkTest" delay="0" conditionEdge="rising">
<ByValueCondition>
<ParameterCondition parameterRef="" value="" rule="lessThan"/>
</ByValueCondition>
</Condition>
<Condition name="criteria_KeepLaneTest" delay="0" conditionEdge="rising">
<ByValueCondition>
<ParameterCondition parameterRef="" value="" rule="lessThan"/>
</ByValueCondition>
</Condition>
<Condition name="criteria_CollisionTest" delay="0" conditionEdge="rising">
<ByValueCondition>
<ParameterCondition parameterRef="" value="" rule="lessThan"/>
</ByValueCondition>
</Condition>
<Condition name="criteria_DrivenDistanceTest" delay="0" conditionEdge="rising">
<ByValueCondition>
<ParameterCondition parameterRef="distance_success" value="100" rule="lessThan"/>
</ByValueCondition>
</Condition>
</ConditionGroup>
</StopTrigger>
</Storyboard>
</OpenSCENARIO>
``` | Here is the result:
```
<?xml version="1.0" ?>
<OpenSCENARIO>
<FileHeader revMajor="1" revMinor="0" date="2020-03-24T12:00:00" description="CARLA:LaneChangeSimple" author=""/>
<ParameterDeclarations/>
<CatalogLocations/>
<RoadNetwork>
<LogicFile filepath="Town04"/>
<SceneGraphFile filepath=""/>
</RoadNetwork>
<Entities>
<ScenarioObject name="hero">
<Vehicle name="vehicle.tesla.model3" vehicleCategory="car">
<ParameterDeclarations/>
<Performance maxSpeed="69.444" maxAcceleration="200" maxDeceleration="10.0"/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2.1" length="4.5" height="1.8"/>
</BoundingBox>
<Axles>
<FrontAxle maxSteering="0.5" wheelDiameter="0.6" trackWidth="1.8" positionX="3.1" positionZ="0.3"/>
<RearAxle maxSteering="0.0" wheelDiameter="0.6" trackWidth="1.8" positionX="0.0" positionZ="0.3"/>
</Axles>
<Properties>
<Property name="type" value="ego_vehicle"/>
</Properties>
</Vehicle>
</ScenarioObject>
<ScenarioObject name="adversary">
<Vehicle name="vehicle.lincoln.mkz_2017" vehicleCategory="car">
<ParameterDeclarations/>
<Performance maxSpeed="69.444" maxAcceleration="200" maxDeceleration="10.0"/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2.1" length="4.5" height="1.8"/>
</BoundingBox>
<Axles>
<FrontAxle maxSteering="0.5" wheelDiameter="0.6" trackWidth="1.8" positionX="3.1" positionZ="0.3"/>
<RearAxle maxSteering="0.0" wheelDiameter="0.6" trackWidth="1.8" positionX="0.0" positionZ="0.3"/>
</Axles>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Vehicle>
</ScenarioObject>
<ScenarioObject name="standing">
<Vehicle name="vehicle.volkswagen.t2" vehicleCategory="car">
<ParameterDeclarations/>
<Performance maxSpeed="69.444" maxAcceleration="200" maxDeceleration="10.0"/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2.1" length="4.5" height="1.8"/>
</BoundingBox>
<Axles>
<FrontAxle maxSteering="0.5" wheelDiameter="0.6" trackWidth="1.8" positionX="3.1" positionZ="0.3"/>
<RearAxle maxSteering="0.0" wheelDiameter="0.6" 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_20571">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_close_to_adversary_20573">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_w_transform_20574">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_w_transform_20575">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_close_to_standing_20576">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_close_to_standing_20577">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_w_transform_20578">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_w_transform_20579">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_w_transform_20580">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
</Entities>
<Storyboard>
<Init>
<Actions>
<GlobalAction>
<EnvironmentAction>
<Environment name="Environment1">
<TimeOfDay animation="false" dateTime="2019-06-25T12:00:00"/>
<Weather cloudState="free">
<Sun intensity="0.85" azimuth="0" elevation="1.31"/>
<Fog visualRange="100000.0"/>
<Precipitation precipitationType="dry" intensity="0.0"/>
</Weather>
<RoadCondition frictionScaleFactor="1.0"/>
</Environment>
</EnvironmentAction>
</GlobalAction>
<Private entityRef="hero">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-9.4" y="-152.8" z="0.5" h="1.57079632679"/>
</Position>
</TeleportAction>
</PrivateAction>
<PrivateAction>
<ControllerAction>
<AssignControllerAction>
<Controller name="HeroAgent">
<Properties>
<Property name="module" value="external_control"/>
</Properties>
</Controller>
</AssignControllerAction>
<OverrideControllerValueAction>
<Throttle value="0" active="false"/>
<Brake value="0" active="false"/>
<Clutch value="0" active="false"/>
<ParkingBrake value="0" active="false"/>
<SteeringWheel value="0" active="false"/>
<Gear number="0" active="false"/>
</OverrideControllerValueAction>
</ControllerAction>
</PrivateAction>
</Private>
<Private entityRef="adversary">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-9.4" y="-71.0" z="0.5" h="1.57079632679"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="standing">
<PrivateAction>
<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_20571">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-2.844613552093506" y="-154.5093994140625" z="0.0014286803780123591"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_close_to_adversary_20573">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-15.997243881225586" y="-73.91507720947266" z="0.03382354602217674"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_w_transform_20574">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="52.2464485168457" y="35.85972213745117" z="0.5"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_w_transform_20575">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-55.436222076416016" y="57.63719177246094" z="0.5"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_close_to_standing_20576">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-12.728658676147461" y="20.575664520263672" z="0.0031121443025767803"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_close_to_standing_20577">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-1.7521164417266846" y="28.989253997802734" z="0.0031108856201171875"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_w_transform_20578">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="10.321331977844238" y="92.06385040283203" z="0.5"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_w_transform_20579">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="13.060663223266602" y="-67.4849624633789" z="0.5"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_w_transform_20580">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="37.73659896850586" y="3.118668556213379" z="0.5"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
</Actions>
</Init>
<Story name="MyStory">
<Act name="Behavior">
<ManeuverGroup maximumExecutionCount="1" name="ManeuverSequence">
<Actors selectTriggeringEntities="false">
<EntityRef entityRef="adversary"/>
</Actors>
<Maneuver name="LaneChangeSimpleManeuver">
<Event name="AdversaryAccelerates" priority="overwrite">
<Action name="AdversaryAccelerates">
<PrivateAction>
<LongitudinalAction>
<SpeedAction>
<SpeedActionDynamics dynamicsShape="step" value="50" dynamicsDimension="distance"/>
<SpeedActionTarget>
<AbsoluteTargetSpeed value="5.0"/>
</SpeedActionTarget>
</SpeedAction>
</LongitudinalAction>
</PrivateAction>
</Action>
<StartTrigger>
<ConditionGroup>
<Condition name="StartCondition" delay="0" conditionEdge="rising">
<ByEntityCondition>
<TriggeringEntities triggeringEntitiesRule="any">
<EntityRef entityRef="hero"/>
</TriggeringEntities>
<EntityCondition>
<RelativeDistanceCondition entityRef="adversary" relativeDistanceType="cartesianDistance" value="40.0" freespace="false" rule="lessThan"/>
</EntityCondition>
</ByEntityCondition>
</Condition>
</ConditionGroup>
</StartTrigger>
</Event>
<Event name="AdversaryChangesLane" priority="overwrite">
<Action name="AdversaryChangesLane">
<PrivateAction>
<LateralAction>
<LaneChangeAction>
<LaneChangeActionDynamics dynamicsShape="linear" value="25" dynamicsDimension="distance"/>
<LaneChangeTarget>
<RelativeTargetLane entityRef="adversary" value="-1"/>
</LaneChangeTarget>
</LaneChangeAction>
</LateralAction>
</PrivateAction>
</Action>
<StartTrigger>
<ConditionGroup>
<Condition name="AfterAdversaryAccelerates" delay="0" conditionEdge="rising">
<ByValueCondition>
<StoryboardElementStateCondition storyboardElementType="action" storyboardElementRef="AdversaryAccelerates" state="completeState"/>
</ByValueCondition>
</Condition>
</ConditionGroup>
</StartTrigger>
</Event>
</Maneuver>
</ManeuverGroup>
<StartTrigger>
<ConditionGroup>
<Condition name="OverallStartCondition" delay="0" conditionEdge="rising">
<ByEntityCondition>
<TriggeringEntities triggeringEntitiesRule="any">
<EntityRef entityRef="hero"/>
</TriggeringEntities>
<EntityCondition>
<TraveledDistanceCondition value="1.0"/>
</EntityCondition>
</ByEntityCondition>
</Condition>
<Condition name="StartTime" delay="0" conditionEdge="rising">
<ByValueCondition>
<SimulationTimeCondition value="0" rule="equalTo"/>
</ByValueCondition>
</Condition>
</ConditionGroup>
</StartTrigger>
<StopTrigger>
<ConditionGroup>
<Condition name="EndCondition" delay="0" conditionEdge="rising">
<ByEntityCondition>
<TriggeringEntities triggeringEntitiesRule="any">
<EntityRef entityRef="hero"/>
</TriggeringEntities>
<EntityCondition>
<TraveledDistanceCondition value="200.0"/>
</EntityCondition>
</ByEntityCondition>
</Condition>
</ConditionGroup>
</StopTrigger>
</Act>
</Story>
<StopTrigger>
<ConditionGroup>
<Condition name="criteria_RunningStopTest" delay="0" conditionEdge="rising">
<ByValueCondition>
<ParameterCondition parameterRef="" value="" rule="lessThan"/>
</ByValueCondition>
</Condition>
<Condition name="criteria_RunningRedLightTest" delay="0" conditionEdge="rising">
<ByValueCondition>
<ParameterCondition parameterRef="" value="" rule="lessThan"/>
</ByValueCondition>
</Condition>
<Condition name="criteria_WrongLaneTest" delay="0" conditionEdge="rising">
<ByValueCondition>
<ParameterCondition parameterRef="" value="" rule="lessThan"/>
</ByValueCondition>
</Condition>
<Condition name="criteria_OnSidewalkTest" delay="0" conditionEdge="rising">
<ByValueCondition>
<ParameterCondition parameterRef="" value="" rule="lessThan"/>
</ByValueCondition>
</Condition>
<Condition name="criteria_KeepLaneTest" delay="0" conditionEdge="rising">
<ByValueCondition>
<ParameterCondition parameterRef="" value="" rule="lessThan"/>
</ByValueCondition>
</Condition>
<Condition name="criteria_CollisionTest" delay="0" conditionEdge="rising">
<ByValueCondition>
<ParameterCondition parameterRef="" value="" rule="lessThan"/>
</ByValueCondition>
</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_adversary_21436">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_close_to_standing_21437">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_close_to_standing_21438">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_close_to_adversary_21439">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
</Entities>
<Storyboard>
<Init>
<Actions>
<GlobalAction>
<EnvironmentAction>
<Environment name="Environment1">
<TimeOfDay animation="false" dateTime="2019-06-25T12:00:00"/>
<Weather cloudState="free">
<Sun intensity="0.85" azimuth="0" elevation="1.31"/>
<Fog visualRange="100000.0"/>
<Precipitation precipitationType="dry" intensity="0.0"/>
</Weather>
<RoadCondition frictionScaleFactor="1.0"/>
</Environment>
</EnvironmentAction>
</GlobalAction>
<Private entityRef="hero">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-9.4" y="-152.8" z="0.5" h="1.57079632679"/>
</Position>
</TeleportAction>
</PrivateAction>
<PrivateAction>
<ControllerAction>
<AssignControllerAction>
<Controller name="HeroAgent">
<Properties>
<Property name="module" value="external_control"/>
</Properties>
</Controller>
</AssignControllerAction>
<OverrideControllerValueAction>
<Throttle value="0" active="false"/>
<Brake value="0" active="false"/>
<Clutch value="0" active="false"/>
<ParkingBrake value="0" active="false"/>
<SteeringWheel value="0" active="false"/>
<Gear number="0" active="false"/>
</OverrideControllerValueAction>
</ControllerAction>
</PrivateAction>
</Private>
<Private entityRef="adversary">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-9.4" y="-71.0" z="0.5" h="1.57079632679"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="standing">
<PrivateAction>
<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_21436">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="8.0058012008667" y="-61.303138732910156" z="0.03377906605601311"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_close_to_standing_21437">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-1.2536523342132568" y="31.66402816772461" z="0.003061447059735656"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_close_to_standing_21438">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-1.8158150911331177" y="20.52290916442871" z="0.003067397978156805"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_close_to_adversary_21439">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-9.15787124633789" y="-66.55364990234375" z="0.03374748304486275"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
</Actions>
</Init>
<Story name="MyStory">
<Act name="Behavior">
<ManeuverGroup maximumExecutionCount="1" name="ManeuverSequence">
<Actors selectTriggeringEntities="false">
<EntityRef entityRef="adversary"/>
</Actors>
<Maneuver name="LaneChangeSimpleManeuver">
<Event name="AdversaryAccelerates" priority="overwrite">
<Action name="AdversaryAccelerates">
<PrivateAction>
<LongitudinalAction>
<SpeedAction>
<SpeedActionDynamics dynamicsShape="step" value="50" dynamicsDimension="distance"/>
<SpeedActionTarget>
<AbsoluteTargetSpeed value="5.0"/>
</SpeedActionTarget>
</SpeedAction>
</LongitudinalAction>
</PrivateAction>
</Action>
<StartTrigger>
<ConditionGroup>
<Condition name="StartCondition" delay="0" conditionEdge="rising">
<ByEntityCondition>
<TriggeringEntities triggeringEntitiesRule="any">
<EntityRef entityRef="hero"/>
</TriggeringEntities>
<EntityCondition>
<RelativeDistanceCondition entityRef="adversary" relativeDistanceType="cartesianDistance" value="40.0" freespace="false" rule="lessThan"/>
</EntityCondition>
</ByEntityCondition>
</Condition>
</ConditionGroup>
</StartTrigger>
</Event>
<Event name="AdversaryChangesLane" priority="overwrite">
<Action name="AdversaryChangesLane">
<PrivateAction>
<LateralAction>
<LaneChangeAction>
<LaneChangeActionDynamics dynamicsShape="linear" value="25" dynamicsDimension="distance"/>
<LaneChangeTarget>
<RelativeTargetLane entityRef="adversary" value="-1"/>
</LaneChangeTarget>
</LaneChangeAction>
</LateralAction>
</PrivateAction>
</Action>
<StartTrigger>
<ConditionGroup>
<Condition name="AfterAdversaryAccelerates" delay="0" conditionEdge="rising">
<ByValueCondition>
<StoryboardElementStateCondition storyboardElementType="action" storyboardElementRef="AdversaryAccelerates" state="completeState"/>
</ByValueCondition>
</Condition>
</ConditionGroup>
</StartTrigger>
</Event>
</Maneuver>
</ManeuverGroup>
<StartTrigger>
<ConditionGroup>
<Condition name="OverallStartCondition" delay="0" conditionEdge="rising">
<ByEntityCondition>
<TriggeringEntities triggeringEntitiesRule="any">
<EntityRef entityRef="hero"/>
</TriggeringEntities>
<EntityCondition>
<TraveledDistanceCondition value="1.0"/>
</EntityCondition>
</ByEntityCondition>
</Condition>
<Condition name="StartTime" delay="0" conditionEdge="rising">
<ByValueCondition>
<SimulationTimeCondition value="0" rule="equalTo"/>
</ByValueCondition>
</Condition>
</ConditionGroup>
</StartTrigger>
<StopTrigger>
<ConditionGroup>
<Condition name="EndCondition" delay="0" conditionEdge="rising">
<ByEntityCondition>
<TriggeringEntities triggeringEntitiesRule="any">
<EntityRef entityRef="hero"/>
</TriggeringEntities>
<EntityCondition>
<TraveledDistanceCondition value="200.0"/>
</EntityCondition>
</ByEntityCondition>
</Condition>
</ConditionGroup>
</StopTrigger>
</Act>
</Story>
<StopTrigger>
<ConditionGroup>
<Condition name="criteria_RunningStopTest" delay="0" conditionEdge="rising">
<ByValueCondition>
<ParameterCondition parameterRef="" value="" rule="lessThan"/>
</ByValueCondition>
</Condition>
<Condition name="criteria_RunningRedLightTest" delay="0" conditionEdge="rising">
<ByValueCondition>
<ParameterCondition parameterRef="" value="" rule="lessThan"/>
</ByValueCondition>
</Condition>
<Condition name="criteria_WrongLaneTest" delay="0" conditionEdge="rising">
<ByValueCondition>
<ParameterCondition parameterRef="" value="" rule="lessThan"/>
</ByValueCondition>
</Condition>
<Condition name="criteria_OnSidewalkTest" delay="0" conditionEdge="rising">
<ByValueCondition>
<ParameterCondition parameterRef="" value="" rule="lessThan"/>
</ByValueCondition>
</Condition>
<Condition name="criteria_KeepLaneTest" delay="0" conditionEdge="rising">
<ByValueCondition>
<ParameterCondition parameterRef="" value="" rule="lessThan"/>
</ByValueCondition>
</Condition>
<Condition name="criteria_CollisionTest" delay="0" conditionEdge="rising">
<ByValueCondition>
<ParameterCondition parameterRef="" value="" rule="lessThan"/>
</ByValueCondition>
</Condition>
<Condition name="criteria_DrivenDistanceTest" delay="0" conditionEdge="rising">
<ByValueCondition>
<ParameterCondition parameterRef="distance_success" value="100" rule="lessThan"/>
</ByValueCondition>
</Condition>
</ConditionGroup>
</StopTrigger>
</Storyboard>
</OpenSCENARIO>
``` | Here is the result:
```
<?xml version="1.0" ?>
<OpenSCENARIO>
<FileHeader revMajor="1" revMinor="0" date="2020-03-24T12:00:00" description="CARLA:LaneChangeSimple" author=""/>
<ParameterDeclarations/>
<CatalogLocations/>
<RoadNetwork>
<LogicFile filepath="Town04"/>
<SceneGraphFile filepath=""/>
</RoadNetwork>
<Entities>
<ScenarioObject name="hero">
<Vehicle name="vehicle.tesla.model3" vehicleCategory="car">
<ParameterDeclarations/>
<Performance maxSpeed="69.444" maxAcceleration="200" maxDeceleration="10.0"/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2.1" length="4.5" height="1.8"/>
</BoundingBox>
<Axles>
<FrontAxle maxSteering="0.5" wheelDiameter="0.6" trackWidth="1.8" positionX="3.1" positionZ="0.3"/>
<RearAxle maxSteering="0.0" wheelDiameter="0.6" trackWidth="1.8" positionX="0.0" positionZ="0.3"/>
</Axles>
<Properties>
<Property name="type" value="ego_vehicle"/>
</Properties>
</Vehicle>
</ScenarioObject>
<ScenarioObject name="adversary">
<Vehicle name="vehicle.lincoln.mkz_2017" vehicleCategory="car">
<ParameterDeclarations/>
<Performance maxSpeed="69.444" maxAcceleration="200" maxDeceleration="10.0"/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2.1" length="4.5" height="1.8"/>
</BoundingBox>
<Axles>
<FrontAxle maxSteering="0.5" wheelDiameter="0.6" trackWidth="1.8" positionX="3.1" positionZ="0.3"/>
<RearAxle maxSteering="0.0" wheelDiameter="0.6" trackWidth="1.8" positionX="0.0" positionZ="0.3"/>
</Axles>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Vehicle>
</ScenarioObject>
<ScenarioObject name="standing">
<Vehicle name="vehicle.volkswagen.t2" vehicleCategory="car">
<ParameterDeclarations/>
<Performance maxSpeed="69.444" maxAcceleration="200" maxDeceleration="10.0"/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2.1" length="4.5" height="1.8"/>
</BoundingBox>
<Axles>
<FrontAxle maxSteering="0.5" wheelDiameter="0.6" trackWidth="1.8" positionX="3.1" positionZ="0.3"/>
<RearAxle maxSteering="0.0" wheelDiameter="0.6" 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_21436">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_close_to_standing_21437">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_close_to_standing_21438">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_close_to_adversary_21439">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_close_to_adversary_21440">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
</Entities>
<Storyboard>
<Init>
<Actions>
<GlobalAction>
<EnvironmentAction>
<Environment name="Environment1">
<TimeOfDay animation="false" dateTime="2019-06-25T12:00:00"/>
<Weather cloudState="free">
<Sun intensity="0.85" azimuth="0" elevation="1.31"/>
<Fog visualRange="100000.0"/>
<Precipitation precipitationType="dry" intensity="0.0"/>
</Weather>
<RoadCondition frictionScaleFactor="1.0"/>
</Environment>
</EnvironmentAction>
</GlobalAction>
<Private entityRef="hero">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-9.4" y="-152.8" z="0.5" h="1.57079632679"/>
</Position>
</TeleportAction>
</PrivateAction>
<PrivateAction>
<ControllerAction>
<AssignControllerAction>
<Controller name="HeroAgent">
<Properties>
<Property name="module" value="external_control"/>
</Properties>
</Controller>
</AssignControllerAction>
<OverrideControllerValueAction>
<Throttle value="0" active="false"/>
<Brake value="0" active="false"/>
<Clutch value="0" active="false"/>
<ParkingBrake value="0" active="false"/>
<SteeringWheel value="0" active="false"/>
<Gear number="0" active="false"/>
</OverrideControllerValueAction>
</ControllerAction>
</PrivateAction>
</Private>
<Private entityRef="adversary">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-9.4" y="-71.0" z="0.5" h="1.57079632679"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="standing">
<PrivateAction>
<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_21436">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="8.0058012008667" y="-61.303138732910156" z="0.03377906605601311"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_close_to_standing_21437">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-1.2536523342132568" y="31.66402816772461" z="0.003061447059735656"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_close_to_standing_21438">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-1.8158150911331177" y="20.52290916442871" z="0.003067397978156805"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_close_to_adversary_21439">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-9.15787124633789" y="-66.55364990234375" z="0.03374748304486275"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_close_to_adversary_21440">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-2.285858154296875" y="-70.18537139892578" z="0.03372585400938988"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
</Actions>
</Init>
<Story name="MyStory">
<Act name="Behavior">
<ManeuverGroup maximumExecutionCount="1" name="ManeuverSequence">
<Actors selectTriggeringEntities="false">
<EntityRef entityRef="adversary"/>
</Actors>
<Maneuver name="LaneChangeSimpleManeuver">
<Event name="AdversaryAccelerates" priority="overwrite">
<Action name="AdversaryAccelerates">
<PrivateAction>
<LongitudinalAction>
<SpeedAction>
<SpeedActionDynamics dynamicsShape="step" value="50" dynamicsDimension="distance"/>
<SpeedActionTarget>
<AbsoluteTargetSpeed value="5.0"/>
</SpeedActionTarget>
</SpeedAction>
</LongitudinalAction>
</PrivateAction>
</Action>
<StartTrigger>
<ConditionGroup>
<Condition name="StartCondition" delay="0" conditionEdge="rising">
<ByEntityCondition>
<TriggeringEntities triggeringEntitiesRule="any">
<EntityRef entityRef="hero"/>
</TriggeringEntities>
<EntityCondition>
<RelativeDistanceCondition entityRef="adversary" relativeDistanceType="cartesianDistance" value="40.0" freespace="false" rule="lessThan"/>
</EntityCondition>
</ByEntityCondition>
</Condition>
</ConditionGroup>
</StartTrigger>
</Event>
<Event name="AdversaryChangesLane" priority="overwrite">
<Action name="AdversaryChangesLane">
<PrivateAction>
<LateralAction>
<LaneChangeAction>
<LaneChangeActionDynamics dynamicsShape="linear" value="25" dynamicsDimension="distance"/>
<LaneChangeTarget>
<RelativeTargetLane entityRef="adversary" value="-1"/>
</LaneChangeTarget>
</LaneChangeAction>
</LateralAction>
</PrivateAction>
</Action>
<StartTrigger>
<ConditionGroup>
<Condition name="AfterAdversaryAccelerates" delay="0" conditionEdge="rising">
<ByValueCondition>
<StoryboardElementStateCondition storyboardElementType="action" storyboardElementRef="AdversaryAccelerates" state="completeState"/>
</ByValueCondition>
</Condition>
</ConditionGroup>
</StartTrigger>
</Event>
</Maneuver>
</ManeuverGroup>
<StartTrigger>
<ConditionGroup>
<Condition name="OverallStartCondition" delay="0" conditionEdge="rising">
<ByEntityCondition>
<TriggeringEntities triggeringEntitiesRule="any">
<EntityRef entityRef="hero"/>
</TriggeringEntities>
<EntityCondition>
<TraveledDistanceCondition value="1.0"/>
</EntityCondition>
</ByEntityCondition>
</Condition>
<Condition name="StartTime" delay="0" conditionEdge="rising">
<ByValueCondition>
<SimulationTimeCondition value="0" rule="equalTo"/>
</ByValueCondition>
</Condition>
</ConditionGroup>
</StartTrigger>
<StopTrigger>
<ConditionGroup>
<Condition name="EndCondition" delay="0" conditionEdge="rising">
<ByEntityCondition>
<TriggeringEntities triggeringEntitiesRule="any">
<EntityRef entityRef="hero"/>
</TriggeringEntities>
<EntityCondition>
<TraveledDistanceCondition value="200.0"/>
</EntityCondition>
</ByEntityCondition>
</Condition>
</ConditionGroup>
</StopTrigger>
</Act>
</Story>
<StopTrigger>
<ConditionGroup>
<Condition name="criteria_RunningStopTest" delay="0" conditionEdge="rising">
<ByValueCondition>
<ParameterCondition parameterRef="" value="" rule="lessThan"/>
</ByValueCondition>
</Condition>
<Condition name="criteria_RunningRedLightTest" delay="0" conditionEdge="rising">
<ByValueCondition>
<ParameterCondition parameterRef="" value="" rule="lessThan"/>
</ByValueCondition>
</Condition>
<Condition name="criteria_WrongLaneTest" delay="0" conditionEdge="rising">
<ByValueCondition>
<ParameterCondition parameterRef="" value="" rule="lessThan"/>
</ByValueCondition>
</Condition>
<Condition name="criteria_OnSidewalkTest" delay="0" conditionEdge="rising">
<ByValueCondition>
<ParameterCondition parameterRef="" value="" rule="lessThan"/>
</ByValueCondition>
</Condition>
<Condition name="criteria_KeepLaneTest" delay="0" conditionEdge="rising">
<ByValueCondition>
<ParameterCondition parameterRef="" value="" rule="lessThan"/>
</ByValueCondition>
</Condition>
<Condition name="criteria_CollisionTest" delay="0" conditionEdge="rising">
<ByValueCondition>
<ParameterCondition parameterRef="" value="" rule="lessThan"/>
</ByValueCondition>
</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 (67.07, 49.1, 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_16756">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_close_to_standing_16757">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_close_to_hero_16758">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_close_to_adversary_16759">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_w_transform_16760">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_w_transform_16762">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_close_to_standing_16765">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_close_to_hero_16766">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_w_transform_16767">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_w_transform_16768">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_w_transform_16769">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_w_transform_16770">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_close_to_hero_16771">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_close_to_adversary_16772">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
</Entities>
<Storyboard>
<Init>
<Actions>
<GlobalAction>
<EnvironmentAction>
<Environment name="Environment1">
<TimeOfDay animation="false" dateTime="2019-06-25T12:00:00"/>
<Weather cloudState="free">
<Sun intensity="0.85" azimuth="0" elevation="1.31"/>
<Fog visualRange="100000.0"/>
<Precipitation precipitationType="dry" intensity="0.0"/>
</Weather>
<RoadCondition frictionScaleFactor="1.0"/>
</Environment>
</EnvironmentAction>
</GlobalAction>
<Private entityRef="hero">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-9.4" y="-152.8" z="0.5" h="1.57079632679"/>
</Position>
</TeleportAction>
</PrivateAction>
<PrivateAction>
<ControllerAction>
<AssignControllerAction>
<Controller name="HeroAgent">
<Properties>
<Property name="module" value="external_control"/>
</Properties>
</Controller>
</AssignControllerAction>
<OverrideControllerValueAction>
<Throttle value="0" active="false"/>
<Brake value="0" active="false"/>
<Clutch value="0" active="false"/>
<ParkingBrake value="0" active="false"/>
<SteeringWheel value="0" active="false"/>
<Gear number="0" active="false"/>
</OverrideControllerValueAction>
</ControllerAction>
</PrivateAction>
</Private>
<Private entityRef="adversary">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-9.4" y="-71.0" z="0.5" h="1.57079632679"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="standing">
<PrivateAction>
<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_16756">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-19.25432777404785" y="-154.85989379882812" z="0.0014286803780123591"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_close_to_standing_16757">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-4.279826641082764" y="22.090538024902344" z="0.0030757903587073088"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_close_to_hero_16758">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-9.797480583190918" y="-158.23892211914062" z="0.0014286803780123591"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_close_to_adversary_16759">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-17.155900955200195" y="-73.75467681884766" z="0.033780746161937714"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_w_transform_16760">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="90.64015197753906" y="99.7091293334961" z="0.5"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_w_transform_16762">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="79.70948791503906" y="-14.11172103881836" z="0.5"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_close_to_standing_16765">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-6.775634288787842" y="22.11499786376953" z="0.0030642698984593153"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_close_to_hero_16766">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-12.615680694580078" y="-160.4808349609375" z="0.0014286803780123591"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_w_transform_16767">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="30.01430892944336" y="22.246341705322266" z="0.5"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_w_transform_16768">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-65.9788818359375" y="-62.7747917175293" z="0.5"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_w_transform_16769">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="48.790958404541016" y="-12.433135032653809" z="0.5"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_w_transform_16770">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="42.6593017578125" y="-8.596444129943848" z="0.5"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_close_to_hero_16771">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-4.419034481048584" y="-155.7288818359375" z="0.0014286803780123591"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_close_to_adversary_16772">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-5.104437828063965" y="-64.44615936279297" z="0.03385063260793686"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
</Actions>
</Init>
<Story name="MyStory">
<Act name="Behavior">
<ManeuverGroup maximumExecutionCount="1" name="ManeuverSequence">
<Actors selectTriggeringEntities="false">
<EntityRef entityRef="adversary"/>
</Actors>
<Maneuver name="LaneChangeSimpleManeuver">
<Event name="AdversaryAccelerates" priority="overwrite">
<Action name="AdversaryAccelerates">
<PrivateAction>
<LongitudinalAction>
<SpeedAction>
<SpeedActionDynamics dynamicsShape="step" value="50" dynamicsDimension="distance"/>
<SpeedActionTarget>
<AbsoluteTargetSpeed value="5.0"/>
</SpeedActionTarget>
</SpeedAction>
</LongitudinalAction>
</PrivateAction>
</Action>
<StartTrigger>
<ConditionGroup>
<Condition name="StartCondition" delay="0" conditionEdge="rising">
<ByEntityCondition>
<TriggeringEntities triggeringEntitiesRule="any">
<EntityRef entityRef="hero"/>
</TriggeringEntities>
<EntityCondition>
<RelativeDistanceCondition entityRef="adversary" relativeDistanceType="cartesianDistance" value="40.0" freespace="false" rule="lessThan"/>
</EntityCondition>
</ByEntityCondition>
</Condition>
</ConditionGroup>
</StartTrigger>
</Event>
<Event name="AdversaryChangesLane" priority="overwrite">
<Action name="AdversaryChangesLane">
<PrivateAction>
<LateralAction>
<LaneChangeAction>
<LaneChangeActionDynamics dynamicsShape="linear" value="25" dynamicsDimension="distance"/>
<LaneChangeTarget>
<RelativeTargetLane entityRef="adversary" value="-1"/>
</LaneChangeTarget>
</LaneChangeAction>
</LateralAction>
</PrivateAction>
</Action>
<StartTrigger>
<ConditionGroup>
<Condition name="AfterAdversaryAccelerates" delay="0" conditionEdge="rising">
<ByValueCondition>
<StoryboardElementStateCondition storyboardElementType="action" storyboardElementRef="AdversaryAccelerates" state="completeState"/>
</ByValueCondition>
</Condition>
</ConditionGroup>
</StartTrigger>
</Event>
</Maneuver>
</ManeuverGroup>
<StartTrigger>
<ConditionGroup>
<Condition name="OverallStartCondition" delay="0" conditionEdge="rising">
<ByEntityCondition>
<TriggeringEntities triggeringEntitiesRule="any">
<EntityRef entityRef="hero"/>
</TriggeringEntities>
<EntityCondition>
<TraveledDistanceCondition value="1.0"/>
</EntityCondition>
</ByEntityCondition>
</Condition>
<Condition name="StartTime" delay="0" conditionEdge="rising">
<ByValueCondition>
<SimulationTimeCondition value="0" rule="equalTo"/>
</ByValueCondition>
</Condition>
</ConditionGroup>
</StartTrigger>
<StopTrigger>
<ConditionGroup>
<Condition name="EndCondition" delay="0" conditionEdge="rising">
<ByEntityCondition>
<TriggeringEntities triggeringEntitiesRule="any">
<EntityRef entityRef="hero"/>
</TriggeringEntities>
<EntityCondition>
<TraveledDistanceCondition value="200.0"/>
</EntityCondition>
</ByEntityCondition>
</Condition>
</ConditionGroup>
</StopTrigger>
</Act>
</Story>
<StopTrigger>
<ConditionGroup>
<Condition name="criteria_RunningStopTest" delay="0" conditionEdge="rising">
<ByValueCondition>
<ParameterCondition parameterRef="" value="" rule="lessThan"/>
</ByValueCondition>
</Condition>
<Condition name="criteria_RunningRedLightTest" delay="0" conditionEdge="rising">
<ByValueCondition>
<ParameterCondition parameterRef="" value="" rule="lessThan"/>
</ByValueCondition>
</Condition>
<Condition name="criteria_WrongLaneTest" delay="0" conditionEdge="rising">
<ByValueCondition>
<ParameterCondition parameterRef="" value="" rule="lessThan"/>
</ByValueCondition>
</Condition>
<Condition name="criteria_OnSidewalkTest" delay="0" conditionEdge="rising">
<ByValueCondition>
<ParameterCondition parameterRef="" value="" rule="lessThan"/>
</ByValueCondition>
</Condition>
<Condition name="criteria_KeepLaneTest" delay="0" conditionEdge="rising">
<ByValueCondition>
<ParameterCondition parameterRef="" value="" rule="lessThan"/>
</ByValueCondition>
</Condition>
<Condition name="criteria_CollisionTest" delay="0" conditionEdge="rising">
<ByValueCondition>
<ParameterCondition parameterRef="" value="" rule="lessThan"/>
</ByValueCondition>
</Condition>
<Condition name="criteria_DrivenDistanceTest" delay="0" conditionEdge="rising">
<ByValueCondition>
<ParameterCondition parameterRef="distance_success" value="100" rule="lessThan"/>
</ByValueCondition>
</Condition>
</ConditionGroup>
</StopTrigger>
</Storyboard>
</OpenSCENARIO>
``` | Here is the result:
```
<?xml version="1.0" ?>
<OpenSCENARIO>
<FileHeader revMajor="1" revMinor="0" date="2020-03-24T12:00:00" description="CARLA:LaneChangeSimple" author=""/>
<ParameterDeclarations/>
<CatalogLocations/>
<RoadNetwork>
<LogicFile filepath="Town04"/>
<SceneGraphFile filepath=""/>
</RoadNetwork>
<Entities>
<ScenarioObject name="hero">
<Vehicle name="vehicle.tesla.model3" vehicleCategory="car">
<ParameterDeclarations/>
<Performance maxSpeed="69.444" maxAcceleration="200" maxDeceleration="10.0"/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2.1" length="4.5" height="1.8"/>
</BoundingBox>
<Axles>
<FrontAxle maxSteering="0.5" wheelDiameter="0.6" trackWidth="1.8" positionX="3.1" positionZ="0.3"/>
<RearAxle maxSteering="0.0" wheelDiameter="0.6" trackWidth="1.8" positionX="0.0" positionZ="0.3"/>
</Axles>
<Properties>
<Property name="type" value="ego_vehicle"/>
</Properties>
</Vehicle>
</ScenarioObject>
<ScenarioObject name="adversary">
<Vehicle name="vehicle.lincoln.mkz_2017" vehicleCategory="car">
<ParameterDeclarations/>
<Performance maxSpeed="69.444" maxAcceleration="200" maxDeceleration="10.0"/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2.1" length="4.5" height="1.8"/>
</BoundingBox>
<Axles>
<FrontAxle maxSteering="0.5" wheelDiameter="0.6" trackWidth="1.8" positionX="3.1" positionZ="0.3"/>
<RearAxle maxSteering="0.0" wheelDiameter="0.6" trackWidth="1.8" positionX="0.0" positionZ="0.3"/>
</Axles>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Vehicle>
</ScenarioObject>
<ScenarioObject name="standing">
<Vehicle name="vehicle.volkswagen.t2" vehicleCategory="car">
<ParameterDeclarations/>
<Performance maxSpeed="69.444" maxAcceleration="200" maxDeceleration="10.0"/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2.1" length="4.5" height="1.8"/>
</BoundingBox>
<Axles>
<FrontAxle maxSteering="0.5" wheelDiameter="0.6" trackWidth="1.8" positionX="3.1" positionZ="0.3"/>
<RearAxle maxSteering="0.0" wheelDiameter="0.6" 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_16756">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_close_to_standing_16757">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_close_to_hero_16758">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_close_to_adversary_16759">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_w_transform_16760">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_w_transform_16762">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_close_to_standing_16765">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_close_to_hero_16766">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_w_transform_16767">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_w_transform_16768">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_w_transform_16769">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_w_transform_16770">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_close_to_hero_16771">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_close_to_adversary_16772">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_w_transform_16773">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
</Entities>
<Storyboard>
<Init>
<Actions>
<GlobalAction>
<EnvironmentAction>
<Environment name="Environment1">
<TimeOfDay animation="false" dateTime="2019-06-25T12:00:00"/>
<Weather cloudState="free">
<Sun intensity="0.85" azimuth="0" elevation="1.31"/>
<Fog visualRange="100000.0"/>
<Precipitation precipitationType="dry" intensity="0.0"/>
</Weather>
<RoadCondition frictionScaleFactor="1.0"/>
</Environment>
</EnvironmentAction>
</GlobalAction>
<Private entityRef="hero">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-9.4" y="-152.8" z="0.5" h="1.57079632679"/>
</Position>
</TeleportAction>
</PrivateAction>
<PrivateAction>
<ControllerAction>
<AssignControllerAction>
<Controller name="HeroAgent">
<Properties>
<Property name="module" value="external_control"/>
</Properties>
</Controller>
</AssignControllerAction>
<OverrideControllerValueAction>
<Throttle value="0" active="false"/>
<Brake value="0" active="false"/>
<Clutch value="0" active="false"/>
<ParkingBrake value="0" active="false"/>
<SteeringWheel value="0" active="false"/>
<Gear number="0" active="false"/>
</OverrideControllerValueAction>
</ControllerAction>
</PrivateAction>
</Private>
<Private entityRef="adversary">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-9.4" y="-71.0" z="0.5" h="1.57079632679"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="standing">
<PrivateAction>
<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_16756">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-19.25432777404785" y="-154.85989379882812" z="0.0014286803780123591"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_close_to_standing_16757">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-4.279826641082764" y="22.090538024902344" z="0.0030757903587073088"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_close_to_hero_16758">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-9.797480583190918" y="-158.23892211914062" z="0.0014286803780123591"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_close_to_adversary_16759">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-17.155900955200195" y="-73.75467681884766" z="0.033780746161937714"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_w_transform_16760">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="90.64015197753906" y="99.7091293334961" z="0.5"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_w_transform_16762">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="79.70948791503906" y="-14.11172103881836" z="0.5"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_close_to_standing_16765">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-6.775634288787842" y="22.11499786376953" z="0.0030642698984593153"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_close_to_hero_16766">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-12.615680694580078" y="-160.4808349609375" z="0.0014286803780123591"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_w_transform_16767">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="30.01430892944336" y="22.246341705322266" z="0.5"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_w_transform_16768">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-65.9788818359375" y="-62.7747917175293" z="0.5"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_w_transform_16769">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="48.790958404541016" y="-12.433135032653809" z="0.5"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_w_transform_16770">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="42.6593017578125" y="-8.596444129943848" z="0.5"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_close_to_hero_16771">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-4.419034481048584" y="-155.7288818359375" z="0.0014286803780123591"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_close_to_adversary_16772">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-5.104437828063965" y="-64.44615936279297" z="0.03385063260793686"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_w_transform_16773">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="67.0730209350586" y="49.101871490478516" z="0.5"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
</Actions>
</Init>
<Story name="MyStory">
<Act name="Behavior">
<ManeuverGroup maximumExecutionCount="1" name="ManeuverSequence">
<Actors selectTriggeringEntities="false">
<EntityRef entityRef="adversary"/>
</Actors>
<Maneuver name="LaneChangeSimpleManeuver">
<Event name="AdversaryAccelerates" priority="overwrite">
<Action name="AdversaryAccelerates">
<PrivateAction>
<LongitudinalAction>
<SpeedAction>
<SpeedActionDynamics dynamicsShape="step" value="50" dynamicsDimension="distance"/>
<SpeedActionTarget>
<AbsoluteTargetSpeed value="5.0"/>
</SpeedActionTarget>
</SpeedAction>
</LongitudinalAction>
</PrivateAction>
</Action>
<StartTrigger>
<ConditionGroup>
<Condition name="StartCondition" delay="0" conditionEdge="rising">
<ByEntityCondition>
<TriggeringEntities triggeringEntitiesRule="any">
<EntityRef entityRef="hero"/>
</TriggeringEntities>
<EntityCondition>
<RelativeDistanceCondition entityRef="adversary" relativeDistanceType="cartesianDistance" value="40.0" freespace="false" rule="lessThan"/>
</EntityCondition>
</ByEntityCondition>
</Condition>
</ConditionGroup>
</StartTrigger>
</Event>
<Event name="AdversaryChangesLane" priority="overwrite">
<Action name="AdversaryChangesLane">
<PrivateAction>
<LateralAction>
<LaneChangeAction>
<LaneChangeActionDynamics dynamicsShape="linear" value="25" dynamicsDimension="distance"/>
<LaneChangeTarget>
<RelativeTargetLane entityRef="adversary" value="-1"/>
</LaneChangeTarget>
</LaneChangeAction>
</LateralAction>
</PrivateAction>
</Action>
<StartTrigger>
<ConditionGroup>
<Condition name="AfterAdversaryAccelerates" delay="0" conditionEdge="rising">
<ByValueCondition>
<StoryboardElementStateCondition storyboardElementType="action" storyboardElementRef="AdversaryAccelerates" state="completeState"/>
</ByValueCondition>
</Condition>
</ConditionGroup>
</StartTrigger>
</Event>
</Maneuver>
</ManeuverGroup>
<StartTrigger>
<ConditionGroup>
<Condition name="OverallStartCondition" delay="0" conditionEdge="rising">
<ByEntityCondition>
<TriggeringEntities triggeringEntitiesRule="any">
<EntityRef entityRef="hero"/>
</TriggeringEntities>
<EntityCondition>
<TraveledDistanceCondition value="1.0"/>
</EntityCondition>
</ByEntityCondition>
</Condition>
<Condition name="StartTime" delay="0" conditionEdge="rising">
<ByValueCondition>
<SimulationTimeCondition value="0" rule="equalTo"/>
</ByValueCondition>
</Condition>
</ConditionGroup>
</StartTrigger>
<StopTrigger>
<ConditionGroup>
<Condition name="EndCondition" delay="0" conditionEdge="rising">
<ByEntityCondition>
<TriggeringEntities triggeringEntitiesRule="any">
<EntityRef entityRef="hero"/>
</TriggeringEntities>
<EntityCondition>
<TraveledDistanceCondition value="200.0"/>
</EntityCondition>
</ByEntityCondition>
</Condition>
</ConditionGroup>
</StopTrigger>
</Act>
</Story>
<StopTrigger>
<ConditionGroup>
<Condition name="criteria_RunningStopTest" delay="0" conditionEdge="rising">
<ByValueCondition>
<ParameterCondition parameterRef="" value="" rule="lessThan"/>
</ByValueCondition>
</Condition>
<Condition name="criteria_RunningRedLightTest" delay="0" conditionEdge="rising">
<ByValueCondition>
<ParameterCondition parameterRef="" value="" rule="lessThan"/>
</ByValueCondition>
</Condition>
<Condition name="criteria_WrongLaneTest" delay="0" conditionEdge="rising">
<ByValueCondition>
<ParameterCondition parameterRef="" value="" rule="lessThan"/>
</ByValueCondition>
</Condition>
<Condition name="criteria_OnSidewalkTest" delay="0" conditionEdge="rising">
<ByValueCondition>
<ParameterCondition parameterRef="" value="" rule="lessThan"/>
</ByValueCondition>
</Condition>
<Condition name="criteria_KeepLaneTest" delay="0" conditionEdge="rising">
<ByValueCondition>
<ParameterCondition parameterRef="" value="" rule="lessThan"/>
</ByValueCondition>
</Condition>
<Condition name="criteria_CollisionTest" delay="0" conditionEdge="rising">
<ByValueCondition>
<ParameterCondition parameterRef="" value="" rule="lessThan"/>
</ByValueCondition>
</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 (80.56, 5.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_hero_2478">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_close_to_adversary_2479">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
</Entities>
<Storyboard>
<Init>
<Actions>
<GlobalAction>
<EnvironmentAction>
<Environment name="Environment1">
<TimeOfDay animation="false" dateTime="2019-06-25T12:00:00"/>
<Weather cloudState="free">
<Sun intensity="0.85" azimuth="0" elevation="1.31"/>
<Fog visualRange="100000.0"/>
<Precipitation precipitationType="dry" intensity="0.0"/>
</Weather>
<RoadCondition frictionScaleFactor="1.0"/>
</Environment>
</EnvironmentAction>
</GlobalAction>
<Private entityRef="hero">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-9.4" y="-152.8" z="0.5" h="1.57079632679"/>
</Position>
</TeleportAction>
</PrivateAction>
<PrivateAction>
<ControllerAction>
<AssignControllerAction>
<Controller name="HeroAgent">
<Properties>
<Property name="module" value="external_control"/>
</Properties>
</Controller>
</AssignControllerAction>
<OverrideControllerValueAction>
<Throttle value="0" active="false"/>
<Brake value="0" active="false"/>
<Clutch value="0" active="false"/>
<ParkingBrake value="0" active="false"/>
<SteeringWheel value="0" active="false"/>
<Gear number="0" active="false"/>
</OverrideControllerValueAction>
</ControllerAction>
</PrivateAction>
</Private>
<Private entityRef="adversary">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-9.4" y="-71.0" z="0.5" h="1.57079632679"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="standing">
<PrivateAction>
<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_2478">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-2.036707639694214" y="-159.59164428710938" z="0.0014286803780123591"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_close_to_adversary_2479">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-1.9156302213668823" y="-66.42526245117188" z="0.03376880660653114"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
</Actions>
</Init>
<Story name="MyStory">
<Act name="Behavior">
<ManeuverGroup maximumExecutionCount="1" name="ManeuverSequence">
<Actors selectTriggeringEntities="false">
<EntityRef entityRef="adversary"/>
</Actors>
<Maneuver name="LaneChangeSimpleManeuver">
<Event name="AdversaryAccelerates" priority="overwrite">
<Action name="AdversaryAccelerates">
<PrivateAction>
<LongitudinalAction>
<SpeedAction>
<SpeedActionDynamics dynamicsShape="step" value="50" dynamicsDimension="distance"/>
<SpeedActionTarget>
<AbsoluteTargetSpeed value="5.0"/>
</SpeedActionTarget>
</SpeedAction>
</LongitudinalAction>
</PrivateAction>
</Action>
<StartTrigger>
<ConditionGroup>
<Condition name="StartCondition" delay="0" conditionEdge="rising">
<ByEntityCondition>
<TriggeringEntities triggeringEntitiesRule="any">
<EntityRef entityRef="hero"/>
</TriggeringEntities>
<EntityCondition>
<RelativeDistanceCondition entityRef="adversary" relativeDistanceType="cartesianDistance" value="40.0" freespace="false" rule="lessThan"/>
</EntityCondition>
</ByEntityCondition>
</Condition>
</ConditionGroup>
</StartTrigger>
</Event>
<Event name="AdversaryChangesLane" priority="overwrite">
<Action name="AdversaryChangesLane">
<PrivateAction>
<LateralAction>
<LaneChangeAction>
<LaneChangeActionDynamics dynamicsShape="linear" value="25" dynamicsDimension="distance"/>
<LaneChangeTarget>
<RelativeTargetLane entityRef="adversary" value="-1"/>
</LaneChangeTarget>
</LaneChangeAction>
</LateralAction>
</PrivateAction>
</Action>
<StartTrigger>
<ConditionGroup>
<Condition name="AfterAdversaryAccelerates" delay="0" conditionEdge="rising">
<ByValueCondition>
<StoryboardElementStateCondition storyboardElementType="action" storyboardElementRef="AdversaryAccelerates" state="completeState"/>
</ByValueCondition>
</Condition>
</ConditionGroup>
</StartTrigger>
</Event>
</Maneuver>
</ManeuverGroup>
<StartTrigger>
<ConditionGroup>
<Condition name="OverallStartCondition" delay="0" conditionEdge="rising">
<ByEntityCondition>
<TriggeringEntities triggeringEntitiesRule="any">
<EntityRef entityRef="hero"/>
</TriggeringEntities>
<EntityCondition>
<TraveledDistanceCondition value="1.0"/>
</EntityCondition>
</ByEntityCondition>
</Condition>
<Condition name="StartTime" delay="0" conditionEdge="rising">
<ByValueCondition>
<SimulationTimeCondition value="0" rule="equalTo"/>
</ByValueCondition>
</Condition>
</ConditionGroup>
</StartTrigger>
<StopTrigger>
<ConditionGroup>
<Condition name="EndCondition" delay="0" conditionEdge="rising">
<ByEntityCondition>
<TriggeringEntities triggeringEntitiesRule="any">
<EntityRef entityRef="hero"/>
</TriggeringEntities>
<EntityCondition>
<TraveledDistanceCondition value="200.0"/>
</EntityCondition>
</ByEntityCondition>
</Condition>
</ConditionGroup>
</StopTrigger>
</Act>
</Story>
<StopTrigger>
<ConditionGroup>
<Condition name="criteria_RunningStopTest" delay="0" conditionEdge="rising">
<ByValueCondition>
<ParameterCondition parameterRef="" value="" rule="lessThan"/>
</ByValueCondition>
</Condition>
<Condition name="criteria_RunningRedLightTest" delay="0" conditionEdge="rising">
<ByValueCondition>
<ParameterCondition parameterRef="" value="" rule="lessThan"/>
</ByValueCondition>
</Condition>
<Condition name="criteria_WrongLaneTest" delay="0" conditionEdge="rising">
<ByValueCondition>
<ParameterCondition parameterRef="" value="" rule="lessThan"/>
</ByValueCondition>
</Condition>
<Condition name="criteria_OnSidewalkTest" delay="0" conditionEdge="rising">
<ByValueCondition>
<ParameterCondition parameterRef="" value="" rule="lessThan"/>
</ByValueCondition>
</Condition>
<Condition name="criteria_KeepLaneTest" delay="0" conditionEdge="rising">
<ByValueCondition>
<ParameterCondition parameterRef="" value="" rule="lessThan"/>
</ByValueCondition>
</Condition>
<Condition name="criteria_CollisionTest" delay="0" conditionEdge="rising">
<ByValueCondition>
<ParameterCondition parameterRef="" value="" rule="lessThan"/>
</ByValueCondition>
</Condition>
<Condition name="criteria_DrivenDistanceTest" delay="0" conditionEdge="rising">
<ByValueCondition>
<ParameterCondition parameterRef="distance_success" value="100" rule="lessThan"/>
</ByValueCondition>
</Condition>
</ConditionGroup>
</StopTrigger>
</Storyboard>
</OpenSCENARIO>
``` | Here is the result:
```
<?xml version="1.0" ?>
<OpenSCENARIO>
<FileHeader revMajor="1" revMinor="0" date="2020-03-24T12:00:00" description="CARLA:LaneChangeSimple" author=""/>
<ParameterDeclarations/>
<CatalogLocations/>
<RoadNetwork>
<LogicFile filepath="Town04"/>
<SceneGraphFile filepath=""/>
</RoadNetwork>
<Entities>
<ScenarioObject name="hero">
<Vehicle name="vehicle.tesla.model3" vehicleCategory="car">
<ParameterDeclarations/>
<Performance maxSpeed="69.444" maxAcceleration="200" maxDeceleration="10.0"/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2.1" length="4.5" height="1.8"/>
</BoundingBox>
<Axles>
<FrontAxle maxSteering="0.5" wheelDiameter="0.6" trackWidth="1.8" positionX="3.1" positionZ="0.3"/>
<RearAxle maxSteering="0.0" wheelDiameter="0.6" trackWidth="1.8" positionX="0.0" positionZ="0.3"/>
</Axles>
<Properties>
<Property name="type" value="ego_vehicle"/>
</Properties>
</Vehicle>
</ScenarioObject>
<ScenarioObject name="adversary">
<Vehicle name="vehicle.lincoln.mkz_2017" vehicleCategory="car">
<ParameterDeclarations/>
<Performance maxSpeed="69.444" maxAcceleration="200" maxDeceleration="10.0"/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2.1" length="4.5" height="1.8"/>
</BoundingBox>
<Axles>
<FrontAxle maxSteering="0.5" wheelDiameter="0.6" trackWidth="1.8" positionX="3.1" positionZ="0.3"/>
<RearAxle maxSteering="0.0" wheelDiameter="0.6" trackWidth="1.8" positionX="0.0" positionZ="0.3"/>
</Axles>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Vehicle>
</ScenarioObject>
<ScenarioObject name="standing">
<Vehicle name="vehicle.volkswagen.t2" vehicleCategory="car">
<ParameterDeclarations/>
<Performance maxSpeed="69.444" maxAcceleration="200" maxDeceleration="10.0"/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2.1" length="4.5" height="1.8"/>
</BoundingBox>
<Axles>
<FrontAxle maxSteering="0.5" wheelDiameter="0.6" trackWidth="1.8" positionX="3.1" positionZ="0.3"/>
<RearAxle maxSteering="0.0" wheelDiameter="0.6" 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_2478">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_close_to_adversary_2479">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_w_transform_2480">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
</Entities>
<Storyboard>
<Init>
<Actions>
<GlobalAction>
<EnvironmentAction>
<Environment name="Environment1">
<TimeOfDay animation="false" dateTime="2019-06-25T12:00:00"/>
<Weather cloudState="free">
<Sun intensity="0.85" azimuth="0" elevation="1.31"/>
<Fog visualRange="100000.0"/>
<Precipitation precipitationType="dry" intensity="0.0"/>
</Weather>
<RoadCondition frictionScaleFactor="1.0"/>
</Environment>
</EnvironmentAction>
</GlobalAction>
<Private entityRef="hero">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-9.4" y="-152.8" z="0.5" h="1.57079632679"/>
</Position>
</TeleportAction>
</PrivateAction>
<PrivateAction>
<ControllerAction>
<AssignControllerAction>
<Controller name="HeroAgent">
<Properties>
<Property name="module" value="external_control"/>
</Properties>
</Controller>
</AssignControllerAction>
<OverrideControllerValueAction>
<Throttle value="0" active="false"/>
<Brake value="0" active="false"/>
<Clutch value="0" active="false"/>
<ParkingBrake value="0" active="false"/>
<SteeringWheel value="0" active="false"/>
<Gear number="0" active="false"/>
</OverrideControllerValueAction>
</ControllerAction>
</PrivateAction>
</Private>
<Private entityRef="adversary">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-9.4" y="-71.0" z="0.5" h="1.57079632679"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="standing">
<PrivateAction>
<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_2478">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-2.036707639694214" y="-159.59164428710938" z="0.0014286803780123591"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_close_to_adversary_2479">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-1.9156302213668823" y="-66.42526245117188" z="0.03376880660653114"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_w_transform_2480">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="80.55553436279297" y="5.991650104522705" z="0.5"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
</Actions>
</Init>
<Story name="MyStory">
<Act name="Behavior">
<ManeuverGroup maximumExecutionCount="1" name="ManeuverSequence">
<Actors selectTriggeringEntities="false">
<EntityRef entityRef="adversary"/>
</Actors>
<Maneuver name="LaneChangeSimpleManeuver">
<Event name="AdversaryAccelerates" priority="overwrite">
<Action name="AdversaryAccelerates">
<PrivateAction>
<LongitudinalAction>
<SpeedAction>
<SpeedActionDynamics dynamicsShape="step" value="50" dynamicsDimension="distance"/>
<SpeedActionTarget>
<AbsoluteTargetSpeed value="5.0"/>
</SpeedActionTarget>
</SpeedAction>
</LongitudinalAction>
</PrivateAction>
</Action>
<StartTrigger>
<ConditionGroup>
<Condition name="StartCondition" delay="0" conditionEdge="rising">
<ByEntityCondition>
<TriggeringEntities triggeringEntitiesRule="any">
<EntityRef entityRef="hero"/>
</TriggeringEntities>
<EntityCondition>
<RelativeDistanceCondition entityRef="adversary" relativeDistanceType="cartesianDistance" value="40.0" freespace="false" rule="lessThan"/>
</EntityCondition>
</ByEntityCondition>
</Condition>
</ConditionGroup>
</StartTrigger>
</Event>
<Event name="AdversaryChangesLane" priority="overwrite">
<Action name="AdversaryChangesLane">
<PrivateAction>
<LateralAction>
<LaneChangeAction>
<LaneChangeActionDynamics dynamicsShape="linear" value="25" dynamicsDimension="distance"/>
<LaneChangeTarget>
<RelativeTargetLane entityRef="adversary" value="-1"/>
</LaneChangeTarget>
</LaneChangeAction>
</LateralAction>
</PrivateAction>
</Action>
<StartTrigger>
<ConditionGroup>
<Condition name="AfterAdversaryAccelerates" delay="0" conditionEdge="rising">
<ByValueCondition>
<StoryboardElementStateCondition storyboardElementType="action" storyboardElementRef="AdversaryAccelerates" state="completeState"/>
</ByValueCondition>
</Condition>
</ConditionGroup>
</StartTrigger>
</Event>
</Maneuver>
</ManeuverGroup>
<StartTrigger>
<ConditionGroup>
<Condition name="OverallStartCondition" delay="0" conditionEdge="rising">
<ByEntityCondition>
<TriggeringEntities triggeringEntitiesRule="any">
<EntityRef entityRef="hero"/>
</TriggeringEntities>
<EntityCondition>
<TraveledDistanceCondition value="1.0"/>
</EntityCondition>
</ByEntityCondition>
</Condition>
<Condition name="StartTime" delay="0" conditionEdge="rising">
<ByValueCondition>
<SimulationTimeCondition value="0" rule="equalTo"/>
</ByValueCondition>
</Condition>
</ConditionGroup>
</StartTrigger>
<StopTrigger>
<ConditionGroup>
<Condition name="EndCondition" delay="0" conditionEdge="rising">
<ByEntityCondition>
<TriggeringEntities triggeringEntitiesRule="any">
<EntityRef entityRef="hero"/>
</TriggeringEntities>
<EntityCondition>
<TraveledDistanceCondition value="200.0"/>
</EntityCondition>
</ByEntityCondition>
</Condition>
</ConditionGroup>
</StopTrigger>
</Act>
</Story>
<StopTrigger>
<ConditionGroup>
<Condition name="criteria_RunningStopTest" delay="0" conditionEdge="rising">
<ByValueCondition>
<ParameterCondition parameterRef="" value="" rule="lessThan"/>
</ByValueCondition>
</Condition>
<Condition name="criteria_RunningRedLightTest" delay="0" conditionEdge="rising">
<ByValueCondition>
<ParameterCondition parameterRef="" value="" rule="lessThan"/>
</ByValueCondition>
</Condition>
<Condition name="criteria_WrongLaneTest" delay="0" conditionEdge="rising">
<ByValueCondition>
<ParameterCondition parameterRef="" value="" rule="lessThan"/>
</ByValueCondition>
</Condition>
<Condition name="criteria_OnSidewalkTest" delay="0" conditionEdge="rising">
<ByValueCondition>
<ParameterCondition parameterRef="" value="" rule="lessThan"/>
</ByValueCondition>
</Condition>
<Condition name="criteria_KeepLaneTest" delay="0" conditionEdge="rising">
<ByValueCondition>
<ParameterCondition parameterRef="" value="" rule="lessThan"/>
</ByValueCondition>
</Condition>
<Condition name="criteria_CollisionTest" delay="0" conditionEdge="rising">
<ByValueCondition>
<ParameterCondition parameterRef="" value="" rule="lessThan"/>
</ByValueCondition>
</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_hero_543">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_w_transform_544">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_close_to_hero_545">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_w_transform_546">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_w_transform_547">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_w_transform_548">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
</Entities>
<Storyboard>
<Init>
<Actions>
<GlobalAction>
<EnvironmentAction>
<Environment name="Environment1">
<TimeOfDay animation="false" dateTime="2019-06-25T12:00:00"/>
<Weather cloudState="free">
<Sun intensity="0.85" azimuth="0" elevation="1.31"/>
<Fog visualRange="100000.0"/>
<Precipitation precipitationType="dry" intensity="0.0"/>
</Weather>
<RoadCondition frictionScaleFactor="1.0"/>
</Environment>
</EnvironmentAction>
</GlobalAction>
<Private entityRef="hero">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-9.4" y="-152.8" z="0.5" h="1.57079632679"/>
</Position>
</TeleportAction>
</PrivateAction>
<PrivateAction>
<ControllerAction>
<AssignControllerAction>
<Controller name="HeroAgent">
<Properties>
<Property name="module" value="external_control"/>
</Properties>
</Controller>
</AssignControllerAction>
<OverrideControllerValueAction>
<Throttle value="0" active="false"/>
<Brake value="0" active="false"/>
<Clutch value="0" active="false"/>
<ParkingBrake value="0" active="false"/>
<SteeringWheel value="0" active="false"/>
<Gear number="0" active="false"/>
</OverrideControllerValueAction>
</ControllerAction>
</PrivateAction>
</Private>
<Private entityRef="adversary">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-9.4" y="-71.0" z="0.5" h="1.57079632679"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="standing">
<PrivateAction>
<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_543">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-15.96412467956543" y="-147.2898712158203" z="0.0014286803780123591"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_w_transform_544">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-25.639963150024414" y="-15.679710388183594" z="0.5"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_close_to_hero_545">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-12.234622955322266" y="-153.40821838378906" z="0.0014286803780123591"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_w_transform_546">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="10.670572280883789" y="-9.667779922485352" z="0.5"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_w_transform_547">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-56.24025344848633" y="-58.25476837158203" z="0.5"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_w_transform_548">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="47.05560302734375" y="-33.71281051635742" z="0.5"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
</Actions>
</Init>
<Story name="MyStory">
<Act name="Behavior">
<ManeuverGroup maximumExecutionCount="1" name="ManeuverSequence">
<Actors selectTriggeringEntities="false">
<EntityRef entityRef="adversary"/>
</Actors>
<Maneuver name="LaneChangeSimpleManeuver">
<Event name="AdversaryAccelerates" priority="overwrite">
<Action name="AdversaryAccelerates">
<PrivateAction>
<LongitudinalAction>
<SpeedAction>
<SpeedActionDynamics dynamicsShape="step" value="50" dynamicsDimension="distance"/>
<SpeedActionTarget>
<AbsoluteTargetSpeed value="5.0"/>
</SpeedActionTarget>
</SpeedAction>
</LongitudinalAction>
</PrivateAction>
</Action>
<StartTrigger>
<ConditionGroup>
<Condition name="StartCondition" delay="0" conditionEdge="rising">
<ByEntityCondition>
<TriggeringEntities triggeringEntitiesRule="any">
<EntityRef entityRef="hero"/>
</TriggeringEntities>
<EntityCondition>
<RelativeDistanceCondition entityRef="adversary" relativeDistanceType="cartesianDistance" value="40.0" freespace="false" rule="lessThan"/>
</EntityCondition>
</ByEntityCondition>
</Condition>
</ConditionGroup>
</StartTrigger>
</Event>
<Event name="AdversaryChangesLane" priority="overwrite">
<Action name="AdversaryChangesLane">
<PrivateAction>
<LateralAction>
<LaneChangeAction>
<LaneChangeActionDynamics dynamicsShape="linear" value="25" dynamicsDimension="distance"/>
<LaneChangeTarget>
<RelativeTargetLane entityRef="adversary" value="-1"/>
</LaneChangeTarget>
</LaneChangeAction>
</LateralAction>
</PrivateAction>
</Action>
<StartTrigger>
<ConditionGroup>
<Condition name="AfterAdversaryAccelerates" delay="0" conditionEdge="rising">
<ByValueCondition>
<StoryboardElementStateCondition storyboardElementType="action" storyboardElementRef="AdversaryAccelerates" state="completeState"/>
</ByValueCondition>
</Condition>
</ConditionGroup>
</StartTrigger>
</Event>
</Maneuver>
</ManeuverGroup>
<StartTrigger>
<ConditionGroup>
<Condition name="OverallStartCondition" delay="0" conditionEdge="rising">
<ByEntityCondition>
<TriggeringEntities triggeringEntitiesRule="any">
<EntityRef entityRef="hero"/>
</TriggeringEntities>
<EntityCondition>
<TraveledDistanceCondition value="1.0"/>
</EntityCondition>
</ByEntityCondition>
</Condition>
<Condition name="StartTime" delay="0" conditionEdge="rising">
<ByValueCondition>
<SimulationTimeCondition value="0" rule="equalTo"/>
</ByValueCondition>
</Condition>
</ConditionGroup>
</StartTrigger>
<StopTrigger>
<ConditionGroup>
<Condition name="EndCondition" delay="0" conditionEdge="rising">
<ByEntityCondition>
<TriggeringEntities triggeringEntitiesRule="any">
<EntityRef entityRef="hero"/>
</TriggeringEntities>
<EntityCondition>
<TraveledDistanceCondition value="200.0"/>
</EntityCondition>
</ByEntityCondition>
</Condition>
</ConditionGroup>
</StopTrigger>
</Act>
</Story>
<StopTrigger>
<ConditionGroup>
<Condition name="criteria_RunningStopTest" delay="0" conditionEdge="rising">
<ByValueCondition>
<ParameterCondition parameterRef="" value="" rule="lessThan"/>
</ByValueCondition>
</Condition>
<Condition name="criteria_RunningRedLightTest" delay="0" conditionEdge="rising">
<ByValueCondition>
<ParameterCondition parameterRef="" value="" rule="lessThan"/>
</ByValueCondition>
</Condition>
<Condition name="criteria_WrongLaneTest" delay="0" conditionEdge="rising">
<ByValueCondition>
<ParameterCondition parameterRef="" value="" rule="lessThan"/>
</ByValueCondition>
</Condition>
<Condition name="criteria_OnSidewalkTest" delay="0" conditionEdge="rising">
<ByValueCondition>
<ParameterCondition parameterRef="" value="" rule="lessThan"/>
</ByValueCondition>
</Condition>
<Condition name="criteria_KeepLaneTest" delay="0" conditionEdge="rising">
<ByValueCondition>
<ParameterCondition parameterRef="" value="" rule="lessThan"/>
</ByValueCondition>
</Condition>
<Condition name="criteria_CollisionTest" delay="0" conditionEdge="rising">
<ByValueCondition>
<ParameterCondition parameterRef="" value="" rule="lessThan"/>
</ByValueCondition>
</Condition>
<Condition name="criteria_DrivenDistanceTest" delay="0" conditionEdge="rising">
<ByValueCondition>
<ParameterCondition parameterRef="distance_success" value="100" rule="lessThan"/>
</ByValueCondition>
</Condition>
</ConditionGroup>
</StopTrigger>
</Storyboard>
</OpenSCENARIO>
``` | Here is the result:
```
<?xml version="1.0" ?>
<OpenSCENARIO>
<FileHeader revMajor="1" revMinor="0" date="2020-03-24T12:00:00" description="CARLA:LaneChangeSimple" author=""/>
<ParameterDeclarations/>
<CatalogLocations/>
<RoadNetwork>
<LogicFile filepath="Town04"/>
<SceneGraphFile filepath=""/>
</RoadNetwork>
<Entities>
<ScenarioObject name="hero">
<Vehicle name="vehicle.tesla.model3" vehicleCategory="car">
<ParameterDeclarations/>
<Performance maxSpeed="69.444" maxAcceleration="200" maxDeceleration="10.0"/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2.1" length="4.5" height="1.8"/>
</BoundingBox>
<Axles>
<FrontAxle maxSteering="0.5" wheelDiameter="0.6" trackWidth="1.8" positionX="3.1" positionZ="0.3"/>
<RearAxle maxSteering="0.0" wheelDiameter="0.6" trackWidth="1.8" positionX="0.0" positionZ="0.3"/>
</Axles>
<Properties>
<Property name="type" value="ego_vehicle"/>
</Properties>
</Vehicle>
</ScenarioObject>
<ScenarioObject name="adversary">
<Vehicle name="vehicle.lincoln.mkz_2017" vehicleCategory="car">
<ParameterDeclarations/>
<Performance maxSpeed="69.444" maxAcceleration="200" maxDeceleration="10.0"/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2.1" length="4.5" height="1.8"/>
</BoundingBox>
<Axles>
<FrontAxle maxSteering="0.5" wheelDiameter="0.6" trackWidth="1.8" positionX="3.1" positionZ="0.3"/>
<RearAxle maxSteering="0.0" wheelDiameter="0.6" trackWidth="1.8" positionX="0.0" positionZ="0.3"/>
</Axles>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Vehicle>
</ScenarioObject>
<ScenarioObject name="standing">
<Vehicle name="vehicle.volkswagen.t2" vehicleCategory="car">
<ParameterDeclarations/>
<Performance maxSpeed="69.444" maxAcceleration="200" maxDeceleration="10.0"/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2.1" length="4.5" height="1.8"/>
</BoundingBox>
<Axles>
<FrontAxle maxSteering="0.5" wheelDiameter="0.6" trackWidth="1.8" positionX="3.1" positionZ="0.3"/>
<RearAxle maxSteering="0.0" wheelDiameter="0.6" 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_543">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_w_transform_544">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_close_to_hero_545">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_w_transform_546">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_w_transform_547">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_w_transform_548">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_close_to_standing_549">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
</Entities>
<Storyboard>
<Init>
<Actions>
<GlobalAction>
<EnvironmentAction>
<Environment name="Environment1">
<TimeOfDay animation="false" dateTime="2019-06-25T12:00:00"/>
<Weather cloudState="free">
<Sun intensity="0.85" azimuth="0" elevation="1.31"/>
<Fog visualRange="100000.0"/>
<Precipitation precipitationType="dry" intensity="0.0"/>
</Weather>
<RoadCondition frictionScaleFactor="1.0"/>
</Environment>
</EnvironmentAction>
</GlobalAction>
<Private entityRef="hero">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-9.4" y="-152.8" z="0.5" h="1.57079632679"/>
</Position>
</TeleportAction>
</PrivateAction>
<PrivateAction>
<ControllerAction>
<AssignControllerAction>
<Controller name="HeroAgent">
<Properties>
<Property name="module" value="external_control"/>
</Properties>
</Controller>
</AssignControllerAction>
<OverrideControllerValueAction>
<Throttle value="0" active="false"/>
<Brake value="0" active="false"/>
<Clutch value="0" active="false"/>
<ParkingBrake value="0" active="false"/>
<SteeringWheel value="0" active="false"/>
<Gear number="0" active="false"/>
</OverrideControllerValueAction>
</ControllerAction>
</PrivateAction>
</Private>
<Private entityRef="adversary">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-9.4" y="-71.0" z="0.5" h="1.57079632679"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="standing">
<PrivateAction>
<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_543">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-15.96412467956543" y="-147.2898712158203" z="0.0014286803780123591"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_w_transform_544">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-25.639963150024414" y="-15.679710388183594" z="0.5"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_close_to_hero_545">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-12.234622955322266" y="-153.40821838378906" z="0.0014286803780123591"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_w_transform_546">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="10.670572280883789" y="-9.667779922485352" z="0.5"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_w_transform_547">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-56.24025344848633" y="-58.25476837158203" z="0.5"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_w_transform_548">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="47.05560302734375" y="-33.71281051635742" z="0.5"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_close_to_standing_549">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-10.797638893127441" y="25.71688461303711" z="0.003092918312177062"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
</Actions>
</Init>
<Story name="MyStory">
<Act name="Behavior">
<ManeuverGroup maximumExecutionCount="1" name="ManeuverSequence">
<Actors selectTriggeringEntities="false">
<EntityRef entityRef="adversary"/>
</Actors>
<Maneuver name="LaneChangeSimpleManeuver">
<Event name="AdversaryAccelerates" priority="overwrite">
<Action name="AdversaryAccelerates">
<PrivateAction>
<LongitudinalAction>
<SpeedAction>
<SpeedActionDynamics dynamicsShape="step" value="50" dynamicsDimension="distance"/>
<SpeedActionTarget>
<AbsoluteTargetSpeed value="5.0"/>
</SpeedActionTarget>
</SpeedAction>
</LongitudinalAction>
</PrivateAction>
</Action>
<StartTrigger>
<ConditionGroup>
<Condition name="StartCondition" delay="0" conditionEdge="rising">
<ByEntityCondition>
<TriggeringEntities triggeringEntitiesRule="any">
<EntityRef entityRef="hero"/>
</TriggeringEntities>
<EntityCondition>
<RelativeDistanceCondition entityRef="adversary" relativeDistanceType="cartesianDistance" value="40.0" freespace="false" rule="lessThan"/>
</EntityCondition>
</ByEntityCondition>
</Condition>
</ConditionGroup>
</StartTrigger>
</Event>
<Event name="AdversaryChangesLane" priority="overwrite">
<Action name="AdversaryChangesLane">
<PrivateAction>
<LateralAction>
<LaneChangeAction>
<LaneChangeActionDynamics dynamicsShape="linear" value="25" dynamicsDimension="distance"/>
<LaneChangeTarget>
<RelativeTargetLane entityRef="adversary" value="-1"/>
</LaneChangeTarget>
</LaneChangeAction>
</LateralAction>
</PrivateAction>
</Action>
<StartTrigger>
<ConditionGroup>
<Condition name="AfterAdversaryAccelerates" delay="0" conditionEdge="rising">
<ByValueCondition>
<StoryboardElementStateCondition storyboardElementType="action" storyboardElementRef="AdversaryAccelerates" state="completeState"/>
</ByValueCondition>
</Condition>
</ConditionGroup>
</StartTrigger>
</Event>
</Maneuver>
</ManeuverGroup>
<StartTrigger>
<ConditionGroup>
<Condition name="OverallStartCondition" delay="0" conditionEdge="rising">
<ByEntityCondition>
<TriggeringEntities triggeringEntitiesRule="any">
<EntityRef entityRef="hero"/>
</TriggeringEntities>
<EntityCondition>
<TraveledDistanceCondition value="1.0"/>
</EntityCondition>
</ByEntityCondition>
</Condition>
<Condition name="StartTime" delay="0" conditionEdge="rising">
<ByValueCondition>
<SimulationTimeCondition value="0" rule="equalTo"/>
</ByValueCondition>
</Condition>
</ConditionGroup>
</StartTrigger>
<StopTrigger>
<ConditionGroup>
<Condition name="EndCondition" delay="0" conditionEdge="rising">
<ByEntityCondition>
<TriggeringEntities triggeringEntitiesRule="any">
<EntityRef entityRef="hero"/>
</TriggeringEntities>
<EntityCondition>
<TraveledDistanceCondition value="200.0"/>
</EntityCondition>
</ByEntityCondition>
</Condition>
</ConditionGroup>
</StopTrigger>
</Act>
</Story>
<StopTrigger>
<ConditionGroup>
<Condition name="criteria_RunningStopTest" delay="0" conditionEdge="rising">
<ByValueCondition>
<ParameterCondition parameterRef="" value="" rule="lessThan"/>
</ByValueCondition>
</Condition>
<Condition name="criteria_RunningRedLightTest" delay="0" conditionEdge="rising">
<ByValueCondition>
<ParameterCondition parameterRef="" value="" rule="lessThan"/>
</ByValueCondition>
</Condition>
<Condition name="criteria_WrongLaneTest" delay="0" conditionEdge="rising">
<ByValueCondition>
<ParameterCondition parameterRef="" value="" rule="lessThan"/>
</ByValueCondition>
</Condition>
<Condition name="criteria_OnSidewalkTest" delay="0" conditionEdge="rising">
<ByValueCondition>
<ParameterCondition parameterRef="" value="" rule="lessThan"/>
</ByValueCondition>
</Condition>
<Condition name="criteria_KeepLaneTest" delay="0" conditionEdge="rising">
<ByValueCondition>
<ParameterCondition parameterRef="" value="" rule="lessThan"/>
</ByValueCondition>
</Condition>
<Condition name="criteria_CollisionTest" delay="0" conditionEdge="rising">
<ByValueCondition>
<ParameterCondition parameterRef="" value="" rule="lessThan"/>
</ByValueCondition>
</Condition>
<Condition name="criteria_DrivenDistanceTest" delay="0" conditionEdge="rising">
<ByValueCondition>
<ParameterCondition parameterRef="distance_success" value="100" rule="lessThan"/>
</ByValueCondition>
</Condition>
</ConditionGroup>
</StopTrigger>
</Storyboard>
</OpenSCENARIO>
``` |
i would like you to remove pedestrian actor named pedestrian_w_transform_19647?
```
<?xml version="1.0" ?>
<OpenSCENARIO>
<FileHeader revMajor="1" revMinor="0" date="2020-03-24T12:00:00" description="CARLA:LaneChangeSimple" author=""/>
<ParameterDeclarations/>
<CatalogLocations/>
<RoadNetwork>
<LogicFile filepath="Town04"/>
<SceneGraphFile filepath=""/>
</RoadNetwork>
<Entities>
<ScenarioObject name="hero">
<Vehicle name="vehicle.tesla.model3" vehicleCategory="car">
<ParameterDeclarations/>
<Performance maxSpeed="69.444" maxAcceleration="200" maxDeceleration="10.0"/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2.1" length="4.5" height="1.8"/>
</BoundingBox>
<Axles>
<FrontAxle maxSteering="0.5" wheelDiameter="0.6" trackWidth="1.8" positionX="3.1" positionZ="0.3"/>
<RearAxle maxSteering="0.0" wheelDiameter="0.6" trackWidth="1.8" positionX="0.0" positionZ="0.3"/>
</Axles>
<Properties>
<Property name="type" value="ego_vehicle"/>
</Properties>
</Vehicle>
</ScenarioObject>
<ScenarioObject name="adversary">
<Vehicle name="vehicle.lincoln.mkz_2017" vehicleCategory="car">
<ParameterDeclarations/>
<Performance maxSpeed="69.444" maxAcceleration="200" maxDeceleration="10.0"/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2.1" length="4.5" height="1.8"/>
</BoundingBox>
<Axles>
<FrontAxle maxSteering="0.5" wheelDiameter="0.6" trackWidth="1.8" positionX="3.1" positionZ="0.3"/>
<RearAxle maxSteering="0.0" wheelDiameter="0.6" trackWidth="1.8" positionX="0.0" positionZ="0.3"/>
</Axles>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Vehicle>
</ScenarioObject>
<ScenarioObject name="standing">
<Vehicle name="vehicle.volkswagen.t2" vehicleCategory="car">
<ParameterDeclarations/>
<Performance maxSpeed="69.444" maxAcceleration="200" maxDeceleration="10.0"/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2.1" length="4.5" height="1.8"/>
</BoundingBox>
<Axles>
<FrontAxle maxSteering="0.5" wheelDiameter="0.6" trackWidth="1.8" positionX="3.1" positionZ="0.3"/>
<RearAxle maxSteering="0.0" wheelDiameter="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_19640">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_w_transform_19646">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_w_transform_19647">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
</Entities>
<Storyboard>
<Init>
<Actions>
<GlobalAction>
<EnvironmentAction>
<Environment name="Environment1">
<TimeOfDay animation="false" dateTime="2019-06-25T12:00:00"/>
<Weather cloudState="free">
<Sun intensity="0.85" azimuth="0" elevation="1.31"/>
<Fog visualRange="100000.0"/>
<Precipitation precipitationType="dry" intensity="0.0"/>
</Weather>
<RoadCondition frictionScaleFactor="1.0"/>
</Environment>
</EnvironmentAction>
</GlobalAction>
<Private entityRef="hero">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-9.4" y="-152.8" z="0.5" h="1.57079632679"/>
</Position>
</TeleportAction>
</PrivateAction>
<PrivateAction>
<ControllerAction>
<AssignControllerAction>
<Controller name="HeroAgent">
<Properties>
<Property name="module" value="external_control"/>
</Properties>
</Controller>
</AssignControllerAction>
<OverrideControllerValueAction>
<Throttle value="0" active="false"/>
<Brake value="0" active="false"/>
<Clutch value="0" active="false"/>
<ParkingBrake value="0" active="false"/>
<SteeringWheel value="0" active="false"/>
<Gear number="0" active="false"/>
</OverrideControllerValueAction>
</ControllerAction>
</PrivateAction>
</Private>
<Private entityRef="adversary">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-9.4" y="-71.0" z="0.5" h="1.57079632679"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="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_19640">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-50.82946014404297" y="61.96025466918945" z="0.5"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_w_transform_19646">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="21.256383895874023" y="-64.5643539428711" z="0.5"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_w_transform_19647">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-44.37583923339844" y="-94.65825653076172" z="0.5"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
</Actions>
</Init>
<Story name="MyStory">
<Act name="Behavior">
<ManeuverGroup maximumExecutionCount="1" name="ManeuverSequence">
<Actors selectTriggeringEntities="false">
<EntityRef entityRef="adversary"/>
</Actors>
<Maneuver name="LaneChangeSimpleManeuver">
<Event name="AdversaryAccelerates" priority="overwrite">
<Action name="AdversaryAccelerates">
<PrivateAction>
<LongitudinalAction>
<SpeedAction>
<SpeedActionDynamics dynamicsShape="step" value="50" dynamicsDimension="distance"/>
<SpeedActionTarget>
<AbsoluteTargetSpeed value="5.0"/>
</SpeedActionTarget>
</SpeedAction>
</LongitudinalAction>
</PrivateAction>
</Action>
<StartTrigger>
<ConditionGroup>
<Condition name="StartCondition" delay="0" conditionEdge="rising">
<ByEntityCondition>
<TriggeringEntities triggeringEntitiesRule="any">
<EntityRef entityRef="hero"/>
</TriggeringEntities>
<EntityCondition>
<RelativeDistanceCondition entityRef="adversary" relativeDistanceType="cartesianDistance" value="40.0" freespace="false" rule="lessThan"/>
</EntityCondition>
</ByEntityCondition>
</Condition>
</ConditionGroup>
</StartTrigger>
</Event>
<Event name="AdversaryChangesLane" priority="overwrite">
<Action name="AdversaryChangesLane">
<PrivateAction>
<LateralAction>
<LaneChangeAction>
<LaneChangeActionDynamics dynamicsShape="linear" value="25" dynamicsDimension="distance"/>
<LaneChangeTarget>
<RelativeTargetLane entityRef="adversary" value="-1"/>
</LaneChangeTarget>
</LaneChangeAction>
</LateralAction>
</PrivateAction>
</Action>
<StartTrigger>
<ConditionGroup>
<Condition name="AfterAdversaryAccelerates" delay="0" conditionEdge="rising">
<ByValueCondition>
<StoryboardElementStateCondition storyboardElementType="action" storyboardElementRef="AdversaryAccelerates" state="completeState"/>
</ByValueCondition>
</Condition>
</ConditionGroup>
</StartTrigger>
</Event>
</Maneuver>
</ManeuverGroup>
<StartTrigger>
<ConditionGroup>
<Condition name="OverallStartCondition" delay="0" conditionEdge="rising">
<ByEntityCondition>
<TriggeringEntities triggeringEntitiesRule="any">
<EntityRef entityRef="hero"/>
</TriggeringEntities>
<EntityCondition>
<TraveledDistanceCondition value="1.0"/>
</EntityCondition>
</ByEntityCondition>
</Condition>
<Condition name="StartTime" delay="0" conditionEdge="rising">
<ByValueCondition>
<SimulationTimeCondition value="0" rule="equalTo"/>
</ByValueCondition>
</Condition>
</ConditionGroup>
</StartTrigger>
<StopTrigger>
<ConditionGroup>
<Condition name="EndCondition" delay="0" conditionEdge="rising">
<ByEntityCondition>
<TriggeringEntities triggeringEntitiesRule="any">
<EntityRef entityRef="hero"/>
</TriggeringEntities>
<EntityCondition>
<TraveledDistanceCondition value="200.0"/>
</EntityCondition>
</ByEntityCondition>
</Condition>
</ConditionGroup>
</StopTrigger>
</Act>
</Story>
<StopTrigger>
<ConditionGroup>
<Condition name="criteria_RunningStopTest" delay="0" conditionEdge="rising">
<ByValueCondition>
<ParameterCondition parameterRef="" value="" rule="lessThan"/>
</ByValueCondition>
</Condition>
<Condition name="criteria_RunningRedLightTest" delay="0" conditionEdge="rising">
<ByValueCondition>
<ParameterCondition parameterRef="" value="" rule="lessThan"/>
</ByValueCondition>
</Condition>
<Condition name="criteria_WrongLaneTest" delay="0" conditionEdge="rising">
<ByValueCondition>
<ParameterCondition parameterRef="" value="" rule="lessThan"/>
</ByValueCondition>
</Condition>
<Condition name="criteria_OnSidewalkTest" delay="0" conditionEdge="rising">
<ByValueCondition>
<ParameterCondition parameterRef="" value="" rule="lessThan"/>
</ByValueCondition>
</Condition>
<Condition name="criteria_KeepLaneTest" delay="0" conditionEdge="rising">
<ByValueCondition>
<ParameterCondition parameterRef="" value="" rule="lessThan"/>
</ByValueCondition>
</Condition>
<Condition name="criteria_CollisionTest" delay="0" conditionEdge="rising">
<ByValueCondition>
<ParameterCondition parameterRef="" value="" rule="lessThan"/>
</ByValueCondition>
</Condition>
<Condition name="criteria_DrivenDistanceTest" delay="0" conditionEdge="rising">
<ByValueCondition>
<ParameterCondition parameterRef="distance_success" value="100" rule="lessThan"/>
</ByValueCondition>
</Condition>
</ConditionGroup>
</StopTrigger>
</Storyboard>
</OpenSCENARIO>
``` | Here is the result:
```
<?xml version="1.0" ?>
<OpenSCENARIO>
<FileHeader revMajor="1" revMinor="0" date="2020-03-24T12:00:00" description="CARLA:LaneChangeSimple" author=""/>
<ParameterDeclarations/>
<CatalogLocations/>
<RoadNetwork>
<LogicFile filepath="Town04"/>
<SceneGraphFile filepath=""/>
</RoadNetwork>
<Entities>
<ScenarioObject name="hero">
<Vehicle name="vehicle.tesla.model3" vehicleCategory="car">
<ParameterDeclarations/>
<Performance maxSpeed="69.444" maxAcceleration="200" maxDeceleration="10.0"/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2.1" length="4.5" height="1.8"/>
</BoundingBox>
<Axles>
<FrontAxle maxSteering="0.5" wheelDiameter="0.6" trackWidth="1.8" positionX="3.1" positionZ="0.3"/>
<RearAxle maxSteering="0.0" wheelDiameter="0.6" trackWidth="1.8" positionX="0.0" positionZ="0.3"/>
</Axles>
<Properties>
<Property name="type" value="ego_vehicle"/>
</Properties>
</Vehicle>
</ScenarioObject>
<ScenarioObject name="adversary">
<Vehicle name="vehicle.lincoln.mkz_2017" vehicleCategory="car">
<ParameterDeclarations/>
<Performance maxSpeed="69.444" maxAcceleration="200" maxDeceleration="10.0"/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2.1" length="4.5" height="1.8"/>
</BoundingBox>
<Axles>
<FrontAxle maxSteering="0.5" wheelDiameter="0.6" trackWidth="1.8" positionX="3.1" positionZ="0.3"/>
<RearAxle maxSteering="0.0" wheelDiameter="0.6" trackWidth="1.8" positionX="0.0" positionZ="0.3"/>
</Axles>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Vehicle>
</ScenarioObject>
<ScenarioObject name="standing">
<Vehicle name="vehicle.volkswagen.t2" vehicleCategory="car">
<ParameterDeclarations/>
<Performance maxSpeed="69.444" maxAcceleration="200" maxDeceleration="10.0"/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2.1" length="4.5" height="1.8"/>
</BoundingBox>
<Axles>
<FrontAxle maxSteering="0.5" wheelDiameter="0.6" trackWidth="1.8" positionX="3.1" positionZ="0.3"/>
<RearAxle maxSteering="0.0" wheelDiameter="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_19640">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_w_transform_19646">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
</Entities>
<Storyboard>
<Init>
<Actions>
<GlobalAction>
<EnvironmentAction>
<Environment name="Environment1">
<TimeOfDay animation="false" dateTime="2019-06-25T12:00:00"/>
<Weather cloudState="free">
<Sun intensity="0.85" azimuth="0" elevation="1.31"/>
<Fog visualRange="100000.0"/>
<Precipitation precipitationType="dry" intensity="0.0"/>
</Weather>
<RoadCondition frictionScaleFactor="1.0"/>
</Environment>
</EnvironmentAction>
</GlobalAction>
<Private entityRef="hero">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-9.4" y="-152.8" z="0.5" h="1.57079632679"/>
</Position>
</TeleportAction>
</PrivateAction>
<PrivateAction>
<ControllerAction>
<AssignControllerAction>
<Controller name="HeroAgent">
<Properties>
<Property name="module" value="external_control"/>
</Properties>
</Controller>
</AssignControllerAction>
<OverrideControllerValueAction>
<Throttle value="0" active="false"/>
<Brake value="0" active="false"/>
<Clutch value="0" active="false"/>
<ParkingBrake value="0" active="false"/>
<SteeringWheel value="0" active="false"/>
<Gear number="0" active="false"/>
</OverrideControllerValueAction>
</ControllerAction>
</PrivateAction>
</Private>
<Private entityRef="adversary">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-9.4" y="-71.0" z="0.5" h="1.57079632679"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="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_19640">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-50.82946014404297" y="61.96025466918945" z="0.5"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_w_transform_19646">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="21.256383895874023" y="-64.5643539428711" z="0.5"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
</Actions>
</Init>
<Story name="MyStory">
<Act name="Behavior">
<ManeuverGroup maximumExecutionCount="1" name="ManeuverSequence">
<Actors selectTriggeringEntities="false">
<EntityRef entityRef="adversary"/>
</Actors>
<Maneuver name="LaneChangeSimpleManeuver">
<Event name="AdversaryAccelerates" priority="overwrite">
<Action name="AdversaryAccelerates">
<PrivateAction>
<LongitudinalAction>
<SpeedAction>
<SpeedActionDynamics dynamicsShape="step" value="50" dynamicsDimension="distance"/>
<SpeedActionTarget>
<AbsoluteTargetSpeed value="5.0"/>
</SpeedActionTarget>
</SpeedAction>
</LongitudinalAction>
</PrivateAction>
</Action>
<StartTrigger>
<ConditionGroup>
<Condition name="StartCondition" delay="0" conditionEdge="rising">
<ByEntityCondition>
<TriggeringEntities triggeringEntitiesRule="any">
<EntityRef entityRef="hero"/>
</TriggeringEntities>
<EntityCondition>
<RelativeDistanceCondition entityRef="adversary" relativeDistanceType="cartesianDistance" value="40.0" freespace="false" rule="lessThan"/>
</EntityCondition>
</ByEntityCondition>
</Condition>
</ConditionGroup>
</StartTrigger>
</Event>
<Event name="AdversaryChangesLane" priority="overwrite">
<Action name="AdversaryChangesLane">
<PrivateAction>
<LateralAction>
<LaneChangeAction>
<LaneChangeActionDynamics dynamicsShape="linear" value="25" dynamicsDimension="distance"/>
<LaneChangeTarget>
<RelativeTargetLane entityRef="adversary" value="-1"/>
</LaneChangeTarget>
</LaneChangeAction>
</LateralAction>
</PrivateAction>
</Action>
<StartTrigger>
<ConditionGroup>
<Condition name="AfterAdversaryAccelerates" delay="0" conditionEdge="rising">
<ByValueCondition>
<StoryboardElementStateCondition storyboardElementType="action" storyboardElementRef="AdversaryAccelerates" state="completeState"/>
</ByValueCondition>
</Condition>
</ConditionGroup>
</StartTrigger>
</Event>
</Maneuver>
</ManeuverGroup>
<StartTrigger>
<ConditionGroup>
<Condition name="OverallStartCondition" delay="0" conditionEdge="rising">
<ByEntityCondition>
<TriggeringEntities triggeringEntitiesRule="any">
<EntityRef entityRef="hero"/>
</TriggeringEntities>
<EntityCondition>
<TraveledDistanceCondition value="1.0"/>
</EntityCondition>
</ByEntityCondition>
</Condition>
<Condition name="StartTime" delay="0" conditionEdge="rising">
<ByValueCondition>
<SimulationTimeCondition value="0" rule="equalTo"/>
</ByValueCondition>
</Condition>
</ConditionGroup>
</StartTrigger>
<StopTrigger>
<ConditionGroup>
<Condition name="EndCondition" delay="0" conditionEdge="rising">
<ByEntityCondition>
<TriggeringEntities triggeringEntitiesRule="any">
<EntityRef entityRef="hero"/>
</TriggeringEntities>
<EntityCondition>
<TraveledDistanceCondition value="200.0"/>
</EntityCondition>
</ByEntityCondition>
</Condition>
</ConditionGroup>
</StopTrigger>
</Act>
</Story>
<StopTrigger>
<ConditionGroup>
<Condition name="criteria_RunningStopTest" delay="0" conditionEdge="rising">
<ByValueCondition>
<ParameterCondition parameterRef="" value="" rule="lessThan"/>
</ByValueCondition>
</Condition>
<Condition name="criteria_RunningRedLightTest" delay="0" conditionEdge="rising">
<ByValueCondition>
<ParameterCondition parameterRef="" value="" rule="lessThan"/>
</ByValueCondition>
</Condition>
<Condition name="criteria_WrongLaneTest" delay="0" conditionEdge="rising">
<ByValueCondition>
<ParameterCondition parameterRef="" value="" rule="lessThan"/>
</ByValueCondition>
</Condition>
<Condition name="criteria_OnSidewalkTest" delay="0" conditionEdge="rising">
<ByValueCondition>
<ParameterCondition parameterRef="" value="" rule="lessThan"/>
</ByValueCondition>
</Condition>
<Condition name="criteria_KeepLaneTest" delay="0" conditionEdge="rising">
<ByValueCondition>
<ParameterCondition parameterRef="" value="" rule="lessThan"/>
</ByValueCondition>
</Condition>
<Condition name="criteria_CollisionTest" delay="0" conditionEdge="rising">
<ByValueCondition>
<ParameterCondition parameterRef="" value="" rule="lessThan"/>
</ByValueCondition>
</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 (-39.78, -91.91, 0.5)?
```
<?xml version="1.0" ?>
<OpenSCENARIO>
<FileHeader revMajor="1" revMinor="0" date="2020-03-24T12:00:00" description="CARLA:LaneChangeSimple" author=""/>
<ParameterDeclarations/>
<CatalogLocations/>
<RoadNetwork>
<LogicFile filepath="Town04"/>
<SceneGraphFile filepath=""/>
</RoadNetwork>
<Entities>
<ScenarioObject name="hero">
<Vehicle name="vehicle.tesla.model3" vehicleCategory="car">
<ParameterDeclarations/>
<Performance maxSpeed="69.444" maxAcceleration="200" maxDeceleration="10.0"/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2.1" length="4.5" height="1.8"/>
</BoundingBox>
<Axles>
<FrontAxle maxSteering="0.5" wheelDiameter="0.6" trackWidth="1.8" positionX="3.1" positionZ="0.3"/>
<RearAxle maxSteering="0.0" wheelDiameter="0.6" trackWidth="1.8" positionX="0.0" positionZ="0.3"/>
</Axles>
<Properties>
<Property name="type" value="ego_vehicle"/>
</Properties>
</Vehicle>
</ScenarioObject>
<ScenarioObject name="adversary">
<Vehicle name="vehicle.lincoln.mkz_2017" vehicleCategory="car">
<ParameterDeclarations/>
<Performance maxSpeed="69.444" maxAcceleration="200" maxDeceleration="10.0"/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2.1" length="4.5" height="1.8"/>
</BoundingBox>
<Axles>
<FrontAxle maxSteering="0.5" wheelDiameter="0.6" trackWidth="1.8" positionX="3.1" positionZ="0.3"/>
<RearAxle maxSteering="0.0" wheelDiameter="0.6" trackWidth="1.8" positionX="0.0" positionZ="0.3"/>
</Axles>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Vehicle>
</ScenarioObject>
<ScenarioObject name="standing">
<Vehicle name="vehicle.volkswagen.t2" vehicleCategory="car">
<ParameterDeclarations/>
<Performance maxSpeed="69.444" maxAcceleration="200" maxDeceleration="10.0"/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2.1" length="4.5" height="1.8"/>
</BoundingBox>
<Axles>
<FrontAxle maxSteering="0.5" wheelDiameter="0.6" trackWidth="1.8" positionX="3.1" positionZ="0.3"/>
<RearAxle maxSteering="0.0" wheelDiameter="0.6" trackWidth="1.8" positionX="0.0" positionZ="0.3"/>
</Axles>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Vehicle>
</ScenarioObject>
<ScenarioObject name="pedestrian_close_to_hero_6279">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_close_to_hero_6280">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_close_to_adversary_6281">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_close_to_hero_6282">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_close_to_hero_6283">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_close_to_hero_6284">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_close_to_adversary_6285">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_w_transform_6286">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_w_transform_6287">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_w_transform_6288">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_w_transform_6289">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_w_transform_6290">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_close_to_standing_6291">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_w_transform_6292">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_close_to_hero_6293">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_close_to_standing_6294">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
</Entities>
<Storyboard>
<Init>
<Actions>
<GlobalAction>
<EnvironmentAction>
<Environment name="Environment1">
<TimeOfDay animation="false" dateTime="2019-06-25T12:00:00"/>
<Weather cloudState="free">
<Sun intensity="0.85" azimuth="0" elevation="1.31"/>
<Fog visualRange="100000.0"/>
<Precipitation precipitationType="dry" intensity="0.0"/>
</Weather>
<RoadCondition frictionScaleFactor="1.0"/>
</Environment>
</EnvironmentAction>
</GlobalAction>
<Private entityRef="hero">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-9.4" y="-152.8" z="0.5" h="1.57079632679"/>
</Position>
</TeleportAction>
</PrivateAction>
<PrivateAction>
<ControllerAction>
<AssignControllerAction>
<Controller name="HeroAgent">
<Properties>
<Property name="module" value="external_control"/>
</Properties>
</Controller>
</AssignControllerAction>
<OverrideControllerValueAction>
<Throttle value="0" active="false"/>
<Brake value="0" active="false"/>
<Clutch value="0" active="false"/>
<ParkingBrake value="0" active="false"/>
<SteeringWheel value="0" active="false"/>
<Gear number="0" active="false"/>
</OverrideControllerValueAction>
</ControllerAction>
</PrivateAction>
</Private>
<Private entityRef="adversary">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-9.4" y="-71.0" z="0.5" h="1.57079632679"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="standing">
<PrivateAction>
<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_6279">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="0.9451993107795715" y="-140.66851806640625" z="0.0014286803780123591"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_close_to_hero_6280">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-8.463930130004883" y="-158.2008056640625" z="0.0014286803780123591"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_close_to_adversary_6281">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-16.594314575195312" y="-74.14282989501953" z="0.03377532958984375"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_close_to_hero_6282">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-13.213204383850098" y="-152.4414520263672" z="0.0014286803780123591"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_close_to_hero_6283">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-3.1302807331085205" y="-156.39834594726562" z="0.0014286803780123591"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_close_to_hero_6284">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-12.735579490661621" y="-158.3916015625" z="0.0014286803780123591"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_close_to_adversary_6285">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-11.771652221679688" y="-73.00170135498047" z="0.03382739797234535"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_w_transform_6286">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-62.654937744140625" y="-26.077167510986328" z="0.5"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_w_transform_6287">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="94.80322265625" y="-77.22093200683594" z="0.5"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_w_transform_6288">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-9.594966888427734" y="-58.18632507324219" z="0.5"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_w_transform_6289">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="71.99392700195312" y="-87.06975555419922" z="0.5"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_w_transform_6290">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="39.63546371459961" y="-36.5321044921875" z="0.5"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_close_to_standing_6291">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-17.70952033996582" y="25.54370880126953" z="0.0030352401081472635"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_w_transform_6292">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="5.411020278930664" y="-70.6595230102539" z="0.5"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_close_to_hero_6293">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-5.393327236175537" y="-157.32742309570312" z="0.0014286803780123591"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_close_to_standing_6294">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-6.7953338623046875" y="33.98361587524414" z="0.0030675886664539576"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
</Actions>
</Init>
<Story name="MyStory">
<Act name="Behavior">
<ManeuverGroup maximumExecutionCount="1" name="ManeuverSequence">
<Actors selectTriggeringEntities="false">
<EntityRef entityRef="adversary"/>
</Actors>
<Maneuver name="LaneChangeSimpleManeuver">
<Event name="AdversaryAccelerates" priority="overwrite">
<Action name="AdversaryAccelerates">
<PrivateAction>
<LongitudinalAction>
<SpeedAction>
<SpeedActionDynamics dynamicsShape="step" value="50" dynamicsDimension="distance"/>
<SpeedActionTarget>
<AbsoluteTargetSpeed value="5.0"/>
</SpeedActionTarget>
</SpeedAction>
</LongitudinalAction>
</PrivateAction>
</Action>
<StartTrigger>
<ConditionGroup>
<Condition name="StartCondition" delay="0" conditionEdge="rising">
<ByEntityCondition>
<TriggeringEntities triggeringEntitiesRule="any">
<EntityRef entityRef="hero"/>
</TriggeringEntities>
<EntityCondition>
<RelativeDistanceCondition entityRef="adversary" relativeDistanceType="cartesianDistance" value="40.0" freespace="false" rule="lessThan"/>
</EntityCondition>
</ByEntityCondition>
</Condition>
</ConditionGroup>
</StartTrigger>
</Event>
<Event name="AdversaryChangesLane" priority="overwrite">
<Action name="AdversaryChangesLane">
<PrivateAction>
<LateralAction>
<LaneChangeAction>
<LaneChangeActionDynamics dynamicsShape="linear" value="25" dynamicsDimension="distance"/>
<LaneChangeTarget>
<RelativeTargetLane entityRef="adversary" value="-1"/>
</LaneChangeTarget>
</LaneChangeAction>
</LateralAction>
</PrivateAction>
</Action>
<StartTrigger>
<ConditionGroup>
<Condition name="AfterAdversaryAccelerates" delay="0" conditionEdge="rising">
<ByValueCondition>
<StoryboardElementStateCondition storyboardElementType="action" storyboardElementRef="AdversaryAccelerates" state="completeState"/>
</ByValueCondition>
</Condition>
</ConditionGroup>
</StartTrigger>
</Event>
</Maneuver>
</ManeuverGroup>
<StartTrigger>
<ConditionGroup>
<Condition name="OverallStartCondition" delay="0" conditionEdge="rising">
<ByEntityCondition>
<TriggeringEntities triggeringEntitiesRule="any">
<EntityRef entityRef="hero"/>
</TriggeringEntities>
<EntityCondition>
<TraveledDistanceCondition value="1.0"/>
</EntityCondition>
</ByEntityCondition>
</Condition>
<Condition name="StartTime" delay="0" conditionEdge="rising">
<ByValueCondition>
<SimulationTimeCondition value="0" rule="equalTo"/>
</ByValueCondition>
</Condition>
</ConditionGroup>
</StartTrigger>
<StopTrigger>
<ConditionGroup>
<Condition name="EndCondition" delay="0" conditionEdge="rising">
<ByEntityCondition>
<TriggeringEntities triggeringEntitiesRule="any">
<EntityRef entityRef="hero"/>
</TriggeringEntities>
<EntityCondition>
<TraveledDistanceCondition value="200.0"/>
</EntityCondition>
</ByEntityCondition>
</Condition>
</ConditionGroup>
</StopTrigger>
</Act>
</Story>
<StopTrigger>
<ConditionGroup>
<Condition name="criteria_RunningStopTest" delay="0" conditionEdge="rising">
<ByValueCondition>
<ParameterCondition parameterRef="" value="" rule="lessThan"/>
</ByValueCondition>
</Condition>
<Condition name="criteria_RunningRedLightTest" delay="0" conditionEdge="rising">
<ByValueCondition>
<ParameterCondition parameterRef="" value="" rule="lessThan"/>
</ByValueCondition>
</Condition>
<Condition name="criteria_WrongLaneTest" delay="0" conditionEdge="rising">
<ByValueCondition>
<ParameterCondition parameterRef="" value="" rule="lessThan"/>
</ByValueCondition>
</Condition>
<Condition name="criteria_OnSidewalkTest" delay="0" conditionEdge="rising">
<ByValueCondition>
<ParameterCondition parameterRef="" value="" rule="lessThan"/>
</ByValueCondition>
</Condition>
<Condition name="criteria_KeepLaneTest" delay="0" conditionEdge="rising">
<ByValueCondition>
<ParameterCondition parameterRef="" value="" rule="lessThan"/>
</ByValueCondition>
</Condition>
<Condition name="criteria_CollisionTest" delay="0" conditionEdge="rising">
<ByValueCondition>
<ParameterCondition parameterRef="" value="" rule="lessThan"/>
</ByValueCondition>
</Condition>
<Condition name="criteria_DrivenDistanceTest" delay="0" conditionEdge="rising">
<ByValueCondition>
<ParameterCondition parameterRef="distance_success" value="100" rule="lessThan"/>
</ByValueCondition>
</Condition>
</ConditionGroup>
</StopTrigger>
</Storyboard>
</OpenSCENARIO>
``` | Here is the result:
```
<?xml version="1.0" ?>
<OpenSCENARIO>
<FileHeader revMajor="1" revMinor="0" date="2020-03-24T12:00:00" description="CARLA:LaneChangeSimple" author=""/>
<ParameterDeclarations/>
<CatalogLocations/>
<RoadNetwork>
<LogicFile filepath="Town04"/>
<SceneGraphFile filepath=""/>
</RoadNetwork>
<Entities>
<ScenarioObject name="hero">
<Vehicle name="vehicle.tesla.model3" vehicleCategory="car">
<ParameterDeclarations/>
<Performance maxSpeed="69.444" maxAcceleration="200" maxDeceleration="10.0"/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2.1" length="4.5" height="1.8"/>
</BoundingBox>
<Axles>
<FrontAxle maxSteering="0.5" wheelDiameter="0.6" trackWidth="1.8" positionX="3.1" positionZ="0.3"/>
<RearAxle maxSteering="0.0" wheelDiameter="0.6" trackWidth="1.8" positionX="0.0" positionZ="0.3"/>
</Axles>
<Properties>
<Property name="type" value="ego_vehicle"/>
</Properties>
</Vehicle>
</ScenarioObject>
<ScenarioObject name="adversary">
<Vehicle name="vehicle.lincoln.mkz_2017" vehicleCategory="car">
<ParameterDeclarations/>
<Performance maxSpeed="69.444" maxAcceleration="200" maxDeceleration="10.0"/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2.1" length="4.5" height="1.8"/>
</BoundingBox>
<Axles>
<FrontAxle maxSteering="0.5" wheelDiameter="0.6" trackWidth="1.8" positionX="3.1" positionZ="0.3"/>
<RearAxle maxSteering="0.0" wheelDiameter="0.6" trackWidth="1.8" positionX="0.0" positionZ="0.3"/>
</Axles>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Vehicle>
</ScenarioObject>
<ScenarioObject name="standing">
<Vehicle name="vehicle.volkswagen.t2" vehicleCategory="car">
<ParameterDeclarations/>
<Performance maxSpeed="69.444" maxAcceleration="200" maxDeceleration="10.0"/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2.1" length="4.5" height="1.8"/>
</BoundingBox>
<Axles>
<FrontAxle maxSteering="0.5" wheelDiameter="0.6" trackWidth="1.8" positionX="3.1" positionZ="0.3"/>
<RearAxle maxSteering="0.0" wheelDiameter="0.6" 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_6279">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_close_to_hero_6280">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_close_to_adversary_6281">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_close_to_hero_6282">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_close_to_hero_6283">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_close_to_hero_6284">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_close_to_adversary_6285">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_w_transform_6286">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_w_transform_6287">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_w_transform_6288">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_w_transform_6289">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_w_transform_6290">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_close_to_standing_6291">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_w_transform_6292">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_close_to_hero_6293">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_close_to_standing_6294">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_w_transform_6295">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
</Entities>
<Storyboard>
<Init>
<Actions>
<GlobalAction>
<EnvironmentAction>
<Environment name="Environment1">
<TimeOfDay animation="false" dateTime="2019-06-25T12:00:00"/>
<Weather cloudState="free">
<Sun intensity="0.85" azimuth="0" elevation="1.31"/>
<Fog visualRange="100000.0"/>
<Precipitation precipitationType="dry" intensity="0.0"/>
</Weather>
<RoadCondition frictionScaleFactor="1.0"/>
</Environment>
</EnvironmentAction>
</GlobalAction>
<Private entityRef="hero">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-9.4" y="-152.8" z="0.5" h="1.57079632679"/>
</Position>
</TeleportAction>
</PrivateAction>
<PrivateAction>
<ControllerAction>
<AssignControllerAction>
<Controller name="HeroAgent">
<Properties>
<Property name="module" value="external_control"/>
</Properties>
</Controller>
</AssignControllerAction>
<OverrideControllerValueAction>
<Throttle value="0" active="false"/>
<Brake value="0" active="false"/>
<Clutch value="0" active="false"/>
<ParkingBrake value="0" active="false"/>
<SteeringWheel value="0" active="false"/>
<Gear number="0" active="false"/>
</OverrideControllerValueAction>
</ControllerAction>
</PrivateAction>
</Private>
<Private entityRef="adversary">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-9.4" y="-71.0" z="0.5" h="1.57079632679"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="standing">
<PrivateAction>
<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_6279">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="0.9451993107795715" y="-140.66851806640625" z="0.0014286803780123591"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_close_to_hero_6280">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-8.463930130004883" y="-158.2008056640625" z="0.0014286803780123591"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_close_to_adversary_6281">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-16.594314575195312" y="-74.14282989501953" z="0.03377532958984375"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_close_to_hero_6282">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-13.213204383850098" y="-152.4414520263672" z="0.0014286803780123591"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_close_to_hero_6283">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-3.1302807331085205" y="-156.39834594726562" z="0.0014286803780123591"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_close_to_hero_6284">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-12.735579490661621" y="-158.3916015625" z="0.0014286803780123591"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_close_to_adversary_6285">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-11.771652221679688" y="-73.00170135498047" z="0.03382739797234535"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_w_transform_6286">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-62.654937744140625" y="-26.077167510986328" z="0.5"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_w_transform_6287">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="94.80322265625" y="-77.22093200683594" z="0.5"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_w_transform_6288">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-9.594966888427734" y="-58.18632507324219" z="0.5"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_w_transform_6289">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="71.99392700195312" y="-87.06975555419922" z="0.5"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_w_transform_6290">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="39.63546371459961" y="-36.5321044921875" z="0.5"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_close_to_standing_6291">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-17.70952033996582" y="25.54370880126953" z="0.0030352401081472635"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_w_transform_6292">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="5.411020278930664" y="-70.6595230102539" z="0.5"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_close_to_hero_6293">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-5.393327236175537" y="-157.32742309570312" z="0.0014286803780123591"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_close_to_standing_6294">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-6.7953338623046875" y="33.98361587524414" z="0.0030675886664539576"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_w_transform_6295">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-39.77534103393555" y="-91.91374206542969" z="0.5"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
</Actions>
</Init>
<Story name="MyStory">
<Act name="Behavior">
<ManeuverGroup maximumExecutionCount="1" name="ManeuverSequence">
<Actors selectTriggeringEntities="false">
<EntityRef entityRef="adversary"/>
</Actors>
<Maneuver name="LaneChangeSimpleManeuver">
<Event name="AdversaryAccelerates" priority="overwrite">
<Action name="AdversaryAccelerates">
<PrivateAction>
<LongitudinalAction>
<SpeedAction>
<SpeedActionDynamics dynamicsShape="step" value="50" dynamicsDimension="distance"/>
<SpeedActionTarget>
<AbsoluteTargetSpeed value="5.0"/>
</SpeedActionTarget>
</SpeedAction>
</LongitudinalAction>
</PrivateAction>
</Action>
<StartTrigger>
<ConditionGroup>
<Condition name="StartCondition" delay="0" conditionEdge="rising">
<ByEntityCondition>
<TriggeringEntities triggeringEntitiesRule="any">
<EntityRef entityRef="hero"/>
</TriggeringEntities>
<EntityCondition>
<RelativeDistanceCondition entityRef="adversary" relativeDistanceType="cartesianDistance" value="40.0" freespace="false" rule="lessThan"/>
</EntityCondition>
</ByEntityCondition>
</Condition>
</ConditionGroup>
</StartTrigger>
</Event>
<Event name="AdversaryChangesLane" priority="overwrite">
<Action name="AdversaryChangesLane">
<PrivateAction>
<LateralAction>
<LaneChangeAction>
<LaneChangeActionDynamics dynamicsShape="linear" value="25" dynamicsDimension="distance"/>
<LaneChangeTarget>
<RelativeTargetLane entityRef="adversary" value="-1"/>
</LaneChangeTarget>
</LaneChangeAction>
</LateralAction>
</PrivateAction>
</Action>
<StartTrigger>
<ConditionGroup>
<Condition name="AfterAdversaryAccelerates" delay="0" conditionEdge="rising">
<ByValueCondition>
<StoryboardElementStateCondition storyboardElementType="action" storyboardElementRef="AdversaryAccelerates" state="completeState"/>
</ByValueCondition>
</Condition>
</ConditionGroup>
</StartTrigger>
</Event>
</Maneuver>
</ManeuverGroup>
<StartTrigger>
<ConditionGroup>
<Condition name="OverallStartCondition" delay="0" conditionEdge="rising">
<ByEntityCondition>
<TriggeringEntities triggeringEntitiesRule="any">
<EntityRef entityRef="hero"/>
</TriggeringEntities>
<EntityCondition>
<TraveledDistanceCondition value="1.0"/>
</EntityCondition>
</ByEntityCondition>
</Condition>
<Condition name="StartTime" delay="0" conditionEdge="rising">
<ByValueCondition>
<SimulationTimeCondition value="0" rule="equalTo"/>
</ByValueCondition>
</Condition>
</ConditionGroup>
</StartTrigger>
<StopTrigger>
<ConditionGroup>
<Condition name="EndCondition" delay="0" conditionEdge="rising">
<ByEntityCondition>
<TriggeringEntities triggeringEntitiesRule="any">
<EntityRef entityRef="hero"/>
</TriggeringEntities>
<EntityCondition>
<TraveledDistanceCondition value="200.0"/>
</EntityCondition>
</ByEntityCondition>
</Condition>
</ConditionGroup>
</StopTrigger>
</Act>
</Story>
<StopTrigger>
<ConditionGroup>
<Condition name="criteria_RunningStopTest" delay="0" conditionEdge="rising">
<ByValueCondition>
<ParameterCondition parameterRef="" value="" rule="lessThan"/>
</ByValueCondition>
</Condition>
<Condition name="criteria_RunningRedLightTest" delay="0" conditionEdge="rising">
<ByValueCondition>
<ParameterCondition parameterRef="" value="" rule="lessThan"/>
</ByValueCondition>
</Condition>
<Condition name="criteria_WrongLaneTest" delay="0" conditionEdge="rising">
<ByValueCondition>
<ParameterCondition parameterRef="" value="" rule="lessThan"/>
</ByValueCondition>
</Condition>
<Condition name="criteria_OnSidewalkTest" delay="0" conditionEdge="rising">
<ByValueCondition>
<ParameterCondition parameterRef="" value="" rule="lessThan"/>
</ByValueCondition>
</Condition>
<Condition name="criteria_KeepLaneTest" delay="0" conditionEdge="rising">
<ByValueCondition>
<ParameterCondition parameterRef="" value="" rule="lessThan"/>
</ByValueCondition>
</Condition>
<Condition name="criteria_CollisionTest" delay="0" conditionEdge="rising">
<ByValueCondition>
<ParameterCondition parameterRef="" value="" rule="lessThan"/>
</ByValueCondition>
</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 (-80.2, 64.18, 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_21387">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_close_to_adversary_21388">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_w_transform_21389">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_close_to_hero_21390">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_close_to_adversary_21391">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_close_to_hero_21392">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_close_to_hero_21393">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_w_transform_21394">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_w_transform_21395">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_close_to_hero_21396">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_w_transform_21397">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_w_transform_21398">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_close_to_adversary_21399">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_close_to_hero_21400">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_w_transform_21401">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_close_to_standing_21402">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
</Entities>
<Storyboard>
<Init>
<Actions>
<GlobalAction>
<EnvironmentAction>
<Environment name="Environment1">
<TimeOfDay animation="false" dateTime="2019-06-25T12:00:00"/>
<Weather cloudState="free">
<Sun intensity="0.85" azimuth="0" elevation="1.31"/>
<Fog visualRange="100000.0"/>
<Precipitation precipitationType="dry" intensity="0.0"/>
</Weather>
<RoadCondition frictionScaleFactor="1.0"/>
</Environment>
</EnvironmentAction>
</GlobalAction>
<Private entityRef="hero">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-9.4" y="-152.8" z="0.5" h="1.57079632679"/>
</Position>
</TeleportAction>
</PrivateAction>
<PrivateAction>
<ControllerAction>
<AssignControllerAction>
<Controller name="HeroAgent">
<Properties>
<Property name="module" value="external_control"/>
</Properties>
</Controller>
</AssignControllerAction>
<OverrideControllerValueAction>
<Throttle value="0" active="false"/>
<Brake value="0" active="false"/>
<Clutch value="0" active="false"/>
<ParkingBrake value="0" active="false"/>
<SteeringWheel value="0" active="false"/>
<Gear number="0" active="false"/>
</OverrideControllerValueAction>
</ControllerAction>
</PrivateAction>
</Private>
<Private entityRef="adversary">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-9.4" y="-71.0" z="0.5" h="1.57079632679"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="standing">
<PrivateAction>
<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_21387">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-7.091416358947754" y="-147.94549560546875" z="0.0014286803780123591"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_close_to_adversary_21388">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-17.367534637451172" y="-78.28775024414062" z="0.0337858572602272"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_w_transform_21389">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="2.172724723815918" y="22.640045166015625" z="0.5"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_close_to_hero_21390">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-3.8018131256103516" y="-157.84292602539062" z="0.0014286803780123591"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_close_to_adversary_21391">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-14.620112419128418" y="-69.93475341796875" z="0.03383464738726616"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_close_to_hero_21392">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-11.822351455688477" y="-144.74966430664062" z="0.0014286803780123591"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_close_to_hero_21393">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-16.43678855895996" y="-146.23573303222656" z="0.0014286803780123591"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_w_transform_21394">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-18.48904037475586" y="69.12248992919922" z="0.5"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_w_transform_21395">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="58.902626037597656" y="4.342365741729736" z="0.5"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_close_to_hero_21396">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="5.065240383148193" y="-161.67405700683594" z="0.0014286803780123591"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_w_transform_21397">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="7.803421497344971" y="60.08424377441406" z="0.5"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_w_transform_21398">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="2.293530225753784" y="4.526584625244141" z="0.5"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_close_to_adversary_21399">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-2.214970111846924" y="-69.95166778564453" z="0.03381820768117905"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_close_to_hero_21400">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="10.275652885437012" y="-151.1394805908203" z="0.0014286803780123591"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_w_transform_21401">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="91.25245666503906" y="83.61201477050781" z="0.5"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_close_to_standing_21402">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-10.26509952545166" y="35.026371002197266" z="0.003026580670848489"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
</Actions>
</Init>
<Story name="MyStory">
<Act name="Behavior">
<ManeuverGroup maximumExecutionCount="1" name="ManeuverSequence">
<Actors selectTriggeringEntities="false">
<EntityRef entityRef="adversary"/>
</Actors>
<Maneuver name="LaneChangeSimpleManeuver">
<Event name="AdversaryAccelerates" priority="overwrite">
<Action name="AdversaryAccelerates">
<PrivateAction>
<LongitudinalAction>
<SpeedAction>
<SpeedActionDynamics dynamicsShape="step" value="50" dynamicsDimension="distance"/>
<SpeedActionTarget>
<AbsoluteTargetSpeed value="5.0"/>
</SpeedActionTarget>
</SpeedAction>
</LongitudinalAction>
</PrivateAction>
</Action>
<StartTrigger>
<ConditionGroup>
<Condition name="StartCondition" delay="0" conditionEdge="rising">
<ByEntityCondition>
<TriggeringEntities triggeringEntitiesRule="any">
<EntityRef entityRef="hero"/>
</TriggeringEntities>
<EntityCondition>
<RelativeDistanceCondition entityRef="adversary" relativeDistanceType="cartesianDistance" value="40.0" freespace="false" rule="lessThan"/>
</EntityCondition>
</ByEntityCondition>
</Condition>
</ConditionGroup>
</StartTrigger>
</Event>
<Event name="AdversaryChangesLane" priority="overwrite">
<Action name="AdversaryChangesLane">
<PrivateAction>
<LateralAction>
<LaneChangeAction>
<LaneChangeActionDynamics dynamicsShape="linear" value="25" dynamicsDimension="distance"/>
<LaneChangeTarget>
<RelativeTargetLane entityRef="adversary" value="-1"/>
</LaneChangeTarget>
</LaneChangeAction>
</LateralAction>
</PrivateAction>
</Action>
<StartTrigger>
<ConditionGroup>
<Condition name="AfterAdversaryAccelerates" delay="0" conditionEdge="rising">
<ByValueCondition>
<StoryboardElementStateCondition storyboardElementType="action" storyboardElementRef="AdversaryAccelerates" state="completeState"/>
</ByValueCondition>
</Condition>
</ConditionGroup>
</StartTrigger>
</Event>
</Maneuver>
</ManeuverGroup>
<StartTrigger>
<ConditionGroup>
<Condition name="OverallStartCondition" delay="0" conditionEdge="rising">
<ByEntityCondition>
<TriggeringEntities triggeringEntitiesRule="any">
<EntityRef entityRef="hero"/>
</TriggeringEntities>
<EntityCondition>
<TraveledDistanceCondition value="1.0"/>
</EntityCondition>
</ByEntityCondition>
</Condition>
<Condition name="StartTime" delay="0" conditionEdge="rising">
<ByValueCondition>
<SimulationTimeCondition value="0" rule="equalTo"/>
</ByValueCondition>
</Condition>
</ConditionGroup>
</StartTrigger>
<StopTrigger>
<ConditionGroup>
<Condition name="EndCondition" delay="0" conditionEdge="rising">
<ByEntityCondition>
<TriggeringEntities triggeringEntitiesRule="any">
<EntityRef entityRef="hero"/>
</TriggeringEntities>
<EntityCondition>
<TraveledDistanceCondition value="200.0"/>
</EntityCondition>
</ByEntityCondition>
</Condition>
</ConditionGroup>
</StopTrigger>
</Act>
</Story>
<StopTrigger>
<ConditionGroup>
<Condition name="criteria_RunningStopTest" delay="0" conditionEdge="rising">
<ByValueCondition>
<ParameterCondition parameterRef="" value="" rule="lessThan"/>
</ByValueCondition>
</Condition>
<Condition name="criteria_RunningRedLightTest" delay="0" conditionEdge="rising">
<ByValueCondition>
<ParameterCondition parameterRef="" value="" rule="lessThan"/>
</ByValueCondition>
</Condition>
<Condition name="criteria_WrongLaneTest" delay="0" conditionEdge="rising">
<ByValueCondition>
<ParameterCondition parameterRef="" value="" rule="lessThan"/>
</ByValueCondition>
</Condition>
<Condition name="criteria_OnSidewalkTest" delay="0" conditionEdge="rising">
<ByValueCondition>
<ParameterCondition parameterRef="" value="" rule="lessThan"/>
</ByValueCondition>
</Condition>
<Condition name="criteria_KeepLaneTest" delay="0" conditionEdge="rising">
<ByValueCondition>
<ParameterCondition parameterRef="" value="" rule="lessThan"/>
</ByValueCondition>
</Condition>
<Condition name="criteria_CollisionTest" delay="0" conditionEdge="rising">
<ByValueCondition>
<ParameterCondition parameterRef="" value="" rule="lessThan"/>
</ByValueCondition>
</Condition>
<Condition name="criteria_DrivenDistanceTest" delay="0" conditionEdge="rising">
<ByValueCondition>
<ParameterCondition parameterRef="distance_success" value="100" rule="lessThan"/>
</ByValueCondition>
</Condition>
</ConditionGroup>
</StopTrigger>
</Storyboard>
</OpenSCENARIO>
``` | Here is the result:
```
<?xml version="1.0" ?>
<OpenSCENARIO>
<FileHeader revMajor="1" revMinor="0" date="2020-03-24T12:00:00" description="CARLA:LaneChangeSimple" author=""/>
<ParameterDeclarations/>
<CatalogLocations/>
<RoadNetwork>
<LogicFile filepath="Town04"/>
<SceneGraphFile filepath=""/>
</RoadNetwork>
<Entities>
<ScenarioObject name="hero">
<Vehicle name="vehicle.tesla.model3" vehicleCategory="car">
<ParameterDeclarations/>
<Performance maxSpeed="69.444" maxAcceleration="200" maxDeceleration="10.0"/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2.1" length="4.5" height="1.8"/>
</BoundingBox>
<Axles>
<FrontAxle maxSteering="0.5" wheelDiameter="0.6" trackWidth="1.8" positionX="3.1" positionZ="0.3"/>
<RearAxle maxSteering="0.0" wheelDiameter="0.6" trackWidth="1.8" positionX="0.0" positionZ="0.3"/>
</Axles>
<Properties>
<Property name="type" value="ego_vehicle"/>
</Properties>
</Vehicle>
</ScenarioObject>
<ScenarioObject name="adversary">
<Vehicle name="vehicle.lincoln.mkz_2017" vehicleCategory="car">
<ParameterDeclarations/>
<Performance maxSpeed="69.444" maxAcceleration="200" maxDeceleration="10.0"/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2.1" length="4.5" height="1.8"/>
</BoundingBox>
<Axles>
<FrontAxle maxSteering="0.5" wheelDiameter="0.6" trackWidth="1.8" positionX="3.1" positionZ="0.3"/>
<RearAxle maxSteering="0.0" wheelDiameter="0.6" trackWidth="1.8" positionX="0.0" positionZ="0.3"/>
</Axles>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Vehicle>
</ScenarioObject>
<ScenarioObject name="standing">
<Vehicle name="vehicle.volkswagen.t2" vehicleCategory="car">
<ParameterDeclarations/>
<Performance maxSpeed="69.444" maxAcceleration="200" maxDeceleration="10.0"/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2.1" length="4.5" height="1.8"/>
</BoundingBox>
<Axles>
<FrontAxle maxSteering="0.5" wheelDiameter="0.6" trackWidth="1.8" positionX="3.1" positionZ="0.3"/>
<RearAxle maxSteering="0.0" wheelDiameter="0.6" 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_21387">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_close_to_adversary_21388">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_w_transform_21389">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_close_to_hero_21390">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_close_to_adversary_21391">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_close_to_hero_21392">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_close_to_hero_21393">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_w_transform_21394">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_w_transform_21395">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_close_to_hero_21396">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_w_transform_21397">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_w_transform_21398">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_close_to_adversary_21399">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_close_to_hero_21400">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_w_transform_21401">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_close_to_standing_21402">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_w_transform_21403">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
</Entities>
<Storyboard>
<Init>
<Actions>
<GlobalAction>
<EnvironmentAction>
<Environment name="Environment1">
<TimeOfDay animation="false" dateTime="2019-06-25T12:00:00"/>
<Weather cloudState="free">
<Sun intensity="0.85" azimuth="0" elevation="1.31"/>
<Fog visualRange="100000.0"/>
<Precipitation precipitationType="dry" intensity="0.0"/>
</Weather>
<RoadCondition frictionScaleFactor="1.0"/>
</Environment>
</EnvironmentAction>
</GlobalAction>
<Private entityRef="hero">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-9.4" y="-152.8" z="0.5" h="1.57079632679"/>
</Position>
</TeleportAction>
</PrivateAction>
<PrivateAction>
<ControllerAction>
<AssignControllerAction>
<Controller name="HeroAgent">
<Properties>
<Property name="module" value="external_control"/>
</Properties>
</Controller>
</AssignControllerAction>
<OverrideControllerValueAction>
<Throttle value="0" active="false"/>
<Brake value="0" active="false"/>
<Clutch value="0" active="false"/>
<ParkingBrake value="0" active="false"/>
<SteeringWheel value="0" active="false"/>
<Gear number="0" active="false"/>
</OverrideControllerValueAction>
</ControllerAction>
</PrivateAction>
</Private>
<Private entityRef="adversary">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-9.4" y="-71.0" z="0.5" h="1.57079632679"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="standing">
<PrivateAction>
<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_21387">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-7.091416358947754" y="-147.94549560546875" z="0.0014286803780123591"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_close_to_adversary_21388">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-17.367534637451172" y="-78.28775024414062" z="0.0337858572602272"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_w_transform_21389">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="2.172724723815918" y="22.640045166015625" z="0.5"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_close_to_hero_21390">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-3.8018131256103516" y="-157.84292602539062" z="0.0014286803780123591"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_close_to_adversary_21391">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-14.620112419128418" y="-69.93475341796875" z="0.03383464738726616"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_close_to_hero_21392">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-11.822351455688477" y="-144.74966430664062" z="0.0014286803780123591"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_close_to_hero_21393">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-16.43678855895996" y="-146.23573303222656" z="0.0014286803780123591"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_w_transform_21394">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-18.48904037475586" y="69.12248992919922" z="0.5"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_w_transform_21395">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="58.902626037597656" y="4.342365741729736" z="0.5"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_close_to_hero_21396">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="5.065240383148193" y="-161.67405700683594" z="0.0014286803780123591"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_w_transform_21397">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="7.803421497344971" y="60.08424377441406" z="0.5"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_w_transform_21398">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="2.293530225753784" y="4.526584625244141" z="0.5"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_close_to_adversary_21399">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-2.214970111846924" y="-69.95166778564453" z="0.03381820768117905"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_close_to_hero_21400">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="10.275652885437012" y="-151.1394805908203" z="0.0014286803780123591"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_w_transform_21401">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="91.25245666503906" y="83.61201477050781" z="0.5"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_close_to_standing_21402">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-10.26509952545166" y="35.026371002197266" z="0.003026580670848489"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_w_transform_21403">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-80.2043685913086" y="64.18280029296875" z="0.5"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
</Actions>
</Init>
<Story name="MyStory">
<Act name="Behavior">
<ManeuverGroup maximumExecutionCount="1" name="ManeuverSequence">
<Actors selectTriggeringEntities="false">
<EntityRef entityRef="adversary"/>
</Actors>
<Maneuver name="LaneChangeSimpleManeuver">
<Event name="AdversaryAccelerates" priority="overwrite">
<Action name="AdversaryAccelerates">
<PrivateAction>
<LongitudinalAction>
<SpeedAction>
<SpeedActionDynamics dynamicsShape="step" value="50" dynamicsDimension="distance"/>
<SpeedActionTarget>
<AbsoluteTargetSpeed value="5.0"/>
</SpeedActionTarget>
</SpeedAction>
</LongitudinalAction>
</PrivateAction>
</Action>
<StartTrigger>
<ConditionGroup>
<Condition name="StartCondition" delay="0" conditionEdge="rising">
<ByEntityCondition>
<TriggeringEntities triggeringEntitiesRule="any">
<EntityRef entityRef="hero"/>
</TriggeringEntities>
<EntityCondition>
<RelativeDistanceCondition entityRef="adversary" relativeDistanceType="cartesianDistance" value="40.0" freespace="false" rule="lessThan"/>
</EntityCondition>
</ByEntityCondition>
</Condition>
</ConditionGroup>
</StartTrigger>
</Event>
<Event name="AdversaryChangesLane" priority="overwrite">
<Action name="AdversaryChangesLane">
<PrivateAction>
<LateralAction>
<LaneChangeAction>
<LaneChangeActionDynamics dynamicsShape="linear" value="25" dynamicsDimension="distance"/>
<LaneChangeTarget>
<RelativeTargetLane entityRef="adversary" value="-1"/>
</LaneChangeTarget>
</LaneChangeAction>
</LateralAction>
</PrivateAction>
</Action>
<StartTrigger>
<ConditionGroup>
<Condition name="AfterAdversaryAccelerates" delay="0" conditionEdge="rising">
<ByValueCondition>
<StoryboardElementStateCondition storyboardElementType="action" storyboardElementRef="AdversaryAccelerates" state="completeState"/>
</ByValueCondition>
</Condition>
</ConditionGroup>
</StartTrigger>
</Event>
</Maneuver>
</ManeuverGroup>
<StartTrigger>
<ConditionGroup>
<Condition name="OverallStartCondition" delay="0" conditionEdge="rising">
<ByEntityCondition>
<TriggeringEntities triggeringEntitiesRule="any">
<EntityRef entityRef="hero"/>
</TriggeringEntities>
<EntityCondition>
<TraveledDistanceCondition value="1.0"/>
</EntityCondition>
</ByEntityCondition>
</Condition>
<Condition name="StartTime" delay="0" conditionEdge="rising">
<ByValueCondition>
<SimulationTimeCondition value="0" rule="equalTo"/>
</ByValueCondition>
</Condition>
</ConditionGroup>
</StartTrigger>
<StopTrigger>
<ConditionGroup>
<Condition name="EndCondition" delay="0" conditionEdge="rising">
<ByEntityCondition>
<TriggeringEntities triggeringEntitiesRule="any">
<EntityRef entityRef="hero"/>
</TriggeringEntities>
<EntityCondition>
<TraveledDistanceCondition value="200.0"/>
</EntityCondition>
</ByEntityCondition>
</Condition>
</ConditionGroup>
</StopTrigger>
</Act>
</Story>
<StopTrigger>
<ConditionGroup>
<Condition name="criteria_RunningStopTest" delay="0" conditionEdge="rising">
<ByValueCondition>
<ParameterCondition parameterRef="" value="" rule="lessThan"/>
</ByValueCondition>
</Condition>
<Condition name="criteria_RunningRedLightTest" delay="0" conditionEdge="rising">
<ByValueCondition>
<ParameterCondition parameterRef="" value="" rule="lessThan"/>
</ByValueCondition>
</Condition>
<Condition name="criteria_WrongLaneTest" delay="0" conditionEdge="rising">
<ByValueCondition>
<ParameterCondition parameterRef="" value="" rule="lessThan"/>
</ByValueCondition>
</Condition>
<Condition name="criteria_OnSidewalkTest" delay="0" conditionEdge="rising">
<ByValueCondition>
<ParameterCondition parameterRef="" value="" rule="lessThan"/>
</ByValueCondition>
</Condition>
<Condition name="criteria_KeepLaneTest" delay="0" conditionEdge="rising">
<ByValueCondition>
<ParameterCondition parameterRef="" value="" rule="lessThan"/>
</ByValueCondition>
</Condition>
<Condition name="criteria_CollisionTest" delay="0" conditionEdge="rising">
<ByValueCondition>
<ParameterCondition parameterRef="" value="" rule="lessThan"/>
</ByValueCondition>
</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 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_23870">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_close_to_adversary_23871">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_close_to_adversary_23872">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_w_transform_23873">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_w_transform_23874">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_w_transform_23875">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_close_to_standing_23877">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_w_transform_23878">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_w_transform_23880">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_w_transform_23881">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_close_to_hero_23884">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_w_transform_23885">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_close_to_hero_23888">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_close_to_hero_23889">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_close_to_hero_23890">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_w_transform_23891">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_close_to_hero_23892">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_w_transform_23893">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_close_to_standing_23894">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
</Entities>
<Storyboard>
<Init>
<Actions>
<GlobalAction>
<EnvironmentAction>
<Environment name="Environment1">
<TimeOfDay animation="false" dateTime="2019-06-25T12:00:00"/>
<Weather cloudState="free">
<Sun intensity="0.85" azimuth="0" elevation="1.31"/>
<Fog visualRange="100000.0"/>
<Precipitation precipitationType="dry" intensity="0.0"/>
</Weather>
<RoadCondition frictionScaleFactor="1.0"/>
</Environment>
</EnvironmentAction>
</GlobalAction>
<Private entityRef="hero">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-9.4" y="-152.8" z="0.5" h="1.57079632679"/>
</Position>
</TeleportAction>
</PrivateAction>
<PrivateAction>
<ControllerAction>
<AssignControllerAction>
<Controller name="HeroAgent">
<Properties>
<Property name="module" value="external_control"/>
</Properties>
</Controller>
</AssignControllerAction>
<OverrideControllerValueAction>
<Throttle value="0" active="false"/>
<Brake value="0" active="false"/>
<Clutch value="0" active="false"/>
<ParkingBrake value="0" active="false"/>
<SteeringWheel value="0" active="false"/>
<Gear number="0" active="false"/>
</OverrideControllerValueAction>
</ControllerAction>
</PrivateAction>
</Private>
<Private entityRef="adversary">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-9.4" y="-71.0" z="0.5" h="1.57079632679"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="standing">
<PrivateAction>
<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_23870">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="4.5668253898620605" y="-71.82559967041016" z="0.033813171088695526"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_close_to_adversary_23871">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-10.866432189941406" y="-71.77315521240234" z="0.033839378505945206"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_close_to_adversary_23872">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-17.548439025878906" y="-62.088260650634766" z="0.03384506329894066"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_w_transform_23873">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="14.781644821166992" y="-8.326422691345215" z="0.5"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_w_transform_23874">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="54.463783264160156" y="-44.87070846557617" z="0.5"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_w_transform_23875">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="18.534257888793945" y="38.83309555053711" z="0.5"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_close_to_standing_23877">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-13.951118469238281" y="17.189838409423828" z="0.003091468708589673"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_w_transform_23878">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-77.09573364257812" y="61.85810852050781" z="0.5"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_w_transform_23880">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-56.2852783203125" y="-47.51536560058594" z="0.5"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_w_transform_23881">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-88.87932586669922" y="71.86380004882812" z="0.5"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_close_to_hero_23884">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-18.858598709106445" y="-161.4820098876953" z="0.0014286803780123591"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_w_transform_23885">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-33.01822280883789" y="56.75360107421875" z="0.5"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_close_to_hero_23888">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-16.78311538696289" y="-159.46815490722656" z="0.0014286803780123591"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_close_to_hero_23889">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-5.918181419372559" y="-160.91163635253906" z="0.0014286803780123591"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_close_to_hero_23890">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-3.1274733543395996" y="-173.47625732421875" z="0.0014286803780123591"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_w_transform_23891">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-82.13685607910156" y="13.042917251586914" z="0.5"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_close_to_hero_23892">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-5.346161365509033" y="-159.5959930419922" z="0.0014286803780123591"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_w_transform_23893">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-7.6509833335876465" y="-37.762630462646484" z="0.5"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_close_to_standing_23894">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-9.13268756866455" y="18.53031349182129" z="0.0030554961413145065"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
</Actions>
</Init>
<Story name="MyStory">
<Act name="Behavior">
<ManeuverGroup maximumExecutionCount="1" name="ManeuverSequence">
<Actors selectTriggeringEntities="false">
<EntityRef entityRef="adversary"/>
</Actors>
<Maneuver name="LaneChangeSimpleManeuver">
<Event name="AdversaryAccelerates" priority="overwrite">
<Action name="AdversaryAccelerates">
<PrivateAction>
<LongitudinalAction>
<SpeedAction>
<SpeedActionDynamics dynamicsShape="step" value="50" dynamicsDimension="distance"/>
<SpeedActionTarget>
<AbsoluteTargetSpeed value="5.0"/>
</SpeedActionTarget>
</SpeedAction>
</LongitudinalAction>
</PrivateAction>
</Action>
<StartTrigger>
<ConditionGroup>
<Condition name="StartCondition" delay="0" conditionEdge="rising">
<ByEntityCondition>
<TriggeringEntities triggeringEntitiesRule="any">
<EntityRef entityRef="hero"/>
</TriggeringEntities>
<EntityCondition>
<RelativeDistanceCondition entityRef="adversary" relativeDistanceType="cartesianDistance" value="40.0" freespace="false" rule="lessThan"/>
</EntityCondition>
</ByEntityCondition>
</Condition>
</ConditionGroup>
</StartTrigger>
</Event>
<Event name="AdversaryChangesLane" priority="overwrite">
<Action name="AdversaryChangesLane">
<PrivateAction>
<LateralAction>
<LaneChangeAction>
<LaneChangeActionDynamics dynamicsShape="linear" value="25" dynamicsDimension="distance"/>
<LaneChangeTarget>
<RelativeTargetLane entityRef="adversary" value="-1"/>
</LaneChangeTarget>
</LaneChangeAction>
</LateralAction>
</PrivateAction>
</Action>
<StartTrigger>
<ConditionGroup>
<Condition name="AfterAdversaryAccelerates" delay="0" conditionEdge="rising">
<ByValueCondition>
<StoryboardElementStateCondition storyboardElementType="action" storyboardElementRef="AdversaryAccelerates" state="completeState"/>
</ByValueCondition>
</Condition>
</ConditionGroup>
</StartTrigger>
</Event>
</Maneuver>
</ManeuverGroup>
<StartTrigger>
<ConditionGroup>
<Condition name="OverallStartCondition" delay="0" conditionEdge="rising">
<ByEntityCondition>
<TriggeringEntities triggeringEntitiesRule="any">
<EntityRef entityRef="hero"/>
</TriggeringEntities>
<EntityCondition>
<TraveledDistanceCondition value="1.0"/>
</EntityCondition>
</ByEntityCondition>
</Condition>
<Condition name="StartTime" delay="0" conditionEdge="rising">
<ByValueCondition>
<SimulationTimeCondition value="0" rule="equalTo"/>
</ByValueCondition>
</Condition>
</ConditionGroup>
</StartTrigger>
<StopTrigger>
<ConditionGroup>
<Condition name="EndCondition" delay="0" conditionEdge="rising">
<ByEntityCondition>
<TriggeringEntities triggeringEntitiesRule="any">
<EntityRef entityRef="hero"/>
</TriggeringEntities>
<EntityCondition>
<TraveledDistanceCondition value="200.0"/>
</EntityCondition>
</ByEntityCondition>
</Condition>
</ConditionGroup>
</StopTrigger>
</Act>
</Story>
<StopTrigger>
<ConditionGroup>
<Condition name="criteria_RunningStopTest" delay="0" conditionEdge="rising">
<ByValueCondition>
<ParameterCondition parameterRef="" value="" rule="lessThan"/>
</ByValueCondition>
</Condition>
<Condition name="criteria_RunningRedLightTest" delay="0" conditionEdge="rising">
<ByValueCondition>
<ParameterCondition parameterRef="" value="" rule="lessThan"/>
</ByValueCondition>
</Condition>
<Condition name="criteria_WrongLaneTest" delay="0" conditionEdge="rising">
<ByValueCondition>
<ParameterCondition parameterRef="" value="" rule="lessThan"/>
</ByValueCondition>
</Condition>
<Condition name="criteria_OnSidewalkTest" delay="0" conditionEdge="rising">
<ByValueCondition>
<ParameterCondition parameterRef="" value="" rule="lessThan"/>
</ByValueCondition>
</Condition>
<Condition name="criteria_KeepLaneTest" delay="0" conditionEdge="rising">
<ByValueCondition>
<ParameterCondition parameterRef="" value="" rule="lessThan"/>
</ByValueCondition>
</Condition>
<Condition name="criteria_CollisionTest" delay="0" conditionEdge="rising">
<ByValueCondition>
<ParameterCondition parameterRef="" value="" rule="lessThan"/>
</ByValueCondition>
</Condition>
<Condition name="criteria_DrivenDistanceTest" delay="0" conditionEdge="rising">
<ByValueCondition>
<ParameterCondition parameterRef="distance_success" value="100" rule="lessThan"/>
</ByValueCondition>
</Condition>
</ConditionGroup>
</StopTrigger>
</Storyboard>
</OpenSCENARIO>
``` | Here is the result:
```
<?xml version="1.0" ?>
<OpenSCENARIO>
<FileHeader revMajor="1" revMinor="0" date="2020-03-24T12:00:00" description="CARLA:LaneChangeSimple" author=""/>
<ParameterDeclarations/>
<CatalogLocations/>
<RoadNetwork>
<LogicFile filepath="Town04"/>
<SceneGraphFile filepath=""/>
</RoadNetwork>
<Entities>
<ScenarioObject name="hero">
<Vehicle name="vehicle.tesla.model3" vehicleCategory="car">
<ParameterDeclarations/>
<Performance maxSpeed="69.444" maxAcceleration="200" maxDeceleration="10.0"/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2.1" length="4.5" height="1.8"/>
</BoundingBox>
<Axles>
<FrontAxle maxSteering="0.5" wheelDiameter="0.6" trackWidth="1.8" positionX="3.1" positionZ="0.3"/>
<RearAxle maxSteering="0.0" wheelDiameter="0.6" trackWidth="1.8" positionX="0.0" positionZ="0.3"/>
</Axles>
<Properties>
<Property name="type" value="ego_vehicle"/>
</Properties>
</Vehicle>
</ScenarioObject>
<ScenarioObject name="adversary">
<Vehicle name="vehicle.lincoln.mkz_2017" vehicleCategory="car">
<ParameterDeclarations/>
<Performance maxSpeed="69.444" maxAcceleration="200" maxDeceleration="10.0"/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2.1" length="4.5" height="1.8"/>
</BoundingBox>
<Axles>
<FrontAxle maxSteering="0.5" wheelDiameter="0.6" trackWidth="1.8" positionX="3.1" positionZ="0.3"/>
<RearAxle maxSteering="0.0" wheelDiameter="0.6" trackWidth="1.8" positionX="0.0" positionZ="0.3"/>
</Axles>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Vehicle>
</ScenarioObject>
<ScenarioObject name="standing">
<Vehicle name="vehicle.volkswagen.t2" vehicleCategory="car">
<ParameterDeclarations/>
<Performance maxSpeed="69.444" maxAcceleration="200" maxDeceleration="10.0"/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2.1" length="4.5" height="1.8"/>
</BoundingBox>
<Axles>
<FrontAxle maxSteering="0.5" wheelDiameter="0.6" trackWidth="1.8" positionX="3.1" positionZ="0.3"/>
<RearAxle maxSteering="0.0" wheelDiameter="0.6" 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_23870">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_close_to_adversary_23872">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_w_transform_23873">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_w_transform_23874">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_w_transform_23875">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_close_to_standing_23877">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_w_transform_23878">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_w_transform_23880">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_w_transform_23881">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_close_to_hero_23884">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_w_transform_23885">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_close_to_hero_23888">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_close_to_hero_23889">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_close_to_hero_23890">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_w_transform_23891">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_close_to_hero_23892">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_w_transform_23893">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_close_to_standing_23894">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
</Entities>
<Storyboard>
<Init>
<Actions>
<GlobalAction>
<EnvironmentAction>
<Environment name="Environment1">
<TimeOfDay animation="false" dateTime="2019-06-25T12:00:00"/>
<Weather cloudState="free">
<Sun intensity="0.85" azimuth="0" elevation="1.31"/>
<Fog visualRange="100000.0"/>
<Precipitation precipitationType="dry" intensity="0.0"/>
</Weather>
<RoadCondition frictionScaleFactor="1.0"/>
</Environment>
</EnvironmentAction>
</GlobalAction>
<Private entityRef="hero">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-9.4" y="-152.8" z="0.5" h="1.57079632679"/>
</Position>
</TeleportAction>
</PrivateAction>
<PrivateAction>
<ControllerAction>
<AssignControllerAction>
<Controller name="HeroAgent">
<Properties>
<Property name="module" value="external_control"/>
</Properties>
</Controller>
</AssignControllerAction>
<OverrideControllerValueAction>
<Throttle value="0" active="false"/>
<Brake value="0" active="false"/>
<Clutch value="0" active="false"/>
<ParkingBrake value="0" active="false"/>
<SteeringWheel value="0" active="false"/>
<Gear number="0" active="false"/>
</OverrideControllerValueAction>
</ControllerAction>
</PrivateAction>
</Private>
<Private entityRef="adversary">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-9.4" y="-71.0" z="0.5" h="1.57079632679"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="standing">
<PrivateAction>
<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_23870">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="4.5668253898620605" y="-71.82559967041016" z="0.033813171088695526"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_close_to_adversary_23872">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-17.548439025878906" y="-62.088260650634766" z="0.03384506329894066"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_w_transform_23873">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="14.781644821166992" y="-8.326422691345215" z="0.5"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_w_transform_23874">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="54.463783264160156" y="-44.87070846557617" z="0.5"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_w_transform_23875">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="18.534257888793945" y="38.83309555053711" z="0.5"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_close_to_standing_23877">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-13.951118469238281" y="17.189838409423828" z="0.003091468708589673"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_w_transform_23878">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-77.09573364257812" y="61.85810852050781" z="0.5"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_w_transform_23880">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-56.2852783203125" y="-47.51536560058594" z="0.5"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_w_transform_23881">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-88.87932586669922" y="71.86380004882812" z="0.5"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_close_to_hero_23884">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-18.858598709106445" y="-161.4820098876953" z="0.0014286803780123591"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_w_transform_23885">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-33.01822280883789" y="56.75360107421875" z="0.5"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_close_to_hero_23888">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-16.78311538696289" y="-159.46815490722656" z="0.0014286803780123591"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_close_to_hero_23889">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-5.918181419372559" y="-160.91163635253906" z="0.0014286803780123591"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_close_to_hero_23890">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-3.1274733543395996" y="-173.47625732421875" z="0.0014286803780123591"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_w_transform_23891">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-82.13685607910156" y="13.042917251586914" z="0.5"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_close_to_hero_23892">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-5.346161365509033" y="-159.5959930419922" z="0.0014286803780123591"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_w_transform_23893">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-7.6509833335876465" y="-37.762630462646484" z="0.5"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_close_to_standing_23894">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-9.13268756866455" y="18.53031349182129" z="0.0030554961413145065"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
</Actions>
</Init>
<Story name="MyStory">
<Act name="Behavior">
<ManeuverGroup maximumExecutionCount="1" name="ManeuverSequence">
<Actors selectTriggeringEntities="false">
<EntityRef entityRef="adversary"/>
</Actors>
<Maneuver name="LaneChangeSimpleManeuver">
<Event name="AdversaryAccelerates" priority="overwrite">
<Action name="AdversaryAccelerates">
<PrivateAction>
<LongitudinalAction>
<SpeedAction>
<SpeedActionDynamics dynamicsShape="step" value="50" dynamicsDimension="distance"/>
<SpeedActionTarget>
<AbsoluteTargetSpeed value="5.0"/>
</SpeedActionTarget>
</SpeedAction>
</LongitudinalAction>
</PrivateAction>
</Action>
<StartTrigger>
<ConditionGroup>
<Condition name="StartCondition" delay="0" conditionEdge="rising">
<ByEntityCondition>
<TriggeringEntities triggeringEntitiesRule="any">
<EntityRef entityRef="hero"/>
</TriggeringEntities>
<EntityCondition>
<RelativeDistanceCondition entityRef="adversary" relativeDistanceType="cartesianDistance" value="40.0" freespace="false" rule="lessThan"/>
</EntityCondition>
</ByEntityCondition>
</Condition>
</ConditionGroup>
</StartTrigger>
</Event>
<Event name="AdversaryChangesLane" priority="overwrite">
<Action name="AdversaryChangesLane">
<PrivateAction>
<LateralAction>
<LaneChangeAction>
<LaneChangeActionDynamics dynamicsShape="linear" value="25" dynamicsDimension="distance"/>
<LaneChangeTarget>
<RelativeTargetLane entityRef="adversary" value="-1"/>
</LaneChangeTarget>
</LaneChangeAction>
</LateralAction>
</PrivateAction>
</Action>
<StartTrigger>
<ConditionGroup>
<Condition name="AfterAdversaryAccelerates" delay="0" conditionEdge="rising">
<ByValueCondition>
<StoryboardElementStateCondition storyboardElementType="action" storyboardElementRef="AdversaryAccelerates" state="completeState"/>
</ByValueCondition>
</Condition>
</ConditionGroup>
</StartTrigger>
</Event>
</Maneuver>
</ManeuverGroup>
<StartTrigger>
<ConditionGroup>
<Condition name="OverallStartCondition" delay="0" conditionEdge="rising">
<ByEntityCondition>
<TriggeringEntities triggeringEntitiesRule="any">
<EntityRef entityRef="hero"/>
</TriggeringEntities>
<EntityCondition>
<TraveledDistanceCondition value="1.0"/>
</EntityCondition>
</ByEntityCondition>
</Condition>
<Condition name="StartTime" delay="0" conditionEdge="rising">
<ByValueCondition>
<SimulationTimeCondition value="0" rule="equalTo"/>
</ByValueCondition>
</Condition>
</ConditionGroup>
</StartTrigger>
<StopTrigger>
<ConditionGroup>
<Condition name="EndCondition" delay="0" conditionEdge="rising">
<ByEntityCondition>
<TriggeringEntities triggeringEntitiesRule="any">
<EntityRef entityRef="hero"/>
</TriggeringEntities>
<EntityCondition>
<TraveledDistanceCondition value="200.0"/>
</EntityCondition>
</ByEntityCondition>
</Condition>
</ConditionGroup>
</StopTrigger>
</Act>
</Story>
<StopTrigger>
<ConditionGroup>
<Condition name="criteria_RunningStopTest" delay="0" conditionEdge="rising">
<ByValueCondition>
<ParameterCondition parameterRef="" value="" rule="lessThan"/>
</ByValueCondition>
</Condition>
<Condition name="criteria_RunningRedLightTest" delay="0" conditionEdge="rising">
<ByValueCondition>
<ParameterCondition parameterRef="" value="" rule="lessThan"/>
</ByValueCondition>
</Condition>
<Condition name="criteria_WrongLaneTest" delay="0" conditionEdge="rising">
<ByValueCondition>
<ParameterCondition parameterRef="" value="" rule="lessThan"/>
</ByValueCondition>
</Condition>
<Condition name="criteria_OnSidewalkTest" delay="0" conditionEdge="rising">
<ByValueCondition>
<ParameterCondition parameterRef="" value="" rule="lessThan"/>
</ByValueCondition>
</Condition>
<Condition name="criteria_KeepLaneTest" delay="0" conditionEdge="rising">
<ByValueCondition>
<ParameterCondition parameterRef="" value="" rule="lessThan"/>
</ByValueCondition>
</Condition>
<Condition name="criteria_CollisionTest" delay="0" conditionEdge="rising">
<ByValueCondition>
<ParameterCondition parameterRef="" value="" rule="lessThan"/>
</ByValueCondition>
</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>
</Entities>
<Storyboard>
<Init>
<Actions>
<GlobalAction>
<EnvironmentAction>
<Environment name="Environment1">
<TimeOfDay animation="false" dateTime="2019-06-25T12:00:00"/>
<Weather cloudState="free">
<Sun intensity="0.85" azimuth="0" elevation="1.31"/>
<Fog visualRange="100000.0"/>
<Precipitation precipitationType="dry" intensity="0.0"/>
</Weather>
<RoadCondition frictionScaleFactor="1.0"/>
</Environment>
</EnvironmentAction>
</GlobalAction>
<Private entityRef="hero">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-9.4" y="-152.8" z="0.5" h="1.57079632679"/>
</Position>
</TeleportAction>
</PrivateAction>
<PrivateAction>
<ControllerAction>
<AssignControllerAction>
<Controller name="HeroAgent">
<Properties>
<Property name="module" value="external_control"/>
</Properties>
</Controller>
</AssignControllerAction>
<OverrideControllerValueAction>
<Throttle value="0" active="false"/>
<Brake value="0" active="false"/>
<Clutch value="0" active="false"/>
<ParkingBrake value="0" active="false"/>
<SteeringWheel value="0" active="false"/>
<Gear number="0" active="false"/>
</OverrideControllerValueAction>
</ControllerAction>
</PrivateAction>
</Private>
<Private entityRef="adversary">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-9.4" y="-71.0" z="0.5" h="1.57079632679"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="standing">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-8.2" y="29.2" z="0.5" h="1.57079632679"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
</Actions>
</Init>
<Story name="MyStory">
<Act name="Behavior">
<ManeuverGroup maximumExecutionCount="1" name="ManeuverSequence">
<Actors selectTriggeringEntities="false">
<EntityRef entityRef="adversary"/>
</Actors>
<Maneuver name="LaneChangeSimpleManeuver">
<Event name="AdversaryAccelerates" priority="overwrite">
<Action name="AdversaryAccelerates">
<PrivateAction>
<LongitudinalAction>
<SpeedAction>
<SpeedActionDynamics dynamicsShape="step" value="50" dynamicsDimension="distance"/>
<SpeedActionTarget>
<AbsoluteTargetSpeed value="5.0"/>
</SpeedActionTarget>
</SpeedAction>
</LongitudinalAction>
</PrivateAction>
</Action>
<StartTrigger>
<ConditionGroup>
<Condition name="StartCondition" delay="0" conditionEdge="rising">
<ByEntityCondition>
<TriggeringEntities triggeringEntitiesRule="any">
<EntityRef entityRef="hero"/>
</TriggeringEntities>
<EntityCondition>
<RelativeDistanceCondition entityRef="adversary" relativeDistanceType="cartesianDistance" value="40.0" freespace="false" rule="lessThan"/>
</EntityCondition>
</ByEntityCondition>
</Condition>
</ConditionGroup>
</StartTrigger>
</Event>
<Event name="AdversaryChangesLane" priority="overwrite">
<Action name="AdversaryChangesLane">
<PrivateAction>
<LateralAction>
<LaneChangeAction>
<LaneChangeActionDynamics dynamicsShape="linear" value="25" dynamicsDimension="distance"/>
<LaneChangeTarget>
<RelativeTargetLane entityRef="adversary" value="-1"/>
</LaneChangeTarget>
</LaneChangeAction>
</LateralAction>
</PrivateAction>
</Action>
<StartTrigger>
<ConditionGroup>
<Condition name="AfterAdversaryAccelerates" delay="0" conditionEdge="rising">
<ByValueCondition>
<StoryboardElementStateCondition storyboardElementType="action" storyboardElementRef="AdversaryAccelerates" state="completeState"/>
</ByValueCondition>
</Condition>
</ConditionGroup>
</StartTrigger>
</Event>
</Maneuver>
</ManeuverGroup>
<StartTrigger>
<ConditionGroup>
<Condition name="OverallStartCondition" delay="0" conditionEdge="rising">
<ByEntityCondition>
<TriggeringEntities triggeringEntitiesRule="any">
<EntityRef entityRef="hero"/>
</TriggeringEntities>
<EntityCondition>
<TraveledDistanceCondition value="1.0"/>
</EntityCondition>
</ByEntityCondition>
</Condition>
<Condition name="StartTime" delay="0" conditionEdge="rising">
<ByValueCondition>
<SimulationTimeCondition value="0" rule="equalTo"/>
</ByValueCondition>
</Condition>
</ConditionGroup>
</StartTrigger>
<StopTrigger>
<ConditionGroup>
<Condition name="EndCondition" delay="0" conditionEdge="rising">
<ByEntityCondition>
<TriggeringEntities triggeringEntitiesRule="any">
<EntityRef entityRef="hero"/>
</TriggeringEntities>
<EntityCondition>
<TraveledDistanceCondition value="200.0"/>
</EntityCondition>
</ByEntityCondition>
</Condition>
</ConditionGroup>
</StopTrigger>
</Act>
</Story>
<StopTrigger>
<ConditionGroup>
<Condition name="criteria_RunningStopTest" delay="0" conditionEdge="rising">
<ByValueCondition>
<ParameterCondition parameterRef="" value="" rule="lessThan"/>
</ByValueCondition>
</Condition>
<Condition name="criteria_RunningRedLightTest" delay="0" conditionEdge="rising">
<ByValueCondition>
<ParameterCondition parameterRef="" value="" rule="lessThan"/>
</ByValueCondition>
</Condition>
<Condition name="criteria_WrongLaneTest" delay="0" conditionEdge="rising">
<ByValueCondition>
<ParameterCondition parameterRef="" value="" rule="lessThan"/>
</ByValueCondition>
</Condition>
<Condition name="criteria_OnSidewalkTest" delay="0" conditionEdge="rising">
<ByValueCondition>
<ParameterCondition parameterRef="" value="" rule="lessThan"/>
</ByValueCondition>
</Condition>
<Condition name="criteria_KeepLaneTest" delay="0" conditionEdge="rising">
<ByValueCondition>
<ParameterCondition parameterRef="" value="" rule="lessThan"/>
</ByValueCondition>
</Condition>
<Condition name="criteria_CollisionTest" delay="0" conditionEdge="rising">
<ByValueCondition>
<ParameterCondition parameterRef="" value="" rule="lessThan"/>
</ByValueCondition>
</Condition>
<Condition name="criteria_DrivenDistanceTest" delay="0" conditionEdge="rising">
<ByValueCondition>
<ParameterCondition parameterRef="distance_success" value="100" rule="lessThan"/>
</ByValueCondition>
</Condition>
</ConditionGroup>
</StopTrigger>
</Storyboard>
</OpenSCENARIO>
``` | Here is the result:
```
<?xml version="1.0" ?>
<OpenSCENARIO>
<FileHeader revMajor="1" revMinor="0" date="2020-03-24T12:00:00" description="CARLA:LaneChangeSimple" author=""/>
<ParameterDeclarations/>
<CatalogLocations/>
<RoadNetwork>
<LogicFile filepath="Town04"/>
<SceneGraphFile filepath=""/>
</RoadNetwork>
<Entities>
<ScenarioObject name="hero">
<Vehicle name="vehicle.tesla.model3" vehicleCategory="car">
<ParameterDeclarations/>
<Performance maxSpeed="69.444" maxAcceleration="200" maxDeceleration="10.0"/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2.1" length="4.5" height="1.8"/>
</BoundingBox>
<Axles>
<FrontAxle maxSteering="0.5" wheelDiameter="0.6" trackWidth="1.8" positionX="3.1" positionZ="0.3"/>
<RearAxle maxSteering="0.0" wheelDiameter="0.6" trackWidth="1.8" positionX="0.0" positionZ="0.3"/>
</Axles>
<Properties>
<Property name="type" value="ego_vehicle"/>
</Properties>
</Vehicle>
</ScenarioObject>
<ScenarioObject name="adversary">
<Vehicle name="vehicle.lincoln.mkz_2017" vehicleCategory="car">
<ParameterDeclarations/>
<Performance maxSpeed="69.444" maxAcceleration="200" maxDeceleration="10.0"/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2.1" length="4.5" height="1.8"/>
</BoundingBox>
<Axles>
<FrontAxle maxSteering="0.5" wheelDiameter="0.6" trackWidth="1.8" positionX="3.1" positionZ="0.3"/>
<RearAxle maxSteering="0.0" wheelDiameter="0.6" trackWidth="1.8" positionX="0.0" positionZ="0.3"/>
</Axles>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Vehicle>
</ScenarioObject>
<ScenarioObject name="standing">
<Vehicle name="vehicle.volkswagen.t2" vehicleCategory="car">
<ParameterDeclarations/>
<Performance maxSpeed="69.444" maxAcceleration="200" maxDeceleration="10.0"/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2.1" length="4.5" height="1.8"/>
</BoundingBox>
<Axles>
<FrontAxle maxSteering="0.5" wheelDiameter="0.6" trackWidth="1.8" positionX="3.1" positionZ="0.3"/>
<RearAxle maxSteering="0.0" wheelDiameter="0.6" trackWidth="1.8" positionX="0.0" positionZ="0.3"/>
</Axles>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Vehicle>
</ScenarioObject>
<ScenarioObject name="pedestrian_close_to_hero_3066">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
</Entities>
<Storyboard>
<Init>
<Actions>
<GlobalAction>
<EnvironmentAction>
<Environment name="Environment1">
<TimeOfDay animation="false" dateTime="2019-06-25T12:00:00"/>
<Weather cloudState="free">
<Sun intensity="0.85" azimuth="0" elevation="1.31"/>
<Fog visualRange="100000.0"/>
<Precipitation precipitationType="dry" intensity="0.0"/>
</Weather>
<RoadCondition frictionScaleFactor="1.0"/>
</Environment>
</EnvironmentAction>
</GlobalAction>
<Private entityRef="hero">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-9.4" y="-152.8" z="0.5" h="1.57079632679"/>
</Position>
</TeleportAction>
</PrivateAction>
<PrivateAction>
<ControllerAction>
<AssignControllerAction>
<Controller name="HeroAgent">
<Properties>
<Property name="module" value="external_control"/>
</Properties>
</Controller>
</AssignControllerAction>
<OverrideControllerValueAction>
<Throttle value="0" active="false"/>
<Brake value="0" active="false"/>
<Clutch value="0" active="false"/>
<ParkingBrake value="0" active="false"/>
<SteeringWheel value="0" active="false"/>
<Gear number="0" active="false"/>
</OverrideControllerValueAction>
</ControllerAction>
</PrivateAction>
</Private>
<Private entityRef="adversary">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-9.4" y="-71.0" z="0.5" h="1.57079632679"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="standing">
<PrivateAction>
<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_3066">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="6.362935543060303" y="-150.7879180908203" 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 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_2053">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_w_transform_2054">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_w_transform_2055">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_close_to_adversary_2056">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_w_transform_2057">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_close_to_standing_2058">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_w_transform_2059">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_close_to_hero_2060">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_w_transform_2061">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_w_transform_2063">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_close_to_adversary_2064">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
</Entities>
<Storyboard>
<Init>
<Actions>
<GlobalAction>
<EnvironmentAction>
<Environment name="Environment1">
<TimeOfDay animation="false" dateTime="2019-06-25T12:00:00"/>
<Weather cloudState="free">
<Sun intensity="0.85" azimuth="0" elevation="1.31"/>
<Fog visualRange="100000.0"/>
<Precipitation precipitationType="dry" intensity="0.0"/>
</Weather>
<RoadCondition frictionScaleFactor="1.0"/>
</Environment>
</EnvironmentAction>
</GlobalAction>
<Private entityRef="hero">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-9.4" y="-152.8" z="0.5" h="1.57079632679"/>
</Position>
</TeleportAction>
</PrivateAction>
<PrivateAction>
<ControllerAction>
<AssignControllerAction>
<Controller name="HeroAgent">
<Properties>
<Property name="module" value="external_control"/>
</Properties>
</Controller>
</AssignControllerAction>
<OverrideControllerValueAction>
<Throttle value="0" active="false"/>
<Brake value="0" active="false"/>
<Clutch value="0" active="false"/>
<ParkingBrake value="0" active="false"/>
<SteeringWheel value="0" active="false"/>
<Gear number="0" active="false"/>
</OverrideControllerValueAction>
</ControllerAction>
</PrivateAction>
</Private>
<Private entityRef="adversary">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-9.4" y="-71.0" z="0.5" h="1.57079632679"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="standing">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-8.2" y="29.2" z="0.5" h="1.57079632679"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_close_to_standing_2053">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-1.1677643060684204" y="33.97220230102539" z="0.0030751798767596483"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_w_transform_2054">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="75.66392517089844" y="-10.71626091003418" z="0.5"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_w_transform_2055">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-10.280708312988281" y="-34.91922378540039" z="0.5"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_close_to_adversary_2056">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-11.803860664367676" y="-59.178688049316406" z="0.03381103277206421"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_w_transform_2057">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="78.52841186523438" y="-31.867488861083984" z="0.5"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_close_to_standing_2058">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="1.3771581649780273" y="23.374658584594727" z="0.0030439377296715975"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_w_transform_2059">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-42.5910758972168" y="-83.33573913574219" z="0.5"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_close_to_hero_2060">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-9.461570739746094" y="-150.61492919921875" z="0.0014286803780123591"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_w_transform_2061">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-78.87576293945312" y="-90.50177001953125" z="0.5"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_w_transform_2063">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="2.366642713546753" y="55.066410064697266" z="0.5"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_close_to_adversary_2064">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="0.531078577041626" y="-79.08660888671875" z="0.033778876066207886"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
</Actions>
</Init>
<Story name="MyStory">
<Act name="Behavior">
<ManeuverGroup maximumExecutionCount="1" name="ManeuverSequence">
<Actors selectTriggeringEntities="false">
<EntityRef entityRef="adversary"/>
</Actors>
<Maneuver name="LaneChangeSimpleManeuver">
<Event name="AdversaryAccelerates" priority="overwrite">
<Action name="AdversaryAccelerates">
<PrivateAction>
<LongitudinalAction>
<SpeedAction>
<SpeedActionDynamics dynamicsShape="step" value="50" dynamicsDimension="distance"/>
<SpeedActionTarget>
<AbsoluteTargetSpeed value="5.0"/>
</SpeedActionTarget>
</SpeedAction>
</LongitudinalAction>
</PrivateAction>
</Action>
<StartTrigger>
<ConditionGroup>
<Condition name="StartCondition" delay="0" conditionEdge="rising">
<ByEntityCondition>
<TriggeringEntities triggeringEntitiesRule="any">
<EntityRef entityRef="hero"/>
</TriggeringEntities>
<EntityCondition>
<RelativeDistanceCondition entityRef="adversary" relativeDistanceType="cartesianDistance" value="40.0" freespace="false" rule="lessThan"/>
</EntityCondition>
</ByEntityCondition>
</Condition>
</ConditionGroup>
</StartTrigger>
</Event>
<Event name="AdversaryChangesLane" priority="overwrite">
<Action name="AdversaryChangesLane">
<PrivateAction>
<LateralAction>
<LaneChangeAction>
<LaneChangeActionDynamics dynamicsShape="linear" value="25" dynamicsDimension="distance"/>
<LaneChangeTarget>
<RelativeTargetLane entityRef="adversary" value="-1"/>
</LaneChangeTarget>
</LaneChangeAction>
</LateralAction>
</PrivateAction>
</Action>
<StartTrigger>
<ConditionGroup>
<Condition name="AfterAdversaryAccelerates" delay="0" conditionEdge="rising">
<ByValueCondition>
<StoryboardElementStateCondition storyboardElementType="action" storyboardElementRef="AdversaryAccelerates" state="completeState"/>
</ByValueCondition>
</Condition>
</ConditionGroup>
</StartTrigger>
</Event>
</Maneuver>
</ManeuverGroup>
<StartTrigger>
<ConditionGroup>
<Condition name="OverallStartCondition" delay="0" conditionEdge="rising">
<ByEntityCondition>
<TriggeringEntities triggeringEntitiesRule="any">
<EntityRef entityRef="hero"/>
</TriggeringEntities>
<EntityCondition>
<TraveledDistanceCondition value="1.0"/>
</EntityCondition>
</ByEntityCondition>
</Condition>
<Condition name="StartTime" delay="0" conditionEdge="rising">
<ByValueCondition>
<SimulationTimeCondition value="0" rule="equalTo"/>
</ByValueCondition>
</Condition>
</ConditionGroup>
</StartTrigger>
<StopTrigger>
<ConditionGroup>
<Condition name="EndCondition" delay="0" conditionEdge="rising">
<ByEntityCondition>
<TriggeringEntities triggeringEntitiesRule="any">
<EntityRef entityRef="hero"/>
</TriggeringEntities>
<EntityCondition>
<TraveledDistanceCondition value="200.0"/>
</EntityCondition>
</ByEntityCondition>
</Condition>
</ConditionGroup>
</StopTrigger>
</Act>
</Story>
<StopTrigger>
<ConditionGroup>
<Condition name="criteria_RunningStopTest" delay="0" conditionEdge="rising">
<ByValueCondition>
<ParameterCondition parameterRef="" value="" rule="lessThan"/>
</ByValueCondition>
</Condition>
<Condition name="criteria_RunningRedLightTest" delay="0" conditionEdge="rising">
<ByValueCondition>
<ParameterCondition parameterRef="" value="" rule="lessThan"/>
</ByValueCondition>
</Condition>
<Condition name="criteria_WrongLaneTest" delay="0" conditionEdge="rising">
<ByValueCondition>
<ParameterCondition parameterRef="" value="" rule="lessThan"/>
</ByValueCondition>
</Condition>
<Condition name="criteria_OnSidewalkTest" delay="0" conditionEdge="rising">
<ByValueCondition>
<ParameterCondition parameterRef="" value="" rule="lessThan"/>
</ByValueCondition>
</Condition>
<Condition name="criteria_KeepLaneTest" delay="0" conditionEdge="rising">
<ByValueCondition>
<ParameterCondition parameterRef="" value="" rule="lessThan"/>
</ByValueCondition>
</Condition>
<Condition name="criteria_CollisionTest" delay="0" conditionEdge="rising">
<ByValueCondition>
<ParameterCondition parameterRef="" value="" rule="lessThan"/>
</ByValueCondition>
</Condition>
<Condition name="criteria_DrivenDistanceTest" delay="0" conditionEdge="rising">
<ByValueCondition>
<ParameterCondition parameterRef="distance_success" value="100" rule="lessThan"/>
</ByValueCondition>
</Condition>
</ConditionGroup>
</StopTrigger>
</Storyboard>
</OpenSCENARIO>
``` | Here is the result:
```
<?xml version="1.0" ?>
<OpenSCENARIO>
<FileHeader revMajor="1" revMinor="0" date="2020-03-24T12:00:00" description="CARLA:LaneChangeSimple" author=""/>
<ParameterDeclarations/>
<CatalogLocations/>
<RoadNetwork>
<LogicFile filepath="Town04"/>
<SceneGraphFile filepath=""/>
</RoadNetwork>
<Entities>
<ScenarioObject name="hero">
<Vehicle name="vehicle.tesla.model3" vehicleCategory="car">
<ParameterDeclarations/>
<Performance maxSpeed="69.444" maxAcceleration="200" maxDeceleration="10.0"/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2.1" length="4.5" height="1.8"/>
</BoundingBox>
<Axles>
<FrontAxle maxSteering="0.5" wheelDiameter="0.6" trackWidth="1.8" positionX="3.1" positionZ="0.3"/>
<RearAxle maxSteering="0.0" wheelDiameter="0.6" trackWidth="1.8" positionX="0.0" positionZ="0.3"/>
</Axles>
<Properties>
<Property name="type" value="ego_vehicle"/>
</Properties>
</Vehicle>
</ScenarioObject>
<ScenarioObject name="adversary">
<Vehicle name="vehicle.lincoln.mkz_2017" vehicleCategory="car">
<ParameterDeclarations/>
<Performance maxSpeed="69.444" maxAcceleration="200" maxDeceleration="10.0"/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2.1" length="4.5" height="1.8"/>
</BoundingBox>
<Axles>
<FrontAxle maxSteering="0.5" wheelDiameter="0.6" trackWidth="1.8" positionX="3.1" positionZ="0.3"/>
<RearAxle maxSteering="0.0" wheelDiameter="0.6" trackWidth="1.8" positionX="0.0" positionZ="0.3"/>
</Axles>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Vehicle>
</ScenarioObject>
<ScenarioObject name="standing">
<Vehicle name="vehicle.volkswagen.t2" vehicleCategory="car">
<ParameterDeclarations/>
<Performance maxSpeed="69.444" maxAcceleration="200" maxDeceleration="10.0"/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2.1" length="4.5" height="1.8"/>
</BoundingBox>
<Axles>
<FrontAxle maxSteering="0.5" wheelDiameter="0.6" trackWidth="1.8" positionX="3.1" positionZ="0.3"/>
<RearAxle maxSteering="0.0" wheelDiameter="0.6" trackWidth="1.8" positionX="0.0" positionZ="0.3"/>
</Axles>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Vehicle>
</ScenarioObject>
<ScenarioObject name="pedestrian_close_to_standing_2053">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_w_transform_2054">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_w_transform_2055">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_close_to_adversary_2056">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_w_transform_2057">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_close_to_standing_2058">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_w_transform_2059">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_close_to_hero_2060">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_w_transform_2061">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_w_transform_2063">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_close_to_adversary_2064">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_close_to_hero_2065">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
</Entities>
<Storyboard>
<Init>
<Actions>
<GlobalAction>
<EnvironmentAction>
<Environment name="Environment1">
<TimeOfDay animation="false" dateTime="2019-06-25T12:00:00"/>
<Weather cloudState="free">
<Sun intensity="0.85" azimuth="0" elevation="1.31"/>
<Fog visualRange="100000.0"/>
<Precipitation precipitationType="dry" intensity="0.0"/>
</Weather>
<RoadCondition frictionScaleFactor="1.0"/>
</Environment>
</EnvironmentAction>
</GlobalAction>
<Private entityRef="hero">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-9.4" y="-152.8" z="0.5" h="1.57079632679"/>
</Position>
</TeleportAction>
</PrivateAction>
<PrivateAction>
<ControllerAction>
<AssignControllerAction>
<Controller name="HeroAgent">
<Properties>
<Property name="module" value="external_control"/>
</Properties>
</Controller>
</AssignControllerAction>
<OverrideControllerValueAction>
<Throttle value="0" active="false"/>
<Brake value="0" active="false"/>
<Clutch value="0" active="false"/>
<ParkingBrake value="0" active="false"/>
<SteeringWheel value="0" active="false"/>
<Gear number="0" active="false"/>
</OverrideControllerValueAction>
</ControllerAction>
</PrivateAction>
</Private>
<Private entityRef="adversary">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-9.4" y="-71.0" z="0.5" h="1.57079632679"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="standing">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-8.2" y="29.2" z="0.5" h="1.57079632679"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_close_to_standing_2053">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-1.1677643060684204" y="33.97220230102539" z="0.0030751798767596483"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_w_transform_2054">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="75.66392517089844" y="-10.71626091003418" z="0.5"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_w_transform_2055">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-10.280708312988281" y="-34.91922378540039" z="0.5"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_close_to_adversary_2056">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-11.803860664367676" y="-59.178688049316406" z="0.03381103277206421"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_w_transform_2057">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="78.52841186523438" y="-31.867488861083984" z="0.5"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_close_to_standing_2058">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="1.3771581649780273" y="23.374658584594727" z="0.0030439377296715975"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_w_transform_2059">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-42.5910758972168" y="-83.33573913574219" z="0.5"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_close_to_hero_2060">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-9.461570739746094" y="-150.61492919921875" z="0.0014286803780123591"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_w_transform_2061">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-78.87576293945312" y="-90.50177001953125" z="0.5"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_w_transform_2063">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="2.366642713546753" y="55.066410064697266" z="0.5"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_close_to_adversary_2064">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="0.531078577041626" y="-79.08660888671875" z="0.033778876066207886"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_close_to_hero_2065">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-8.05331802368164" y="-143.3221893310547" 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 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_22132">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_w_transform_22133">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_w_transform_22134">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_close_to_standing_22135">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_close_to_hero_22136">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_w_transform_22137">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_close_to_hero_22138">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_w_transform_22139">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_w_transform_22140">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_close_to_adversary_22141">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_w_transform_22142">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_w_transform_22143">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_w_transform_22144">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_w_transform_22145">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_w_transform_22146">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_close_to_standing_22148">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_w_transform_22149">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_close_to_adversary_22150">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_w_transform_22151">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_close_to_standing_22152">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_w_transform_22153">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
</Entities>
<Storyboard>
<Init>
<Actions>
<GlobalAction>
<EnvironmentAction>
<Environment name="Environment1">
<TimeOfDay animation="false" dateTime="2019-06-25T12:00:00"/>
<Weather cloudState="free">
<Sun intensity="0.85" azimuth="0" elevation="1.31"/>
<Fog visualRange="100000.0"/>
<Precipitation precipitationType="dry" intensity="0.0"/>
</Weather>
<RoadCondition frictionScaleFactor="1.0"/>
</Environment>
</EnvironmentAction>
</GlobalAction>
<Private entityRef="hero">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-9.4" y="-152.8" z="0.5" h="1.57079632679"/>
</Position>
</TeleportAction>
</PrivateAction>
<PrivateAction>
<ControllerAction>
<AssignControllerAction>
<Controller name="HeroAgent">
<Properties>
<Property name="module" value="external_control"/>
</Properties>
</Controller>
</AssignControllerAction>
<OverrideControllerValueAction>
<Throttle value="0" active="false"/>
<Brake value="0" active="false"/>
<Clutch value="0" active="false"/>
<ParkingBrake value="0" active="false"/>
<SteeringWheel value="0" active="false"/>
<Gear number="0" active="false"/>
</OverrideControllerValueAction>
</ControllerAction>
</PrivateAction>
</Private>
<Private entityRef="adversary">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-9.4" y="-71.0" z="0.5" h="1.57079632679"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="standing">
<PrivateAction>
<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_22132">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-5.285594463348389" y="-144.57015991210938" z="0.0014286803780123591"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_w_transform_22133">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-37.408565521240234" y="55.985206604003906" z="0.5"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_w_transform_22134">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="36.071929931640625" y="41.10457229614258" z="0.5"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_close_to_standing_22135">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-17.62375259399414" y="39.193328857421875" z="0.0030715179163962603"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_close_to_hero_22136">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-8.436877250671387" y="-151.6528778076172" z="0.0014286803780123591"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_w_transform_22137">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-37.609954833984375" y="30.459104537963867" z="0.5"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_close_to_hero_22138">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-8.944694519042969" y="-158.07078552246094" z="0.0014286803780123591"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_w_transform_22139">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="77.2794189453125" y="29.745738983154297" z="0.5"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_w_transform_22140">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-52.536529541015625" y="-0.8629797101020813" z="0.5"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_close_to_adversary_22141">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-2.5561282634735107" y="-65.19246673583984" z="0.03388965502381325"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_w_transform_22142">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="71.3051528930664" y="-70.84683227539062" z="0.5"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_w_transform_22143">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-51.22466278076172" y="-96.53408813476562" z="0.5"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_w_transform_22144">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="38.01337432861328" y="-39.60610580444336" z="0.5"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_w_transform_22145">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-52.61628341674805" y="19.20211410522461" z="0.5"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_w_transform_22146">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="34.86040115356445" y="59.55282211303711" z="0.5"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_close_to_standing_22148">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-10.924997329711914" y="28.152124404907227" z="0.0030361555982381105"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_w_transform_22149">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="2.611807346343994" y="11.389113426208496" z="0.5"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_close_to_adversary_22150">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-13.31303882598877" y="-69.28656768798828" z="0.03384704515337944"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_w_transform_22151">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="51.864376068115234" y="-18.473121643066406" z="0.5"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_close_to_standing_22152">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="0.591235339641571" y="35.93418884277344" z="0.0029911804012954235"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_w_transform_22153">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="41.92426681518555" y="-55.55232620239258" z="0.5"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
</Actions>
</Init>
<Story name="MyStory">
<Act name="Behavior">
<ManeuverGroup maximumExecutionCount="1" name="ManeuverSequence">
<Actors selectTriggeringEntities="false">
<EntityRef entityRef="adversary"/>
</Actors>
<Maneuver name="LaneChangeSimpleManeuver">
<Event name="AdversaryAccelerates" priority="overwrite">
<Action name="AdversaryAccelerates">
<PrivateAction>
<LongitudinalAction>
<SpeedAction>
<SpeedActionDynamics dynamicsShape="step" value="50" dynamicsDimension="distance"/>
<SpeedActionTarget>
<AbsoluteTargetSpeed value="5.0"/>
</SpeedActionTarget>
</SpeedAction>
</LongitudinalAction>
</PrivateAction>
</Action>
<StartTrigger>
<ConditionGroup>
<Condition name="StartCondition" delay="0" conditionEdge="rising">
<ByEntityCondition>
<TriggeringEntities triggeringEntitiesRule="any">
<EntityRef entityRef="hero"/>
</TriggeringEntities>
<EntityCondition>
<RelativeDistanceCondition entityRef="adversary" relativeDistanceType="cartesianDistance" value="40.0" freespace="false" rule="lessThan"/>
</EntityCondition>
</ByEntityCondition>
</Condition>
</ConditionGroup>
</StartTrigger>
</Event>
<Event name="AdversaryChangesLane" priority="overwrite">
<Action name="AdversaryChangesLane">
<PrivateAction>
<LateralAction>
<LaneChangeAction>
<LaneChangeActionDynamics dynamicsShape="linear" value="25" dynamicsDimension="distance"/>
<LaneChangeTarget>
<RelativeTargetLane entityRef="adversary" value="-1"/>
</LaneChangeTarget>
</LaneChangeAction>
</LateralAction>
</PrivateAction>
</Action>
<StartTrigger>
<ConditionGroup>
<Condition name="AfterAdversaryAccelerates" delay="0" conditionEdge="rising">
<ByValueCondition>
<StoryboardElementStateCondition storyboardElementType="action" storyboardElementRef="AdversaryAccelerates" state="completeState"/>
</ByValueCondition>
</Condition>
</ConditionGroup>
</StartTrigger>
</Event>
</Maneuver>
</ManeuverGroup>
<StartTrigger>
<ConditionGroup>
<Condition name="OverallStartCondition" delay="0" conditionEdge="rising">
<ByEntityCondition>
<TriggeringEntities triggeringEntitiesRule="any">
<EntityRef entityRef="hero"/>
</TriggeringEntities>
<EntityCondition>
<TraveledDistanceCondition value="1.0"/>
</EntityCondition>
</ByEntityCondition>
</Condition>
<Condition name="StartTime" delay="0" conditionEdge="rising">
<ByValueCondition>
<SimulationTimeCondition value="0" rule="equalTo"/>
</ByValueCondition>
</Condition>
</ConditionGroup>
</StartTrigger>
<StopTrigger>
<ConditionGroup>
<Condition name="EndCondition" delay="0" conditionEdge="rising">
<ByEntityCondition>
<TriggeringEntities triggeringEntitiesRule="any">
<EntityRef entityRef="hero"/>
</TriggeringEntities>
<EntityCondition>
<TraveledDistanceCondition value="200.0"/>
</EntityCondition>
</ByEntityCondition>
</Condition>
</ConditionGroup>
</StopTrigger>
</Act>
</Story>
<StopTrigger>
<ConditionGroup>
<Condition name="criteria_RunningStopTest" delay="0" conditionEdge="rising">
<ByValueCondition>
<ParameterCondition parameterRef="" value="" rule="lessThan"/>
</ByValueCondition>
</Condition>
<Condition name="criteria_RunningRedLightTest" delay="0" conditionEdge="rising">
<ByValueCondition>
<ParameterCondition parameterRef="" value="" rule="lessThan"/>
</ByValueCondition>
</Condition>
<Condition name="criteria_WrongLaneTest" delay="0" conditionEdge="rising">
<ByValueCondition>
<ParameterCondition parameterRef="" value="" rule="lessThan"/>
</ByValueCondition>
</Condition>
<Condition name="criteria_OnSidewalkTest" delay="0" conditionEdge="rising">
<ByValueCondition>
<ParameterCondition parameterRef="" value="" rule="lessThan"/>
</ByValueCondition>
</Condition>
<Condition name="criteria_KeepLaneTest" delay="0" conditionEdge="rising">
<ByValueCondition>
<ParameterCondition parameterRef="" value="" rule="lessThan"/>
</ByValueCondition>
</Condition>
<Condition name="criteria_CollisionTest" delay="0" conditionEdge="rising">
<ByValueCondition>
<ParameterCondition parameterRef="" value="" rule="lessThan"/>
</ByValueCondition>
</Condition>
<Condition name="criteria_DrivenDistanceTest" delay="0" conditionEdge="rising">
<ByValueCondition>
<ParameterCondition parameterRef="distance_success" value="100" rule="lessThan"/>
</ByValueCondition>
</Condition>
</ConditionGroup>
</StopTrigger>
</Storyboard>
</OpenSCENARIO>
``` | Here is the result:
```
<?xml version="1.0" ?>
<OpenSCENARIO>
<FileHeader revMajor="1" revMinor="0" date="2020-03-24T12:00:00" description="CARLA:LaneChangeSimple" author=""/>
<ParameterDeclarations/>
<CatalogLocations/>
<RoadNetwork>
<LogicFile filepath="Town04"/>
<SceneGraphFile filepath=""/>
</RoadNetwork>
<Entities>
<ScenarioObject name="hero">
<Vehicle name="vehicle.tesla.model3" vehicleCategory="car">
<ParameterDeclarations/>
<Performance maxSpeed="69.444" maxAcceleration="200" maxDeceleration="10.0"/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2.1" length="4.5" height="1.8"/>
</BoundingBox>
<Axles>
<FrontAxle maxSteering="0.5" wheelDiameter="0.6" trackWidth="1.8" positionX="3.1" positionZ="0.3"/>
<RearAxle maxSteering="0.0" wheelDiameter="0.6" trackWidth="1.8" positionX="0.0" positionZ="0.3"/>
</Axles>
<Properties>
<Property name="type" value="ego_vehicle"/>
</Properties>
</Vehicle>
</ScenarioObject>
<ScenarioObject name="adversary">
<Vehicle name="vehicle.lincoln.mkz_2017" vehicleCategory="car">
<ParameterDeclarations/>
<Performance maxSpeed="69.444" maxAcceleration="200" maxDeceleration="10.0"/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2.1" length="4.5" height="1.8"/>
</BoundingBox>
<Axles>
<FrontAxle maxSteering="0.5" wheelDiameter="0.6" trackWidth="1.8" positionX="3.1" positionZ="0.3"/>
<RearAxle maxSteering="0.0" wheelDiameter="0.6" trackWidth="1.8" positionX="0.0" positionZ="0.3"/>
</Axles>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Vehicle>
</ScenarioObject>
<ScenarioObject name="standing">
<Vehicle name="vehicle.volkswagen.t2" vehicleCategory="car">
<ParameterDeclarations/>
<Performance maxSpeed="69.444" maxAcceleration="200" maxDeceleration="10.0"/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2.1" length="4.5" height="1.8"/>
</BoundingBox>
<Axles>
<FrontAxle maxSteering="0.5" wheelDiameter="0.6" trackWidth="1.8" positionX="3.1" positionZ="0.3"/>
<RearAxle maxSteering="0.0" wheelDiameter="0.6" 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_22132">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_w_transform_22133">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_w_transform_22134">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_close_to_standing_22135">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_close_to_hero_22136">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_w_transform_22137">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_close_to_hero_22138">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_w_transform_22139">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_w_transform_22140">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_close_to_adversary_22141">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_w_transform_22142">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_w_transform_22143">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_w_transform_22144">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_w_transform_22145">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_w_transform_22146">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_close_to_standing_22148">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_w_transform_22149">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_close_to_adversary_22150">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_w_transform_22151">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_close_to_standing_22152">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_w_transform_22153">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_close_to_adversary_22154">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
</Entities>
<Storyboard>
<Init>
<Actions>
<GlobalAction>
<EnvironmentAction>
<Environment name="Environment1">
<TimeOfDay animation="false" dateTime="2019-06-25T12:00:00"/>
<Weather cloudState="free">
<Sun intensity="0.85" azimuth="0" elevation="1.31"/>
<Fog visualRange="100000.0"/>
<Precipitation precipitationType="dry" intensity="0.0"/>
</Weather>
<RoadCondition frictionScaleFactor="1.0"/>
</Environment>
</EnvironmentAction>
</GlobalAction>
<Private entityRef="hero">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-9.4" y="-152.8" z="0.5" h="1.57079632679"/>
</Position>
</TeleportAction>
</PrivateAction>
<PrivateAction>
<ControllerAction>
<AssignControllerAction>
<Controller name="HeroAgent">
<Properties>
<Property name="module" value="external_control"/>
</Properties>
</Controller>
</AssignControllerAction>
<OverrideControllerValueAction>
<Throttle value="0" active="false"/>
<Brake value="0" active="false"/>
<Clutch value="0" active="false"/>
<ParkingBrake value="0" active="false"/>
<SteeringWheel value="0" active="false"/>
<Gear number="0" active="false"/>
</OverrideControllerValueAction>
</ControllerAction>
</PrivateAction>
</Private>
<Private entityRef="adversary">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-9.4" y="-71.0" z="0.5" h="1.57079632679"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="standing">
<PrivateAction>
<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_22132">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-5.285594463348389" y="-144.57015991210938" z="0.0014286803780123591"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_w_transform_22133">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-37.408565521240234" y="55.985206604003906" z="0.5"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_w_transform_22134">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="36.071929931640625" y="41.10457229614258" z="0.5"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_close_to_standing_22135">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-17.62375259399414" y="39.193328857421875" z="0.0030715179163962603"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_close_to_hero_22136">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-8.436877250671387" y="-151.6528778076172" z="0.0014286803780123591"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_w_transform_22137">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-37.609954833984375" y="30.459104537963867" z="0.5"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_close_to_hero_22138">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-8.944694519042969" y="-158.07078552246094" z="0.0014286803780123591"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_w_transform_22139">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="77.2794189453125" y="29.745738983154297" z="0.5"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_w_transform_22140">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-52.536529541015625" y="-0.8629797101020813" z="0.5"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_close_to_adversary_22141">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-2.5561282634735107" y="-65.19246673583984" z="0.03388965502381325"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_w_transform_22142">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="71.3051528930664" y="-70.84683227539062" z="0.5"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_w_transform_22143">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-51.22466278076172" y="-96.53408813476562" z="0.5"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_w_transform_22144">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="38.01337432861328" y="-39.60610580444336" z="0.5"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_w_transform_22145">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-52.61628341674805" y="19.20211410522461" z="0.5"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_w_transform_22146">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="34.86040115356445" y="59.55282211303711" z="0.5"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_close_to_standing_22148">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-10.924997329711914" y="28.152124404907227" z="0.0030361555982381105"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_w_transform_22149">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="2.611807346343994" y="11.389113426208496" z="0.5"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_close_to_adversary_22150">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-13.31303882598877" y="-69.28656768798828" z="0.03384704515337944"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_w_transform_22151">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="51.864376068115234" y="-18.473121643066406" z="0.5"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_close_to_standing_22152">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="0.591235339641571" y="35.93418884277344" z="0.0029911804012954235"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_w_transform_22153">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="41.92426681518555" y="-55.55232620239258" z="0.5"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_close_to_adversary_22154">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-1.9843320846557617" y="-73.45085906982422" z="0.03379989415407181"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
</Actions>
</Init>
<Story name="MyStory">
<Act name="Behavior">
<ManeuverGroup maximumExecutionCount="1" name="ManeuverSequence">
<Actors selectTriggeringEntities="false">
<EntityRef entityRef="adversary"/>
</Actors>
<Maneuver name="LaneChangeSimpleManeuver">
<Event name="AdversaryAccelerates" priority="overwrite">
<Action name="AdversaryAccelerates">
<PrivateAction>
<LongitudinalAction>
<SpeedAction>
<SpeedActionDynamics dynamicsShape="step" value="50" dynamicsDimension="distance"/>
<SpeedActionTarget>
<AbsoluteTargetSpeed value="5.0"/>
</SpeedActionTarget>
</SpeedAction>
</LongitudinalAction>
</PrivateAction>
</Action>
<StartTrigger>
<ConditionGroup>
<Condition name="StartCondition" delay="0" conditionEdge="rising">
<ByEntityCondition>
<TriggeringEntities triggeringEntitiesRule="any">
<EntityRef entityRef="hero"/>
</TriggeringEntities>
<EntityCondition>
<RelativeDistanceCondition entityRef="adversary" relativeDistanceType="cartesianDistance" value="40.0" freespace="false" rule="lessThan"/>
</EntityCondition>
</ByEntityCondition>
</Condition>
</ConditionGroup>
</StartTrigger>
</Event>
<Event name="AdversaryChangesLane" priority="overwrite">
<Action name="AdversaryChangesLane">
<PrivateAction>
<LateralAction>
<LaneChangeAction>
<LaneChangeActionDynamics dynamicsShape="linear" value="25" dynamicsDimension="distance"/>
<LaneChangeTarget>
<RelativeTargetLane entityRef="adversary" value="-1"/>
</LaneChangeTarget>
</LaneChangeAction>
</LateralAction>
</PrivateAction>
</Action>
<StartTrigger>
<ConditionGroup>
<Condition name="AfterAdversaryAccelerates" delay="0" conditionEdge="rising">
<ByValueCondition>
<StoryboardElementStateCondition storyboardElementType="action" storyboardElementRef="AdversaryAccelerates" state="completeState"/>
</ByValueCondition>
</Condition>
</ConditionGroup>
</StartTrigger>
</Event>
</Maneuver>
</ManeuverGroup>
<StartTrigger>
<ConditionGroup>
<Condition name="OverallStartCondition" delay="0" conditionEdge="rising">
<ByEntityCondition>
<TriggeringEntities triggeringEntitiesRule="any">
<EntityRef entityRef="hero"/>
</TriggeringEntities>
<EntityCondition>
<TraveledDistanceCondition value="1.0"/>
</EntityCondition>
</ByEntityCondition>
</Condition>
<Condition name="StartTime" delay="0" conditionEdge="rising">
<ByValueCondition>
<SimulationTimeCondition value="0" rule="equalTo"/>
</ByValueCondition>
</Condition>
</ConditionGroup>
</StartTrigger>
<StopTrigger>
<ConditionGroup>
<Condition name="EndCondition" delay="0" conditionEdge="rising">
<ByEntityCondition>
<TriggeringEntities triggeringEntitiesRule="any">
<EntityRef entityRef="hero"/>
</TriggeringEntities>
<EntityCondition>
<TraveledDistanceCondition value="200.0"/>
</EntityCondition>
</ByEntityCondition>
</Condition>
</ConditionGroup>
</StopTrigger>
</Act>
</Story>
<StopTrigger>
<ConditionGroup>
<Condition name="criteria_RunningStopTest" delay="0" conditionEdge="rising">
<ByValueCondition>
<ParameterCondition parameterRef="" value="" rule="lessThan"/>
</ByValueCondition>
</Condition>
<Condition name="criteria_RunningRedLightTest" delay="0" conditionEdge="rising">
<ByValueCondition>
<ParameterCondition parameterRef="" value="" rule="lessThan"/>
</ByValueCondition>
</Condition>
<Condition name="criteria_WrongLaneTest" delay="0" conditionEdge="rising">
<ByValueCondition>
<ParameterCondition parameterRef="" value="" rule="lessThan"/>
</ByValueCondition>
</Condition>
<Condition name="criteria_OnSidewalkTest" delay="0" conditionEdge="rising">
<ByValueCondition>
<ParameterCondition parameterRef="" value="" rule="lessThan"/>
</ByValueCondition>
</Condition>
<Condition name="criteria_KeepLaneTest" delay="0" conditionEdge="rising">
<ByValueCondition>
<ParameterCondition parameterRef="" value="" rule="lessThan"/>
</ByValueCondition>
</Condition>
<Condition name="criteria_CollisionTest" delay="0" conditionEdge="rising">
<ByValueCondition>
<ParameterCondition parameterRef="" value="" rule="lessThan"/>
</ByValueCondition>
</Condition>
<Condition name="criteria_DrivenDistanceTest" delay="0" conditionEdge="rising">
<ByValueCondition>
<ParameterCondition parameterRef="distance_success" value="100" rule="lessThan"/>
</ByValueCondition>
</Condition>
</ConditionGroup>
</StopTrigger>
</Storyboard>
</OpenSCENARIO>
``` |
i would like to instruct you to add pedestrian close to standing?
```
<?xml version="1.0" ?>
<OpenSCENARIO>
<FileHeader revMajor="1" revMinor="0" date="2020-03-24T12:00:00" description="CARLA:LaneChangeSimple" author=""/>
<ParameterDeclarations/>
<CatalogLocations/>
<RoadNetwork>
<LogicFile filepath="Town04"/>
<SceneGraphFile filepath=""/>
</RoadNetwork>
<Entities>
<ScenarioObject name="hero">
<Vehicle name="vehicle.tesla.model3" vehicleCategory="car">
<ParameterDeclarations/>
<Performance maxSpeed="69.444" maxAcceleration="200" maxDeceleration="10.0"/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2.1" length="4.5" height="1.8"/>
</BoundingBox>
<Axles>
<FrontAxle maxSteering="0.5" wheelDiameter="0.6" trackWidth="1.8" positionX="3.1" positionZ="0.3"/>
<RearAxle maxSteering="0.0" wheelDiameter="0.6" trackWidth="1.8" positionX="0.0" positionZ="0.3"/>
</Axles>
<Properties>
<Property name="type" value="ego_vehicle"/>
</Properties>
</Vehicle>
</ScenarioObject>
<ScenarioObject name="adversary">
<Vehicle name="vehicle.lincoln.mkz_2017" vehicleCategory="car">
<ParameterDeclarations/>
<Performance maxSpeed="69.444" maxAcceleration="200" maxDeceleration="10.0"/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2.1" length="4.5" height="1.8"/>
</BoundingBox>
<Axles>
<FrontAxle maxSteering="0.5" wheelDiameter="0.6" trackWidth="1.8" positionX="3.1" positionZ="0.3"/>
<RearAxle maxSteering="0.0" wheelDiameter="0.6" trackWidth="1.8" positionX="0.0" positionZ="0.3"/>
</Axles>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Vehicle>
</ScenarioObject>
<ScenarioObject name="standing">
<Vehicle name="vehicle.volkswagen.t2" vehicleCategory="car">
<ParameterDeclarations/>
<Performance maxSpeed="69.444" maxAcceleration="200" maxDeceleration="10.0"/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2.1" length="4.5" height="1.8"/>
</BoundingBox>
<Axles>
<FrontAxle maxSteering="0.5" wheelDiameter="0.6" trackWidth="1.8" positionX="3.1" positionZ="0.3"/>
<RearAxle maxSteering="0.0" wheelDiameter="0.6" trackWidth="1.8" positionX="0.0" positionZ="0.3"/>
</Axles>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Vehicle>
</ScenarioObject>
</Entities>
<Storyboard>
<Init>
<Actions>
<GlobalAction>
<EnvironmentAction>
<Environment name="Environment1">
<TimeOfDay animation="false" dateTime="2019-06-25T12:00:00"/>
<Weather cloudState="free">
<Sun intensity="0.85" azimuth="0" elevation="1.31"/>
<Fog visualRange="100000.0"/>
<Precipitation precipitationType="dry" intensity="0.0"/>
</Weather>
<RoadCondition frictionScaleFactor="1.0"/>
</Environment>
</EnvironmentAction>
</GlobalAction>
<Private entityRef="hero">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-9.4" y="-152.8" z="0.5" h="1.57079632679"/>
</Position>
</TeleportAction>
</PrivateAction>
<PrivateAction>
<ControllerAction>
<AssignControllerAction>
<Controller name="HeroAgent">
<Properties>
<Property name="module" value="external_control"/>
</Properties>
</Controller>
</AssignControllerAction>
<OverrideControllerValueAction>
<Throttle value="0" active="false"/>
<Brake value="0" active="false"/>
<Clutch value="0" active="false"/>
<ParkingBrake value="0" active="false"/>
<SteeringWheel value="0" active="false"/>
<Gear number="0" active="false"/>
</OverrideControllerValueAction>
</ControllerAction>
</PrivateAction>
</Private>
<Private entityRef="adversary">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-9.4" y="-71.0" z="0.5" h="1.57079632679"/>
</Position>
</TeleportAction>
</PrivateAction>
</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_1238">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
</Entities>
<Storyboard>
<Init>
<Actions>
<GlobalAction>
<EnvironmentAction>
<Environment name="Environment1">
<TimeOfDay animation="false" dateTime="2019-06-25T12:00:00"/>
<Weather cloudState="free">
<Sun intensity="0.85" azimuth="0" elevation="1.31"/>
<Fog visualRange="100000.0"/>
<Precipitation precipitationType="dry" intensity="0.0"/>
</Weather>
<RoadCondition frictionScaleFactor="1.0"/>
</Environment>
</EnvironmentAction>
</GlobalAction>
<Private entityRef="hero">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-9.4" y="-152.8" z="0.5" h="1.57079632679"/>
</Position>
</TeleportAction>
</PrivateAction>
<PrivateAction>
<ControllerAction>
<AssignControllerAction>
<Controller name="HeroAgent">
<Properties>
<Property name="module" value="external_control"/>
</Properties>
</Controller>
</AssignControllerAction>
<OverrideControllerValueAction>
<Throttle value="0" active="false"/>
<Brake value="0" active="false"/>
<Clutch value="0" active="false"/>
<ParkingBrake value="0" active="false"/>
<SteeringWheel value="0" active="false"/>
<Gear number="0" active="false"/>
</OverrideControllerValueAction>
</ControllerAction>
</PrivateAction>
</Private>
<Private entityRef="adversary">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-9.4" y="-71.0" z="0.5" h="1.57079632679"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="standing">
<PrivateAction>
<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_1238">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-15.776235580444336" y="30.47505760192871" z="0.0030520628206431866"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
</Actions>
</Init>
<Story name="MyStory">
<Act name="Behavior">
<ManeuverGroup maximumExecutionCount="1" name="ManeuverSequence">
<Actors selectTriggeringEntities="false">
<EntityRef entityRef="adversary"/>
</Actors>
<Maneuver name="LaneChangeSimpleManeuver">
<Event name="AdversaryAccelerates" priority="overwrite">
<Action name="AdversaryAccelerates">
<PrivateAction>
<LongitudinalAction>
<SpeedAction>
<SpeedActionDynamics dynamicsShape="step" value="50" dynamicsDimension="distance"/>
<SpeedActionTarget>
<AbsoluteTargetSpeed value="5.0"/>
</SpeedActionTarget>
</SpeedAction>
</LongitudinalAction>
</PrivateAction>
</Action>
<StartTrigger>
<ConditionGroup>
<Condition name="StartCondition" delay="0" conditionEdge="rising">
<ByEntityCondition>
<TriggeringEntities triggeringEntitiesRule="any">
<EntityRef entityRef="hero"/>
</TriggeringEntities>
<EntityCondition>
<RelativeDistanceCondition entityRef="adversary" relativeDistanceType="cartesianDistance" value="40.0" freespace="false" rule="lessThan"/>
</EntityCondition>
</ByEntityCondition>
</Condition>
</ConditionGroup>
</StartTrigger>
</Event>
<Event name="AdversaryChangesLane" priority="overwrite">
<Action name="AdversaryChangesLane">
<PrivateAction>
<LateralAction>
<LaneChangeAction>
<LaneChangeActionDynamics dynamicsShape="linear" value="25" dynamicsDimension="distance"/>
<LaneChangeTarget>
<RelativeTargetLane entityRef="adversary" value="-1"/>
</LaneChangeTarget>
</LaneChangeAction>
</LateralAction>
</PrivateAction>
</Action>
<StartTrigger>
<ConditionGroup>
<Condition name="AfterAdversaryAccelerates" delay="0" conditionEdge="rising">
<ByValueCondition>
<StoryboardElementStateCondition storyboardElementType="action" storyboardElementRef="AdversaryAccelerates" state="completeState"/>
</ByValueCondition>
</Condition>
</ConditionGroup>
</StartTrigger>
</Event>
</Maneuver>
</ManeuverGroup>
<StartTrigger>
<ConditionGroup>
<Condition name="OverallStartCondition" delay="0" conditionEdge="rising">
<ByEntityCondition>
<TriggeringEntities triggeringEntitiesRule="any">
<EntityRef entityRef="hero"/>
</TriggeringEntities>
<EntityCondition>
<TraveledDistanceCondition value="1.0"/>
</EntityCondition>
</ByEntityCondition>
</Condition>
<Condition name="StartTime" delay="0" conditionEdge="rising">
<ByValueCondition>
<SimulationTimeCondition value="0" rule="equalTo"/>
</ByValueCondition>
</Condition>
</ConditionGroup>
</StartTrigger>
<StopTrigger>
<ConditionGroup>
<Condition name="EndCondition" delay="0" conditionEdge="rising">
<ByEntityCondition>
<TriggeringEntities triggeringEntitiesRule="any">
<EntityRef entityRef="hero"/>
</TriggeringEntities>
<EntityCondition>
<TraveledDistanceCondition value="200.0"/>
</EntityCondition>
</ByEntityCondition>
</Condition>
</ConditionGroup>
</StopTrigger>
</Act>
</Story>
<StopTrigger>
<ConditionGroup>
<Condition name="criteria_RunningStopTest" delay="0" conditionEdge="rising">
<ByValueCondition>
<ParameterCondition parameterRef="" value="" rule="lessThan"/>
</ByValueCondition>
</Condition>
<Condition name="criteria_RunningRedLightTest" delay="0" conditionEdge="rising">
<ByValueCondition>
<ParameterCondition parameterRef="" value="" rule="lessThan"/>
</ByValueCondition>
</Condition>
<Condition name="criteria_WrongLaneTest" delay="0" conditionEdge="rising">
<ByValueCondition>
<ParameterCondition parameterRef="" value="" rule="lessThan"/>
</ByValueCondition>
</Condition>
<Condition name="criteria_OnSidewalkTest" delay="0" conditionEdge="rising">
<ByValueCondition>
<ParameterCondition parameterRef="" value="" rule="lessThan"/>
</ByValueCondition>
</Condition>
<Condition name="criteria_KeepLaneTest" delay="0" conditionEdge="rising">
<ByValueCondition>
<ParameterCondition parameterRef="" value="" rule="lessThan"/>
</ByValueCondition>
</Condition>
<Condition name="criteria_CollisionTest" delay="0" conditionEdge="rising">
<ByValueCondition>
<ParameterCondition parameterRef="" value="" rule="lessThan"/>
</ByValueCondition>
</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 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_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_close_to_standing_7415">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_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_7417">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_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>
</Entities>
<Storyboard>
<Init>
<Actions>
<GlobalAction>
<EnvironmentAction>
<Environment name="Environment1">
<TimeOfDay animation="false" dateTime="2019-06-25T12:00:00"/>
<Weather cloudState="free">
<Sun intensity="0.85" azimuth="0" elevation="1.31"/>
<Fog visualRange="100000.0"/>
<Precipitation precipitationType="dry" intensity="0.0"/>
</Weather>
<RoadCondition frictionScaleFactor="1.0"/>
</Environment>
</EnvironmentAction>
</GlobalAction>
<Private entityRef="hero">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-9.4" y="-152.8" z="0.5" h="1.57079632679"/>
</Position>
</TeleportAction>
</PrivateAction>
<PrivateAction>
<ControllerAction>
<AssignControllerAction>
<Controller name="HeroAgent">
<Properties>
<Property name="module" value="external_control"/>
</Properties>
</Controller>
</AssignControllerAction>
<OverrideControllerValueAction>
<Throttle value="0" active="false"/>
<Brake value="0" active="false"/>
<Clutch value="0" active="false"/>
<ParkingBrake value="0" active="false"/>
<SteeringWheel value="0" active="false"/>
<Gear number="0" active="false"/>
</OverrideControllerValueAction>
</ControllerAction>
</PrivateAction>
</Private>
<Private entityRef="adversary">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-9.4" y="-71.0" z="0.5" h="1.57079632679"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="standing">
<PrivateAction>
<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_close_to_standing_7415">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-12.430215835571289" y="35.0004768371582" z="0.003044204553589225"/>
</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_7417">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-37.330169677734375" y="62.80165100097656" 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>
</Actions>
</Init>
<Story name="MyStory">
<Act name="Behavior">
<ManeuverGroup maximumExecutionCount="1" name="ManeuverSequence">
<Actors selectTriggeringEntities="false">
<EntityRef entityRef="adversary"/>
</Actors>
<Maneuver name="LaneChangeSimpleManeuver">
<Event name="AdversaryAccelerates" priority="overwrite">
<Action name="AdversaryAccelerates">
<PrivateAction>
<LongitudinalAction>
<SpeedAction>
<SpeedActionDynamics dynamicsShape="step" value="50" dynamicsDimension="distance"/>
<SpeedActionTarget>
<AbsoluteTargetSpeed value="5.0"/>
</SpeedActionTarget>
</SpeedAction>
</LongitudinalAction>
</PrivateAction>
</Action>
<StartTrigger>
<ConditionGroup>
<Condition name="StartCondition" delay="0" conditionEdge="rising">
<ByEntityCondition>
<TriggeringEntities triggeringEntitiesRule="any">
<EntityRef entityRef="hero"/>
</TriggeringEntities>
<EntityCondition>
<RelativeDistanceCondition entityRef="adversary" relativeDistanceType="cartesianDistance" value="40.0" freespace="false" rule="lessThan"/>
</EntityCondition>
</ByEntityCondition>
</Condition>
</ConditionGroup>
</StartTrigger>
</Event>
<Event name="AdversaryChangesLane" priority="overwrite">
<Action name="AdversaryChangesLane">
<PrivateAction>
<LateralAction>
<LaneChangeAction>
<LaneChangeActionDynamics dynamicsShape="linear" value="25" dynamicsDimension="distance"/>
<LaneChangeTarget>
<RelativeTargetLane entityRef="adversary" value="-1"/>
</LaneChangeTarget>
</LaneChangeAction>
</LateralAction>
</PrivateAction>
</Action>
<StartTrigger>
<ConditionGroup>
<Condition name="AfterAdversaryAccelerates" delay="0" conditionEdge="rising">
<ByValueCondition>
<StoryboardElementStateCondition storyboardElementType="action" storyboardElementRef="AdversaryAccelerates" state="completeState"/>
</ByValueCondition>
</Condition>
</ConditionGroup>
</StartTrigger>
</Event>
</Maneuver>
</ManeuverGroup>
<StartTrigger>
<ConditionGroup>
<Condition name="OverallStartCondition" delay="0" conditionEdge="rising">
<ByEntityCondition>
<TriggeringEntities triggeringEntitiesRule="any">
<EntityRef entityRef="hero"/>
</TriggeringEntities>
<EntityCondition>
<TraveledDistanceCondition value="1.0"/>
</EntityCondition>
</ByEntityCondition>
</Condition>
<Condition name="StartTime" delay="0" conditionEdge="rising">
<ByValueCondition>
<SimulationTimeCondition value="0" rule="equalTo"/>
</ByValueCondition>
</Condition>
</ConditionGroup>
</StartTrigger>
<StopTrigger>
<ConditionGroup>
<Condition name="EndCondition" delay="0" conditionEdge="rising">
<ByEntityCondition>
<TriggeringEntities triggeringEntitiesRule="any">
<EntityRef entityRef="hero"/>
</TriggeringEntities>
<EntityCondition>
<TraveledDistanceCondition value="200.0"/>
</EntityCondition>
</ByEntityCondition>
</Condition>
</ConditionGroup>
</StopTrigger>
</Act>
</Story>
<StopTrigger>
<ConditionGroup>
<Condition name="criteria_RunningStopTest" delay="0" conditionEdge="rising">
<ByValueCondition>
<ParameterCondition parameterRef="" value="" rule="lessThan"/>
</ByValueCondition>
</Condition>
<Condition name="criteria_RunningRedLightTest" delay="0" conditionEdge="rising">
<ByValueCondition>
<ParameterCondition parameterRef="" value="" rule="lessThan"/>
</ByValueCondition>
</Condition>
<Condition name="criteria_WrongLaneTest" delay="0" conditionEdge="rising">
<ByValueCondition>
<ParameterCondition parameterRef="" value="" rule="lessThan"/>
</ByValueCondition>
</Condition>
<Condition name="criteria_OnSidewalkTest" delay="0" conditionEdge="rising">
<ByValueCondition>
<ParameterCondition parameterRef="" value="" rule="lessThan"/>
</ByValueCondition>
</Condition>
<Condition name="criteria_KeepLaneTest" delay="0" conditionEdge="rising">
<ByValueCondition>
<ParameterCondition parameterRef="" value="" rule="lessThan"/>
</ByValueCondition>
</Condition>
<Condition name="criteria_CollisionTest" delay="0" conditionEdge="rising">
<ByValueCondition>
<ParameterCondition parameterRef="" value="" rule="lessThan"/>
</ByValueCondition>
</Condition>
<Condition name="criteria_DrivenDistanceTest" delay="0" conditionEdge="rising">
<ByValueCondition>
<ParameterCondition parameterRef="distance_success" value="100" rule="lessThan"/>
</ByValueCondition>
</Condition>
</ConditionGroup>
</StopTrigger>
</Storyboard>
</OpenSCENARIO>
``` | Here is the result:
```
<?xml version="1.0" ?>
<OpenSCENARIO>
<FileHeader revMajor="1" revMinor="0" date="2020-03-24T12:00:00" description="CARLA:LaneChangeSimple" author=""/>
<ParameterDeclarations/>
<CatalogLocations/>
<RoadNetwork>
<LogicFile filepath="Town04"/>
<SceneGraphFile filepath=""/>
</RoadNetwork>
<Entities>
<ScenarioObject name="hero">
<Vehicle name="vehicle.tesla.model3" vehicleCategory="car">
<ParameterDeclarations/>
<Performance maxSpeed="69.444" maxAcceleration="200" maxDeceleration="10.0"/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2.1" length="4.5" height="1.8"/>
</BoundingBox>
<Axles>
<FrontAxle maxSteering="0.5" wheelDiameter="0.6" trackWidth="1.8" positionX="3.1" positionZ="0.3"/>
<RearAxle maxSteering="0.0" wheelDiameter="0.6" trackWidth="1.8" positionX="0.0" positionZ="0.3"/>
</Axles>
<Properties>
<Property name="type" value="ego_vehicle"/>
</Properties>
</Vehicle>
</ScenarioObject>
<ScenarioObject name="adversary">
<Vehicle name="vehicle.lincoln.mkz_2017" vehicleCategory="car">
<ParameterDeclarations/>
<Performance maxSpeed="69.444" maxAcceleration="200" maxDeceleration="10.0"/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2.1" length="4.5" height="1.8"/>
</BoundingBox>
<Axles>
<FrontAxle maxSteering="0.5" wheelDiameter="0.6" trackWidth="1.8" positionX="3.1" positionZ="0.3"/>
<RearAxle maxSteering="0.0" wheelDiameter="0.6" trackWidth="1.8" positionX="0.0" positionZ="0.3"/>
</Axles>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Vehicle>
</ScenarioObject>
<ScenarioObject name="standing">
<Vehicle name="vehicle.volkswagen.t2" vehicleCategory="car">
<ParameterDeclarations/>
<Performance maxSpeed="69.444" maxAcceleration="200" maxDeceleration="10.0"/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2.1" length="4.5" height="1.8"/>
</BoundingBox>
<Axles>
<FrontAxle maxSteering="0.5" wheelDiameter="0.6" trackWidth="1.8" positionX="3.1" positionZ="0.3"/>
<RearAxle maxSteering="0.0" wheelDiameter="0.6" 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_close_to_standing_7415">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_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_7417">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_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>
</Entities>
<Storyboard>
<Init>
<Actions>
<GlobalAction>
<EnvironmentAction>
<Environment name="Environment1">
<TimeOfDay animation="false" dateTime="2019-06-25T12:00:00"/>
<Weather cloudState="free">
<Sun intensity="0.85" azimuth="0" elevation="1.31"/>
<Fog visualRange="100000.0"/>
<Precipitation precipitationType="dry" intensity="0.0"/>
</Weather>
<RoadCondition frictionScaleFactor="1.0"/>
</Environment>
</EnvironmentAction>
</GlobalAction>
<Private entityRef="hero">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-9.4" y="-152.8" z="0.5" h="1.57079632679"/>
</Position>
</TeleportAction>
</PrivateAction>
<PrivateAction>
<ControllerAction>
<AssignControllerAction>
<Controller name="HeroAgent">
<Properties>
<Property name="module" value="external_control"/>
</Properties>
</Controller>
</AssignControllerAction>
<OverrideControllerValueAction>
<Throttle value="0" active="false"/>
<Brake value="0" active="false"/>
<Clutch value="0" active="false"/>
<ParkingBrake value="0" active="false"/>
<SteeringWheel value="0" active="false"/>
<Gear number="0" active="false"/>
</OverrideControllerValueAction>
</ControllerAction>
</PrivateAction>
</Private>
<Private entityRef="adversary">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-9.4" y="-71.0" z="0.5" h="1.57079632679"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="standing">
<PrivateAction>
<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_close_to_standing_7415">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-12.430215835571289" y="35.0004768371582" z="0.003044204553589225"/>
</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_7417">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-37.330169677734375" y="62.80165100097656" 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>
</Actions>
</Init>
<Story name="MyStory">
<Act name="Behavior">
<ManeuverGroup maximumExecutionCount="1" name="ManeuverSequence">
<Actors selectTriggeringEntities="false">
<EntityRef entityRef="adversary"/>
</Actors>
<Maneuver name="LaneChangeSimpleManeuver">
<Event name="AdversaryAccelerates" priority="overwrite">
<Action name="AdversaryAccelerates">
<PrivateAction>
<LongitudinalAction>
<SpeedAction>
<SpeedActionDynamics dynamicsShape="step" value="50" dynamicsDimension="distance"/>
<SpeedActionTarget>
<AbsoluteTargetSpeed value="5.0"/>
</SpeedActionTarget>
</SpeedAction>
</LongitudinalAction>
</PrivateAction>
</Action>
<StartTrigger>
<ConditionGroup>
<Condition name="StartCondition" delay="0" conditionEdge="rising">
<ByEntityCondition>
<TriggeringEntities triggeringEntitiesRule="any">
<EntityRef entityRef="hero"/>
</TriggeringEntities>
<EntityCondition>
<RelativeDistanceCondition entityRef="adversary" relativeDistanceType="cartesianDistance" value="40.0" freespace="false" rule="lessThan"/>
</EntityCondition>
</ByEntityCondition>
</Condition>
</ConditionGroup>
</StartTrigger>
</Event>
<Event name="AdversaryChangesLane" priority="overwrite">
<Action name="AdversaryChangesLane">
<PrivateAction>
<LateralAction>
<LaneChangeAction>
<LaneChangeActionDynamics dynamicsShape="linear" value="25" dynamicsDimension="distance"/>
<LaneChangeTarget>
<RelativeTargetLane entityRef="adversary" value="-1"/>
</LaneChangeTarget>
</LaneChangeAction>
</LateralAction>
</PrivateAction>
</Action>
<StartTrigger>
<ConditionGroup>
<Condition name="AfterAdversaryAccelerates" delay="0" conditionEdge="rising">
<ByValueCondition>
<StoryboardElementStateCondition storyboardElementType="action" storyboardElementRef="AdversaryAccelerates" state="completeState"/>
</ByValueCondition>
</Condition>
</ConditionGroup>
</StartTrigger>
</Event>
</Maneuver>
</ManeuverGroup>
<StartTrigger>
<ConditionGroup>
<Condition name="OverallStartCondition" delay="0" conditionEdge="rising">
<ByEntityCondition>
<TriggeringEntities triggeringEntitiesRule="any">
<EntityRef entityRef="hero"/>
</TriggeringEntities>
<EntityCondition>
<TraveledDistanceCondition value="1.0"/>
</EntityCondition>
</ByEntityCondition>
</Condition>
<Condition name="StartTime" delay="0" conditionEdge="rising">
<ByValueCondition>
<SimulationTimeCondition value="0" rule="equalTo"/>
</ByValueCondition>
</Condition>
</ConditionGroup>
</StartTrigger>
<StopTrigger>
<ConditionGroup>
<Condition name="EndCondition" delay="0" conditionEdge="rising">
<ByEntityCondition>
<TriggeringEntities triggeringEntitiesRule="any">
<EntityRef entityRef="hero"/>
</TriggeringEntities>
<EntityCondition>
<TraveledDistanceCondition value="200.0"/>
</EntityCondition>
</ByEntityCondition>
</Condition>
</ConditionGroup>
</StopTrigger>
</Act>
</Story>
<StopTrigger>
<ConditionGroup>
<Condition name="criteria_RunningStopTest" delay="0" conditionEdge="rising">
<ByValueCondition>
<ParameterCondition parameterRef="" value="" rule="lessThan"/>
</ByValueCondition>
</Condition>
<Condition name="criteria_RunningRedLightTest" delay="0" conditionEdge="rising">
<ByValueCondition>
<ParameterCondition parameterRef="" value="" rule="lessThan"/>
</ByValueCondition>
</Condition>
<Condition name="criteria_WrongLaneTest" delay="0" conditionEdge="rising">
<ByValueCondition>
<ParameterCondition parameterRef="" value="" rule="lessThan"/>
</ByValueCondition>
</Condition>
<Condition name="criteria_OnSidewalkTest" delay="0" conditionEdge="rising">
<ByValueCondition>
<ParameterCondition parameterRef="" value="" rule="lessThan"/>
</ByValueCondition>
</Condition>
<Condition name="criteria_KeepLaneTest" delay="0" conditionEdge="rising">
<ByValueCondition>
<ParameterCondition parameterRef="" value="" rule="lessThan"/>
</ByValueCondition>
</Condition>
<Condition name="criteria_CollisionTest" delay="0" conditionEdge="rising">
<ByValueCondition>
<ParameterCondition parameterRef="" value="" rule="lessThan"/>
</ByValueCondition>
</Condition>
<Condition name="criteria_DrivenDistanceTest" delay="0" conditionEdge="rising">
<ByValueCondition>
<ParameterCondition parameterRef="distance_success" value="100" rule="lessThan"/>
</ByValueCondition>
</Condition>
</ConditionGroup>
</StopTrigger>
</Storyboard>
</OpenSCENARIO>
``` |
i need you to add pedestrian at location (82.98, -9.13, 0.5)?
```
<?xml version="1.0" ?>
<OpenSCENARIO>
<FileHeader revMajor="1" revMinor="0" date="2020-03-24T12:00:00" description="CARLA:LaneChangeSimple" author=""/>
<ParameterDeclarations/>
<CatalogLocations/>
<RoadNetwork>
<LogicFile filepath="Town04"/>
<SceneGraphFile filepath=""/>
</RoadNetwork>
<Entities>
<ScenarioObject name="hero">
<Vehicle name="vehicle.tesla.model3" vehicleCategory="car">
<ParameterDeclarations/>
<Performance maxSpeed="69.444" maxAcceleration="200" maxDeceleration="10.0"/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2.1" length="4.5" height="1.8"/>
</BoundingBox>
<Axles>
<FrontAxle maxSteering="0.5" wheelDiameter="0.6" trackWidth="1.8" positionX="3.1" positionZ="0.3"/>
<RearAxle maxSteering="0.0" wheelDiameter="0.6" trackWidth="1.8" positionX="0.0" positionZ="0.3"/>
</Axles>
<Properties>
<Property name="type" value="ego_vehicle"/>
</Properties>
</Vehicle>
</ScenarioObject>
<ScenarioObject name="adversary">
<Vehicle name="vehicle.lincoln.mkz_2017" vehicleCategory="car">
<ParameterDeclarations/>
<Performance maxSpeed="69.444" maxAcceleration="200" maxDeceleration="10.0"/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2.1" length="4.5" height="1.8"/>
</BoundingBox>
<Axles>
<FrontAxle maxSteering="0.5" wheelDiameter="0.6" trackWidth="1.8" positionX="3.1" positionZ="0.3"/>
<RearAxle maxSteering="0.0" wheelDiameter="0.6" trackWidth="1.8" positionX="0.0" positionZ="0.3"/>
</Axles>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Vehicle>
</ScenarioObject>
<ScenarioObject name="standing">
<Vehicle name="vehicle.volkswagen.t2" vehicleCategory="car">
<ParameterDeclarations/>
<Performance maxSpeed="69.444" maxAcceleration="200" maxDeceleration="10.0"/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2.1" length="4.5" height="1.8"/>
</BoundingBox>
<Axles>
<FrontAxle maxSteering="0.5" wheelDiameter="0.6" trackWidth="1.8" positionX="3.1" positionZ="0.3"/>
<RearAxle maxSteering="0.0" wheelDiameter="0.6" trackWidth="1.8" positionX="0.0" positionZ="0.3"/>
</Axles>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Vehicle>
</ScenarioObject>
<ScenarioObject name="pedestrian_close_to_hero_24351">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_w_transform_24352">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_close_to_standing_24353">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_w_transform_24354">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_close_to_hero_24355">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
</Entities>
<Storyboard>
<Init>
<Actions>
<GlobalAction>
<EnvironmentAction>
<Environment name="Environment1">
<TimeOfDay animation="false" dateTime="2019-06-25T12:00:00"/>
<Weather cloudState="free">
<Sun intensity="0.85" azimuth="0" elevation="1.31"/>
<Fog visualRange="100000.0"/>
<Precipitation precipitationType="dry" intensity="0.0"/>
</Weather>
<RoadCondition frictionScaleFactor="1.0"/>
</Environment>
</EnvironmentAction>
</GlobalAction>
<Private entityRef="hero">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-9.4" y="-152.8" z="0.5" h="1.57079632679"/>
</Position>
</TeleportAction>
</PrivateAction>
<PrivateAction>
<ControllerAction>
<AssignControllerAction>
<Controller name="HeroAgent">
<Properties>
<Property name="module" value="external_control"/>
</Properties>
</Controller>
</AssignControllerAction>
<OverrideControllerValueAction>
<Throttle value="0" active="false"/>
<Brake value="0" active="false"/>
<Clutch value="0" active="false"/>
<ParkingBrake value="0" active="false"/>
<SteeringWheel value="0" active="false"/>
<Gear number="0" active="false"/>
</OverrideControllerValueAction>
</ControllerAction>
</PrivateAction>
</Private>
<Private entityRef="adversary">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-9.4" y="-71.0" z="0.5" h="1.57079632679"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="standing">
<PrivateAction>
<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_24351">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-7.010922431945801" y="-152.87249755859375" z="0.0014286803780123591"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_w_transform_24352">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-93.47854614257812" y="-86.92424011230469" z="0.5"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_close_to_standing_24353">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-15.657605171203613" y="20.443912506103516" z="0.0030657958704978228"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_w_transform_24354">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-65.12064361572266" y="96.77137756347656" z="0.5"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_close_to_hero_24355">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-11.834132194519043" y="-145.12725830078125" 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_24351">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_w_transform_24352">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_close_to_standing_24353">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_w_transform_24354">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_close_to_hero_24355">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_w_transform_24356">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
</Entities>
<Storyboard>
<Init>
<Actions>
<GlobalAction>
<EnvironmentAction>
<Environment name="Environment1">
<TimeOfDay animation="false" dateTime="2019-06-25T12:00:00"/>
<Weather cloudState="free">
<Sun intensity="0.85" azimuth="0" elevation="1.31"/>
<Fog visualRange="100000.0"/>
<Precipitation precipitationType="dry" intensity="0.0"/>
</Weather>
<RoadCondition frictionScaleFactor="1.0"/>
</Environment>
</EnvironmentAction>
</GlobalAction>
<Private entityRef="hero">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-9.4" y="-152.8" z="0.5" h="1.57079632679"/>
</Position>
</TeleportAction>
</PrivateAction>
<PrivateAction>
<ControllerAction>
<AssignControllerAction>
<Controller name="HeroAgent">
<Properties>
<Property name="module" value="external_control"/>
</Properties>
</Controller>
</AssignControllerAction>
<OverrideControllerValueAction>
<Throttle value="0" active="false"/>
<Brake value="0" active="false"/>
<Clutch value="0" active="false"/>
<ParkingBrake value="0" active="false"/>
<SteeringWheel value="0" active="false"/>
<Gear number="0" active="false"/>
</OverrideControllerValueAction>
</ControllerAction>
</PrivateAction>
</Private>
<Private entityRef="adversary">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-9.4" y="-71.0" z="0.5" h="1.57079632679"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="standing">
<PrivateAction>
<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_24351">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-7.010922431945801" y="-152.87249755859375" z="0.0014286803780123591"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_w_transform_24352">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-93.47854614257812" y="-86.92424011230469" z="0.5"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_close_to_standing_24353">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-15.657605171203613" y="20.443912506103516" z="0.0030657958704978228"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_w_transform_24354">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-65.12064361572266" y="96.77137756347656" z="0.5"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_close_to_hero_24355">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-11.834132194519043" y="-145.12725830078125" z="0.0014286803780123591"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_w_transform_24356">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="82.98373413085938" y="-9.131207466125488" z="0.5"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
</Actions>
</Init>
<Story name="MyStory">
<Act name="Behavior">
<ManeuverGroup maximumExecutionCount="1" name="ManeuverSequence">
<Actors selectTriggeringEntities="false">
<EntityRef entityRef="adversary"/>
</Actors>
<Maneuver name="LaneChangeSimpleManeuver">
<Event name="AdversaryAccelerates" priority="overwrite">
<Action name="AdversaryAccelerates">
<PrivateAction>
<LongitudinalAction>
<SpeedAction>
<SpeedActionDynamics dynamicsShape="step" value="50" dynamicsDimension="distance"/>
<SpeedActionTarget>
<AbsoluteTargetSpeed value="5.0"/>
</SpeedActionTarget>
</SpeedAction>
</LongitudinalAction>
</PrivateAction>
</Action>
<StartTrigger>
<ConditionGroup>
<Condition name="StartCondition" delay="0" conditionEdge="rising">
<ByEntityCondition>
<TriggeringEntities triggeringEntitiesRule="any">
<EntityRef entityRef="hero"/>
</TriggeringEntities>
<EntityCondition>
<RelativeDistanceCondition entityRef="adversary" relativeDistanceType="cartesianDistance" value="40.0" freespace="false" rule="lessThan"/>
</EntityCondition>
</ByEntityCondition>
</Condition>
</ConditionGroup>
</StartTrigger>
</Event>
<Event name="AdversaryChangesLane" priority="overwrite">
<Action name="AdversaryChangesLane">
<PrivateAction>
<LateralAction>
<LaneChangeAction>
<LaneChangeActionDynamics dynamicsShape="linear" value="25" dynamicsDimension="distance"/>
<LaneChangeTarget>
<RelativeTargetLane entityRef="adversary" value="-1"/>
</LaneChangeTarget>
</LaneChangeAction>
</LateralAction>
</PrivateAction>
</Action>
<StartTrigger>
<ConditionGroup>
<Condition name="AfterAdversaryAccelerates" delay="0" conditionEdge="rising">
<ByValueCondition>
<StoryboardElementStateCondition storyboardElementType="action" storyboardElementRef="AdversaryAccelerates" state="completeState"/>
</ByValueCondition>
</Condition>
</ConditionGroup>
</StartTrigger>
</Event>
</Maneuver>
</ManeuverGroup>
<StartTrigger>
<ConditionGroup>
<Condition name="OverallStartCondition" delay="0" conditionEdge="rising">
<ByEntityCondition>
<TriggeringEntities triggeringEntitiesRule="any">
<EntityRef entityRef="hero"/>
</TriggeringEntities>
<EntityCondition>
<TraveledDistanceCondition value="1.0"/>
</EntityCondition>
</ByEntityCondition>
</Condition>
<Condition name="StartTime" delay="0" conditionEdge="rising">
<ByValueCondition>
<SimulationTimeCondition value="0" rule="equalTo"/>
</ByValueCondition>
</Condition>
</ConditionGroup>
</StartTrigger>
<StopTrigger>
<ConditionGroup>
<Condition name="EndCondition" delay="0" conditionEdge="rising">
<ByEntityCondition>
<TriggeringEntities triggeringEntitiesRule="any">
<EntityRef entityRef="hero"/>
</TriggeringEntities>
<EntityCondition>
<TraveledDistanceCondition value="200.0"/>
</EntityCondition>
</ByEntityCondition>
</Condition>
</ConditionGroup>
</StopTrigger>
</Act>
</Story>
<StopTrigger>
<ConditionGroup>
<Condition name="criteria_RunningStopTest" delay="0" conditionEdge="rising">
<ByValueCondition>
<ParameterCondition parameterRef="" value="" rule="lessThan"/>
</ByValueCondition>
</Condition>
<Condition name="criteria_RunningRedLightTest" delay="0" conditionEdge="rising">
<ByValueCondition>
<ParameterCondition parameterRef="" value="" rule="lessThan"/>
</ByValueCondition>
</Condition>
<Condition name="criteria_WrongLaneTest" delay="0" conditionEdge="rising">
<ByValueCondition>
<ParameterCondition parameterRef="" value="" rule="lessThan"/>
</ByValueCondition>
</Condition>
<Condition name="criteria_OnSidewalkTest" delay="0" conditionEdge="rising">
<ByValueCondition>
<ParameterCondition parameterRef="" value="" rule="lessThan"/>
</ByValueCondition>
</Condition>
<Condition name="criteria_KeepLaneTest" delay="0" conditionEdge="rising">
<ByValueCondition>
<ParameterCondition parameterRef="" value="" rule="lessThan"/>
</ByValueCondition>
</Condition>
<Condition name="criteria_CollisionTest" delay="0" conditionEdge="rising">
<ByValueCondition>
<ParameterCondition parameterRef="" value="" rule="lessThan"/>
</ByValueCondition>
</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 (40.2, -13.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_hero_15109">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_w_transform_15110">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
</Entities>
<Storyboard>
<Init>
<Actions>
<GlobalAction>
<EnvironmentAction>
<Environment name="Environment1">
<TimeOfDay animation="false" dateTime="2019-06-25T12:00:00"/>
<Weather cloudState="free">
<Sun intensity="0.85" azimuth="0" elevation="1.31"/>
<Fog visualRange="100000.0"/>
<Precipitation precipitationType="dry" intensity="0.0"/>
</Weather>
<RoadCondition frictionScaleFactor="1.0"/>
</Environment>
</EnvironmentAction>
</GlobalAction>
<Private entityRef="hero">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-9.4" y="-152.8" z="0.5" h="1.57079632679"/>
</Position>
</TeleportAction>
</PrivateAction>
<PrivateAction>
<ControllerAction>
<AssignControllerAction>
<Controller name="HeroAgent">
<Properties>
<Property name="module" value="external_control"/>
</Properties>
</Controller>
</AssignControllerAction>
<OverrideControllerValueAction>
<Throttle value="0" active="false"/>
<Brake value="0" active="false"/>
<Clutch value="0" active="false"/>
<ParkingBrake value="0" active="false"/>
<SteeringWheel value="0" active="false"/>
<Gear number="0" active="false"/>
</OverrideControllerValueAction>
</ControllerAction>
</PrivateAction>
</Private>
<Private entityRef="adversary">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-9.4" y="-71.0" z="0.5" h="1.57079632679"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="standing">
<PrivateAction>
<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_15109">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-14.659421920776367" y="-156.44140625" z="0.0014286803780123591"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_w_transform_15110">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="90.74784088134766" y="85.4621353149414" z="0.5"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
</Actions>
</Init>
<Story name="MyStory">
<Act name="Behavior">
<ManeuverGroup maximumExecutionCount="1" name="ManeuverSequence">
<Actors selectTriggeringEntities="false">
<EntityRef entityRef="adversary"/>
</Actors>
<Maneuver name="LaneChangeSimpleManeuver">
<Event name="AdversaryAccelerates" priority="overwrite">
<Action name="AdversaryAccelerates">
<PrivateAction>
<LongitudinalAction>
<SpeedAction>
<SpeedActionDynamics dynamicsShape="step" value="50" dynamicsDimension="distance"/>
<SpeedActionTarget>
<AbsoluteTargetSpeed value="5.0"/>
</SpeedActionTarget>
</SpeedAction>
</LongitudinalAction>
</PrivateAction>
</Action>
<StartTrigger>
<ConditionGroup>
<Condition name="StartCondition" delay="0" conditionEdge="rising">
<ByEntityCondition>
<TriggeringEntities triggeringEntitiesRule="any">
<EntityRef entityRef="hero"/>
</TriggeringEntities>
<EntityCondition>
<RelativeDistanceCondition entityRef="adversary" relativeDistanceType="cartesianDistance" value="40.0" freespace="false" rule="lessThan"/>
</EntityCondition>
</ByEntityCondition>
</Condition>
</ConditionGroup>
</StartTrigger>
</Event>
<Event name="AdversaryChangesLane" priority="overwrite">
<Action name="AdversaryChangesLane">
<PrivateAction>
<LateralAction>
<LaneChangeAction>
<LaneChangeActionDynamics dynamicsShape="linear" value="25" dynamicsDimension="distance"/>
<LaneChangeTarget>
<RelativeTargetLane entityRef="adversary" value="-1"/>
</LaneChangeTarget>
</LaneChangeAction>
</LateralAction>
</PrivateAction>
</Action>
<StartTrigger>
<ConditionGroup>
<Condition name="AfterAdversaryAccelerates" delay="0" conditionEdge="rising">
<ByValueCondition>
<StoryboardElementStateCondition storyboardElementType="action" storyboardElementRef="AdversaryAccelerates" state="completeState"/>
</ByValueCondition>
</Condition>
</ConditionGroup>
</StartTrigger>
</Event>
</Maneuver>
</ManeuverGroup>
<StartTrigger>
<ConditionGroup>
<Condition name="OverallStartCondition" delay="0" conditionEdge="rising">
<ByEntityCondition>
<TriggeringEntities triggeringEntitiesRule="any">
<EntityRef entityRef="hero"/>
</TriggeringEntities>
<EntityCondition>
<TraveledDistanceCondition value="1.0"/>
</EntityCondition>
</ByEntityCondition>
</Condition>
<Condition name="StartTime" delay="0" conditionEdge="rising">
<ByValueCondition>
<SimulationTimeCondition value="0" rule="equalTo"/>
</ByValueCondition>
</Condition>
</ConditionGroup>
</StartTrigger>
<StopTrigger>
<ConditionGroup>
<Condition name="EndCondition" delay="0" conditionEdge="rising">
<ByEntityCondition>
<TriggeringEntities triggeringEntitiesRule="any">
<EntityRef entityRef="hero"/>
</TriggeringEntities>
<EntityCondition>
<TraveledDistanceCondition value="200.0"/>
</EntityCondition>
</ByEntityCondition>
</Condition>
</ConditionGroup>
</StopTrigger>
</Act>
</Story>
<StopTrigger>
<ConditionGroup>
<Condition name="criteria_RunningStopTest" delay="0" conditionEdge="rising">
<ByValueCondition>
<ParameterCondition parameterRef="" value="" rule="lessThan"/>
</ByValueCondition>
</Condition>
<Condition name="criteria_RunningRedLightTest" delay="0" conditionEdge="rising">
<ByValueCondition>
<ParameterCondition parameterRef="" value="" rule="lessThan"/>
</ByValueCondition>
</Condition>
<Condition name="criteria_WrongLaneTest" delay="0" conditionEdge="rising">
<ByValueCondition>
<ParameterCondition parameterRef="" value="" rule="lessThan"/>
</ByValueCondition>
</Condition>
<Condition name="criteria_OnSidewalkTest" delay="0" conditionEdge="rising">
<ByValueCondition>
<ParameterCondition parameterRef="" value="" rule="lessThan"/>
</ByValueCondition>
</Condition>
<Condition name="criteria_KeepLaneTest" delay="0" conditionEdge="rising">
<ByValueCondition>
<ParameterCondition parameterRef="" value="" rule="lessThan"/>
</ByValueCondition>
</Condition>
<Condition name="criteria_CollisionTest" delay="0" conditionEdge="rising">
<ByValueCondition>
<ParameterCondition parameterRef="" value="" rule="lessThan"/>
</ByValueCondition>
</Condition>
<Condition name="criteria_DrivenDistanceTest" delay="0" conditionEdge="rising">
<ByValueCondition>
<ParameterCondition parameterRef="distance_success" value="100" rule="lessThan"/>
</ByValueCondition>
</Condition>
</ConditionGroup>
</StopTrigger>
</Storyboard>
</OpenSCENARIO>
``` | Here is the result:
```
<?xml version="1.0" ?>
<OpenSCENARIO>
<FileHeader revMajor="1" revMinor="0" date="2020-03-24T12:00:00" description="CARLA:LaneChangeSimple" author=""/>
<ParameterDeclarations/>
<CatalogLocations/>
<RoadNetwork>
<LogicFile filepath="Town04"/>
<SceneGraphFile filepath=""/>
</RoadNetwork>
<Entities>
<ScenarioObject name="hero">
<Vehicle name="vehicle.tesla.model3" vehicleCategory="car">
<ParameterDeclarations/>
<Performance maxSpeed="69.444" maxAcceleration="200" maxDeceleration="10.0"/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2.1" length="4.5" height="1.8"/>
</BoundingBox>
<Axles>
<FrontAxle maxSteering="0.5" wheelDiameter="0.6" trackWidth="1.8" positionX="3.1" positionZ="0.3"/>
<RearAxle maxSteering="0.0" wheelDiameter="0.6" trackWidth="1.8" positionX="0.0" positionZ="0.3"/>
</Axles>
<Properties>
<Property name="type" value="ego_vehicle"/>
</Properties>
</Vehicle>
</ScenarioObject>
<ScenarioObject name="adversary">
<Vehicle name="vehicle.lincoln.mkz_2017" vehicleCategory="car">
<ParameterDeclarations/>
<Performance maxSpeed="69.444" maxAcceleration="200" maxDeceleration="10.0"/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2.1" length="4.5" height="1.8"/>
</BoundingBox>
<Axles>
<FrontAxle maxSteering="0.5" wheelDiameter="0.6" trackWidth="1.8" positionX="3.1" positionZ="0.3"/>
<RearAxle maxSteering="0.0" wheelDiameter="0.6" trackWidth="1.8" positionX="0.0" positionZ="0.3"/>
</Axles>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Vehicle>
</ScenarioObject>
<ScenarioObject name="standing">
<Vehicle name="vehicle.volkswagen.t2" vehicleCategory="car">
<ParameterDeclarations/>
<Performance maxSpeed="69.444" maxAcceleration="200" maxDeceleration="10.0"/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2.1" length="4.5" height="1.8"/>
</BoundingBox>
<Axles>
<FrontAxle maxSteering="0.5" wheelDiameter="0.6" trackWidth="1.8" positionX="3.1" positionZ="0.3"/>
<RearAxle maxSteering="0.0" wheelDiameter="0.6" 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_15109">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_w_transform_15110">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_w_transform_15111">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
</Entities>
<Storyboard>
<Init>
<Actions>
<GlobalAction>
<EnvironmentAction>
<Environment name="Environment1">
<TimeOfDay animation="false" dateTime="2019-06-25T12:00:00"/>
<Weather cloudState="free">
<Sun intensity="0.85" azimuth="0" elevation="1.31"/>
<Fog visualRange="100000.0"/>
<Precipitation precipitationType="dry" intensity="0.0"/>
</Weather>
<RoadCondition frictionScaleFactor="1.0"/>
</Environment>
</EnvironmentAction>
</GlobalAction>
<Private entityRef="hero">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-9.4" y="-152.8" z="0.5" h="1.57079632679"/>
</Position>
</TeleportAction>
</PrivateAction>
<PrivateAction>
<ControllerAction>
<AssignControllerAction>
<Controller name="HeroAgent">
<Properties>
<Property name="module" value="external_control"/>
</Properties>
</Controller>
</AssignControllerAction>
<OverrideControllerValueAction>
<Throttle value="0" active="false"/>
<Brake value="0" active="false"/>
<Clutch value="0" active="false"/>
<ParkingBrake value="0" active="false"/>
<SteeringWheel value="0" active="false"/>
<Gear number="0" active="false"/>
</OverrideControllerValueAction>
</ControllerAction>
</PrivateAction>
</Private>
<Private entityRef="adversary">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-9.4" y="-71.0" z="0.5" h="1.57079632679"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="standing">
<PrivateAction>
<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_15109">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-14.659421920776367" y="-156.44140625" z="0.0014286803780123591"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_w_transform_15110">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="90.74784088134766" y="85.4621353149414" z="0.5"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_w_transform_15111">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="40.199241638183594" y="-13.433235168457031" z="0.5"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
</Actions>
</Init>
<Story name="MyStory">
<Act name="Behavior">
<ManeuverGroup maximumExecutionCount="1" name="ManeuverSequence">
<Actors selectTriggeringEntities="false">
<EntityRef entityRef="adversary"/>
</Actors>
<Maneuver name="LaneChangeSimpleManeuver">
<Event name="AdversaryAccelerates" priority="overwrite">
<Action name="AdversaryAccelerates">
<PrivateAction>
<LongitudinalAction>
<SpeedAction>
<SpeedActionDynamics dynamicsShape="step" value="50" dynamicsDimension="distance"/>
<SpeedActionTarget>
<AbsoluteTargetSpeed value="5.0"/>
</SpeedActionTarget>
</SpeedAction>
</LongitudinalAction>
</PrivateAction>
</Action>
<StartTrigger>
<ConditionGroup>
<Condition name="StartCondition" delay="0" conditionEdge="rising">
<ByEntityCondition>
<TriggeringEntities triggeringEntitiesRule="any">
<EntityRef entityRef="hero"/>
</TriggeringEntities>
<EntityCondition>
<RelativeDistanceCondition entityRef="adversary" relativeDistanceType="cartesianDistance" value="40.0" freespace="false" rule="lessThan"/>
</EntityCondition>
</ByEntityCondition>
</Condition>
</ConditionGroup>
</StartTrigger>
</Event>
<Event name="AdversaryChangesLane" priority="overwrite">
<Action name="AdversaryChangesLane">
<PrivateAction>
<LateralAction>
<LaneChangeAction>
<LaneChangeActionDynamics dynamicsShape="linear" value="25" dynamicsDimension="distance"/>
<LaneChangeTarget>
<RelativeTargetLane entityRef="adversary" value="-1"/>
</LaneChangeTarget>
</LaneChangeAction>
</LateralAction>
</PrivateAction>
</Action>
<StartTrigger>
<ConditionGroup>
<Condition name="AfterAdversaryAccelerates" delay="0" conditionEdge="rising">
<ByValueCondition>
<StoryboardElementStateCondition storyboardElementType="action" storyboardElementRef="AdversaryAccelerates" state="completeState"/>
</ByValueCondition>
</Condition>
</ConditionGroup>
</StartTrigger>
</Event>
</Maneuver>
</ManeuverGroup>
<StartTrigger>
<ConditionGroup>
<Condition name="OverallStartCondition" delay="0" conditionEdge="rising">
<ByEntityCondition>
<TriggeringEntities triggeringEntitiesRule="any">
<EntityRef entityRef="hero"/>
</TriggeringEntities>
<EntityCondition>
<TraveledDistanceCondition value="1.0"/>
</EntityCondition>
</ByEntityCondition>
</Condition>
<Condition name="StartTime" delay="0" conditionEdge="rising">
<ByValueCondition>
<SimulationTimeCondition value="0" rule="equalTo"/>
</ByValueCondition>
</Condition>
</ConditionGroup>
</StartTrigger>
<StopTrigger>
<ConditionGroup>
<Condition name="EndCondition" delay="0" conditionEdge="rising">
<ByEntityCondition>
<TriggeringEntities triggeringEntitiesRule="any">
<EntityRef entityRef="hero"/>
</TriggeringEntities>
<EntityCondition>
<TraveledDistanceCondition value="200.0"/>
</EntityCondition>
</ByEntityCondition>
</Condition>
</ConditionGroup>
</StopTrigger>
</Act>
</Story>
<StopTrigger>
<ConditionGroup>
<Condition name="criteria_RunningStopTest" delay="0" conditionEdge="rising">
<ByValueCondition>
<ParameterCondition parameterRef="" value="" rule="lessThan"/>
</ByValueCondition>
</Condition>
<Condition name="criteria_RunningRedLightTest" delay="0" conditionEdge="rising">
<ByValueCondition>
<ParameterCondition parameterRef="" value="" rule="lessThan"/>
</ByValueCondition>
</Condition>
<Condition name="criteria_WrongLaneTest" delay="0" conditionEdge="rising">
<ByValueCondition>
<ParameterCondition parameterRef="" value="" rule="lessThan"/>
</ByValueCondition>
</Condition>
<Condition name="criteria_OnSidewalkTest" delay="0" conditionEdge="rising">
<ByValueCondition>
<ParameterCondition parameterRef="" value="" rule="lessThan"/>
</ByValueCondition>
</Condition>
<Condition name="criteria_KeepLaneTest" delay="0" conditionEdge="rising">
<ByValueCondition>
<ParameterCondition parameterRef="" value="" rule="lessThan"/>
</ByValueCondition>
</Condition>
<Condition name="criteria_CollisionTest" delay="0" conditionEdge="rising">
<ByValueCondition>
<ParameterCondition parameterRef="" value="" rule="lessThan"/>
</ByValueCondition>
</Condition>
<Condition name="criteria_DrivenDistanceTest" delay="0" conditionEdge="rising">
<ByValueCondition>
<ParameterCondition parameterRef="distance_success" value="100" rule="lessThan"/>
</ByValueCondition>
</Condition>
</ConditionGroup>
</StopTrigger>
</Storyboard>
</OpenSCENARIO>
``` |
i would like you to remove pedestrian actor named pedestrian_w_transform_8153?
```
<?xml version="1.0" ?>
<OpenSCENARIO>
<FileHeader revMajor="1" revMinor="0" date="2020-03-24T12:00:00" description="CARLA:LaneChangeSimple" author=""/>
<ParameterDeclarations/>
<CatalogLocations/>
<RoadNetwork>
<LogicFile filepath="Town04"/>
<SceneGraphFile filepath=""/>
</RoadNetwork>
<Entities>
<ScenarioObject name="hero">
<Vehicle name="vehicle.tesla.model3" vehicleCategory="car">
<ParameterDeclarations/>
<Performance maxSpeed="69.444" maxAcceleration="200" maxDeceleration="10.0"/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2.1" length="4.5" height="1.8"/>
</BoundingBox>
<Axles>
<FrontAxle maxSteering="0.5" wheelDiameter="0.6" trackWidth="1.8" positionX="3.1" positionZ="0.3"/>
<RearAxle maxSteering="0.0" wheelDiameter="0.6" trackWidth="1.8" positionX="0.0" positionZ="0.3"/>
</Axles>
<Properties>
<Property name="type" value="ego_vehicle"/>
</Properties>
</Vehicle>
</ScenarioObject>
<ScenarioObject name="adversary">
<Vehicle name="vehicle.lincoln.mkz_2017" vehicleCategory="car">
<ParameterDeclarations/>
<Performance maxSpeed="69.444" maxAcceleration="200" maxDeceleration="10.0"/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2.1" length="4.5" height="1.8"/>
</BoundingBox>
<Axles>
<FrontAxle maxSteering="0.5" wheelDiameter="0.6" trackWidth="1.8" positionX="3.1" positionZ="0.3"/>
<RearAxle maxSteering="0.0" wheelDiameter="0.6" trackWidth="1.8" positionX="0.0" positionZ="0.3"/>
</Axles>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Vehicle>
</ScenarioObject>
<ScenarioObject name="standing">
<Vehicle name="vehicle.volkswagen.t2" vehicleCategory="car">
<ParameterDeclarations/>
<Performance maxSpeed="69.444" maxAcceleration="200" maxDeceleration="10.0"/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2.1" length="4.5" height="1.8"/>
</BoundingBox>
<Axles>
<FrontAxle maxSteering="0.5" wheelDiameter="0.6" trackWidth="1.8" positionX="3.1" positionZ="0.3"/>
<RearAxle maxSteering="0.0" wheelDiameter="0.6" 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_8148">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_w_transform_8150">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_w_transform_8151">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_w_transform_8152">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_w_transform_8153">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_close_to_hero_8154">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_w_transform_8155">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_w_transform_8156">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_close_to_standing_8157">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_close_to_adversary_8158">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
</Entities>
<Storyboard>
<Init>
<Actions>
<GlobalAction>
<EnvironmentAction>
<Environment name="Environment1">
<TimeOfDay animation="false" dateTime="2019-06-25T12:00:00"/>
<Weather cloudState="free">
<Sun intensity="0.85" azimuth="0" elevation="1.31"/>
<Fog visualRange="100000.0"/>
<Precipitation precipitationType="dry" intensity="0.0"/>
</Weather>
<RoadCondition frictionScaleFactor="1.0"/>
</Environment>
</EnvironmentAction>
</GlobalAction>
<Private entityRef="hero">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-9.4" y="-152.8" z="0.5" h="1.57079632679"/>
</Position>
</TeleportAction>
</PrivateAction>
<PrivateAction>
<ControllerAction>
<AssignControllerAction>
<Controller name="HeroAgent">
<Properties>
<Property name="module" value="external_control"/>
</Properties>
</Controller>
</AssignControllerAction>
<OverrideControllerValueAction>
<Throttle value="0" active="false"/>
<Brake value="0" active="false"/>
<Clutch value="0" active="false"/>
<ParkingBrake value="0" active="false"/>
<SteeringWheel value="0" active="false"/>
<Gear number="0" active="false"/>
</OverrideControllerValueAction>
</ControllerAction>
</PrivateAction>
</Private>
<Private entityRef="adversary">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-9.4" y="-71.0" z="0.5" h="1.57079632679"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="standing">
<PrivateAction>
<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_8148">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-10.685042381286621" y="-78.92719268798828" z="0.033831559121608734"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_w_transform_8150">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="53.91255569458008" y="56.39665603637695" z="0.5"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_w_transform_8151">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="29.619291305541992" y="13.6091947555542" z="0.5"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_w_transform_8152">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="33.0096435546875" y="-74.32231903076172" z="0.5"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_w_transform_8153">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="63.698036193847656" y="93.51216125488281" z="0.5"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_close_to_hero_8154">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-10.587011337280273" y="-158.0697479248047" z="0.0014286803780123591"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_w_transform_8155">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-31.765012741088867" y="-88.99347686767578" z="0.5"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_w_transform_8156">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="81.81298065185547" y="91.340576171875" z="0.5"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_close_to_standing_8157">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-7.477057456970215" y="34.31557083129883" z="0.0030038452241569757"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_close_to_adversary_8158">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-7.017313003540039" y="-70.87146759033203" z="0.03381481021642685"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
</Actions>
</Init>
<Story name="MyStory">
<Act name="Behavior">
<ManeuverGroup maximumExecutionCount="1" name="ManeuverSequence">
<Actors selectTriggeringEntities="false">
<EntityRef entityRef="adversary"/>
</Actors>
<Maneuver name="LaneChangeSimpleManeuver">
<Event name="AdversaryAccelerates" priority="overwrite">
<Action name="AdversaryAccelerates">
<PrivateAction>
<LongitudinalAction>
<SpeedAction>
<SpeedActionDynamics dynamicsShape="step" value="50" dynamicsDimension="distance"/>
<SpeedActionTarget>
<AbsoluteTargetSpeed value="5.0"/>
</SpeedActionTarget>
</SpeedAction>
</LongitudinalAction>
</PrivateAction>
</Action>
<StartTrigger>
<ConditionGroup>
<Condition name="StartCondition" delay="0" conditionEdge="rising">
<ByEntityCondition>
<TriggeringEntities triggeringEntitiesRule="any">
<EntityRef entityRef="hero"/>
</TriggeringEntities>
<EntityCondition>
<RelativeDistanceCondition entityRef="adversary" relativeDistanceType="cartesianDistance" value="40.0" freespace="false" rule="lessThan"/>
</EntityCondition>
</ByEntityCondition>
</Condition>
</ConditionGroup>
</StartTrigger>
</Event>
<Event name="AdversaryChangesLane" priority="overwrite">
<Action name="AdversaryChangesLane">
<PrivateAction>
<LateralAction>
<LaneChangeAction>
<LaneChangeActionDynamics dynamicsShape="linear" value="25" dynamicsDimension="distance"/>
<LaneChangeTarget>
<RelativeTargetLane entityRef="adversary" value="-1"/>
</LaneChangeTarget>
</LaneChangeAction>
</LateralAction>
</PrivateAction>
</Action>
<StartTrigger>
<ConditionGroup>
<Condition name="AfterAdversaryAccelerates" delay="0" conditionEdge="rising">
<ByValueCondition>
<StoryboardElementStateCondition storyboardElementType="action" storyboardElementRef="AdversaryAccelerates" state="completeState"/>
</ByValueCondition>
</Condition>
</ConditionGroup>
</StartTrigger>
</Event>
</Maneuver>
</ManeuverGroup>
<StartTrigger>
<ConditionGroup>
<Condition name="OverallStartCondition" delay="0" conditionEdge="rising">
<ByEntityCondition>
<TriggeringEntities triggeringEntitiesRule="any">
<EntityRef entityRef="hero"/>
</TriggeringEntities>
<EntityCondition>
<TraveledDistanceCondition value="1.0"/>
</EntityCondition>
</ByEntityCondition>
</Condition>
<Condition name="StartTime" delay="0" conditionEdge="rising">
<ByValueCondition>
<SimulationTimeCondition value="0" rule="equalTo"/>
</ByValueCondition>
</Condition>
</ConditionGroup>
</StartTrigger>
<StopTrigger>
<ConditionGroup>
<Condition name="EndCondition" delay="0" conditionEdge="rising">
<ByEntityCondition>
<TriggeringEntities triggeringEntitiesRule="any">
<EntityRef entityRef="hero"/>
</TriggeringEntities>
<EntityCondition>
<TraveledDistanceCondition value="200.0"/>
</EntityCondition>
</ByEntityCondition>
</Condition>
</ConditionGroup>
</StopTrigger>
</Act>
</Story>
<StopTrigger>
<ConditionGroup>
<Condition name="criteria_RunningStopTest" delay="0" conditionEdge="rising">
<ByValueCondition>
<ParameterCondition parameterRef="" value="" rule="lessThan"/>
</ByValueCondition>
</Condition>
<Condition name="criteria_RunningRedLightTest" delay="0" conditionEdge="rising">
<ByValueCondition>
<ParameterCondition parameterRef="" value="" rule="lessThan"/>
</ByValueCondition>
</Condition>
<Condition name="criteria_WrongLaneTest" delay="0" conditionEdge="rising">
<ByValueCondition>
<ParameterCondition parameterRef="" value="" rule="lessThan"/>
</ByValueCondition>
</Condition>
<Condition name="criteria_OnSidewalkTest" delay="0" conditionEdge="rising">
<ByValueCondition>
<ParameterCondition parameterRef="" value="" rule="lessThan"/>
</ByValueCondition>
</Condition>
<Condition name="criteria_KeepLaneTest" delay="0" conditionEdge="rising">
<ByValueCondition>
<ParameterCondition parameterRef="" value="" rule="lessThan"/>
</ByValueCondition>
</Condition>
<Condition name="criteria_CollisionTest" delay="0" conditionEdge="rising">
<ByValueCondition>
<ParameterCondition parameterRef="" value="" rule="lessThan"/>
</ByValueCondition>
</Condition>
<Condition name="criteria_DrivenDistanceTest" delay="0" conditionEdge="rising">
<ByValueCondition>
<ParameterCondition parameterRef="distance_success" value="100" rule="lessThan"/>
</ByValueCondition>
</Condition>
</ConditionGroup>
</StopTrigger>
</Storyboard>
</OpenSCENARIO>
``` | Here is the result:
```
<?xml version="1.0" ?>
<OpenSCENARIO>
<FileHeader revMajor="1" revMinor="0" date="2020-03-24T12:00:00" description="CARLA:LaneChangeSimple" author=""/>
<ParameterDeclarations/>
<CatalogLocations/>
<RoadNetwork>
<LogicFile filepath="Town04"/>
<SceneGraphFile filepath=""/>
</RoadNetwork>
<Entities>
<ScenarioObject name="hero">
<Vehicle name="vehicle.tesla.model3" vehicleCategory="car">
<ParameterDeclarations/>
<Performance maxSpeed="69.444" maxAcceleration="200" maxDeceleration="10.0"/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2.1" length="4.5" height="1.8"/>
</BoundingBox>
<Axles>
<FrontAxle maxSteering="0.5" wheelDiameter="0.6" trackWidth="1.8" positionX="3.1" positionZ="0.3"/>
<RearAxle maxSteering="0.0" wheelDiameter="0.6" trackWidth="1.8" positionX="0.0" positionZ="0.3"/>
</Axles>
<Properties>
<Property name="type" value="ego_vehicle"/>
</Properties>
</Vehicle>
</ScenarioObject>
<ScenarioObject name="adversary">
<Vehicle name="vehicle.lincoln.mkz_2017" vehicleCategory="car">
<ParameterDeclarations/>
<Performance maxSpeed="69.444" maxAcceleration="200" maxDeceleration="10.0"/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2.1" length="4.5" height="1.8"/>
</BoundingBox>
<Axles>
<FrontAxle maxSteering="0.5" wheelDiameter="0.6" trackWidth="1.8" positionX="3.1" positionZ="0.3"/>
<RearAxle maxSteering="0.0" wheelDiameter="0.6" trackWidth="1.8" positionX="0.0" positionZ="0.3"/>
</Axles>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Vehicle>
</ScenarioObject>
<ScenarioObject name="standing">
<Vehicle name="vehicle.volkswagen.t2" vehicleCategory="car">
<ParameterDeclarations/>
<Performance maxSpeed="69.444" maxAcceleration="200" maxDeceleration="10.0"/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2.1" length="4.5" height="1.8"/>
</BoundingBox>
<Axles>
<FrontAxle maxSteering="0.5" wheelDiameter="0.6" trackWidth="1.8" positionX="3.1" positionZ="0.3"/>
<RearAxle maxSteering="0.0" wheelDiameter="0.6" 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_8148">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_w_transform_8150">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_w_transform_8151">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_w_transform_8152">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_close_to_hero_8154">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_w_transform_8155">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_w_transform_8156">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_close_to_standing_8157">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_close_to_adversary_8158">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
</Entities>
<Storyboard>
<Init>
<Actions>
<GlobalAction>
<EnvironmentAction>
<Environment name="Environment1">
<TimeOfDay animation="false" dateTime="2019-06-25T12:00:00"/>
<Weather cloudState="free">
<Sun intensity="0.85" azimuth="0" elevation="1.31"/>
<Fog visualRange="100000.0"/>
<Precipitation precipitationType="dry" intensity="0.0"/>
</Weather>
<RoadCondition frictionScaleFactor="1.0"/>
</Environment>
</EnvironmentAction>
</GlobalAction>
<Private entityRef="hero">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-9.4" y="-152.8" z="0.5" h="1.57079632679"/>
</Position>
</TeleportAction>
</PrivateAction>
<PrivateAction>
<ControllerAction>
<AssignControllerAction>
<Controller name="HeroAgent">
<Properties>
<Property name="module" value="external_control"/>
</Properties>
</Controller>
</AssignControllerAction>
<OverrideControllerValueAction>
<Throttle value="0" active="false"/>
<Brake value="0" active="false"/>
<Clutch value="0" active="false"/>
<ParkingBrake value="0" active="false"/>
<SteeringWheel value="0" active="false"/>
<Gear number="0" active="false"/>
</OverrideControllerValueAction>
</ControllerAction>
</PrivateAction>
</Private>
<Private entityRef="adversary">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-9.4" y="-71.0" z="0.5" h="1.57079632679"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="standing">
<PrivateAction>
<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_8148">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-10.685042381286621" y="-78.92719268798828" z="0.033831559121608734"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_w_transform_8150">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="53.91255569458008" y="56.39665603637695" z="0.5"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_w_transform_8151">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="29.619291305541992" y="13.6091947555542" z="0.5"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_w_transform_8152">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="33.0096435546875" y="-74.32231903076172" z="0.5"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_close_to_hero_8154">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-10.587011337280273" y="-158.0697479248047" z="0.0014286803780123591"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_w_transform_8155">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-31.765012741088867" y="-88.99347686767578" z="0.5"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_w_transform_8156">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="81.81298065185547" y="91.340576171875" z="0.5"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_close_to_standing_8157">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-7.477057456970215" y="34.31557083129883" z="0.0030038452241569757"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_close_to_adversary_8158">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-7.017313003540039" y="-70.87146759033203" z="0.03381481021642685"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
</Actions>
</Init>
<Story name="MyStory">
<Act name="Behavior">
<ManeuverGroup maximumExecutionCount="1" name="ManeuverSequence">
<Actors selectTriggeringEntities="false">
<EntityRef entityRef="adversary"/>
</Actors>
<Maneuver name="LaneChangeSimpleManeuver">
<Event name="AdversaryAccelerates" priority="overwrite">
<Action name="AdversaryAccelerates">
<PrivateAction>
<LongitudinalAction>
<SpeedAction>
<SpeedActionDynamics dynamicsShape="step" value="50" dynamicsDimension="distance"/>
<SpeedActionTarget>
<AbsoluteTargetSpeed value="5.0"/>
</SpeedActionTarget>
</SpeedAction>
</LongitudinalAction>
</PrivateAction>
</Action>
<StartTrigger>
<ConditionGroup>
<Condition name="StartCondition" delay="0" conditionEdge="rising">
<ByEntityCondition>
<TriggeringEntities triggeringEntitiesRule="any">
<EntityRef entityRef="hero"/>
</TriggeringEntities>
<EntityCondition>
<RelativeDistanceCondition entityRef="adversary" relativeDistanceType="cartesianDistance" value="40.0" freespace="false" rule="lessThan"/>
</EntityCondition>
</ByEntityCondition>
</Condition>
</ConditionGroup>
</StartTrigger>
</Event>
<Event name="AdversaryChangesLane" priority="overwrite">
<Action name="AdversaryChangesLane">
<PrivateAction>
<LateralAction>
<LaneChangeAction>
<LaneChangeActionDynamics dynamicsShape="linear" value="25" dynamicsDimension="distance"/>
<LaneChangeTarget>
<RelativeTargetLane entityRef="adversary" value="-1"/>
</LaneChangeTarget>
</LaneChangeAction>
</LateralAction>
</PrivateAction>
</Action>
<StartTrigger>
<ConditionGroup>
<Condition name="AfterAdversaryAccelerates" delay="0" conditionEdge="rising">
<ByValueCondition>
<StoryboardElementStateCondition storyboardElementType="action" storyboardElementRef="AdversaryAccelerates" state="completeState"/>
</ByValueCondition>
</Condition>
</ConditionGroup>
</StartTrigger>
</Event>
</Maneuver>
</ManeuverGroup>
<StartTrigger>
<ConditionGroup>
<Condition name="OverallStartCondition" delay="0" conditionEdge="rising">
<ByEntityCondition>
<TriggeringEntities triggeringEntitiesRule="any">
<EntityRef entityRef="hero"/>
</TriggeringEntities>
<EntityCondition>
<TraveledDistanceCondition value="1.0"/>
</EntityCondition>
</ByEntityCondition>
</Condition>
<Condition name="StartTime" delay="0" conditionEdge="rising">
<ByValueCondition>
<SimulationTimeCondition value="0" rule="equalTo"/>
</ByValueCondition>
</Condition>
</ConditionGroup>
</StartTrigger>
<StopTrigger>
<ConditionGroup>
<Condition name="EndCondition" delay="0" conditionEdge="rising">
<ByEntityCondition>
<TriggeringEntities triggeringEntitiesRule="any">
<EntityRef entityRef="hero"/>
</TriggeringEntities>
<EntityCondition>
<TraveledDistanceCondition value="200.0"/>
</EntityCondition>
</ByEntityCondition>
</Condition>
</ConditionGroup>
</StopTrigger>
</Act>
</Story>
<StopTrigger>
<ConditionGroup>
<Condition name="criteria_RunningStopTest" delay="0" conditionEdge="rising">
<ByValueCondition>
<ParameterCondition parameterRef="" value="" rule="lessThan"/>
</ByValueCondition>
</Condition>
<Condition name="criteria_RunningRedLightTest" delay="0" conditionEdge="rising">
<ByValueCondition>
<ParameterCondition parameterRef="" value="" rule="lessThan"/>
</ByValueCondition>
</Condition>
<Condition name="criteria_WrongLaneTest" delay="0" conditionEdge="rising">
<ByValueCondition>
<ParameterCondition parameterRef="" value="" rule="lessThan"/>
</ByValueCondition>
</Condition>
<Condition name="criteria_OnSidewalkTest" delay="0" conditionEdge="rising">
<ByValueCondition>
<ParameterCondition parameterRef="" value="" rule="lessThan"/>
</ByValueCondition>
</Condition>
<Condition name="criteria_KeepLaneTest" delay="0" conditionEdge="rising">
<ByValueCondition>
<ParameterCondition parameterRef="" value="" rule="lessThan"/>
</ByValueCondition>
</Condition>
<Condition name="criteria_CollisionTest" delay="0" conditionEdge="rising">
<ByValueCondition>
<ParameterCondition parameterRef="" value="" rule="lessThan"/>
</ByValueCondition>
</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 (90.02, -37.78, 0.5)?
```
<?xml version="1.0" ?>
<OpenSCENARIO>
<FileHeader revMajor="1" revMinor="0" date="2020-03-24T12:00:00" description="CARLA:LaneChangeSimple" author=""/>
<ParameterDeclarations/>
<CatalogLocations/>
<RoadNetwork>
<LogicFile filepath="Town04"/>
<SceneGraphFile filepath=""/>
</RoadNetwork>
<Entities>
<ScenarioObject name="hero">
<Vehicle name="vehicle.tesla.model3" vehicleCategory="car">
<ParameterDeclarations/>
<Performance maxSpeed="69.444" maxAcceleration="200" maxDeceleration="10.0"/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2.1" length="4.5" height="1.8"/>
</BoundingBox>
<Axles>
<FrontAxle maxSteering="0.5" wheelDiameter="0.6" trackWidth="1.8" positionX="3.1" positionZ="0.3"/>
<RearAxle maxSteering="0.0" wheelDiameter="0.6" trackWidth="1.8" positionX="0.0" positionZ="0.3"/>
</Axles>
<Properties>
<Property name="type" value="ego_vehicle"/>
</Properties>
</Vehicle>
</ScenarioObject>
<ScenarioObject name="adversary">
<Vehicle name="vehicle.lincoln.mkz_2017" vehicleCategory="car">
<ParameterDeclarations/>
<Performance maxSpeed="69.444" maxAcceleration="200" maxDeceleration="10.0"/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2.1" length="4.5" height="1.8"/>
</BoundingBox>
<Axles>
<FrontAxle maxSteering="0.5" wheelDiameter="0.6" trackWidth="1.8" positionX="3.1" positionZ="0.3"/>
<RearAxle maxSteering="0.0" wheelDiameter="0.6" trackWidth="1.8" positionX="0.0" positionZ="0.3"/>
</Axles>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Vehicle>
</ScenarioObject>
<ScenarioObject name="standing">
<Vehicle name="vehicle.volkswagen.t2" vehicleCategory="car">
<ParameterDeclarations/>
<Performance maxSpeed="69.444" maxAcceleration="200" maxDeceleration="10.0"/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2.1" length="4.5" height="1.8"/>
</BoundingBox>
<Axles>
<FrontAxle maxSteering="0.5" wheelDiameter="0.6" trackWidth="1.8" positionX="3.1" positionZ="0.3"/>
<RearAxle maxSteering="0.0" wheelDiameter="0.6" trackWidth="1.8" positionX="0.0" positionZ="0.3"/>
</Axles>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Vehicle>
</ScenarioObject>
<ScenarioObject name="pedestrian_close_to_hero_11856">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_w_transform_11857">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_close_to_adversary_11858">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_close_to_standing_11859">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_close_to_standing_11860">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_close_to_standing_11861">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_close_to_hero_11862">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
</Entities>
<Storyboard>
<Init>
<Actions>
<GlobalAction>
<EnvironmentAction>
<Environment name="Environment1">
<TimeOfDay animation="false" dateTime="2019-06-25T12:00:00"/>
<Weather cloudState="free">
<Sun intensity="0.85" azimuth="0" elevation="1.31"/>
<Fog visualRange="100000.0"/>
<Precipitation precipitationType="dry" intensity="0.0"/>
</Weather>
<RoadCondition frictionScaleFactor="1.0"/>
</Environment>
</EnvironmentAction>
</GlobalAction>
<Private entityRef="hero">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-9.4" y="-152.8" z="0.5" h="1.57079632679"/>
</Position>
</TeleportAction>
</PrivateAction>
<PrivateAction>
<ControllerAction>
<AssignControllerAction>
<Controller name="HeroAgent">
<Properties>
<Property name="module" value="external_control"/>
</Properties>
</Controller>
</AssignControllerAction>
<OverrideControllerValueAction>
<Throttle value="0" active="false"/>
<Brake value="0" active="false"/>
<Clutch value="0" active="false"/>
<ParkingBrake value="0" active="false"/>
<SteeringWheel value="0" active="false"/>
<Gear number="0" active="false"/>
</OverrideControllerValueAction>
</ControllerAction>
</PrivateAction>
</Private>
<Private entityRef="adversary">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-9.4" y="-71.0" z="0.5" h="1.57079632679"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="standing">
<PrivateAction>
<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_11856">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-11.672187805175781" y="-158.12472534179688" z="0.0014286803780123591"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_w_transform_11857">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-61.47243881225586" y="-81.5718765258789" z="0.5"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_close_to_adversary_11858">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-13.794178009033203" y="-72.75682830810547" z="0.03383338823914528"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_close_to_standing_11859">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-5.132970809936523" y="19.71792984008789" z="0.003097381442785263"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_close_to_standing_11860">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-7.1605224609375" y="25.26907730102539" z="0.003018455347046256"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_close_to_standing_11861">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-1.5186125040054321" y="31.199987411499023" z="0.0030137633439153433"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_close_to_hero_11862">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-15.583174705505371" y="-146.41322326660156" 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_11856">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_w_transform_11857">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_close_to_adversary_11858">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_close_to_standing_11859">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_close_to_standing_11860">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_close_to_standing_11861">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_close_to_hero_11862">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_w_transform_11863">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
</Entities>
<Storyboard>
<Init>
<Actions>
<GlobalAction>
<EnvironmentAction>
<Environment name="Environment1">
<TimeOfDay animation="false" dateTime="2019-06-25T12:00:00"/>
<Weather cloudState="free">
<Sun intensity="0.85" azimuth="0" elevation="1.31"/>
<Fog visualRange="100000.0"/>
<Precipitation precipitationType="dry" intensity="0.0"/>
</Weather>
<RoadCondition frictionScaleFactor="1.0"/>
</Environment>
</EnvironmentAction>
</GlobalAction>
<Private entityRef="hero">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-9.4" y="-152.8" z="0.5" h="1.57079632679"/>
</Position>
</TeleportAction>
</PrivateAction>
<PrivateAction>
<ControllerAction>
<AssignControllerAction>
<Controller name="HeroAgent">
<Properties>
<Property name="module" value="external_control"/>
</Properties>
</Controller>
</AssignControllerAction>
<OverrideControllerValueAction>
<Throttle value="0" active="false"/>
<Brake value="0" active="false"/>
<Clutch value="0" active="false"/>
<ParkingBrake value="0" active="false"/>
<SteeringWheel value="0" active="false"/>
<Gear number="0" active="false"/>
</OverrideControllerValueAction>
</ControllerAction>
</PrivateAction>
</Private>
<Private entityRef="adversary">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-9.4" y="-71.0" z="0.5" h="1.57079632679"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="standing">
<PrivateAction>
<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_11856">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-11.672187805175781" y="-158.12472534179688" z="0.0014286803780123591"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_w_transform_11857">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-61.47243881225586" y="-81.5718765258789" z="0.5"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_close_to_adversary_11858">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-13.794178009033203" y="-72.75682830810547" z="0.03383338823914528"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_close_to_standing_11859">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-5.132970809936523" y="19.71792984008789" z="0.003097381442785263"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_close_to_standing_11860">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-7.1605224609375" y="25.26907730102539" z="0.003018455347046256"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_close_to_standing_11861">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-1.5186125040054321" y="31.199987411499023" z="0.0030137633439153433"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_close_to_hero_11862">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-15.583174705505371" y="-146.41322326660156" z="0.0014286803780123591"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_w_transform_11863">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="90.01917266845703" y="-37.78253936767578" z="0.5"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
</Actions>
</Init>
<Story name="MyStory">
<Act name="Behavior">
<ManeuverGroup maximumExecutionCount="1" name="ManeuverSequence">
<Actors selectTriggeringEntities="false">
<EntityRef entityRef="adversary"/>
</Actors>
<Maneuver name="LaneChangeSimpleManeuver">
<Event name="AdversaryAccelerates" priority="overwrite">
<Action name="AdversaryAccelerates">
<PrivateAction>
<LongitudinalAction>
<SpeedAction>
<SpeedActionDynamics dynamicsShape="step" value="50" dynamicsDimension="distance"/>
<SpeedActionTarget>
<AbsoluteTargetSpeed value="5.0"/>
</SpeedActionTarget>
</SpeedAction>
</LongitudinalAction>
</PrivateAction>
</Action>
<StartTrigger>
<ConditionGroup>
<Condition name="StartCondition" delay="0" conditionEdge="rising">
<ByEntityCondition>
<TriggeringEntities triggeringEntitiesRule="any">
<EntityRef entityRef="hero"/>
</TriggeringEntities>
<EntityCondition>
<RelativeDistanceCondition entityRef="adversary" relativeDistanceType="cartesianDistance" value="40.0" freespace="false" rule="lessThan"/>
</EntityCondition>
</ByEntityCondition>
</Condition>
</ConditionGroup>
</StartTrigger>
</Event>
<Event name="AdversaryChangesLane" priority="overwrite">
<Action name="AdversaryChangesLane">
<PrivateAction>
<LateralAction>
<LaneChangeAction>
<LaneChangeActionDynamics dynamicsShape="linear" value="25" dynamicsDimension="distance"/>
<LaneChangeTarget>
<RelativeTargetLane entityRef="adversary" value="-1"/>
</LaneChangeTarget>
</LaneChangeAction>
</LateralAction>
</PrivateAction>
</Action>
<StartTrigger>
<ConditionGroup>
<Condition name="AfterAdversaryAccelerates" delay="0" conditionEdge="rising">
<ByValueCondition>
<StoryboardElementStateCondition storyboardElementType="action" storyboardElementRef="AdversaryAccelerates" state="completeState"/>
</ByValueCondition>
</Condition>
</ConditionGroup>
</StartTrigger>
</Event>
</Maneuver>
</ManeuverGroup>
<StartTrigger>
<ConditionGroup>
<Condition name="OverallStartCondition" delay="0" conditionEdge="rising">
<ByEntityCondition>
<TriggeringEntities triggeringEntitiesRule="any">
<EntityRef entityRef="hero"/>
</TriggeringEntities>
<EntityCondition>
<TraveledDistanceCondition value="1.0"/>
</EntityCondition>
</ByEntityCondition>
</Condition>
<Condition name="StartTime" delay="0" conditionEdge="rising">
<ByValueCondition>
<SimulationTimeCondition value="0" rule="equalTo"/>
</ByValueCondition>
</Condition>
</ConditionGroup>
</StartTrigger>
<StopTrigger>
<ConditionGroup>
<Condition name="EndCondition" delay="0" conditionEdge="rising">
<ByEntityCondition>
<TriggeringEntities triggeringEntitiesRule="any">
<EntityRef entityRef="hero"/>
</TriggeringEntities>
<EntityCondition>
<TraveledDistanceCondition value="200.0"/>
</EntityCondition>
</ByEntityCondition>
</Condition>
</ConditionGroup>
</StopTrigger>
</Act>
</Story>
<StopTrigger>
<ConditionGroup>
<Condition name="criteria_RunningStopTest" delay="0" conditionEdge="rising">
<ByValueCondition>
<ParameterCondition parameterRef="" value="" rule="lessThan"/>
</ByValueCondition>
</Condition>
<Condition name="criteria_RunningRedLightTest" delay="0" conditionEdge="rising">
<ByValueCondition>
<ParameterCondition parameterRef="" value="" rule="lessThan"/>
</ByValueCondition>
</Condition>
<Condition name="criteria_WrongLaneTest" delay="0" conditionEdge="rising">
<ByValueCondition>
<ParameterCondition parameterRef="" value="" rule="lessThan"/>
</ByValueCondition>
</Condition>
<Condition name="criteria_OnSidewalkTest" delay="0" conditionEdge="rising">
<ByValueCondition>
<ParameterCondition parameterRef="" value="" rule="lessThan"/>
</ByValueCondition>
</Condition>
<Condition name="criteria_KeepLaneTest" delay="0" conditionEdge="rising">
<ByValueCondition>
<ParameterCondition parameterRef="" value="" rule="lessThan"/>
</ByValueCondition>
</Condition>
<Condition name="criteria_CollisionTest" delay="0" conditionEdge="rising">
<ByValueCondition>
<ParameterCondition parameterRef="" value="" rule="lessThan"/>
</ByValueCondition>
</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_106">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_w_transform_107">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_close_to_adversary_108">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_w_transform_109">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_close_to_hero_110">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_close_to_adversary_111">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_w_transform_112">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_close_to_standing_113">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_w_transform_114">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
</Entities>
<Storyboard>
<Init>
<Actions>
<GlobalAction>
<EnvironmentAction>
<Environment name="Environment1">
<TimeOfDay animation="false" dateTime="2019-06-25T12:00:00"/>
<Weather cloudState="free">
<Sun intensity="0.85" azimuth="0" elevation="1.31"/>
<Fog visualRange="100000.0"/>
<Precipitation precipitationType="dry" intensity="0.0"/>
</Weather>
<RoadCondition frictionScaleFactor="1.0"/>
</Environment>
</EnvironmentAction>
</GlobalAction>
<Private entityRef="hero">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-9.4" y="-152.8" z="0.5" h="1.57079632679"/>
</Position>
</TeleportAction>
</PrivateAction>
<PrivateAction>
<ControllerAction>
<AssignControllerAction>
<Controller name="HeroAgent">
<Properties>
<Property name="module" value="external_control"/>
</Properties>
</Controller>
</AssignControllerAction>
<OverrideControllerValueAction>
<Throttle value="0" active="false"/>
<Brake value="0" active="false"/>
<Clutch value="0" active="false"/>
<ParkingBrake value="0" active="false"/>
<SteeringWheel value="0" active="false"/>
<Gear number="0" active="false"/>
</OverrideControllerValueAction>
</ControllerAction>
</PrivateAction>
</Private>
<Private entityRef="adversary">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-9.4" y="-71.0" z="0.5" h="1.57079632679"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="standing">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-8.2" y="29.2" z="0.5" h="1.57079632679"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_close_to_standing_106">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-6.646285057067871" y="9.379015922546387" z="0.003042678814381361"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_w_transform_107">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="64.82039642333984" y="33.29971694946289" z="0.5"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_close_to_adversary_108">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-12.38690185546875" y="-64.87604522705078" z="0.03377677872776985"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_w_transform_109">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="57.078365325927734" y="91.62743377685547" z="0.5"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_close_to_hero_110">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-15.611063003540039" y="-157.9495849609375" z="0.0014286803780123591"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_close_to_adversary_111">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-13.769364356994629" y="-73.40841674804688" z="0.03377998247742653"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_w_transform_112">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-38.17596435546875" y="91.01669311523438" z="0.5"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_close_to_standing_113">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-9.963790893554688" y="38.8635368347168" z="0.0030855941586196423"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_w_transform_114">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="10.821749687194824" y="-13.180792808532715" z="0.5"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
</Actions>
</Init>
<Story name="MyStory">
<Act name="Behavior">
<ManeuverGroup maximumExecutionCount="1" name="ManeuverSequence">
<Actors selectTriggeringEntities="false">
<EntityRef entityRef="adversary"/>
</Actors>
<Maneuver name="LaneChangeSimpleManeuver">
<Event name="AdversaryAccelerates" priority="overwrite">
<Action name="AdversaryAccelerates">
<PrivateAction>
<LongitudinalAction>
<SpeedAction>
<SpeedActionDynamics dynamicsShape="step" value="50" dynamicsDimension="distance"/>
<SpeedActionTarget>
<AbsoluteTargetSpeed value="5.0"/>
</SpeedActionTarget>
</SpeedAction>
</LongitudinalAction>
</PrivateAction>
</Action>
<StartTrigger>
<ConditionGroup>
<Condition name="StartCondition" delay="0" conditionEdge="rising">
<ByEntityCondition>
<TriggeringEntities triggeringEntitiesRule="any">
<EntityRef entityRef="hero"/>
</TriggeringEntities>
<EntityCondition>
<RelativeDistanceCondition entityRef="adversary" relativeDistanceType="cartesianDistance" value="40.0" freespace="false" rule="lessThan"/>
</EntityCondition>
</ByEntityCondition>
</Condition>
</ConditionGroup>
</StartTrigger>
</Event>
<Event name="AdversaryChangesLane" priority="overwrite">
<Action name="AdversaryChangesLane">
<PrivateAction>
<LateralAction>
<LaneChangeAction>
<LaneChangeActionDynamics dynamicsShape="linear" value="25" dynamicsDimension="distance"/>
<LaneChangeTarget>
<RelativeTargetLane entityRef="adversary" value="-1"/>
</LaneChangeTarget>
</LaneChangeAction>
</LateralAction>
</PrivateAction>
</Action>
<StartTrigger>
<ConditionGroup>
<Condition name="AfterAdversaryAccelerates" delay="0" conditionEdge="rising">
<ByValueCondition>
<StoryboardElementStateCondition storyboardElementType="action" storyboardElementRef="AdversaryAccelerates" state="completeState"/>
</ByValueCondition>
</Condition>
</ConditionGroup>
</StartTrigger>
</Event>
</Maneuver>
</ManeuverGroup>
<StartTrigger>
<ConditionGroup>
<Condition name="OverallStartCondition" delay="0" conditionEdge="rising">
<ByEntityCondition>
<TriggeringEntities triggeringEntitiesRule="any">
<EntityRef entityRef="hero"/>
</TriggeringEntities>
<EntityCondition>
<TraveledDistanceCondition value="1.0"/>
</EntityCondition>
</ByEntityCondition>
</Condition>
<Condition name="StartTime" delay="0" conditionEdge="rising">
<ByValueCondition>
<SimulationTimeCondition value="0" rule="equalTo"/>
</ByValueCondition>
</Condition>
</ConditionGroup>
</StartTrigger>
<StopTrigger>
<ConditionGroup>
<Condition name="EndCondition" delay="0" conditionEdge="rising">
<ByEntityCondition>
<TriggeringEntities triggeringEntitiesRule="any">
<EntityRef entityRef="hero"/>
</TriggeringEntities>
<EntityCondition>
<TraveledDistanceCondition value="200.0"/>
</EntityCondition>
</ByEntityCondition>
</Condition>
</ConditionGroup>
</StopTrigger>
</Act>
</Story>
<StopTrigger>
<ConditionGroup>
<Condition name="criteria_RunningStopTest" delay="0" conditionEdge="rising">
<ByValueCondition>
<ParameterCondition parameterRef="" value="" rule="lessThan"/>
</ByValueCondition>
</Condition>
<Condition name="criteria_RunningRedLightTest" delay="0" conditionEdge="rising">
<ByValueCondition>
<ParameterCondition parameterRef="" value="" rule="lessThan"/>
</ByValueCondition>
</Condition>
<Condition name="criteria_WrongLaneTest" delay="0" conditionEdge="rising">
<ByValueCondition>
<ParameterCondition parameterRef="" value="" rule="lessThan"/>
</ByValueCondition>
</Condition>
<Condition name="criteria_OnSidewalkTest" delay="0" conditionEdge="rising">
<ByValueCondition>
<ParameterCondition parameterRef="" value="" rule="lessThan"/>
</ByValueCondition>
</Condition>
<Condition name="criteria_KeepLaneTest" delay="0" conditionEdge="rising">
<ByValueCondition>
<ParameterCondition parameterRef="" value="" rule="lessThan"/>
</ByValueCondition>
</Condition>
<Condition name="criteria_CollisionTest" delay="0" conditionEdge="rising">
<ByValueCondition>
<ParameterCondition parameterRef="" value="" rule="lessThan"/>
</ByValueCondition>
</Condition>
<Condition name="criteria_DrivenDistanceTest" delay="0" conditionEdge="rising">
<ByValueCondition>
<ParameterCondition parameterRef="distance_success" value="100" rule="lessThan"/>
</ByValueCondition>
</Condition>
</ConditionGroup>
</StopTrigger>
</Storyboard>
</OpenSCENARIO>
``` | Here is the result:
```
<?xml version="1.0" ?>
<OpenSCENARIO>
<FileHeader revMajor="1" revMinor="0" date="2020-03-24T12:00:00" description="CARLA:LaneChangeSimple" author=""/>
<ParameterDeclarations/>
<CatalogLocations/>
<RoadNetwork>
<LogicFile filepath="Town04"/>
<SceneGraphFile filepath=""/>
</RoadNetwork>
<Entities>
<ScenarioObject name="hero">
<Vehicle name="vehicle.tesla.model3" vehicleCategory="car">
<ParameterDeclarations/>
<Performance maxSpeed="69.444" maxAcceleration="200" maxDeceleration="10.0"/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2.1" length="4.5" height="1.8"/>
</BoundingBox>
<Axles>
<FrontAxle maxSteering="0.5" wheelDiameter="0.6" trackWidth="1.8" positionX="3.1" positionZ="0.3"/>
<RearAxle maxSteering="0.0" wheelDiameter="0.6" trackWidth="1.8" positionX="0.0" positionZ="0.3"/>
</Axles>
<Properties>
<Property name="type" value="ego_vehicle"/>
</Properties>
</Vehicle>
</ScenarioObject>
<ScenarioObject name="adversary">
<Vehicle name="vehicle.lincoln.mkz_2017" vehicleCategory="car">
<ParameterDeclarations/>
<Performance maxSpeed="69.444" maxAcceleration="200" maxDeceleration="10.0"/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2.1" length="4.5" height="1.8"/>
</BoundingBox>
<Axles>
<FrontAxle maxSteering="0.5" wheelDiameter="0.6" trackWidth="1.8" positionX="3.1" positionZ="0.3"/>
<RearAxle maxSteering="0.0" wheelDiameter="0.6" trackWidth="1.8" positionX="0.0" positionZ="0.3"/>
</Axles>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Vehicle>
</ScenarioObject>
<ScenarioObject name="standing">
<Vehicle name="vehicle.volkswagen.t2" vehicleCategory="car">
<ParameterDeclarations/>
<Performance maxSpeed="69.444" maxAcceleration="200" maxDeceleration="10.0"/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2.1" length="4.5" height="1.8"/>
</BoundingBox>
<Axles>
<FrontAxle maxSteering="0.5" wheelDiameter="0.6" trackWidth="1.8" positionX="3.1" positionZ="0.3"/>
<RearAxle maxSteering="0.0" wheelDiameter="0.6" 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_106">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_w_transform_107">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_close_to_adversary_108">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_w_transform_109">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_close_to_hero_110">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_close_to_adversary_111">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_w_transform_112">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_close_to_standing_113">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_w_transform_114">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_close_to_hero_115">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
</Entities>
<Storyboard>
<Init>
<Actions>
<GlobalAction>
<EnvironmentAction>
<Environment name="Environment1">
<TimeOfDay animation="false" dateTime="2019-06-25T12:00:00"/>
<Weather cloudState="free">
<Sun intensity="0.85" azimuth="0" elevation="1.31"/>
<Fog visualRange="100000.0"/>
<Precipitation precipitationType="dry" intensity="0.0"/>
</Weather>
<RoadCondition frictionScaleFactor="1.0"/>
</Environment>
</EnvironmentAction>
</GlobalAction>
<Private entityRef="hero">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-9.4" y="-152.8" z="0.5" h="1.57079632679"/>
</Position>
</TeleportAction>
</PrivateAction>
<PrivateAction>
<ControllerAction>
<AssignControllerAction>
<Controller name="HeroAgent">
<Properties>
<Property name="module" value="external_control"/>
</Properties>
</Controller>
</AssignControllerAction>
<OverrideControllerValueAction>
<Throttle value="0" active="false"/>
<Brake value="0" active="false"/>
<Clutch value="0" active="false"/>
<ParkingBrake value="0" active="false"/>
<SteeringWheel value="0" active="false"/>
<Gear number="0" active="false"/>
</OverrideControllerValueAction>
</ControllerAction>
</PrivateAction>
</Private>
<Private entityRef="adversary">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-9.4" y="-71.0" z="0.5" h="1.57079632679"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="standing">
<PrivateAction>
<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_106">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-6.646285057067871" y="9.379015922546387" z="0.003042678814381361"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_w_transform_107">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="64.82039642333984" y="33.29971694946289" z="0.5"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_close_to_adversary_108">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-12.38690185546875" y="-64.87604522705078" z="0.03377677872776985"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_w_transform_109">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="57.078365325927734" y="91.62743377685547" z="0.5"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_close_to_hero_110">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-15.611063003540039" y="-157.9495849609375" z="0.0014286803780123591"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_close_to_adversary_111">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-13.769364356994629" y="-73.40841674804688" z="0.03377998247742653"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_w_transform_112">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-38.17596435546875" y="91.01669311523438" z="0.5"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_close_to_standing_113">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-9.963790893554688" y="38.8635368347168" z="0.0030855941586196423"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_w_transform_114">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="10.821749687194824" y="-13.180792808532715" z="0.5"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_close_to_hero_115">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-3.6871490478515625" y="-159.64102172851562" 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 need you to remove pedestrian actor named pedestrian_close_to_standing_20420?
```
<?xml version="1.0" ?>
<OpenSCENARIO>
<FileHeader revMajor="1" revMinor="0" date="2020-03-24T12:00:00" description="CARLA:LaneChangeSimple" author=""/>
<ParameterDeclarations/>
<CatalogLocations/>
<RoadNetwork>
<LogicFile filepath="Town04"/>
<SceneGraphFile filepath=""/>
</RoadNetwork>
<Entities>
<ScenarioObject name="hero">
<Vehicle name="vehicle.tesla.model3" vehicleCategory="car">
<ParameterDeclarations/>
<Performance maxSpeed="69.444" maxAcceleration="200" maxDeceleration="10.0"/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2.1" length="4.5" height="1.8"/>
</BoundingBox>
<Axles>
<FrontAxle maxSteering="0.5" wheelDiameter="0.6" trackWidth="1.8" positionX="3.1" positionZ="0.3"/>
<RearAxle maxSteering="0.0" wheelDiameter="0.6" trackWidth="1.8" positionX="0.0" positionZ="0.3"/>
</Axles>
<Properties>
<Property name="type" value="ego_vehicle"/>
</Properties>
</Vehicle>
</ScenarioObject>
<ScenarioObject name="adversary">
<Vehicle name="vehicle.lincoln.mkz_2017" vehicleCategory="car">
<ParameterDeclarations/>
<Performance maxSpeed="69.444" maxAcceleration="200" maxDeceleration="10.0"/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2.1" length="4.5" height="1.8"/>
</BoundingBox>
<Axles>
<FrontAxle maxSteering="0.5" wheelDiameter="0.6" trackWidth="1.8" positionX="3.1" positionZ="0.3"/>
<RearAxle maxSteering="0.0" wheelDiameter="0.6" trackWidth="1.8" positionX="0.0" positionZ="0.3"/>
</Axles>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Vehicle>
</ScenarioObject>
<ScenarioObject name="standing">
<Vehicle name="vehicle.volkswagen.t2" vehicleCategory="car">
<ParameterDeclarations/>
<Performance maxSpeed="69.444" maxAcceleration="200" maxDeceleration="10.0"/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2.1" length="4.5" height="1.8"/>
</BoundingBox>
<Axles>
<FrontAxle maxSteering="0.5" wheelDiameter="0.6" trackWidth="1.8" positionX="3.1" positionZ="0.3"/>
<RearAxle maxSteering="0.0" wheelDiameter="0.6" 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_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_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_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_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>
<ScenarioObject name="pedestrian_w_transform_20439">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_close_to_hero_20440">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_close_to_hero_20441">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_w_transform_20442">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_close_to_adversary_20443">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_w_transform_20445">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_w_transform_20446">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_close_to_hero_20448">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_w_transform_20449">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
</Entities>
<Storyboard>
<Init>
<Actions>
<GlobalAction>
<EnvironmentAction>
<Environment name="Environment1">
<TimeOfDay animation="false" dateTime="2019-06-25T12:00:00"/>
<Weather cloudState="free">
<Sun intensity="0.85" azimuth="0" elevation="1.31"/>
<Fog visualRange="100000.0"/>
<Precipitation precipitationType="dry" intensity="0.0"/>
</Weather>
<RoadCondition frictionScaleFactor="1.0"/>
</Environment>
</EnvironmentAction>
</GlobalAction>
<Private entityRef="hero">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-9.4" y="-152.8" z="0.5" h="1.57079632679"/>
</Position>
</TeleportAction>
</PrivateAction>
<PrivateAction>
<ControllerAction>
<AssignControllerAction>
<Controller name="HeroAgent">
<Properties>
<Property name="module" value="external_control"/>
</Properties>
</Controller>
</AssignControllerAction>
<OverrideControllerValueAction>
<Throttle value="0" active="false"/>
<Brake value="0" active="false"/>
<Clutch value="0" active="false"/>
<ParkingBrake value="0" active="false"/>
<SteeringWheel value="0" active="false"/>
<Gear number="0" active="false"/>
</OverrideControllerValueAction>
</ControllerAction>
</PrivateAction>
</Private>
<Private entityRef="adversary">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-9.4" y="-71.0" z="0.5" h="1.57079632679"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="standing">
<PrivateAction>
<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_w_transform_20422">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="6.350664138793945" y="-35.33245086669922" 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_close_to_adversary_20433">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-5.023204326629639" y="-74.74597930908203" z="0.03383853659033775"/>
</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>
<Private entityRef="pedestrian_w_transform_20439">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="45.164878845214844" y="-54.57391357421875" z="0.5"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_close_to_hero_20440">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-15.714033126831055" y="-155.5825653076172" z="0.0014286803780123591"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_close_to_hero_20441">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-7.744499206542969" y="-149.03443908691406" z="0.0014286803780123591"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_w_transform_20442">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-35.373538970947266" y="76.55501556396484" z="0.5"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_close_to_adversary_20443">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="3.9724173545837402" y="-73.61853790283203" z="0.033799588680267334"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_w_transform_20445">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="52.494346618652344" y="-24.46671485900879" z="0.5"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_w_transform_20446">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-17.20089340209961" y="-24.067516326904297" z="0.5"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_close_to_hero_20448">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="3.2150156497955322" y="-151.6733856201172" z="0.0014286803780123591"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_w_transform_20449">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-38.667972564697266" y="-2.9131176471710205" z="0.5"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
</Actions>
</Init>
<Story name="MyStory">
<Act name="Behavior">
<ManeuverGroup maximumExecutionCount="1" name="ManeuverSequence">
<Actors selectTriggeringEntities="false">
<EntityRef entityRef="adversary"/>
</Actors>
<Maneuver name="LaneChangeSimpleManeuver">
<Event name="AdversaryAccelerates" priority="overwrite">
<Action name="AdversaryAccelerates">
<PrivateAction>
<LongitudinalAction>
<SpeedAction>
<SpeedActionDynamics dynamicsShape="step" value="50" dynamicsDimension="distance"/>
<SpeedActionTarget>
<AbsoluteTargetSpeed value="5.0"/>
</SpeedActionTarget>
</SpeedAction>
</LongitudinalAction>
</PrivateAction>
</Action>
<StartTrigger>
<ConditionGroup>
<Condition name="StartCondition" delay="0" conditionEdge="rising">
<ByEntityCondition>
<TriggeringEntities triggeringEntitiesRule="any">
<EntityRef entityRef="hero"/>
</TriggeringEntities>
<EntityCondition>
<RelativeDistanceCondition entityRef="adversary" relativeDistanceType="cartesianDistance" value="40.0" freespace="false" rule="lessThan"/>
</EntityCondition>
</ByEntityCondition>
</Condition>
</ConditionGroup>
</StartTrigger>
</Event>
<Event name="AdversaryChangesLane" priority="overwrite">
<Action name="AdversaryChangesLane">
<PrivateAction>
<LateralAction>
<LaneChangeAction>
<LaneChangeActionDynamics dynamicsShape="linear" value="25" dynamicsDimension="distance"/>
<LaneChangeTarget>
<RelativeTargetLane entityRef="adversary" value="-1"/>
</LaneChangeTarget>
</LaneChangeAction>
</LateralAction>
</PrivateAction>
</Action>
<StartTrigger>
<ConditionGroup>
<Condition name="AfterAdversaryAccelerates" delay="0" conditionEdge="rising">
<ByValueCondition>
<StoryboardElementStateCondition storyboardElementType="action" storyboardElementRef="AdversaryAccelerates" state="completeState"/>
</ByValueCondition>
</Condition>
</ConditionGroup>
</StartTrigger>
</Event>
</Maneuver>
</ManeuverGroup>
<StartTrigger>
<ConditionGroup>
<Condition name="OverallStartCondition" delay="0" conditionEdge="rising">
<ByEntityCondition>
<TriggeringEntities triggeringEntitiesRule="any">
<EntityRef entityRef="hero"/>
</TriggeringEntities>
<EntityCondition>
<TraveledDistanceCondition value="1.0"/>
</EntityCondition>
</ByEntityCondition>
</Condition>
<Condition name="StartTime" delay="0" conditionEdge="rising">
<ByValueCondition>
<SimulationTimeCondition value="0" rule="equalTo"/>
</ByValueCondition>
</Condition>
</ConditionGroup>
</StartTrigger>
<StopTrigger>
<ConditionGroup>
<Condition name="EndCondition" delay="0" conditionEdge="rising">
<ByEntityCondition>
<TriggeringEntities triggeringEntitiesRule="any">
<EntityRef entityRef="hero"/>
</TriggeringEntities>
<EntityCondition>
<TraveledDistanceCondition value="200.0"/>
</EntityCondition>
</ByEntityCondition>
</Condition>
</ConditionGroup>
</StopTrigger>
</Act>
</Story>
<StopTrigger>
<ConditionGroup>
<Condition name="criteria_RunningStopTest" delay="0" conditionEdge="rising">
<ByValueCondition>
<ParameterCondition parameterRef="" value="" rule="lessThan"/>
</ByValueCondition>
</Condition>
<Condition name="criteria_RunningRedLightTest" delay="0" conditionEdge="rising">
<ByValueCondition>
<ParameterCondition parameterRef="" value="" rule="lessThan"/>
</ByValueCondition>
</Condition>
<Condition name="criteria_WrongLaneTest" delay="0" conditionEdge="rising">
<ByValueCondition>
<ParameterCondition parameterRef="" value="" rule="lessThan"/>
</ByValueCondition>
</Condition>
<Condition name="criteria_OnSidewalkTest" delay="0" conditionEdge="rising">
<ByValueCondition>
<ParameterCondition parameterRef="" value="" rule="lessThan"/>
</ByValueCondition>
</Condition>
<Condition name="criteria_KeepLaneTest" delay="0" conditionEdge="rising">
<ByValueCondition>
<ParameterCondition parameterRef="" value="" rule="lessThan"/>
</ByValueCondition>
</Condition>
<Condition name="criteria_CollisionTest" delay="0" conditionEdge="rising">
<ByValueCondition>
<ParameterCondition parameterRef="" value="" rule="lessThan"/>
</ByValueCondition>
</Condition>
<Condition name="criteria_DrivenDistanceTest" delay="0" conditionEdge="rising">
<ByValueCondition>
<ParameterCondition parameterRef="distance_success" value="100" rule="lessThan"/>
</ByValueCondition>
</Condition>
</ConditionGroup>
</StopTrigger>
</Storyboard>
</OpenSCENARIO>
``` | Here is the result:
```
<?xml version="1.0" ?>
<OpenSCENARIO>
<FileHeader revMajor="1" revMinor="0" date="2020-03-24T12:00:00" description="CARLA:LaneChangeSimple" author=""/>
<ParameterDeclarations/>
<CatalogLocations/>
<RoadNetwork>
<LogicFile filepath="Town04"/>
<SceneGraphFile filepath=""/>
</RoadNetwork>
<Entities>
<ScenarioObject name="hero">
<Vehicle name="vehicle.tesla.model3" vehicleCategory="car">
<ParameterDeclarations/>
<Performance maxSpeed="69.444" maxAcceleration="200" maxDeceleration="10.0"/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2.1" length="4.5" height="1.8"/>
</BoundingBox>
<Axles>
<FrontAxle maxSteering="0.5" wheelDiameter="0.6" trackWidth="1.8" positionX="3.1" positionZ="0.3"/>
<RearAxle maxSteering="0.0" wheelDiameter="0.6" trackWidth="1.8" positionX="0.0" positionZ="0.3"/>
</Axles>
<Properties>
<Property name="type" value="ego_vehicle"/>
</Properties>
</Vehicle>
</ScenarioObject>
<ScenarioObject name="adversary">
<Vehicle name="vehicle.lincoln.mkz_2017" vehicleCategory="car">
<ParameterDeclarations/>
<Performance maxSpeed="69.444" maxAcceleration="200" maxDeceleration="10.0"/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2.1" length="4.5" height="1.8"/>
</BoundingBox>
<Axles>
<FrontAxle maxSteering="0.5" wheelDiameter="0.6" trackWidth="1.8" positionX="3.1" positionZ="0.3"/>
<RearAxle maxSteering="0.0" wheelDiameter="0.6" trackWidth="1.8" positionX="0.0" positionZ="0.3"/>
</Axles>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Vehicle>
</ScenarioObject>
<ScenarioObject name="standing">
<Vehicle name="vehicle.volkswagen.t2" vehicleCategory="car">
<ParameterDeclarations/>
<Performance maxSpeed="69.444" maxAcceleration="200" maxDeceleration="10.0"/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2.1" length="4.5" height="1.8"/>
</BoundingBox>
<Axles>
<FrontAxle maxSteering="0.5" wheelDiameter="0.6" trackWidth="1.8" positionX="3.1" positionZ="0.3"/>
<RearAxle maxSteering="0.0" wheelDiameter="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_20422">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_close_to_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_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_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>
<ScenarioObject name="pedestrian_w_transform_20439">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_close_to_hero_20440">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_close_to_hero_20441">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_w_transform_20442">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_close_to_adversary_20443">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_w_transform_20445">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_w_transform_20446">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_close_to_hero_20448">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_w_transform_20449">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
</Entities>
<Storyboard>
<Init>
<Actions>
<GlobalAction>
<EnvironmentAction>
<Environment name="Environment1">
<TimeOfDay animation="false" dateTime="2019-06-25T12:00:00"/>
<Weather cloudState="free">
<Sun intensity="0.85" azimuth="0" elevation="1.31"/>
<Fog visualRange="100000.0"/>
<Precipitation precipitationType="dry" intensity="0.0"/>
</Weather>
<RoadCondition frictionScaleFactor="1.0"/>
</Environment>
</EnvironmentAction>
</GlobalAction>
<Private entityRef="hero">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-9.4" y="-152.8" z="0.5" h="1.57079632679"/>
</Position>
</TeleportAction>
</PrivateAction>
<PrivateAction>
<ControllerAction>
<AssignControllerAction>
<Controller name="HeroAgent">
<Properties>
<Property name="module" value="external_control"/>
</Properties>
</Controller>
</AssignControllerAction>
<OverrideControllerValueAction>
<Throttle value="0" active="false"/>
<Brake value="0" active="false"/>
<Clutch value="0" active="false"/>
<ParkingBrake value="0" active="false"/>
<SteeringWheel value="0" active="false"/>
<Gear number="0" active="false"/>
</OverrideControllerValueAction>
</ControllerAction>
</PrivateAction>
</Private>
<Private entityRef="adversary">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-9.4" y="-71.0" z="0.5" h="1.57079632679"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="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_20422">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="6.350664138793945" y="-35.33245086669922" 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_close_to_adversary_20433">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-5.023204326629639" y="-74.74597930908203" z="0.03383853659033775"/>
</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>
<Private entityRef="pedestrian_w_transform_20439">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="45.164878845214844" y="-54.57391357421875" z="0.5"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_close_to_hero_20440">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-15.714033126831055" y="-155.5825653076172" z="0.0014286803780123591"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_close_to_hero_20441">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-7.744499206542969" y="-149.03443908691406" z="0.0014286803780123591"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_w_transform_20442">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-35.373538970947266" y="76.55501556396484" z="0.5"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_close_to_adversary_20443">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="3.9724173545837402" y="-73.61853790283203" z="0.033799588680267334"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_w_transform_20445">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="52.494346618652344" y="-24.46671485900879" z="0.5"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_w_transform_20446">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-17.20089340209961" y="-24.067516326904297" z="0.5"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_close_to_hero_20448">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="3.2150156497955322" y="-151.6733856201172" z="0.0014286803780123591"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_w_transform_20449">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-38.667972564697266" y="-2.9131176471710205" z="0.5"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
</Actions>
</Init>
<Story name="MyStory">
<Act name="Behavior">
<ManeuverGroup maximumExecutionCount="1" name="ManeuverSequence">
<Actors selectTriggeringEntities="false">
<EntityRef entityRef="adversary"/>
</Actors>
<Maneuver name="LaneChangeSimpleManeuver">
<Event name="AdversaryAccelerates" priority="overwrite">
<Action name="AdversaryAccelerates">
<PrivateAction>
<LongitudinalAction>
<SpeedAction>
<SpeedActionDynamics dynamicsShape="step" value="50" dynamicsDimension="distance"/>
<SpeedActionTarget>
<AbsoluteTargetSpeed value="5.0"/>
</SpeedActionTarget>
</SpeedAction>
</LongitudinalAction>
</PrivateAction>
</Action>
<StartTrigger>
<ConditionGroup>
<Condition name="StartCondition" delay="0" conditionEdge="rising">
<ByEntityCondition>
<TriggeringEntities triggeringEntitiesRule="any">
<EntityRef entityRef="hero"/>
</TriggeringEntities>
<EntityCondition>
<RelativeDistanceCondition entityRef="adversary" relativeDistanceType="cartesianDistance" value="40.0" freespace="false" rule="lessThan"/>
</EntityCondition>
</ByEntityCondition>
</Condition>
</ConditionGroup>
</StartTrigger>
</Event>
<Event name="AdversaryChangesLane" priority="overwrite">
<Action name="AdversaryChangesLane">
<PrivateAction>
<LateralAction>
<LaneChangeAction>
<LaneChangeActionDynamics dynamicsShape="linear" value="25" dynamicsDimension="distance"/>
<LaneChangeTarget>
<RelativeTargetLane entityRef="adversary" value="-1"/>
</LaneChangeTarget>
</LaneChangeAction>
</LateralAction>
</PrivateAction>
</Action>
<StartTrigger>
<ConditionGroup>
<Condition name="AfterAdversaryAccelerates" delay="0" conditionEdge="rising">
<ByValueCondition>
<StoryboardElementStateCondition storyboardElementType="action" storyboardElementRef="AdversaryAccelerates" state="completeState"/>
</ByValueCondition>
</Condition>
</ConditionGroup>
</StartTrigger>
</Event>
</Maneuver>
</ManeuverGroup>
<StartTrigger>
<ConditionGroup>
<Condition name="OverallStartCondition" delay="0" conditionEdge="rising">
<ByEntityCondition>
<TriggeringEntities triggeringEntitiesRule="any">
<EntityRef entityRef="hero"/>
</TriggeringEntities>
<EntityCondition>
<TraveledDistanceCondition value="1.0"/>
</EntityCondition>
</ByEntityCondition>
</Condition>
<Condition name="StartTime" delay="0" conditionEdge="rising">
<ByValueCondition>
<SimulationTimeCondition value="0" rule="equalTo"/>
</ByValueCondition>
</Condition>
</ConditionGroup>
</StartTrigger>
<StopTrigger>
<ConditionGroup>
<Condition name="EndCondition" delay="0" conditionEdge="rising">
<ByEntityCondition>
<TriggeringEntities triggeringEntitiesRule="any">
<EntityRef entityRef="hero"/>
</TriggeringEntities>
<EntityCondition>
<TraveledDistanceCondition value="200.0"/>
</EntityCondition>
</ByEntityCondition>
</Condition>
</ConditionGroup>
</StopTrigger>
</Act>
</Story>
<StopTrigger>
<ConditionGroup>
<Condition name="criteria_RunningStopTest" delay="0" conditionEdge="rising">
<ByValueCondition>
<ParameterCondition parameterRef="" value="" rule="lessThan"/>
</ByValueCondition>
</Condition>
<Condition name="criteria_RunningRedLightTest" delay="0" conditionEdge="rising">
<ByValueCondition>
<ParameterCondition parameterRef="" value="" rule="lessThan"/>
</ByValueCondition>
</Condition>
<Condition name="criteria_WrongLaneTest" delay="0" conditionEdge="rising">
<ByValueCondition>
<ParameterCondition parameterRef="" value="" rule="lessThan"/>
</ByValueCondition>
</Condition>
<Condition name="criteria_OnSidewalkTest" delay="0" conditionEdge="rising">
<ByValueCondition>
<ParameterCondition parameterRef="" value="" rule="lessThan"/>
</ByValueCondition>
</Condition>
<Condition name="criteria_KeepLaneTest" delay="0" conditionEdge="rising">
<ByValueCondition>
<ParameterCondition parameterRef="" value="" rule="lessThan"/>
</ByValueCondition>
</Condition>
<Condition name="criteria_CollisionTest" delay="0" conditionEdge="rising">
<ByValueCondition>
<ParameterCondition parameterRef="" value="" rule="lessThan"/>
</ByValueCondition>
</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 (91.55, -31.24, 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_9675">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
</Entities>
<Storyboard>
<Init>
<Actions>
<GlobalAction>
<EnvironmentAction>
<Environment name="Environment1">
<TimeOfDay animation="false" dateTime="2019-06-25T12:00:00"/>
<Weather cloudState="free">
<Sun intensity="0.85" azimuth="0" elevation="1.31"/>
<Fog visualRange="100000.0"/>
<Precipitation precipitationType="dry" intensity="0.0"/>
</Weather>
<RoadCondition frictionScaleFactor="1.0"/>
</Environment>
</EnvironmentAction>
</GlobalAction>
<Private entityRef="hero">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-9.4" y="-152.8" z="0.5" h="1.57079632679"/>
</Position>
</TeleportAction>
</PrivateAction>
<PrivateAction>
<ControllerAction>
<AssignControllerAction>
<Controller name="HeroAgent">
<Properties>
<Property name="module" value="external_control"/>
</Properties>
</Controller>
</AssignControllerAction>
<OverrideControllerValueAction>
<Throttle value="0" active="false"/>
<Brake value="0" active="false"/>
<Clutch value="0" active="false"/>
<ParkingBrake value="0" active="false"/>
<SteeringWheel value="0" active="false"/>
<Gear number="0" active="false"/>
</OverrideControllerValueAction>
</ControllerAction>
</PrivateAction>
</Private>
<Private entityRef="adversary">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-9.4" y="-71.0" z="0.5" h="1.57079632679"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="standing">
<PrivateAction>
<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_9675">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="1.798126220703125" y="29.46626853942871" z="0.003057022113353014"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
</Actions>
</Init>
<Story name="MyStory">
<Act name="Behavior">
<ManeuverGroup maximumExecutionCount="1" name="ManeuverSequence">
<Actors selectTriggeringEntities="false">
<EntityRef entityRef="adversary"/>
</Actors>
<Maneuver name="LaneChangeSimpleManeuver">
<Event name="AdversaryAccelerates" priority="overwrite">
<Action name="AdversaryAccelerates">
<PrivateAction>
<LongitudinalAction>
<SpeedAction>
<SpeedActionDynamics dynamicsShape="step" value="50" dynamicsDimension="distance"/>
<SpeedActionTarget>
<AbsoluteTargetSpeed value="5.0"/>
</SpeedActionTarget>
</SpeedAction>
</LongitudinalAction>
</PrivateAction>
</Action>
<StartTrigger>
<ConditionGroup>
<Condition name="StartCondition" delay="0" conditionEdge="rising">
<ByEntityCondition>
<TriggeringEntities triggeringEntitiesRule="any">
<EntityRef entityRef="hero"/>
</TriggeringEntities>
<EntityCondition>
<RelativeDistanceCondition entityRef="adversary" relativeDistanceType="cartesianDistance" value="40.0" freespace="false" rule="lessThan"/>
</EntityCondition>
</ByEntityCondition>
</Condition>
</ConditionGroup>
</StartTrigger>
</Event>
<Event name="AdversaryChangesLane" priority="overwrite">
<Action name="AdversaryChangesLane">
<PrivateAction>
<LateralAction>
<LaneChangeAction>
<LaneChangeActionDynamics dynamicsShape="linear" value="25" dynamicsDimension="distance"/>
<LaneChangeTarget>
<RelativeTargetLane entityRef="adversary" value="-1"/>
</LaneChangeTarget>
</LaneChangeAction>
</LateralAction>
</PrivateAction>
</Action>
<StartTrigger>
<ConditionGroup>
<Condition name="AfterAdversaryAccelerates" delay="0" conditionEdge="rising">
<ByValueCondition>
<StoryboardElementStateCondition storyboardElementType="action" storyboardElementRef="AdversaryAccelerates" state="completeState"/>
</ByValueCondition>
</Condition>
</ConditionGroup>
</StartTrigger>
</Event>
</Maneuver>
</ManeuverGroup>
<StartTrigger>
<ConditionGroup>
<Condition name="OverallStartCondition" delay="0" conditionEdge="rising">
<ByEntityCondition>
<TriggeringEntities triggeringEntitiesRule="any">
<EntityRef entityRef="hero"/>
</TriggeringEntities>
<EntityCondition>
<TraveledDistanceCondition value="1.0"/>
</EntityCondition>
</ByEntityCondition>
</Condition>
<Condition name="StartTime" delay="0" conditionEdge="rising">
<ByValueCondition>
<SimulationTimeCondition value="0" rule="equalTo"/>
</ByValueCondition>
</Condition>
</ConditionGroup>
</StartTrigger>
<StopTrigger>
<ConditionGroup>
<Condition name="EndCondition" delay="0" conditionEdge="rising">
<ByEntityCondition>
<TriggeringEntities triggeringEntitiesRule="any">
<EntityRef entityRef="hero"/>
</TriggeringEntities>
<EntityCondition>
<TraveledDistanceCondition value="200.0"/>
</EntityCondition>
</ByEntityCondition>
</Condition>
</ConditionGroup>
</StopTrigger>
</Act>
</Story>
<StopTrigger>
<ConditionGroup>
<Condition name="criteria_RunningStopTest" delay="0" conditionEdge="rising">
<ByValueCondition>
<ParameterCondition parameterRef="" value="" rule="lessThan"/>
</ByValueCondition>
</Condition>
<Condition name="criteria_RunningRedLightTest" delay="0" conditionEdge="rising">
<ByValueCondition>
<ParameterCondition parameterRef="" value="" rule="lessThan"/>
</ByValueCondition>
</Condition>
<Condition name="criteria_WrongLaneTest" delay="0" conditionEdge="rising">
<ByValueCondition>
<ParameterCondition parameterRef="" value="" rule="lessThan"/>
</ByValueCondition>
</Condition>
<Condition name="criteria_OnSidewalkTest" delay="0" conditionEdge="rising">
<ByValueCondition>
<ParameterCondition parameterRef="" value="" rule="lessThan"/>
</ByValueCondition>
</Condition>
<Condition name="criteria_KeepLaneTest" delay="0" conditionEdge="rising">
<ByValueCondition>
<ParameterCondition parameterRef="" value="" rule="lessThan"/>
</ByValueCondition>
</Condition>
<Condition name="criteria_CollisionTest" delay="0" conditionEdge="rising">
<ByValueCondition>
<ParameterCondition parameterRef="" value="" rule="lessThan"/>
</ByValueCondition>
</Condition>
<Condition name="criteria_DrivenDistanceTest" delay="0" conditionEdge="rising">
<ByValueCondition>
<ParameterCondition parameterRef="distance_success" value="100" rule="lessThan"/>
</ByValueCondition>
</Condition>
</ConditionGroup>
</StopTrigger>
</Storyboard>
</OpenSCENARIO>
``` | Here is the result:
```
<?xml version="1.0" ?>
<OpenSCENARIO>
<FileHeader revMajor="1" revMinor="0" date="2020-03-24T12:00:00" description="CARLA:LaneChangeSimple" author=""/>
<ParameterDeclarations/>
<CatalogLocations/>
<RoadNetwork>
<LogicFile filepath="Town04"/>
<SceneGraphFile filepath=""/>
</RoadNetwork>
<Entities>
<ScenarioObject name="hero">
<Vehicle name="vehicle.tesla.model3" vehicleCategory="car">
<ParameterDeclarations/>
<Performance maxSpeed="69.444" maxAcceleration="200" maxDeceleration="10.0"/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2.1" length="4.5" height="1.8"/>
</BoundingBox>
<Axles>
<FrontAxle maxSteering="0.5" wheelDiameter="0.6" trackWidth="1.8" positionX="3.1" positionZ="0.3"/>
<RearAxle maxSteering="0.0" wheelDiameter="0.6" trackWidth="1.8" positionX="0.0" positionZ="0.3"/>
</Axles>
<Properties>
<Property name="type" value="ego_vehicle"/>
</Properties>
</Vehicle>
</ScenarioObject>
<ScenarioObject name="adversary">
<Vehicle name="vehicle.lincoln.mkz_2017" vehicleCategory="car">
<ParameterDeclarations/>
<Performance maxSpeed="69.444" maxAcceleration="200" maxDeceleration="10.0"/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2.1" length="4.5" height="1.8"/>
</BoundingBox>
<Axles>
<FrontAxle maxSteering="0.5" wheelDiameter="0.6" trackWidth="1.8" positionX="3.1" positionZ="0.3"/>
<RearAxle maxSteering="0.0" wheelDiameter="0.6" trackWidth="1.8" positionX="0.0" positionZ="0.3"/>
</Axles>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Vehicle>
</ScenarioObject>
<ScenarioObject name="standing">
<Vehicle name="vehicle.volkswagen.t2" vehicleCategory="car">
<ParameterDeclarations/>
<Performance maxSpeed="69.444" maxAcceleration="200" maxDeceleration="10.0"/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2.1" length="4.5" height="1.8"/>
</BoundingBox>
<Axles>
<FrontAxle maxSteering="0.5" wheelDiameter="0.6" trackWidth="1.8" positionX="3.1" positionZ="0.3"/>
<RearAxle maxSteering="0.0" wheelDiameter="0.6" 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_9675">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_w_transform_9676">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
</Entities>
<Storyboard>
<Init>
<Actions>
<GlobalAction>
<EnvironmentAction>
<Environment name="Environment1">
<TimeOfDay animation="false" dateTime="2019-06-25T12:00:00"/>
<Weather cloudState="free">
<Sun intensity="0.85" azimuth="0" elevation="1.31"/>
<Fog visualRange="100000.0"/>
<Precipitation precipitationType="dry" intensity="0.0"/>
</Weather>
<RoadCondition frictionScaleFactor="1.0"/>
</Environment>
</EnvironmentAction>
</GlobalAction>
<Private entityRef="hero">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-9.4" y="-152.8" z="0.5" h="1.57079632679"/>
</Position>
</TeleportAction>
</PrivateAction>
<PrivateAction>
<ControllerAction>
<AssignControllerAction>
<Controller name="HeroAgent">
<Properties>
<Property name="module" value="external_control"/>
</Properties>
</Controller>
</AssignControllerAction>
<OverrideControllerValueAction>
<Throttle value="0" active="false"/>
<Brake value="0" active="false"/>
<Clutch value="0" active="false"/>
<ParkingBrake value="0" active="false"/>
<SteeringWheel value="0" active="false"/>
<Gear number="0" active="false"/>
</OverrideControllerValueAction>
</ControllerAction>
</PrivateAction>
</Private>
<Private entityRef="adversary">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-9.4" y="-71.0" z="0.5" h="1.57079632679"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="standing">
<PrivateAction>
<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_9675">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="1.798126220703125" y="29.46626853942871" z="0.003057022113353014"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_w_transform_9676">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="91.5453109741211" y="-31.244661331176758" z="0.5"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
</Actions>
</Init>
<Story name="MyStory">
<Act name="Behavior">
<ManeuverGroup maximumExecutionCount="1" name="ManeuverSequence">
<Actors selectTriggeringEntities="false">
<EntityRef entityRef="adversary"/>
</Actors>
<Maneuver name="LaneChangeSimpleManeuver">
<Event name="AdversaryAccelerates" priority="overwrite">
<Action name="AdversaryAccelerates">
<PrivateAction>
<LongitudinalAction>
<SpeedAction>
<SpeedActionDynamics dynamicsShape="step" value="50" dynamicsDimension="distance"/>
<SpeedActionTarget>
<AbsoluteTargetSpeed value="5.0"/>
</SpeedActionTarget>
</SpeedAction>
</LongitudinalAction>
</PrivateAction>
</Action>
<StartTrigger>
<ConditionGroup>
<Condition name="StartCondition" delay="0" conditionEdge="rising">
<ByEntityCondition>
<TriggeringEntities triggeringEntitiesRule="any">
<EntityRef entityRef="hero"/>
</TriggeringEntities>
<EntityCondition>
<RelativeDistanceCondition entityRef="adversary" relativeDistanceType="cartesianDistance" value="40.0" freespace="false" rule="lessThan"/>
</EntityCondition>
</ByEntityCondition>
</Condition>
</ConditionGroup>
</StartTrigger>
</Event>
<Event name="AdversaryChangesLane" priority="overwrite">
<Action name="AdversaryChangesLane">
<PrivateAction>
<LateralAction>
<LaneChangeAction>
<LaneChangeActionDynamics dynamicsShape="linear" value="25" dynamicsDimension="distance"/>
<LaneChangeTarget>
<RelativeTargetLane entityRef="adversary" value="-1"/>
</LaneChangeTarget>
</LaneChangeAction>
</LateralAction>
</PrivateAction>
</Action>
<StartTrigger>
<ConditionGroup>
<Condition name="AfterAdversaryAccelerates" delay="0" conditionEdge="rising">
<ByValueCondition>
<StoryboardElementStateCondition storyboardElementType="action" storyboardElementRef="AdversaryAccelerates" state="completeState"/>
</ByValueCondition>
</Condition>
</ConditionGroup>
</StartTrigger>
</Event>
</Maneuver>
</ManeuverGroup>
<StartTrigger>
<ConditionGroup>
<Condition name="OverallStartCondition" delay="0" conditionEdge="rising">
<ByEntityCondition>
<TriggeringEntities triggeringEntitiesRule="any">
<EntityRef entityRef="hero"/>
</TriggeringEntities>
<EntityCondition>
<TraveledDistanceCondition value="1.0"/>
</EntityCondition>
</ByEntityCondition>
</Condition>
<Condition name="StartTime" delay="0" conditionEdge="rising">
<ByValueCondition>
<SimulationTimeCondition value="0" rule="equalTo"/>
</ByValueCondition>
</Condition>
</ConditionGroup>
</StartTrigger>
<StopTrigger>
<ConditionGroup>
<Condition name="EndCondition" delay="0" conditionEdge="rising">
<ByEntityCondition>
<TriggeringEntities triggeringEntitiesRule="any">
<EntityRef entityRef="hero"/>
</TriggeringEntities>
<EntityCondition>
<TraveledDistanceCondition value="200.0"/>
</EntityCondition>
</ByEntityCondition>
</Condition>
</ConditionGroup>
</StopTrigger>
</Act>
</Story>
<StopTrigger>
<ConditionGroup>
<Condition name="criteria_RunningStopTest" delay="0" conditionEdge="rising">
<ByValueCondition>
<ParameterCondition parameterRef="" value="" rule="lessThan"/>
</ByValueCondition>
</Condition>
<Condition name="criteria_RunningRedLightTest" delay="0" conditionEdge="rising">
<ByValueCondition>
<ParameterCondition parameterRef="" value="" rule="lessThan"/>
</ByValueCondition>
</Condition>
<Condition name="criteria_WrongLaneTest" delay="0" conditionEdge="rising">
<ByValueCondition>
<ParameterCondition parameterRef="" value="" rule="lessThan"/>
</ByValueCondition>
</Condition>
<Condition name="criteria_OnSidewalkTest" delay="0" conditionEdge="rising">
<ByValueCondition>
<ParameterCondition parameterRef="" value="" rule="lessThan"/>
</ByValueCondition>
</Condition>
<Condition name="criteria_KeepLaneTest" delay="0" conditionEdge="rising">
<ByValueCondition>
<ParameterCondition parameterRef="" value="" rule="lessThan"/>
</ByValueCondition>
</Condition>
<Condition name="criteria_CollisionTest" delay="0" conditionEdge="rising">
<ByValueCondition>
<ParameterCondition parameterRef="" value="" rule="lessThan"/>
</ByValueCondition>
</Condition>
<Condition name="criteria_DrivenDistanceTest" delay="0" conditionEdge="rising">
<ByValueCondition>
<ParameterCondition parameterRef="distance_success" value="100" rule="lessThan"/>
</ByValueCondition>
</Condition>
</ConditionGroup>
</StopTrigger>
</Storyboard>
</OpenSCENARIO>
``` |
i would like you to demonstrate add pedestrian close to hero?
```
<?xml version="1.0" ?>
<OpenSCENARIO>
<FileHeader revMajor="1" revMinor="0" date="2020-03-24T12:00:00" description="CARLA:LaneChangeSimple" author=""/>
<ParameterDeclarations/>
<CatalogLocations/>
<RoadNetwork>
<LogicFile filepath="Town04"/>
<SceneGraphFile filepath=""/>
</RoadNetwork>
<Entities>
<ScenarioObject name="hero">
<Vehicle name="vehicle.tesla.model3" vehicleCategory="car">
<ParameterDeclarations/>
<Performance maxSpeed="69.444" maxAcceleration="200" maxDeceleration="10.0"/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2.1" length="4.5" height="1.8"/>
</BoundingBox>
<Axles>
<FrontAxle maxSteering="0.5" wheelDiameter="0.6" trackWidth="1.8" positionX="3.1" positionZ="0.3"/>
<RearAxle maxSteering="0.0" wheelDiameter="0.6" trackWidth="1.8" positionX="0.0" positionZ="0.3"/>
</Axles>
<Properties>
<Property name="type" value="ego_vehicle"/>
</Properties>
</Vehicle>
</ScenarioObject>
<ScenarioObject name="adversary">
<Vehicle name="vehicle.lincoln.mkz_2017" vehicleCategory="car">
<ParameterDeclarations/>
<Performance maxSpeed="69.444" maxAcceleration="200" maxDeceleration="10.0"/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2.1" length="4.5" height="1.8"/>
</BoundingBox>
<Axles>
<FrontAxle maxSteering="0.5" wheelDiameter="0.6" trackWidth="1.8" positionX="3.1" positionZ="0.3"/>
<RearAxle maxSteering="0.0" wheelDiameter="0.6" trackWidth="1.8" positionX="0.0" positionZ="0.3"/>
</Axles>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Vehicle>
</ScenarioObject>
<ScenarioObject name="standing">
<Vehicle name="vehicle.volkswagen.t2" vehicleCategory="car">
<ParameterDeclarations/>
<Performance maxSpeed="69.444" maxAcceleration="200" maxDeceleration="10.0"/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2.1" length="4.5" height="1.8"/>
</BoundingBox>
<Axles>
<FrontAxle maxSteering="0.5" wheelDiameter="0.6" trackWidth="1.8" positionX="3.1" positionZ="0.3"/>
<RearAxle maxSteering="0.0" wheelDiameter="0.6" trackWidth="1.8" positionX="0.0" positionZ="0.3"/>
</Axles>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Vehicle>
</ScenarioObject>
</Entities>
<Storyboard>
<Init>
<Actions>
<GlobalAction>
<EnvironmentAction>
<Environment name="Environment1">
<TimeOfDay animation="false" dateTime="2019-06-25T12:00:00"/>
<Weather cloudState="free">
<Sun intensity="0.85" azimuth="0" elevation="1.31"/>
<Fog visualRange="100000.0"/>
<Precipitation precipitationType="dry" intensity="0.0"/>
</Weather>
<RoadCondition frictionScaleFactor="1.0"/>
</Environment>
</EnvironmentAction>
</GlobalAction>
<Private entityRef="hero">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-9.4" y="-152.8" z="0.5" h="1.57079632679"/>
</Position>
</TeleportAction>
</PrivateAction>
<PrivateAction>
<ControllerAction>
<AssignControllerAction>
<Controller name="HeroAgent">
<Properties>
<Property name="module" value="external_control"/>
</Properties>
</Controller>
</AssignControllerAction>
<OverrideControllerValueAction>
<Throttle value="0" active="false"/>
<Brake value="0" active="false"/>
<Clutch value="0" active="false"/>
<ParkingBrake value="0" active="false"/>
<SteeringWheel value="0" active="false"/>
<Gear number="0" active="false"/>
</OverrideControllerValueAction>
</ControllerAction>
</PrivateAction>
</Private>
<Private entityRef="adversary">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-9.4" y="-71.0" z="0.5" h="1.57079632679"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="standing">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-8.2" y="29.2" z="0.5" h="1.57079632679"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
</Actions>
</Init>
<Story name="MyStory">
<Act name="Behavior">
<ManeuverGroup maximumExecutionCount="1" name="ManeuverSequence">
<Actors selectTriggeringEntities="false">
<EntityRef entityRef="adversary"/>
</Actors>
<Maneuver name="LaneChangeSimpleManeuver">
<Event name="AdversaryAccelerates" priority="overwrite">
<Action name="AdversaryAccelerates">
<PrivateAction>
<LongitudinalAction>
<SpeedAction>
<SpeedActionDynamics dynamicsShape="step" value="50" dynamicsDimension="distance"/>
<SpeedActionTarget>
<AbsoluteTargetSpeed value="5.0"/>
</SpeedActionTarget>
</SpeedAction>
</LongitudinalAction>
</PrivateAction>
</Action>
<StartTrigger>
<ConditionGroup>
<Condition name="StartCondition" delay="0" conditionEdge="rising">
<ByEntityCondition>
<TriggeringEntities triggeringEntitiesRule="any">
<EntityRef entityRef="hero"/>
</TriggeringEntities>
<EntityCondition>
<RelativeDistanceCondition entityRef="adversary" relativeDistanceType="cartesianDistance" value="40.0" freespace="false" rule="lessThan"/>
</EntityCondition>
</ByEntityCondition>
</Condition>
</ConditionGroup>
</StartTrigger>
</Event>
<Event name="AdversaryChangesLane" priority="overwrite">
<Action name="AdversaryChangesLane">
<PrivateAction>
<LateralAction>
<LaneChangeAction>
<LaneChangeActionDynamics dynamicsShape="linear" value="25" dynamicsDimension="distance"/>
<LaneChangeTarget>
<RelativeTargetLane entityRef="adversary" value="-1"/>
</LaneChangeTarget>
</LaneChangeAction>
</LateralAction>
</PrivateAction>
</Action>
<StartTrigger>
<ConditionGroup>
<Condition name="AfterAdversaryAccelerates" delay="0" conditionEdge="rising">
<ByValueCondition>
<StoryboardElementStateCondition storyboardElementType="action" storyboardElementRef="AdversaryAccelerates" state="completeState"/>
</ByValueCondition>
</Condition>
</ConditionGroup>
</StartTrigger>
</Event>
</Maneuver>
</ManeuverGroup>
<StartTrigger>
<ConditionGroup>
<Condition name="OverallStartCondition" delay="0" conditionEdge="rising">
<ByEntityCondition>
<TriggeringEntities triggeringEntitiesRule="any">
<EntityRef entityRef="hero"/>
</TriggeringEntities>
<EntityCondition>
<TraveledDistanceCondition value="1.0"/>
</EntityCondition>
</ByEntityCondition>
</Condition>
<Condition name="StartTime" delay="0" conditionEdge="rising">
<ByValueCondition>
<SimulationTimeCondition value="0" rule="equalTo"/>
</ByValueCondition>
</Condition>
</ConditionGroup>
</StartTrigger>
<StopTrigger>
<ConditionGroup>
<Condition name="EndCondition" delay="0" conditionEdge="rising">
<ByEntityCondition>
<TriggeringEntities triggeringEntitiesRule="any">
<EntityRef entityRef="hero"/>
</TriggeringEntities>
<EntityCondition>
<TraveledDistanceCondition value="200.0"/>
</EntityCondition>
</ByEntityCondition>
</Condition>
</ConditionGroup>
</StopTrigger>
</Act>
</Story>
<StopTrigger>
<ConditionGroup>
<Condition name="criteria_RunningStopTest" delay="0" conditionEdge="rising">
<ByValueCondition>
<ParameterCondition parameterRef="" value="" rule="lessThan"/>
</ByValueCondition>
</Condition>
<Condition name="criteria_RunningRedLightTest" delay="0" conditionEdge="rising">
<ByValueCondition>
<ParameterCondition parameterRef="" value="" rule="lessThan"/>
</ByValueCondition>
</Condition>
<Condition name="criteria_WrongLaneTest" delay="0" conditionEdge="rising">
<ByValueCondition>
<ParameterCondition parameterRef="" value="" rule="lessThan"/>
</ByValueCondition>
</Condition>
<Condition name="criteria_OnSidewalkTest" delay="0" conditionEdge="rising">
<ByValueCondition>
<ParameterCondition parameterRef="" value="" rule="lessThan"/>
</ByValueCondition>
</Condition>
<Condition name="criteria_KeepLaneTest" delay="0" conditionEdge="rising">
<ByValueCondition>
<ParameterCondition parameterRef="" value="" rule="lessThan"/>
</ByValueCondition>
</Condition>
<Condition name="criteria_CollisionTest" delay="0" conditionEdge="rising">
<ByValueCondition>
<ParameterCondition parameterRef="" value="" rule="lessThan"/>
</ByValueCondition>
</Condition>
<Condition name="criteria_DrivenDistanceTest" delay="0" conditionEdge="rising">
<ByValueCondition>
<ParameterCondition parameterRef="distance_success" value="100" rule="lessThan"/>
</ByValueCondition>
</Condition>
</ConditionGroup>
</StopTrigger>
</Storyboard>
</OpenSCENARIO>
``` | Here is the result:
```
<?xml version="1.0" ?>
<OpenSCENARIO>
<FileHeader revMajor="1" revMinor="0" date="2020-03-24T12:00:00" description="CARLA:LaneChangeSimple" author=""/>
<ParameterDeclarations/>
<CatalogLocations/>
<RoadNetwork>
<LogicFile filepath="Town04"/>
<SceneGraphFile filepath=""/>
</RoadNetwork>
<Entities>
<ScenarioObject name="hero">
<Vehicle name="vehicle.tesla.model3" vehicleCategory="car">
<ParameterDeclarations/>
<Performance maxSpeed="69.444" maxAcceleration="200" maxDeceleration="10.0"/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2.1" length="4.5" height="1.8"/>
</BoundingBox>
<Axles>
<FrontAxle maxSteering="0.5" wheelDiameter="0.6" trackWidth="1.8" positionX="3.1" positionZ="0.3"/>
<RearAxle maxSteering="0.0" wheelDiameter="0.6" trackWidth="1.8" positionX="0.0" positionZ="0.3"/>
</Axles>
<Properties>
<Property name="type" value="ego_vehicle"/>
</Properties>
</Vehicle>
</ScenarioObject>
<ScenarioObject name="adversary">
<Vehicle name="vehicle.lincoln.mkz_2017" vehicleCategory="car">
<ParameterDeclarations/>
<Performance maxSpeed="69.444" maxAcceleration="200" maxDeceleration="10.0"/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2.1" length="4.5" height="1.8"/>
</BoundingBox>
<Axles>
<FrontAxle maxSteering="0.5" wheelDiameter="0.6" trackWidth="1.8" positionX="3.1" positionZ="0.3"/>
<RearAxle maxSteering="0.0" wheelDiameter="0.6" trackWidth="1.8" positionX="0.0" positionZ="0.3"/>
</Axles>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Vehicle>
</ScenarioObject>
<ScenarioObject name="standing">
<Vehicle name="vehicle.volkswagen.t2" vehicleCategory="car">
<ParameterDeclarations/>
<Performance maxSpeed="69.444" maxAcceleration="200" maxDeceleration="10.0"/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2.1" length="4.5" height="1.8"/>
</BoundingBox>
<Axles>
<FrontAxle maxSteering="0.5" wheelDiameter="0.6" trackWidth="1.8" positionX="3.1" positionZ="0.3"/>
<RearAxle maxSteering="0.0" wheelDiameter="0.6" trackWidth="1.8" positionX="0.0" positionZ="0.3"/>
</Axles>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Vehicle>
</ScenarioObject>
<ScenarioObject name="pedestrian_close_to_hero_8838">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
</Entities>
<Storyboard>
<Init>
<Actions>
<GlobalAction>
<EnvironmentAction>
<Environment name="Environment1">
<TimeOfDay animation="false" dateTime="2019-06-25T12:00:00"/>
<Weather cloudState="free">
<Sun intensity="0.85" azimuth="0" elevation="1.31"/>
<Fog visualRange="100000.0"/>
<Precipitation precipitationType="dry" intensity="0.0"/>
</Weather>
<RoadCondition frictionScaleFactor="1.0"/>
</Environment>
</EnvironmentAction>
</GlobalAction>
<Private entityRef="hero">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-9.4" y="-152.8" z="0.5" h="1.57079632679"/>
</Position>
</TeleportAction>
</PrivateAction>
<PrivateAction>
<ControllerAction>
<AssignControllerAction>
<Controller name="HeroAgent">
<Properties>
<Property name="module" value="external_control"/>
</Properties>
</Controller>
</AssignControllerAction>
<OverrideControllerValueAction>
<Throttle value="0" active="false"/>
<Brake value="0" active="false"/>
<Clutch value="0" active="false"/>
<ParkingBrake value="0" active="false"/>
<SteeringWheel value="0" active="false"/>
<Gear number="0" active="false"/>
</OverrideControllerValueAction>
</ControllerAction>
</PrivateAction>
</Private>
<Private entityRef="adversary">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-9.4" y="-71.0" z="0.5" h="1.57079632679"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="standing">
<PrivateAction>
<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_8838">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-4.7339043617248535" y="-152.94456481933594" 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 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_10680">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_w_transform_10681">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_close_to_hero_10682">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
</Entities>
<Storyboard>
<Init>
<Actions>
<GlobalAction>
<EnvironmentAction>
<Environment name="Environment1">
<TimeOfDay animation="false" dateTime="2019-06-25T12:00:00"/>
<Weather cloudState="free">
<Sun intensity="0.85" azimuth="0" elevation="1.31"/>
<Fog visualRange="100000.0"/>
<Precipitation precipitationType="dry" intensity="0.0"/>
</Weather>
<RoadCondition frictionScaleFactor="1.0"/>
</Environment>
</EnvironmentAction>
</GlobalAction>
<Private entityRef="hero">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-9.4" y="-152.8" z="0.5" h="1.57079632679"/>
</Position>
</TeleportAction>
</PrivateAction>
<PrivateAction>
<ControllerAction>
<AssignControllerAction>
<Controller name="HeroAgent">
<Properties>
<Property name="module" value="external_control"/>
</Properties>
</Controller>
</AssignControllerAction>
<OverrideControllerValueAction>
<Throttle value="0" active="false"/>
<Brake value="0" active="false"/>
<Clutch value="0" active="false"/>
<ParkingBrake value="0" active="false"/>
<SteeringWheel value="0" active="false"/>
<Gear number="0" active="false"/>
</OverrideControllerValueAction>
</ControllerAction>
</PrivateAction>
</Private>
<Private entityRef="adversary">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-9.4" y="-71.0" z="0.5" h="1.57079632679"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="standing">
<PrivateAction>
<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_10680">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-16.664743423461914" y="38.89912796020508" z="0.0030237960163503885"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_w_transform_10681">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="93.02547454833984" y="31.236642837524414" z="0.5"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_close_to_hero_10682">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="7.152280807495117" y="-160.95494079589844" 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_10680">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_w_transform_10681">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_close_to_hero_10682">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_close_to_hero_10683">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
</Entities>
<Storyboard>
<Init>
<Actions>
<GlobalAction>
<EnvironmentAction>
<Environment name="Environment1">
<TimeOfDay animation="false" dateTime="2019-06-25T12:00:00"/>
<Weather cloudState="free">
<Sun intensity="0.85" azimuth="0" elevation="1.31"/>
<Fog visualRange="100000.0"/>
<Precipitation precipitationType="dry" intensity="0.0"/>
</Weather>
<RoadCondition frictionScaleFactor="1.0"/>
</Environment>
</EnvironmentAction>
</GlobalAction>
<Private entityRef="hero">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-9.4" y="-152.8" z="0.5" h="1.57079632679"/>
</Position>
</TeleportAction>
</PrivateAction>
<PrivateAction>
<ControllerAction>
<AssignControllerAction>
<Controller name="HeroAgent">
<Properties>
<Property name="module" value="external_control"/>
</Properties>
</Controller>
</AssignControllerAction>
<OverrideControllerValueAction>
<Throttle value="0" active="false"/>
<Brake value="0" active="false"/>
<Clutch value="0" active="false"/>
<ParkingBrake value="0" active="false"/>
<SteeringWheel value="0" active="false"/>
<Gear number="0" active="false"/>
</OverrideControllerValueAction>
</ControllerAction>
</PrivateAction>
</Private>
<Private entityRef="adversary">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-9.4" y="-71.0" z="0.5" h="1.57079632679"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="standing">
<PrivateAction>
<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_10680">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-16.664743423461914" y="38.89912796020508" z="0.0030237960163503885"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_w_transform_10681">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="93.02547454833984" y="31.236642837524414" z="0.5"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_close_to_hero_10682">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="7.152280807495117" y="-160.95494079589844" z="0.0014286803780123591"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_close_to_hero_10683">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-14.057882308959961" y="-153.3157958984375" 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 (-55.69, 42.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_hero_7557">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
</Entities>
<Storyboard>
<Init>
<Actions>
<GlobalAction>
<EnvironmentAction>
<Environment name="Environment1">
<TimeOfDay animation="false" dateTime="2019-06-25T12:00:00"/>
<Weather cloudState="free">
<Sun intensity="0.85" azimuth="0" elevation="1.31"/>
<Fog visualRange="100000.0"/>
<Precipitation precipitationType="dry" intensity="0.0"/>
</Weather>
<RoadCondition frictionScaleFactor="1.0"/>
</Environment>
</EnvironmentAction>
</GlobalAction>
<Private entityRef="hero">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-9.4" y="-152.8" z="0.5" h="1.57079632679"/>
</Position>
</TeleportAction>
</PrivateAction>
<PrivateAction>
<ControllerAction>
<AssignControllerAction>
<Controller name="HeroAgent">
<Properties>
<Property name="module" value="external_control"/>
</Properties>
</Controller>
</AssignControllerAction>
<OverrideControllerValueAction>
<Throttle value="0" active="false"/>
<Brake value="0" active="false"/>
<Clutch value="0" active="false"/>
<ParkingBrake value="0" active="false"/>
<SteeringWheel value="0" active="false"/>
<Gear number="0" active="false"/>
</OverrideControllerValueAction>
</ControllerAction>
</PrivateAction>
</Private>
<Private entityRef="adversary">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-9.4" y="-71.0" z="0.5" h="1.57079632679"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="standing">
<PrivateAction>
<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_7557">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-6.677164077758789" y="-150.67953491210938" 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_7557">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_w_transform_7558">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
</Entities>
<Storyboard>
<Init>
<Actions>
<GlobalAction>
<EnvironmentAction>
<Environment name="Environment1">
<TimeOfDay animation="false" dateTime="2019-06-25T12:00:00"/>
<Weather cloudState="free">
<Sun intensity="0.85" azimuth="0" elevation="1.31"/>
<Fog visualRange="100000.0"/>
<Precipitation precipitationType="dry" intensity="0.0"/>
</Weather>
<RoadCondition frictionScaleFactor="1.0"/>
</Environment>
</EnvironmentAction>
</GlobalAction>
<Private entityRef="hero">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-9.4" y="-152.8" z="0.5" h="1.57079632679"/>
</Position>
</TeleportAction>
</PrivateAction>
<PrivateAction>
<ControllerAction>
<AssignControllerAction>
<Controller name="HeroAgent">
<Properties>
<Property name="module" value="external_control"/>
</Properties>
</Controller>
</AssignControllerAction>
<OverrideControllerValueAction>
<Throttle value="0" active="false"/>
<Brake value="0" active="false"/>
<Clutch value="0" active="false"/>
<ParkingBrake value="0" active="false"/>
<SteeringWheel value="0" active="false"/>
<Gear number="0" active="false"/>
</OverrideControllerValueAction>
</ControllerAction>
</PrivateAction>
</Private>
<Private entityRef="adversary">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-9.4" y="-71.0" z="0.5" h="1.57079632679"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="standing">
<PrivateAction>
<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_7557">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-6.677164077758789" y="-150.67953491210938" z="0.0014286803780123591"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_w_transform_7558">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-55.68815612792969" y="42.087337493896484" z="0.5"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
</Actions>
</Init>
<Story name="MyStory">
<Act name="Behavior">
<ManeuverGroup maximumExecutionCount="1" name="ManeuverSequence">
<Actors selectTriggeringEntities="false">
<EntityRef entityRef="adversary"/>
</Actors>
<Maneuver name="LaneChangeSimpleManeuver">
<Event name="AdversaryAccelerates" priority="overwrite">
<Action name="AdversaryAccelerates">
<PrivateAction>
<LongitudinalAction>
<SpeedAction>
<SpeedActionDynamics dynamicsShape="step" value="50" dynamicsDimension="distance"/>
<SpeedActionTarget>
<AbsoluteTargetSpeed value="5.0"/>
</SpeedActionTarget>
</SpeedAction>
</LongitudinalAction>
</PrivateAction>
</Action>
<StartTrigger>
<ConditionGroup>
<Condition name="StartCondition" delay="0" conditionEdge="rising">
<ByEntityCondition>
<TriggeringEntities triggeringEntitiesRule="any">
<EntityRef entityRef="hero"/>
</TriggeringEntities>
<EntityCondition>
<RelativeDistanceCondition entityRef="adversary" relativeDistanceType="cartesianDistance" value="40.0" freespace="false" rule="lessThan"/>
</EntityCondition>
</ByEntityCondition>
</Condition>
</ConditionGroup>
</StartTrigger>
</Event>
<Event name="AdversaryChangesLane" priority="overwrite">
<Action name="AdversaryChangesLane">
<PrivateAction>
<LateralAction>
<LaneChangeAction>
<LaneChangeActionDynamics dynamicsShape="linear" value="25" dynamicsDimension="distance"/>
<LaneChangeTarget>
<RelativeTargetLane entityRef="adversary" value="-1"/>
</LaneChangeTarget>
</LaneChangeAction>
</LateralAction>
</PrivateAction>
</Action>
<StartTrigger>
<ConditionGroup>
<Condition name="AfterAdversaryAccelerates" delay="0" conditionEdge="rising">
<ByValueCondition>
<StoryboardElementStateCondition storyboardElementType="action" storyboardElementRef="AdversaryAccelerates" state="completeState"/>
</ByValueCondition>
</Condition>
</ConditionGroup>
</StartTrigger>
</Event>
</Maneuver>
</ManeuverGroup>
<StartTrigger>
<ConditionGroup>
<Condition name="OverallStartCondition" delay="0" conditionEdge="rising">
<ByEntityCondition>
<TriggeringEntities triggeringEntitiesRule="any">
<EntityRef entityRef="hero"/>
</TriggeringEntities>
<EntityCondition>
<TraveledDistanceCondition value="1.0"/>
</EntityCondition>
</ByEntityCondition>
</Condition>
<Condition name="StartTime" delay="0" conditionEdge="rising">
<ByValueCondition>
<SimulationTimeCondition value="0" rule="equalTo"/>
</ByValueCondition>
</Condition>
</ConditionGroup>
</StartTrigger>
<StopTrigger>
<ConditionGroup>
<Condition name="EndCondition" delay="0" conditionEdge="rising">
<ByEntityCondition>
<TriggeringEntities triggeringEntitiesRule="any">
<EntityRef entityRef="hero"/>
</TriggeringEntities>
<EntityCondition>
<TraveledDistanceCondition value="200.0"/>
</EntityCondition>
</ByEntityCondition>
</Condition>
</ConditionGroup>
</StopTrigger>
</Act>
</Story>
<StopTrigger>
<ConditionGroup>
<Condition name="criteria_RunningStopTest" delay="0" conditionEdge="rising">
<ByValueCondition>
<ParameterCondition parameterRef="" value="" rule="lessThan"/>
</ByValueCondition>
</Condition>
<Condition name="criteria_RunningRedLightTest" delay="0" conditionEdge="rising">
<ByValueCondition>
<ParameterCondition parameterRef="" value="" rule="lessThan"/>
</ByValueCondition>
</Condition>
<Condition name="criteria_WrongLaneTest" delay="0" conditionEdge="rising">
<ByValueCondition>
<ParameterCondition parameterRef="" value="" rule="lessThan"/>
</ByValueCondition>
</Condition>
<Condition name="criteria_OnSidewalkTest" delay="0" conditionEdge="rising">
<ByValueCondition>
<ParameterCondition parameterRef="" value="" rule="lessThan"/>
</ByValueCondition>
</Condition>
<Condition name="criteria_KeepLaneTest" delay="0" conditionEdge="rising">
<ByValueCondition>
<ParameterCondition parameterRef="" value="" rule="lessThan"/>
</ByValueCondition>
</Condition>
<Condition name="criteria_CollisionTest" delay="0" conditionEdge="rising">
<ByValueCondition>
<ParameterCondition parameterRef="" value="" rule="lessThan"/>
</ByValueCondition>
</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.91, -19.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_22221">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_close_to_standing_22222">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_w_transform_22223">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_w_transform_22224">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_w_transform_22225">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_close_to_adversary_22226">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_close_to_hero_22227">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_w_transform_22228">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_close_to_hero_22229">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_w_transform_22230">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_close_to_adversary_22231">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_w_transform_22232">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_w_transform_22233">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_close_to_hero_22234">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_close_to_hero_22235">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_w_transform_22236">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_close_to_standing_22237">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_w_transform_22238">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_w_transform_22239">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_w_transform_22240">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
</Entities>
<Storyboard>
<Init>
<Actions>
<GlobalAction>
<EnvironmentAction>
<Environment name="Environment1">
<TimeOfDay animation="false" dateTime="2019-06-25T12:00:00"/>
<Weather cloudState="free">
<Sun intensity="0.85" azimuth="0" elevation="1.31"/>
<Fog visualRange="100000.0"/>
<Precipitation precipitationType="dry" intensity="0.0"/>
</Weather>
<RoadCondition frictionScaleFactor="1.0"/>
</Environment>
</EnvironmentAction>
</GlobalAction>
<Private entityRef="hero">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-9.4" y="-152.8" z="0.5" h="1.57079632679"/>
</Position>
</TeleportAction>
</PrivateAction>
<PrivateAction>
<ControllerAction>
<AssignControllerAction>
<Controller name="HeroAgent">
<Properties>
<Property name="module" value="external_control"/>
</Properties>
</Controller>
</AssignControllerAction>
<OverrideControllerValueAction>
<Throttle value="0" active="false"/>
<Brake value="0" active="false"/>
<Clutch value="0" active="false"/>
<ParkingBrake value="0" active="false"/>
<SteeringWheel value="0" active="false"/>
<Gear number="0" active="false"/>
</OverrideControllerValueAction>
</ControllerAction>
</PrivateAction>
</Private>
<Private entityRef="adversary">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-9.4" y="-71.0" z="0.5" h="1.57079632679"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="standing">
<PrivateAction>
<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_22221">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-10.72120475769043" y="24.413652420043945" z="0.003049239981919527"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_close_to_standing_22222">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="5.783363342285156" y="36.8591194152832" z="0.003055000212043524"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_w_transform_22223">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="78.68737030029297" y="33.529029846191406" z="0.5"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_w_transform_22224">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="66.39177703857422" y="15.5518798828125" z="0.5"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_w_transform_22225">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="88.18075561523438" y="83.08775329589844" z="0.5"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_close_to_adversary_22226">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-11.90225887298584" y="-73.11799621582031" z="0.03380443528294563"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_close_to_hero_22227">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-11.70752239227295" y="-145.3799285888672" z="0.0014286803780123591"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_w_transform_22228">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="47.70732116699219" y="-68.05809020996094" z="0.5"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_close_to_hero_22229">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-14.711385726928711" y="-160.0147705078125" z="0.0014286803780123591"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_w_transform_22230">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-72.91455841064453" y="6.027463436126709" z="0.5"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_close_to_adversary_22231">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="0.03518073633313179" y="-63.22867965698242" z="0.03377876058220863"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_w_transform_22232">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-16.377370834350586" y="-42.433414459228516" z="0.5"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_w_transform_22233">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-21.164474487304688" y="-33.62443542480469" z="0.5"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_close_to_hero_22234">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-2.3277506828308105" y="-157.99655151367188" z="0.0014286803780123591"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_close_to_hero_22235">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-18.668550491333008" y="-157.188720703125" z="0.0014286803780123591"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_w_transform_22236">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="91.97373962402344" y="32.427791595458984" z="0.5"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_close_to_standing_22237">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-11.941286087036133" y="29.117053985595703" z="0.003096694825217128"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_w_transform_22238">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="70.18424224853516" y="46.17921829223633" z="0.5"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_w_transform_22239">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="82.56629943847656" y="-3.6857097148895264" z="0.5"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_w_transform_22240">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="44.633705139160156" y="7.606711387634277" z="0.5"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
</Actions>
</Init>
<Story name="MyStory">
<Act name="Behavior">
<ManeuverGroup maximumExecutionCount="1" name="ManeuverSequence">
<Actors selectTriggeringEntities="false">
<EntityRef entityRef="adversary"/>
</Actors>
<Maneuver name="LaneChangeSimpleManeuver">
<Event name="AdversaryAccelerates" priority="overwrite">
<Action name="AdversaryAccelerates">
<PrivateAction>
<LongitudinalAction>
<SpeedAction>
<SpeedActionDynamics dynamicsShape="step" value="50" dynamicsDimension="distance"/>
<SpeedActionTarget>
<AbsoluteTargetSpeed value="5.0"/>
</SpeedActionTarget>
</SpeedAction>
</LongitudinalAction>
</PrivateAction>
</Action>
<StartTrigger>
<ConditionGroup>
<Condition name="StartCondition" delay="0" conditionEdge="rising">
<ByEntityCondition>
<TriggeringEntities triggeringEntitiesRule="any">
<EntityRef entityRef="hero"/>
</TriggeringEntities>
<EntityCondition>
<RelativeDistanceCondition entityRef="adversary" relativeDistanceType="cartesianDistance" value="40.0" freespace="false" rule="lessThan"/>
</EntityCondition>
</ByEntityCondition>
</Condition>
</ConditionGroup>
</StartTrigger>
</Event>
<Event name="AdversaryChangesLane" priority="overwrite">
<Action name="AdversaryChangesLane">
<PrivateAction>
<LateralAction>
<LaneChangeAction>
<LaneChangeActionDynamics dynamicsShape="linear" value="25" dynamicsDimension="distance"/>
<LaneChangeTarget>
<RelativeTargetLane entityRef="adversary" value="-1"/>
</LaneChangeTarget>
</LaneChangeAction>
</LateralAction>
</PrivateAction>
</Action>
<StartTrigger>
<ConditionGroup>
<Condition name="AfterAdversaryAccelerates" delay="0" conditionEdge="rising">
<ByValueCondition>
<StoryboardElementStateCondition storyboardElementType="action" storyboardElementRef="AdversaryAccelerates" state="completeState"/>
</ByValueCondition>
</Condition>
</ConditionGroup>
</StartTrigger>
</Event>
</Maneuver>
</ManeuverGroup>
<StartTrigger>
<ConditionGroup>
<Condition name="OverallStartCondition" delay="0" conditionEdge="rising">
<ByEntityCondition>
<TriggeringEntities triggeringEntitiesRule="any">
<EntityRef entityRef="hero"/>
</TriggeringEntities>
<EntityCondition>
<TraveledDistanceCondition value="1.0"/>
</EntityCondition>
</ByEntityCondition>
</Condition>
<Condition name="StartTime" delay="0" conditionEdge="rising">
<ByValueCondition>
<SimulationTimeCondition value="0" rule="equalTo"/>
</ByValueCondition>
</Condition>
</ConditionGroup>
</StartTrigger>
<StopTrigger>
<ConditionGroup>
<Condition name="EndCondition" delay="0" conditionEdge="rising">
<ByEntityCondition>
<TriggeringEntities triggeringEntitiesRule="any">
<EntityRef entityRef="hero"/>
</TriggeringEntities>
<EntityCondition>
<TraveledDistanceCondition value="200.0"/>
</EntityCondition>
</ByEntityCondition>
</Condition>
</ConditionGroup>
</StopTrigger>
</Act>
</Story>
<StopTrigger>
<ConditionGroup>
<Condition name="criteria_RunningStopTest" delay="0" conditionEdge="rising">
<ByValueCondition>
<ParameterCondition parameterRef="" value="" rule="lessThan"/>
</ByValueCondition>
</Condition>
<Condition name="criteria_RunningRedLightTest" delay="0" conditionEdge="rising">
<ByValueCondition>
<ParameterCondition parameterRef="" value="" rule="lessThan"/>
</ByValueCondition>
</Condition>
<Condition name="criteria_WrongLaneTest" delay="0" conditionEdge="rising">
<ByValueCondition>
<ParameterCondition parameterRef="" value="" rule="lessThan"/>
</ByValueCondition>
</Condition>
<Condition name="criteria_OnSidewalkTest" delay="0" conditionEdge="rising">
<ByValueCondition>
<ParameterCondition parameterRef="" value="" rule="lessThan"/>
</ByValueCondition>
</Condition>
<Condition name="criteria_KeepLaneTest" delay="0" conditionEdge="rising">
<ByValueCondition>
<ParameterCondition parameterRef="" value="" rule="lessThan"/>
</ByValueCondition>
</Condition>
<Condition name="criteria_CollisionTest" delay="0" conditionEdge="rising">
<ByValueCondition>
<ParameterCondition parameterRef="" value="" rule="lessThan"/>
</ByValueCondition>
</Condition>
<Condition name="criteria_DrivenDistanceTest" delay="0" conditionEdge="rising">
<ByValueCondition>
<ParameterCondition parameterRef="distance_success" value="100" rule="lessThan"/>
</ByValueCondition>
</Condition>
</ConditionGroup>
</StopTrigger>
</Storyboard>
</OpenSCENARIO>
``` | Here is the result:
```
<?xml version="1.0" ?>
<OpenSCENARIO>
<FileHeader revMajor="1" revMinor="0" date="2020-03-24T12:00:00" description="CARLA:LaneChangeSimple" author=""/>
<ParameterDeclarations/>
<CatalogLocations/>
<RoadNetwork>
<LogicFile filepath="Town04"/>
<SceneGraphFile filepath=""/>
</RoadNetwork>
<Entities>
<ScenarioObject name="hero">
<Vehicle name="vehicle.tesla.model3" vehicleCategory="car">
<ParameterDeclarations/>
<Performance maxSpeed="69.444" maxAcceleration="200" maxDeceleration="10.0"/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2.1" length="4.5" height="1.8"/>
</BoundingBox>
<Axles>
<FrontAxle maxSteering="0.5" wheelDiameter="0.6" trackWidth="1.8" positionX="3.1" positionZ="0.3"/>
<RearAxle maxSteering="0.0" wheelDiameter="0.6" trackWidth="1.8" positionX="0.0" positionZ="0.3"/>
</Axles>
<Properties>
<Property name="type" value="ego_vehicle"/>
</Properties>
</Vehicle>
</ScenarioObject>
<ScenarioObject name="adversary">
<Vehicle name="vehicle.lincoln.mkz_2017" vehicleCategory="car">
<ParameterDeclarations/>
<Performance maxSpeed="69.444" maxAcceleration="200" maxDeceleration="10.0"/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2.1" length="4.5" height="1.8"/>
</BoundingBox>
<Axles>
<FrontAxle maxSteering="0.5" wheelDiameter="0.6" trackWidth="1.8" positionX="3.1" positionZ="0.3"/>
<RearAxle maxSteering="0.0" wheelDiameter="0.6" trackWidth="1.8" positionX="0.0" positionZ="0.3"/>
</Axles>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Vehicle>
</ScenarioObject>
<ScenarioObject name="standing">
<Vehicle name="vehicle.volkswagen.t2" vehicleCategory="car">
<ParameterDeclarations/>
<Performance maxSpeed="69.444" maxAcceleration="200" maxDeceleration="10.0"/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2.1" length="4.5" height="1.8"/>
</BoundingBox>
<Axles>
<FrontAxle maxSteering="0.5" wheelDiameter="0.6" trackWidth="1.8" positionX="3.1" positionZ="0.3"/>
<RearAxle maxSteering="0.0" wheelDiameter="0.6" 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_22221">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_close_to_standing_22222">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_w_transform_22223">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_w_transform_22224">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_w_transform_22225">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_close_to_adversary_22226">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_close_to_hero_22227">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_w_transform_22228">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_close_to_hero_22229">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_w_transform_22230">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_close_to_adversary_22231">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_w_transform_22232">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_w_transform_22233">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_close_to_hero_22234">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_close_to_hero_22235">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_w_transform_22236">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_close_to_standing_22237">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_w_transform_22238">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_w_transform_22239">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_w_transform_22240">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_w_transform_22241">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
</Entities>
<Storyboard>
<Init>
<Actions>
<GlobalAction>
<EnvironmentAction>
<Environment name="Environment1">
<TimeOfDay animation="false" dateTime="2019-06-25T12:00:00"/>
<Weather cloudState="free">
<Sun intensity="0.85" azimuth="0" elevation="1.31"/>
<Fog visualRange="100000.0"/>
<Precipitation precipitationType="dry" intensity="0.0"/>
</Weather>
<RoadCondition frictionScaleFactor="1.0"/>
</Environment>
</EnvironmentAction>
</GlobalAction>
<Private entityRef="hero">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-9.4" y="-152.8" z="0.5" h="1.57079632679"/>
</Position>
</TeleportAction>
</PrivateAction>
<PrivateAction>
<ControllerAction>
<AssignControllerAction>
<Controller name="HeroAgent">
<Properties>
<Property name="module" value="external_control"/>
</Properties>
</Controller>
</AssignControllerAction>
<OverrideControllerValueAction>
<Throttle value="0" active="false"/>
<Brake value="0" active="false"/>
<Clutch value="0" active="false"/>
<ParkingBrake value="0" active="false"/>
<SteeringWheel value="0" active="false"/>
<Gear number="0" active="false"/>
</OverrideControllerValueAction>
</ControllerAction>
</PrivateAction>
</Private>
<Private entityRef="adversary">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-9.4" y="-71.0" z="0.5" h="1.57079632679"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="standing">
<PrivateAction>
<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_22221">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-10.72120475769043" y="24.413652420043945" z="0.003049239981919527"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_close_to_standing_22222">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="5.783363342285156" y="36.8591194152832" z="0.003055000212043524"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_w_transform_22223">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="78.68737030029297" y="33.529029846191406" z="0.5"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_w_transform_22224">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="66.39177703857422" y="15.5518798828125" z="0.5"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_w_transform_22225">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="88.18075561523438" y="83.08775329589844" z="0.5"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_close_to_adversary_22226">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-11.90225887298584" y="-73.11799621582031" z="0.03380443528294563"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_close_to_hero_22227">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-11.70752239227295" y="-145.3799285888672" z="0.0014286803780123591"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_w_transform_22228">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="47.70732116699219" y="-68.05809020996094" z="0.5"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_close_to_hero_22229">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-14.711385726928711" y="-160.0147705078125" z="0.0014286803780123591"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_w_transform_22230">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-72.91455841064453" y="6.027463436126709" z="0.5"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_close_to_adversary_22231">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="0.03518073633313179" y="-63.22867965698242" z="0.03377876058220863"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_w_transform_22232">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-16.377370834350586" y="-42.433414459228516" z="0.5"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_w_transform_22233">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-21.164474487304688" y="-33.62443542480469" z="0.5"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_close_to_hero_22234">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-2.3277506828308105" y="-157.99655151367188" z="0.0014286803780123591"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_close_to_hero_22235">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-18.668550491333008" y="-157.188720703125" z="0.0014286803780123591"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_w_transform_22236">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="91.97373962402344" y="32.427791595458984" z="0.5"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_close_to_standing_22237">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-11.941286087036133" y="29.117053985595703" z="0.003096694825217128"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_w_transform_22238">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="70.18424224853516" y="46.17921829223633" z="0.5"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_w_transform_22239">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="82.56629943847656" y="-3.6857097148895264" z="0.5"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_w_transform_22240">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="44.633705139160156" y="7.606711387634277" z="0.5"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_w_transform_22241">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-25.91427230834961" y="-19.831464767456055" z="0.5"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
</Actions>
</Init>
<Story name="MyStory">
<Act name="Behavior">
<ManeuverGroup maximumExecutionCount="1" name="ManeuverSequence">
<Actors selectTriggeringEntities="false">
<EntityRef entityRef="adversary"/>
</Actors>
<Maneuver name="LaneChangeSimpleManeuver">
<Event name="AdversaryAccelerates" priority="overwrite">
<Action name="AdversaryAccelerates">
<PrivateAction>
<LongitudinalAction>
<SpeedAction>
<SpeedActionDynamics dynamicsShape="step" value="50" dynamicsDimension="distance"/>
<SpeedActionTarget>
<AbsoluteTargetSpeed value="5.0"/>
</SpeedActionTarget>
</SpeedAction>
</LongitudinalAction>
</PrivateAction>
</Action>
<StartTrigger>
<ConditionGroup>
<Condition name="StartCondition" delay="0" conditionEdge="rising">
<ByEntityCondition>
<TriggeringEntities triggeringEntitiesRule="any">
<EntityRef entityRef="hero"/>
</TriggeringEntities>
<EntityCondition>
<RelativeDistanceCondition entityRef="adversary" relativeDistanceType="cartesianDistance" value="40.0" freespace="false" rule="lessThan"/>
</EntityCondition>
</ByEntityCondition>
</Condition>
</ConditionGroup>
</StartTrigger>
</Event>
<Event name="AdversaryChangesLane" priority="overwrite">
<Action name="AdversaryChangesLane">
<PrivateAction>
<LateralAction>
<LaneChangeAction>
<LaneChangeActionDynamics dynamicsShape="linear" value="25" dynamicsDimension="distance"/>
<LaneChangeTarget>
<RelativeTargetLane entityRef="adversary" value="-1"/>
</LaneChangeTarget>
</LaneChangeAction>
</LateralAction>
</PrivateAction>
</Action>
<StartTrigger>
<ConditionGroup>
<Condition name="AfterAdversaryAccelerates" delay="0" conditionEdge="rising">
<ByValueCondition>
<StoryboardElementStateCondition storyboardElementType="action" storyboardElementRef="AdversaryAccelerates" state="completeState"/>
</ByValueCondition>
</Condition>
</ConditionGroup>
</StartTrigger>
</Event>
</Maneuver>
</ManeuverGroup>
<StartTrigger>
<ConditionGroup>
<Condition name="OverallStartCondition" delay="0" conditionEdge="rising">
<ByEntityCondition>
<TriggeringEntities triggeringEntitiesRule="any">
<EntityRef entityRef="hero"/>
</TriggeringEntities>
<EntityCondition>
<TraveledDistanceCondition value="1.0"/>
</EntityCondition>
</ByEntityCondition>
</Condition>
<Condition name="StartTime" delay="0" conditionEdge="rising">
<ByValueCondition>
<SimulationTimeCondition value="0" rule="equalTo"/>
</ByValueCondition>
</Condition>
</ConditionGroup>
</StartTrigger>
<StopTrigger>
<ConditionGroup>
<Condition name="EndCondition" delay="0" conditionEdge="rising">
<ByEntityCondition>
<TriggeringEntities triggeringEntitiesRule="any">
<EntityRef entityRef="hero"/>
</TriggeringEntities>
<EntityCondition>
<TraveledDistanceCondition value="200.0"/>
</EntityCondition>
</ByEntityCondition>
</Condition>
</ConditionGroup>
</StopTrigger>
</Act>
</Story>
<StopTrigger>
<ConditionGroup>
<Condition name="criteria_RunningStopTest" delay="0" conditionEdge="rising">
<ByValueCondition>
<ParameterCondition parameterRef="" value="" rule="lessThan"/>
</ByValueCondition>
</Condition>
<Condition name="criteria_RunningRedLightTest" delay="0" conditionEdge="rising">
<ByValueCondition>
<ParameterCondition parameterRef="" value="" rule="lessThan"/>
</ByValueCondition>
</Condition>
<Condition name="criteria_WrongLaneTest" delay="0" conditionEdge="rising">
<ByValueCondition>
<ParameterCondition parameterRef="" value="" rule="lessThan"/>
</ByValueCondition>
</Condition>
<Condition name="criteria_OnSidewalkTest" delay="0" conditionEdge="rising">
<ByValueCondition>
<ParameterCondition parameterRef="" value="" rule="lessThan"/>
</ByValueCondition>
</Condition>
<Condition name="criteria_KeepLaneTest" delay="0" conditionEdge="rising">
<ByValueCondition>
<ParameterCondition parameterRef="" value="" rule="lessThan"/>
</ByValueCondition>
</Condition>
<Condition name="criteria_CollisionTest" delay="0" conditionEdge="rising">
<ByValueCondition>
<ParameterCondition parameterRef="" value="" rule="lessThan"/>
</ByValueCondition>
</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_standing_4156">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_close_to_hero_4157">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
</Entities>
<Storyboard>
<Init>
<Actions>
<GlobalAction>
<EnvironmentAction>
<Environment name="Environment1">
<TimeOfDay animation="false" dateTime="2019-06-25T12:00:00"/>
<Weather cloudState="free">
<Sun intensity="0.85" azimuth="0" elevation="1.31"/>
<Fog visualRange="100000.0"/>
<Precipitation precipitationType="dry" intensity="0.0"/>
</Weather>
<RoadCondition frictionScaleFactor="1.0"/>
</Environment>
</EnvironmentAction>
</GlobalAction>
<Private entityRef="hero">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-9.4" y="-152.8" z="0.5" h="1.57079632679"/>
</Position>
</TeleportAction>
</PrivateAction>
<PrivateAction>
<ControllerAction>
<AssignControllerAction>
<Controller name="HeroAgent">
<Properties>
<Property name="module" value="external_control"/>
</Properties>
</Controller>
</AssignControllerAction>
<OverrideControllerValueAction>
<Throttle value="0" active="false"/>
<Brake value="0" active="false"/>
<Clutch value="0" active="false"/>
<ParkingBrake value="0" active="false"/>
<SteeringWheel value="0" active="false"/>
<Gear number="0" active="false"/>
</OverrideControllerValueAction>
</ControllerAction>
</PrivateAction>
</Private>
<Private entityRef="adversary">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-9.4" y="-71.0" z="0.5" h="1.57079632679"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="standing">
<PrivateAction>
<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_4156">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-15.319955825805664" y="36.52371597290039" z="0.003094329731538892"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_close_to_hero_4157">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-14.512836456298828" y="-145.8092041015625" 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_4156">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_close_to_hero_4157">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_close_to_standing_4159">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
</Entities>
<Storyboard>
<Init>
<Actions>
<GlobalAction>
<EnvironmentAction>
<Environment name="Environment1">
<TimeOfDay animation="false" dateTime="2019-06-25T12:00:00"/>
<Weather cloudState="free">
<Sun intensity="0.85" azimuth="0" elevation="1.31"/>
<Fog visualRange="100000.0"/>
<Precipitation precipitationType="dry" intensity="0.0"/>
</Weather>
<RoadCondition frictionScaleFactor="1.0"/>
</Environment>
</EnvironmentAction>
</GlobalAction>
<Private entityRef="hero">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-9.4" y="-152.8" z="0.5" h="1.57079632679"/>
</Position>
</TeleportAction>
</PrivateAction>
<PrivateAction>
<ControllerAction>
<AssignControllerAction>
<Controller name="HeroAgent">
<Properties>
<Property name="module" value="external_control"/>
</Properties>
</Controller>
</AssignControllerAction>
<OverrideControllerValueAction>
<Throttle value="0" active="false"/>
<Brake value="0" active="false"/>
<Clutch value="0" active="false"/>
<ParkingBrake value="0" active="false"/>
<SteeringWheel value="0" active="false"/>
<Gear number="0" active="false"/>
</OverrideControllerValueAction>
</ControllerAction>
</PrivateAction>
</Private>
<Private entityRef="adversary">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-9.4" y="-71.0" z="0.5" h="1.57079632679"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="standing">
<PrivateAction>
<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_4156">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-15.319955825805664" y="36.52371597290039" z="0.003094329731538892"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_close_to_hero_4157">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-14.512836456298828" y="-145.8092041015625" z="0.0014286803780123591"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_close_to_standing_4159">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-7.890293121337891" y="26.547420501708984" z="0.0030866239685565233"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
</Actions>
</Init>
<Story name="MyStory">
<Act name="Behavior">
<ManeuverGroup maximumExecutionCount="1" name="ManeuverSequence">
<Actors selectTriggeringEntities="false">
<EntityRef entityRef="adversary"/>
</Actors>
<Maneuver name="LaneChangeSimpleManeuver">
<Event name="AdversaryAccelerates" priority="overwrite">
<Action name="AdversaryAccelerates">
<PrivateAction>
<LongitudinalAction>
<SpeedAction>
<SpeedActionDynamics dynamicsShape="step" value="50" dynamicsDimension="distance"/>
<SpeedActionTarget>
<AbsoluteTargetSpeed value="5.0"/>
</SpeedActionTarget>
</SpeedAction>
</LongitudinalAction>
</PrivateAction>
</Action>
<StartTrigger>
<ConditionGroup>
<Condition name="StartCondition" delay="0" conditionEdge="rising">
<ByEntityCondition>
<TriggeringEntities triggeringEntitiesRule="any">
<EntityRef entityRef="hero"/>
</TriggeringEntities>
<EntityCondition>
<RelativeDistanceCondition entityRef="adversary" relativeDistanceType="cartesianDistance" value="40.0" freespace="false" rule="lessThan"/>
</EntityCondition>
</ByEntityCondition>
</Condition>
</ConditionGroup>
</StartTrigger>
</Event>
<Event name="AdversaryChangesLane" priority="overwrite">
<Action name="AdversaryChangesLane">
<PrivateAction>
<LateralAction>
<LaneChangeAction>
<LaneChangeActionDynamics dynamicsShape="linear" value="25" dynamicsDimension="distance"/>
<LaneChangeTarget>
<RelativeTargetLane entityRef="adversary" value="-1"/>
</LaneChangeTarget>
</LaneChangeAction>
</LateralAction>
</PrivateAction>
</Action>
<StartTrigger>
<ConditionGroup>
<Condition name="AfterAdversaryAccelerates" delay="0" conditionEdge="rising">
<ByValueCondition>
<StoryboardElementStateCondition storyboardElementType="action" storyboardElementRef="AdversaryAccelerates" state="completeState"/>
</ByValueCondition>
</Condition>
</ConditionGroup>
</StartTrigger>
</Event>
</Maneuver>
</ManeuverGroup>
<StartTrigger>
<ConditionGroup>
<Condition name="OverallStartCondition" delay="0" conditionEdge="rising">
<ByEntityCondition>
<TriggeringEntities triggeringEntitiesRule="any">
<EntityRef entityRef="hero"/>
</TriggeringEntities>
<EntityCondition>
<TraveledDistanceCondition value="1.0"/>
</EntityCondition>
</ByEntityCondition>
</Condition>
<Condition name="StartTime" delay="0" conditionEdge="rising">
<ByValueCondition>
<SimulationTimeCondition value="0" rule="equalTo"/>
</ByValueCondition>
</Condition>
</ConditionGroup>
</StartTrigger>
<StopTrigger>
<ConditionGroup>
<Condition name="EndCondition" delay="0" conditionEdge="rising">
<ByEntityCondition>
<TriggeringEntities triggeringEntitiesRule="any">
<EntityRef entityRef="hero"/>
</TriggeringEntities>
<EntityCondition>
<TraveledDistanceCondition value="200.0"/>
</EntityCondition>
</ByEntityCondition>
</Condition>
</ConditionGroup>
</StopTrigger>
</Act>
</Story>
<StopTrigger>
<ConditionGroup>
<Condition name="criteria_RunningStopTest" delay="0" conditionEdge="rising">
<ByValueCondition>
<ParameterCondition parameterRef="" value="" rule="lessThan"/>
</ByValueCondition>
</Condition>
<Condition name="criteria_RunningRedLightTest" delay="0" conditionEdge="rising">
<ByValueCondition>
<ParameterCondition parameterRef="" value="" rule="lessThan"/>
</ByValueCondition>
</Condition>
<Condition name="criteria_WrongLaneTest" delay="0" conditionEdge="rising">
<ByValueCondition>
<ParameterCondition parameterRef="" value="" rule="lessThan"/>
</ByValueCondition>
</Condition>
<Condition name="criteria_OnSidewalkTest" delay="0" conditionEdge="rising">
<ByValueCondition>
<ParameterCondition parameterRef="" value="" rule="lessThan"/>
</ByValueCondition>
</Condition>
<Condition name="criteria_KeepLaneTest" delay="0" conditionEdge="rising">
<ByValueCondition>
<ParameterCondition parameterRef="" value="" rule="lessThan"/>
</ByValueCondition>
</Condition>
<Condition name="criteria_CollisionTest" delay="0" conditionEdge="rising">
<ByValueCondition>
<ParameterCondition parameterRef="" value="" rule="lessThan"/>
</ByValueCondition>
</Condition>
<Condition name="criteria_DrivenDistanceTest" delay="0" conditionEdge="rising">
<ByValueCondition>
<ParameterCondition parameterRef="distance_success" value="100" rule="lessThan"/>
</ByValueCondition>
</Condition>
</ConditionGroup>
</StopTrigger>
</Storyboard>
</OpenSCENARIO>
``` |
can you add pedestrian at location (-45.58, 19.78, 0.5)?
```
<?xml version="1.0" ?>
<OpenSCENARIO>
<FileHeader revMajor="1" revMinor="0" date="2020-03-24T12:00:00" description="CARLA:LaneChangeSimple" author=""/>
<ParameterDeclarations/>
<CatalogLocations/>
<RoadNetwork>
<LogicFile filepath="Town04"/>
<SceneGraphFile filepath=""/>
</RoadNetwork>
<Entities>
<ScenarioObject name="hero">
<Vehicle name="vehicle.tesla.model3" vehicleCategory="car">
<ParameterDeclarations/>
<Performance maxSpeed="69.444" maxAcceleration="200" maxDeceleration="10.0"/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2.1" length="4.5" height="1.8"/>
</BoundingBox>
<Axles>
<FrontAxle maxSteering="0.5" wheelDiameter="0.6" trackWidth="1.8" positionX="3.1" positionZ="0.3"/>
<RearAxle maxSteering="0.0" wheelDiameter="0.6" trackWidth="1.8" positionX="0.0" positionZ="0.3"/>
</Axles>
<Properties>
<Property name="type" value="ego_vehicle"/>
</Properties>
</Vehicle>
</ScenarioObject>
<ScenarioObject name="adversary">
<Vehicle name="vehicle.lincoln.mkz_2017" vehicleCategory="car">
<ParameterDeclarations/>
<Performance maxSpeed="69.444" maxAcceleration="200" maxDeceleration="10.0"/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2.1" length="4.5" height="1.8"/>
</BoundingBox>
<Axles>
<FrontAxle maxSteering="0.5" wheelDiameter="0.6" trackWidth="1.8" positionX="3.1" positionZ="0.3"/>
<RearAxle maxSteering="0.0" wheelDiameter="0.6" trackWidth="1.8" positionX="0.0" positionZ="0.3"/>
</Axles>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Vehicle>
</ScenarioObject>
<ScenarioObject name="standing">
<Vehicle name="vehicle.volkswagen.t2" vehicleCategory="car">
<ParameterDeclarations/>
<Performance maxSpeed="69.444" maxAcceleration="200" maxDeceleration="10.0"/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2.1" length="4.5" height="1.8"/>
</BoundingBox>
<Axles>
<FrontAxle maxSteering="0.5" wheelDiameter="0.6" trackWidth="1.8" positionX="3.1" positionZ="0.3"/>
<RearAxle maxSteering="0.0" wheelDiameter="0.6" trackWidth="1.8" positionX="0.0" positionZ="0.3"/>
</Axles>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Vehicle>
</ScenarioObject>
<ScenarioObject name="pedestrian_close_to_standing_20994">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_close_to_adversary_20995">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_close_to_adversary_20996">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_close_to_hero_20997">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_w_transform_20998">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_close_to_adversary_20999">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_close_to_hero_21000">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_close_to_standing_21001">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_w_transform_21002">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_close_to_standing_21003">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_close_to_adversary_21004">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_w_transform_21005">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_w_transform_21006">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_w_transform_21007">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
</Entities>
<Storyboard>
<Init>
<Actions>
<GlobalAction>
<EnvironmentAction>
<Environment name="Environment1">
<TimeOfDay animation="false" dateTime="2019-06-25T12:00:00"/>
<Weather cloudState="free">
<Sun intensity="0.85" azimuth="0" elevation="1.31"/>
<Fog visualRange="100000.0"/>
<Precipitation precipitationType="dry" intensity="0.0"/>
</Weather>
<RoadCondition frictionScaleFactor="1.0"/>
</Environment>
</EnvironmentAction>
</GlobalAction>
<Private entityRef="hero">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-9.4" y="-152.8" z="0.5" h="1.57079632679"/>
</Position>
</TeleportAction>
</PrivateAction>
<PrivateAction>
<ControllerAction>
<AssignControllerAction>
<Controller name="HeroAgent">
<Properties>
<Property name="module" value="external_control"/>
</Properties>
</Controller>
</AssignControllerAction>
<OverrideControllerValueAction>
<Throttle value="0" active="false"/>
<Brake value="0" active="false"/>
<Clutch value="0" active="false"/>
<ParkingBrake value="0" active="false"/>
<SteeringWheel value="0" active="false"/>
<Gear number="0" active="false"/>
</OverrideControllerValueAction>
</ControllerAction>
</PrivateAction>
</Private>
<Private entityRef="adversary">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-9.4" y="-71.0" z="0.5" h="1.57079632679"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="standing">
<PrivateAction>
<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_20994">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-9.38524055480957" y="33.078792572021484" z="0.0030210113618522882"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_close_to_adversary_20995">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-10.328680992126465" y="-54.6099739074707" z="0.03379455581307411"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_close_to_adversary_20996">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-19.099376678466797" y="-72.12247467041016" z="0.033768195658922195"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_close_to_hero_20997">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-16.96419334411621" y="-150.9426727294922" z="0.0014286803780123591"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_w_transform_20998">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="48.5849609375" y="-45.977108001708984" z="0.5"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_close_to_adversary_20999">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-3.187854290008545" y="-63.27226638793945" z="0.03384418413043022"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_close_to_hero_21000">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-11.484573364257812" y="-147.19773864746094" z="0.0014286803780123591"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_close_to_standing_21001">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-6.855294704437256" y="32.445919036865234" z="0.003075256245210767"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_w_transform_21002">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-54.645999908447266" y="-39.03001022338867" z="0.5"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_close_to_standing_21003">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-7.281162738800049" y="33.62963104248047" z="0.003064498770982027"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_close_to_adversary_21004">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-11.080961227416992" y="-78.19438171386719" z="0.03380550444126129"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_w_transform_21005">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="68.05685424804688" y="6.643095970153809" z="0.5"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_w_transform_21006">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="7.6475749015808105" y="-50.68272018432617" z="0.5"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_w_transform_21007">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="84.09304809570312" y="61.04893493652344" z="0.5"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
</Actions>
</Init>
<Story name="MyStory">
<Act name="Behavior">
<ManeuverGroup maximumExecutionCount="1" name="ManeuverSequence">
<Actors selectTriggeringEntities="false">
<EntityRef entityRef="adversary"/>
</Actors>
<Maneuver name="LaneChangeSimpleManeuver">
<Event name="AdversaryAccelerates" priority="overwrite">
<Action name="AdversaryAccelerates">
<PrivateAction>
<LongitudinalAction>
<SpeedAction>
<SpeedActionDynamics dynamicsShape="step" value="50" dynamicsDimension="distance"/>
<SpeedActionTarget>
<AbsoluteTargetSpeed value="5.0"/>
</SpeedActionTarget>
</SpeedAction>
</LongitudinalAction>
</PrivateAction>
</Action>
<StartTrigger>
<ConditionGroup>
<Condition name="StartCondition" delay="0" conditionEdge="rising">
<ByEntityCondition>
<TriggeringEntities triggeringEntitiesRule="any">
<EntityRef entityRef="hero"/>
</TriggeringEntities>
<EntityCondition>
<RelativeDistanceCondition entityRef="adversary" relativeDistanceType="cartesianDistance" value="40.0" freespace="false" rule="lessThan"/>
</EntityCondition>
</ByEntityCondition>
</Condition>
</ConditionGroup>
</StartTrigger>
</Event>
<Event name="AdversaryChangesLane" priority="overwrite">
<Action name="AdversaryChangesLane">
<PrivateAction>
<LateralAction>
<LaneChangeAction>
<LaneChangeActionDynamics dynamicsShape="linear" value="25" dynamicsDimension="distance"/>
<LaneChangeTarget>
<RelativeTargetLane entityRef="adversary" value="-1"/>
</LaneChangeTarget>
</LaneChangeAction>
</LateralAction>
</PrivateAction>
</Action>
<StartTrigger>
<ConditionGroup>
<Condition name="AfterAdversaryAccelerates" delay="0" conditionEdge="rising">
<ByValueCondition>
<StoryboardElementStateCondition storyboardElementType="action" storyboardElementRef="AdversaryAccelerates" state="completeState"/>
</ByValueCondition>
</Condition>
</ConditionGroup>
</StartTrigger>
</Event>
</Maneuver>
</ManeuverGroup>
<StartTrigger>
<ConditionGroup>
<Condition name="OverallStartCondition" delay="0" conditionEdge="rising">
<ByEntityCondition>
<TriggeringEntities triggeringEntitiesRule="any">
<EntityRef entityRef="hero"/>
</TriggeringEntities>
<EntityCondition>
<TraveledDistanceCondition value="1.0"/>
</EntityCondition>
</ByEntityCondition>
</Condition>
<Condition name="StartTime" delay="0" conditionEdge="rising">
<ByValueCondition>
<SimulationTimeCondition value="0" rule="equalTo"/>
</ByValueCondition>
</Condition>
</ConditionGroup>
</StartTrigger>
<StopTrigger>
<ConditionGroup>
<Condition name="EndCondition" delay="0" conditionEdge="rising">
<ByEntityCondition>
<TriggeringEntities triggeringEntitiesRule="any">
<EntityRef entityRef="hero"/>
</TriggeringEntities>
<EntityCondition>
<TraveledDistanceCondition value="200.0"/>
</EntityCondition>
</ByEntityCondition>
</Condition>
</ConditionGroup>
</StopTrigger>
</Act>
</Story>
<StopTrigger>
<ConditionGroup>
<Condition name="criteria_RunningStopTest" delay="0" conditionEdge="rising">
<ByValueCondition>
<ParameterCondition parameterRef="" value="" rule="lessThan"/>
</ByValueCondition>
</Condition>
<Condition name="criteria_RunningRedLightTest" delay="0" conditionEdge="rising">
<ByValueCondition>
<ParameterCondition parameterRef="" value="" rule="lessThan"/>
</ByValueCondition>
</Condition>
<Condition name="criteria_WrongLaneTest" delay="0" conditionEdge="rising">
<ByValueCondition>
<ParameterCondition parameterRef="" value="" rule="lessThan"/>
</ByValueCondition>
</Condition>
<Condition name="criteria_OnSidewalkTest" delay="0" conditionEdge="rising">
<ByValueCondition>
<ParameterCondition parameterRef="" value="" rule="lessThan"/>
</ByValueCondition>
</Condition>
<Condition name="criteria_KeepLaneTest" delay="0" conditionEdge="rising">
<ByValueCondition>
<ParameterCondition parameterRef="" value="" rule="lessThan"/>
</ByValueCondition>
</Condition>
<Condition name="criteria_CollisionTest" delay="0" conditionEdge="rising">
<ByValueCondition>
<ParameterCondition parameterRef="" value="" rule="lessThan"/>
</ByValueCondition>
</Condition>
<Condition name="criteria_DrivenDistanceTest" delay="0" conditionEdge="rising">
<ByValueCondition>
<ParameterCondition parameterRef="distance_success" value="100" rule="lessThan"/>
</ByValueCondition>
</Condition>
</ConditionGroup>
</StopTrigger>
</Storyboard>
</OpenSCENARIO>
``` | Here is the result:
```
<?xml version="1.0" ?>
<OpenSCENARIO>
<FileHeader revMajor="1" revMinor="0" date="2020-03-24T12:00:00" description="CARLA:LaneChangeSimple" author=""/>
<ParameterDeclarations/>
<CatalogLocations/>
<RoadNetwork>
<LogicFile filepath="Town04"/>
<SceneGraphFile filepath=""/>
</RoadNetwork>
<Entities>
<ScenarioObject name="hero">
<Vehicle name="vehicle.tesla.model3" vehicleCategory="car">
<ParameterDeclarations/>
<Performance maxSpeed="69.444" maxAcceleration="200" maxDeceleration="10.0"/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2.1" length="4.5" height="1.8"/>
</BoundingBox>
<Axles>
<FrontAxle maxSteering="0.5" wheelDiameter="0.6" trackWidth="1.8" positionX="3.1" positionZ="0.3"/>
<RearAxle maxSteering="0.0" wheelDiameter="0.6" trackWidth="1.8" positionX="0.0" positionZ="0.3"/>
</Axles>
<Properties>
<Property name="type" value="ego_vehicle"/>
</Properties>
</Vehicle>
</ScenarioObject>
<ScenarioObject name="adversary">
<Vehicle name="vehicle.lincoln.mkz_2017" vehicleCategory="car">
<ParameterDeclarations/>
<Performance maxSpeed="69.444" maxAcceleration="200" maxDeceleration="10.0"/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2.1" length="4.5" height="1.8"/>
</BoundingBox>
<Axles>
<FrontAxle maxSteering="0.5" wheelDiameter="0.6" trackWidth="1.8" positionX="3.1" positionZ="0.3"/>
<RearAxle maxSteering="0.0" wheelDiameter="0.6" trackWidth="1.8" positionX="0.0" positionZ="0.3"/>
</Axles>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Vehicle>
</ScenarioObject>
<ScenarioObject name="standing">
<Vehicle name="vehicle.volkswagen.t2" vehicleCategory="car">
<ParameterDeclarations/>
<Performance maxSpeed="69.444" maxAcceleration="200" maxDeceleration="10.0"/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2.1" length="4.5" height="1.8"/>
</BoundingBox>
<Axles>
<FrontAxle maxSteering="0.5" wheelDiameter="0.6" trackWidth="1.8" positionX="3.1" positionZ="0.3"/>
<RearAxle maxSteering="0.0" wheelDiameter="0.6" 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_20994">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_close_to_adversary_20995">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_close_to_adversary_20996">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_close_to_hero_20997">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_w_transform_20998">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_close_to_adversary_20999">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_close_to_hero_21000">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_close_to_standing_21001">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_w_transform_21002">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_close_to_standing_21003">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_close_to_adversary_21004">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_w_transform_21005">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_w_transform_21006">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_w_transform_21007">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_w_transform_21008">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
</Entities>
<Storyboard>
<Init>
<Actions>
<GlobalAction>
<EnvironmentAction>
<Environment name="Environment1">
<TimeOfDay animation="false" dateTime="2019-06-25T12:00:00"/>
<Weather cloudState="free">
<Sun intensity="0.85" azimuth="0" elevation="1.31"/>
<Fog visualRange="100000.0"/>
<Precipitation precipitationType="dry" intensity="0.0"/>
</Weather>
<RoadCondition frictionScaleFactor="1.0"/>
</Environment>
</EnvironmentAction>
</GlobalAction>
<Private entityRef="hero">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-9.4" y="-152.8" z="0.5" h="1.57079632679"/>
</Position>
</TeleportAction>
</PrivateAction>
<PrivateAction>
<ControllerAction>
<AssignControllerAction>
<Controller name="HeroAgent">
<Properties>
<Property name="module" value="external_control"/>
</Properties>
</Controller>
</AssignControllerAction>
<OverrideControllerValueAction>
<Throttle value="0" active="false"/>
<Brake value="0" active="false"/>
<Clutch value="0" active="false"/>
<ParkingBrake value="0" active="false"/>
<SteeringWheel value="0" active="false"/>
<Gear number="0" active="false"/>
</OverrideControllerValueAction>
</ControllerAction>
</PrivateAction>
</Private>
<Private entityRef="adversary">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-9.4" y="-71.0" z="0.5" h="1.57079632679"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="standing">
<PrivateAction>
<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_20994">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-9.38524055480957" y="33.078792572021484" z="0.0030210113618522882"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_close_to_adversary_20995">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-10.328680992126465" y="-54.6099739074707" z="0.03379455581307411"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_close_to_adversary_20996">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-19.099376678466797" y="-72.12247467041016" z="0.033768195658922195"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_close_to_hero_20997">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-16.96419334411621" y="-150.9426727294922" z="0.0014286803780123591"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_w_transform_20998">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="48.5849609375" y="-45.977108001708984" z="0.5"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_close_to_adversary_20999">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-3.187854290008545" y="-63.27226638793945" z="0.03384418413043022"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_close_to_hero_21000">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-11.484573364257812" y="-147.19773864746094" z="0.0014286803780123591"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_close_to_standing_21001">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-6.855294704437256" y="32.445919036865234" z="0.003075256245210767"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_w_transform_21002">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-54.645999908447266" y="-39.03001022338867" z="0.5"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_close_to_standing_21003">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-7.281162738800049" y="33.62963104248047" z="0.003064498770982027"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_close_to_adversary_21004">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-11.080961227416992" y="-78.19438171386719" z="0.03380550444126129"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_w_transform_21005">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="68.05685424804688" y="6.643095970153809" z="0.5"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_w_transform_21006">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="7.6475749015808105" y="-50.68272018432617" z="0.5"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_w_transform_21007">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="84.09304809570312" y="61.04893493652344" z="0.5"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_w_transform_21008">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-45.580596923828125" y="19.782400131225586" z="0.5"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
</Actions>
</Init>
<Story name="MyStory">
<Act name="Behavior">
<ManeuverGroup maximumExecutionCount="1" name="ManeuverSequence">
<Actors selectTriggeringEntities="false">
<EntityRef entityRef="adversary"/>
</Actors>
<Maneuver name="LaneChangeSimpleManeuver">
<Event name="AdversaryAccelerates" priority="overwrite">
<Action name="AdversaryAccelerates">
<PrivateAction>
<LongitudinalAction>
<SpeedAction>
<SpeedActionDynamics dynamicsShape="step" value="50" dynamicsDimension="distance"/>
<SpeedActionTarget>
<AbsoluteTargetSpeed value="5.0"/>
</SpeedActionTarget>
</SpeedAction>
</LongitudinalAction>
</PrivateAction>
</Action>
<StartTrigger>
<ConditionGroup>
<Condition name="StartCondition" delay="0" conditionEdge="rising">
<ByEntityCondition>
<TriggeringEntities triggeringEntitiesRule="any">
<EntityRef entityRef="hero"/>
</TriggeringEntities>
<EntityCondition>
<RelativeDistanceCondition entityRef="adversary" relativeDistanceType="cartesianDistance" value="40.0" freespace="false" rule="lessThan"/>
</EntityCondition>
</ByEntityCondition>
</Condition>
</ConditionGroup>
</StartTrigger>
</Event>
<Event name="AdversaryChangesLane" priority="overwrite">
<Action name="AdversaryChangesLane">
<PrivateAction>
<LateralAction>
<LaneChangeAction>
<LaneChangeActionDynamics dynamicsShape="linear" value="25" dynamicsDimension="distance"/>
<LaneChangeTarget>
<RelativeTargetLane entityRef="adversary" value="-1"/>
</LaneChangeTarget>
</LaneChangeAction>
</LateralAction>
</PrivateAction>
</Action>
<StartTrigger>
<ConditionGroup>
<Condition name="AfterAdversaryAccelerates" delay="0" conditionEdge="rising">
<ByValueCondition>
<StoryboardElementStateCondition storyboardElementType="action" storyboardElementRef="AdversaryAccelerates" state="completeState"/>
</ByValueCondition>
</Condition>
</ConditionGroup>
</StartTrigger>
</Event>
</Maneuver>
</ManeuverGroup>
<StartTrigger>
<ConditionGroup>
<Condition name="OverallStartCondition" delay="0" conditionEdge="rising">
<ByEntityCondition>
<TriggeringEntities triggeringEntitiesRule="any">
<EntityRef entityRef="hero"/>
</TriggeringEntities>
<EntityCondition>
<TraveledDistanceCondition value="1.0"/>
</EntityCondition>
</ByEntityCondition>
</Condition>
<Condition name="StartTime" delay="0" conditionEdge="rising">
<ByValueCondition>
<SimulationTimeCondition value="0" rule="equalTo"/>
</ByValueCondition>
</Condition>
</ConditionGroup>
</StartTrigger>
<StopTrigger>
<ConditionGroup>
<Condition name="EndCondition" delay="0" conditionEdge="rising">
<ByEntityCondition>
<TriggeringEntities triggeringEntitiesRule="any">
<EntityRef entityRef="hero"/>
</TriggeringEntities>
<EntityCondition>
<TraveledDistanceCondition value="200.0"/>
</EntityCondition>
</ByEntityCondition>
</Condition>
</ConditionGroup>
</StopTrigger>
</Act>
</Story>
<StopTrigger>
<ConditionGroup>
<Condition name="criteria_RunningStopTest" delay="0" conditionEdge="rising">
<ByValueCondition>
<ParameterCondition parameterRef="" value="" rule="lessThan"/>
</ByValueCondition>
</Condition>
<Condition name="criteria_RunningRedLightTest" delay="0" conditionEdge="rising">
<ByValueCondition>
<ParameterCondition parameterRef="" value="" rule="lessThan"/>
</ByValueCondition>
</Condition>
<Condition name="criteria_WrongLaneTest" delay="0" conditionEdge="rising">
<ByValueCondition>
<ParameterCondition parameterRef="" value="" rule="lessThan"/>
</ByValueCondition>
</Condition>
<Condition name="criteria_OnSidewalkTest" delay="0" conditionEdge="rising">
<ByValueCondition>
<ParameterCondition parameterRef="" value="" rule="lessThan"/>
</ByValueCondition>
</Condition>
<Condition name="criteria_KeepLaneTest" delay="0" conditionEdge="rising">
<ByValueCondition>
<ParameterCondition parameterRef="" value="" rule="lessThan"/>
</ByValueCondition>
</Condition>
<Condition name="criteria_CollisionTest" delay="0" conditionEdge="rising">
<ByValueCondition>
<ParameterCondition parameterRef="" value="" rule="lessThan"/>
</ByValueCondition>
</Condition>
<Condition name="criteria_DrivenDistanceTest" delay="0" conditionEdge="rising">
<ByValueCondition>
<ParameterCondition parameterRef="distance_success" value="100" rule="lessThan"/>
</ByValueCondition>
</Condition>
</ConditionGroup>
</StopTrigger>
</Storyboard>
</OpenSCENARIO>
``` |
i would like to tell you to add pedestrian close to adversary?
```
<?xml version="1.0" ?>
<OpenSCENARIO>
<FileHeader revMajor="1" revMinor="0" date="2020-03-24T12:00:00" description="CARLA:LaneChangeSimple" author=""/>
<ParameterDeclarations/>
<CatalogLocations/>
<RoadNetwork>
<LogicFile filepath="Town04"/>
<SceneGraphFile filepath=""/>
</RoadNetwork>
<Entities>
<ScenarioObject name="hero">
<Vehicle name="vehicle.tesla.model3" vehicleCategory="car">
<ParameterDeclarations/>
<Performance maxSpeed="69.444" maxAcceleration="200" maxDeceleration="10.0"/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2.1" length="4.5" height="1.8"/>
</BoundingBox>
<Axles>
<FrontAxle maxSteering="0.5" wheelDiameter="0.6" trackWidth="1.8" positionX="3.1" positionZ="0.3"/>
<RearAxle maxSteering="0.0" wheelDiameter="0.6" trackWidth="1.8" positionX="0.0" positionZ="0.3"/>
</Axles>
<Properties>
<Property name="type" value="ego_vehicle"/>
</Properties>
</Vehicle>
</ScenarioObject>
<ScenarioObject name="adversary">
<Vehicle name="vehicle.lincoln.mkz_2017" vehicleCategory="car">
<ParameterDeclarations/>
<Performance maxSpeed="69.444" maxAcceleration="200" maxDeceleration="10.0"/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2.1" length="4.5" height="1.8"/>
</BoundingBox>
<Axles>
<FrontAxle maxSteering="0.5" wheelDiameter="0.6" trackWidth="1.8" positionX="3.1" positionZ="0.3"/>
<RearAxle maxSteering="0.0" wheelDiameter="0.6" trackWidth="1.8" positionX="0.0" positionZ="0.3"/>
</Axles>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Vehicle>
</ScenarioObject>
<ScenarioObject name="standing">
<Vehicle name="vehicle.volkswagen.t2" vehicleCategory="car">
<ParameterDeclarations/>
<Performance maxSpeed="69.444" maxAcceleration="200" maxDeceleration="10.0"/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2.1" length="4.5" height="1.8"/>
</BoundingBox>
<Axles>
<FrontAxle maxSteering="0.5" wheelDiameter="0.6" trackWidth="1.8" positionX="3.1" positionZ="0.3"/>
<RearAxle maxSteering="0.0" wheelDiameter="0.6" trackWidth="1.8" positionX="0.0" positionZ="0.3"/>
</Axles>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Vehicle>
</ScenarioObject>
<ScenarioObject name="pedestrian_close_to_hero_18514">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_close_to_adversary_18515">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_close_to_hero_18516">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_close_to_hero_18517">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_w_transform_18518">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_w_transform_18519">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_close_to_adversary_18520">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_w_transform_18521">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
</Entities>
<Storyboard>
<Init>
<Actions>
<GlobalAction>
<EnvironmentAction>
<Environment name="Environment1">
<TimeOfDay animation="false" dateTime="2019-06-25T12:00:00"/>
<Weather cloudState="free">
<Sun intensity="0.85" azimuth="0" elevation="1.31"/>
<Fog visualRange="100000.0"/>
<Precipitation precipitationType="dry" intensity="0.0"/>
</Weather>
<RoadCondition frictionScaleFactor="1.0"/>
</Environment>
</EnvironmentAction>
</GlobalAction>
<Private entityRef="hero">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-9.4" y="-152.8" z="0.5" h="1.57079632679"/>
</Position>
</TeleportAction>
</PrivateAction>
<PrivateAction>
<ControllerAction>
<AssignControllerAction>
<Controller name="HeroAgent">
<Properties>
<Property name="module" value="external_control"/>
</Properties>
</Controller>
</AssignControllerAction>
<OverrideControllerValueAction>
<Throttle value="0" active="false"/>
<Brake value="0" active="false"/>
<Clutch value="0" active="false"/>
<ParkingBrake value="0" active="false"/>
<SteeringWheel value="0" active="false"/>
<Gear number="0" active="false"/>
</OverrideControllerValueAction>
</ControllerAction>
</PrivateAction>
</Private>
<Private entityRef="adversary">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-9.4" y="-71.0" z="0.5" h="1.57079632679"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="standing">
<PrivateAction>
<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_18514">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-3.658998489379883" y="-152.31289672851562" z="0.0014286803780123591"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_close_to_adversary_18515">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-6.009644508361816" y="-76.47869110107422" z="0.033803023397922516"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_close_to_hero_18516">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-2.7298831939697266" y="-153.0763702392578" z="0.0014286803780123591"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_close_to_hero_18517">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-3.9427883625030518" y="-144.0998077392578" z="0.0014286803780123591"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_w_transform_18518">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="92.67562866210938" y="91.35818481445312" z="0.5"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_w_transform_18519">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="57.49851608276367" y="-90.71953582763672" z="0.5"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_close_to_adversary_18520">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-16.67254638671875" y="-60.87065124511719" z="0.03374694660305977"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_w_transform_18521">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="37.02326583862305" y="47.14937210083008" z="0.5"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
</Actions>
</Init>
<Story name="MyStory">
<Act name="Behavior">
<ManeuverGroup maximumExecutionCount="1" name="ManeuverSequence">
<Actors selectTriggeringEntities="false">
<EntityRef entityRef="adversary"/>
</Actors>
<Maneuver name="LaneChangeSimpleManeuver">
<Event name="AdversaryAccelerates" priority="overwrite">
<Action name="AdversaryAccelerates">
<PrivateAction>
<LongitudinalAction>
<SpeedAction>
<SpeedActionDynamics dynamicsShape="step" value="50" dynamicsDimension="distance"/>
<SpeedActionTarget>
<AbsoluteTargetSpeed value="5.0"/>
</SpeedActionTarget>
</SpeedAction>
</LongitudinalAction>
</PrivateAction>
</Action>
<StartTrigger>
<ConditionGroup>
<Condition name="StartCondition" delay="0" conditionEdge="rising">
<ByEntityCondition>
<TriggeringEntities triggeringEntitiesRule="any">
<EntityRef entityRef="hero"/>
</TriggeringEntities>
<EntityCondition>
<RelativeDistanceCondition entityRef="adversary" relativeDistanceType="cartesianDistance" value="40.0" freespace="false" rule="lessThan"/>
</EntityCondition>
</ByEntityCondition>
</Condition>
</ConditionGroup>
</StartTrigger>
</Event>
<Event name="AdversaryChangesLane" priority="overwrite">
<Action name="AdversaryChangesLane">
<PrivateAction>
<LateralAction>
<LaneChangeAction>
<LaneChangeActionDynamics dynamicsShape="linear" value="25" dynamicsDimension="distance"/>
<LaneChangeTarget>
<RelativeTargetLane entityRef="adversary" value="-1"/>
</LaneChangeTarget>
</LaneChangeAction>
</LateralAction>
</PrivateAction>
</Action>
<StartTrigger>
<ConditionGroup>
<Condition name="AfterAdversaryAccelerates" delay="0" conditionEdge="rising">
<ByValueCondition>
<StoryboardElementStateCondition storyboardElementType="action" storyboardElementRef="AdversaryAccelerates" state="completeState"/>
</ByValueCondition>
</Condition>
</ConditionGroup>
</StartTrigger>
</Event>
</Maneuver>
</ManeuverGroup>
<StartTrigger>
<ConditionGroup>
<Condition name="OverallStartCondition" delay="0" conditionEdge="rising">
<ByEntityCondition>
<TriggeringEntities triggeringEntitiesRule="any">
<EntityRef entityRef="hero"/>
</TriggeringEntities>
<EntityCondition>
<TraveledDistanceCondition value="1.0"/>
</EntityCondition>
</ByEntityCondition>
</Condition>
<Condition name="StartTime" delay="0" conditionEdge="rising">
<ByValueCondition>
<SimulationTimeCondition value="0" rule="equalTo"/>
</ByValueCondition>
</Condition>
</ConditionGroup>
</StartTrigger>
<StopTrigger>
<ConditionGroup>
<Condition name="EndCondition" delay="0" conditionEdge="rising">
<ByEntityCondition>
<TriggeringEntities triggeringEntitiesRule="any">
<EntityRef entityRef="hero"/>
</TriggeringEntities>
<EntityCondition>
<TraveledDistanceCondition value="200.0"/>
</EntityCondition>
</ByEntityCondition>
</Condition>
</ConditionGroup>
</StopTrigger>
</Act>
</Story>
<StopTrigger>
<ConditionGroup>
<Condition name="criteria_RunningStopTest" delay="0" conditionEdge="rising">
<ByValueCondition>
<ParameterCondition parameterRef="" value="" rule="lessThan"/>
</ByValueCondition>
</Condition>
<Condition name="criteria_RunningRedLightTest" delay="0" conditionEdge="rising">
<ByValueCondition>
<ParameterCondition parameterRef="" value="" rule="lessThan"/>
</ByValueCondition>
</Condition>
<Condition name="criteria_WrongLaneTest" delay="0" conditionEdge="rising">
<ByValueCondition>
<ParameterCondition parameterRef="" value="" rule="lessThan"/>
</ByValueCondition>
</Condition>
<Condition name="criteria_OnSidewalkTest" delay="0" conditionEdge="rising">
<ByValueCondition>
<ParameterCondition parameterRef="" value="" rule="lessThan"/>
</ByValueCondition>
</Condition>
<Condition name="criteria_KeepLaneTest" delay="0" conditionEdge="rising">
<ByValueCondition>
<ParameterCondition parameterRef="" value="" rule="lessThan"/>
</ByValueCondition>
</Condition>
<Condition name="criteria_CollisionTest" delay="0" conditionEdge="rising">
<ByValueCondition>
<ParameterCondition parameterRef="" value="" rule="lessThan"/>
</ByValueCondition>
</Condition>
<Condition name="criteria_DrivenDistanceTest" delay="0" conditionEdge="rising">
<ByValueCondition>
<ParameterCondition parameterRef="distance_success" value="100" rule="lessThan"/>
</ByValueCondition>
</Condition>
</ConditionGroup>
</StopTrigger>
</Storyboard>
</OpenSCENARIO>
``` | Here is the result:
```
<?xml version="1.0" ?>
<OpenSCENARIO>
<FileHeader revMajor="1" revMinor="0" date="2020-03-24T12:00:00" description="CARLA:LaneChangeSimple" author=""/>
<ParameterDeclarations/>
<CatalogLocations/>
<RoadNetwork>
<LogicFile filepath="Town04"/>
<SceneGraphFile filepath=""/>
</RoadNetwork>
<Entities>
<ScenarioObject name="hero">
<Vehicle name="vehicle.tesla.model3" vehicleCategory="car">
<ParameterDeclarations/>
<Performance maxSpeed="69.444" maxAcceleration="200" maxDeceleration="10.0"/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2.1" length="4.5" height="1.8"/>
</BoundingBox>
<Axles>
<FrontAxle maxSteering="0.5" wheelDiameter="0.6" trackWidth="1.8" positionX="3.1" positionZ="0.3"/>
<RearAxle maxSteering="0.0" wheelDiameter="0.6" trackWidth="1.8" positionX="0.0" positionZ="0.3"/>
</Axles>
<Properties>
<Property name="type" value="ego_vehicle"/>
</Properties>
</Vehicle>
</ScenarioObject>
<ScenarioObject name="adversary">
<Vehicle name="vehicle.lincoln.mkz_2017" vehicleCategory="car">
<ParameterDeclarations/>
<Performance maxSpeed="69.444" maxAcceleration="200" maxDeceleration="10.0"/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2.1" length="4.5" height="1.8"/>
</BoundingBox>
<Axles>
<FrontAxle maxSteering="0.5" wheelDiameter="0.6" trackWidth="1.8" positionX="3.1" positionZ="0.3"/>
<RearAxle maxSteering="0.0" wheelDiameter="0.6" trackWidth="1.8" positionX="0.0" positionZ="0.3"/>
</Axles>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Vehicle>
</ScenarioObject>
<ScenarioObject name="standing">
<Vehicle name="vehicle.volkswagen.t2" vehicleCategory="car">
<ParameterDeclarations/>
<Performance maxSpeed="69.444" maxAcceleration="200" maxDeceleration="10.0"/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2.1" length="4.5" height="1.8"/>
</BoundingBox>
<Axles>
<FrontAxle maxSteering="0.5" wheelDiameter="0.6" trackWidth="1.8" positionX="3.1" positionZ="0.3"/>
<RearAxle maxSteering="0.0" wheelDiameter="0.6" 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_18514">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_close_to_adversary_18515">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_close_to_hero_18516">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_close_to_hero_18517">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_w_transform_18518">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_w_transform_18519">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_close_to_adversary_18520">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_w_transform_18521">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_close_to_adversary_18522">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
</Entities>
<Storyboard>
<Init>
<Actions>
<GlobalAction>
<EnvironmentAction>
<Environment name="Environment1">
<TimeOfDay animation="false" dateTime="2019-06-25T12:00:00"/>
<Weather cloudState="free">
<Sun intensity="0.85" azimuth="0" elevation="1.31"/>
<Fog visualRange="100000.0"/>
<Precipitation precipitationType="dry" intensity="0.0"/>
</Weather>
<RoadCondition frictionScaleFactor="1.0"/>
</Environment>
</EnvironmentAction>
</GlobalAction>
<Private entityRef="hero">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-9.4" y="-152.8" z="0.5" h="1.57079632679"/>
</Position>
</TeleportAction>
</PrivateAction>
<PrivateAction>
<ControllerAction>
<AssignControllerAction>
<Controller name="HeroAgent">
<Properties>
<Property name="module" value="external_control"/>
</Properties>
</Controller>
</AssignControllerAction>
<OverrideControllerValueAction>
<Throttle value="0" active="false"/>
<Brake value="0" active="false"/>
<Clutch value="0" active="false"/>
<ParkingBrake value="0" active="false"/>
<SteeringWheel value="0" active="false"/>
<Gear number="0" active="false"/>
</OverrideControllerValueAction>
</ControllerAction>
</PrivateAction>
</Private>
<Private entityRef="adversary">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-9.4" y="-71.0" z="0.5" h="1.57079632679"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="standing">
<PrivateAction>
<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_18514">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-3.658998489379883" y="-152.31289672851562" z="0.0014286803780123591"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_close_to_adversary_18515">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-6.009644508361816" y="-76.47869110107422" z="0.033803023397922516"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_close_to_hero_18516">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-2.7298831939697266" y="-153.0763702392578" z="0.0014286803780123591"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_close_to_hero_18517">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-3.9427883625030518" y="-144.0998077392578" z="0.0014286803780123591"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_w_transform_18518">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="92.67562866210938" y="91.35818481445312" z="0.5"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_w_transform_18519">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="57.49851608276367" y="-90.71953582763672" z="0.5"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_close_to_adversary_18520">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-16.67254638671875" y="-60.87065124511719" z="0.03374694660305977"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_w_transform_18521">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="37.02326583862305" y="47.14937210083008" z="0.5"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_close_to_adversary_18522">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-6.401312351226807" y="-71.99266815185547" z="0.033729590475559235"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
</Actions>
</Init>
<Story name="MyStory">
<Act name="Behavior">
<ManeuverGroup maximumExecutionCount="1" name="ManeuverSequence">
<Actors selectTriggeringEntities="false">
<EntityRef entityRef="adversary"/>
</Actors>
<Maneuver name="LaneChangeSimpleManeuver">
<Event name="AdversaryAccelerates" priority="overwrite">
<Action name="AdversaryAccelerates">
<PrivateAction>
<LongitudinalAction>
<SpeedAction>
<SpeedActionDynamics dynamicsShape="step" value="50" dynamicsDimension="distance"/>
<SpeedActionTarget>
<AbsoluteTargetSpeed value="5.0"/>
</SpeedActionTarget>
</SpeedAction>
</LongitudinalAction>
</PrivateAction>
</Action>
<StartTrigger>
<ConditionGroup>
<Condition name="StartCondition" delay="0" conditionEdge="rising">
<ByEntityCondition>
<TriggeringEntities triggeringEntitiesRule="any">
<EntityRef entityRef="hero"/>
</TriggeringEntities>
<EntityCondition>
<RelativeDistanceCondition entityRef="adversary" relativeDistanceType="cartesianDistance" value="40.0" freespace="false" rule="lessThan"/>
</EntityCondition>
</ByEntityCondition>
</Condition>
</ConditionGroup>
</StartTrigger>
</Event>
<Event name="AdversaryChangesLane" priority="overwrite">
<Action name="AdversaryChangesLane">
<PrivateAction>
<LateralAction>
<LaneChangeAction>
<LaneChangeActionDynamics dynamicsShape="linear" value="25" dynamicsDimension="distance"/>
<LaneChangeTarget>
<RelativeTargetLane entityRef="adversary" value="-1"/>
</LaneChangeTarget>
</LaneChangeAction>
</LateralAction>
</PrivateAction>
</Action>
<StartTrigger>
<ConditionGroup>
<Condition name="AfterAdversaryAccelerates" delay="0" conditionEdge="rising">
<ByValueCondition>
<StoryboardElementStateCondition storyboardElementType="action" storyboardElementRef="AdversaryAccelerates" state="completeState"/>
</ByValueCondition>
</Condition>
</ConditionGroup>
</StartTrigger>
</Event>
</Maneuver>
</ManeuverGroup>
<StartTrigger>
<ConditionGroup>
<Condition name="OverallStartCondition" delay="0" conditionEdge="rising">
<ByEntityCondition>
<TriggeringEntities triggeringEntitiesRule="any">
<EntityRef entityRef="hero"/>
</TriggeringEntities>
<EntityCondition>
<TraveledDistanceCondition value="1.0"/>
</EntityCondition>
</ByEntityCondition>
</Condition>
<Condition name="StartTime" delay="0" conditionEdge="rising">
<ByValueCondition>
<SimulationTimeCondition value="0" rule="equalTo"/>
</ByValueCondition>
</Condition>
</ConditionGroup>
</StartTrigger>
<StopTrigger>
<ConditionGroup>
<Condition name="EndCondition" delay="0" conditionEdge="rising">
<ByEntityCondition>
<TriggeringEntities triggeringEntitiesRule="any">
<EntityRef entityRef="hero"/>
</TriggeringEntities>
<EntityCondition>
<TraveledDistanceCondition value="200.0"/>
</EntityCondition>
</ByEntityCondition>
</Condition>
</ConditionGroup>
</StopTrigger>
</Act>
</Story>
<StopTrigger>
<ConditionGroup>
<Condition name="criteria_RunningStopTest" delay="0" conditionEdge="rising">
<ByValueCondition>
<ParameterCondition parameterRef="" value="" rule="lessThan"/>
</ByValueCondition>
</Condition>
<Condition name="criteria_RunningRedLightTest" delay="0" conditionEdge="rising">
<ByValueCondition>
<ParameterCondition parameterRef="" value="" rule="lessThan"/>
</ByValueCondition>
</Condition>
<Condition name="criteria_WrongLaneTest" delay="0" conditionEdge="rising">
<ByValueCondition>
<ParameterCondition parameterRef="" value="" rule="lessThan"/>
</ByValueCondition>
</Condition>
<Condition name="criteria_OnSidewalkTest" delay="0" conditionEdge="rising">
<ByValueCondition>
<ParameterCondition parameterRef="" value="" rule="lessThan"/>
</ByValueCondition>
</Condition>
<Condition name="criteria_KeepLaneTest" delay="0" conditionEdge="rising">
<ByValueCondition>
<ParameterCondition parameterRef="" value="" rule="lessThan"/>
</ByValueCondition>
</Condition>
<Condition name="criteria_CollisionTest" delay="0" conditionEdge="rising">
<ByValueCondition>
<ParameterCondition parameterRef="" value="" rule="lessThan"/>
</ByValueCondition>
</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 (98.22, -65.57, 0.5)?
```
<?xml version="1.0" ?>
<OpenSCENARIO>
<FileHeader revMajor="1" revMinor="0" date="2020-03-24T12:00:00" description="CARLA:LaneChangeSimple" author=""/>
<ParameterDeclarations/>
<CatalogLocations/>
<RoadNetwork>
<LogicFile filepath="Town04"/>
<SceneGraphFile filepath=""/>
</RoadNetwork>
<Entities>
<ScenarioObject name="hero">
<Vehicle name="vehicle.tesla.model3" vehicleCategory="car">
<ParameterDeclarations/>
<Performance maxSpeed="69.444" maxAcceleration="200" maxDeceleration="10.0"/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2.1" length="4.5" height="1.8"/>
</BoundingBox>
<Axles>
<FrontAxle maxSteering="0.5" wheelDiameter="0.6" trackWidth="1.8" positionX="3.1" positionZ="0.3"/>
<RearAxle maxSteering="0.0" wheelDiameter="0.6" trackWidth="1.8" positionX="0.0" positionZ="0.3"/>
</Axles>
<Properties>
<Property name="type" value="ego_vehicle"/>
</Properties>
</Vehicle>
</ScenarioObject>
<ScenarioObject name="adversary">
<Vehicle name="vehicle.lincoln.mkz_2017" vehicleCategory="car">
<ParameterDeclarations/>
<Performance maxSpeed="69.444" maxAcceleration="200" maxDeceleration="10.0"/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2.1" length="4.5" height="1.8"/>
</BoundingBox>
<Axles>
<FrontAxle maxSteering="0.5" wheelDiameter="0.6" trackWidth="1.8" positionX="3.1" positionZ="0.3"/>
<RearAxle maxSteering="0.0" wheelDiameter="0.6" trackWidth="1.8" positionX="0.0" positionZ="0.3"/>
</Axles>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Vehicle>
</ScenarioObject>
<ScenarioObject name="standing">
<Vehicle name="vehicle.volkswagen.t2" vehicleCategory="car">
<ParameterDeclarations/>
<Performance maxSpeed="69.444" maxAcceleration="200" maxDeceleration="10.0"/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2.1" length="4.5" height="1.8"/>
</BoundingBox>
<Axles>
<FrontAxle maxSteering="0.5" wheelDiameter="0.6" trackWidth="1.8" positionX="3.1" positionZ="0.3"/>
<RearAxle maxSteering="0.0" wheelDiameter="0.6" trackWidth="1.8" positionX="0.0" positionZ="0.3"/>
</Axles>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Vehicle>
</ScenarioObject>
<ScenarioObject name="pedestrian_close_to_hero_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>
</Entities>
<Storyboard>
<Init>
<Actions>
<GlobalAction>
<EnvironmentAction>
<Environment name="Environment1">
<TimeOfDay animation="false" dateTime="2019-06-25T12:00:00"/>
<Weather cloudState="free">
<Sun intensity="0.85" azimuth="0" elevation="1.31"/>
<Fog visualRange="100000.0"/>
<Precipitation precipitationType="dry" intensity="0.0"/>
</Weather>
<RoadCondition frictionScaleFactor="1.0"/>
</Environment>
</EnvironmentAction>
</GlobalAction>
<Private entityRef="hero">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-9.4" y="-152.8" z="0.5" h="1.57079632679"/>
</Position>
</TeleportAction>
</PrivateAction>
<PrivateAction>
<ControllerAction>
<AssignControllerAction>
<Controller name="HeroAgent">
<Properties>
<Property name="module" value="external_control"/>
</Properties>
</Controller>
</AssignControllerAction>
<OverrideControllerValueAction>
<Throttle value="0" active="false"/>
<Brake value="0" active="false"/>
<Clutch value="0" active="false"/>
<ParkingBrake value="0" active="false"/>
<SteeringWheel value="0" active="false"/>
<Gear number="0" active="false"/>
</OverrideControllerValueAction>
</ControllerAction>
</PrivateAction>
</Private>
<Private entityRef="adversary">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-9.4" y="-71.0" z="0.5" h="1.57079632679"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="standing">
<PrivateAction>
<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>
</Actions>
</Init>
<Story name="MyStory">
<Act name="Behavior">
<ManeuverGroup maximumExecutionCount="1" name="ManeuverSequence">
<Actors selectTriggeringEntities="false">
<EntityRef entityRef="adversary"/>
</Actors>
<Maneuver name="LaneChangeSimpleManeuver">
<Event name="AdversaryAccelerates" priority="overwrite">
<Action name="AdversaryAccelerates">
<PrivateAction>
<LongitudinalAction>
<SpeedAction>
<SpeedActionDynamics dynamicsShape="step" value="50" dynamicsDimension="distance"/>
<SpeedActionTarget>
<AbsoluteTargetSpeed value="5.0"/>
</SpeedActionTarget>
</SpeedAction>
</LongitudinalAction>
</PrivateAction>
</Action>
<StartTrigger>
<ConditionGroup>
<Condition name="StartCondition" delay="0" conditionEdge="rising">
<ByEntityCondition>
<TriggeringEntities triggeringEntitiesRule="any">
<EntityRef entityRef="hero"/>
</TriggeringEntities>
<EntityCondition>
<RelativeDistanceCondition entityRef="adversary" relativeDistanceType="cartesianDistance" value="40.0" freespace="false" rule="lessThan"/>
</EntityCondition>
</ByEntityCondition>
</Condition>
</ConditionGroup>
</StartTrigger>
</Event>
<Event name="AdversaryChangesLane" priority="overwrite">
<Action name="AdversaryChangesLane">
<PrivateAction>
<LateralAction>
<LaneChangeAction>
<LaneChangeActionDynamics dynamicsShape="linear" value="25" dynamicsDimension="distance"/>
<LaneChangeTarget>
<RelativeTargetLane entityRef="adversary" value="-1"/>
</LaneChangeTarget>
</LaneChangeAction>
</LateralAction>
</PrivateAction>
</Action>
<StartTrigger>
<ConditionGroup>
<Condition name="AfterAdversaryAccelerates" delay="0" conditionEdge="rising">
<ByValueCondition>
<StoryboardElementStateCondition storyboardElementType="action" storyboardElementRef="AdversaryAccelerates" state="completeState"/>
</ByValueCondition>
</Condition>
</ConditionGroup>
</StartTrigger>
</Event>
</Maneuver>
</ManeuverGroup>
<StartTrigger>
<ConditionGroup>
<Condition name="OverallStartCondition" delay="0" conditionEdge="rising">
<ByEntityCondition>
<TriggeringEntities triggeringEntitiesRule="any">
<EntityRef entityRef="hero"/>
</TriggeringEntities>
<EntityCondition>
<TraveledDistanceCondition value="1.0"/>
</EntityCondition>
</ByEntityCondition>
</Condition>
<Condition name="StartTime" delay="0" conditionEdge="rising">
<ByValueCondition>
<SimulationTimeCondition value="0" rule="equalTo"/>
</ByValueCondition>
</Condition>
</ConditionGroup>
</StartTrigger>
<StopTrigger>
<ConditionGroup>
<Condition name="EndCondition" delay="0" conditionEdge="rising">
<ByEntityCondition>
<TriggeringEntities triggeringEntitiesRule="any">
<EntityRef entityRef="hero"/>
</TriggeringEntities>
<EntityCondition>
<TraveledDistanceCondition value="200.0"/>
</EntityCondition>
</ByEntityCondition>
</Condition>
</ConditionGroup>
</StopTrigger>
</Act>
</Story>
<StopTrigger>
<ConditionGroup>
<Condition name="criteria_RunningStopTest" delay="0" conditionEdge="rising">
<ByValueCondition>
<ParameterCondition parameterRef="" value="" rule="lessThan"/>
</ByValueCondition>
</Condition>
<Condition name="criteria_RunningRedLightTest" delay="0" conditionEdge="rising">
<ByValueCondition>
<ParameterCondition parameterRef="" value="" rule="lessThan"/>
</ByValueCondition>
</Condition>
<Condition name="criteria_WrongLaneTest" delay="0" conditionEdge="rising">
<ByValueCondition>
<ParameterCondition parameterRef="" value="" rule="lessThan"/>
</ByValueCondition>
</Condition>
<Condition name="criteria_OnSidewalkTest" delay="0" conditionEdge="rising">
<ByValueCondition>
<ParameterCondition parameterRef="" value="" rule="lessThan"/>
</ByValueCondition>
</Condition>
<Condition name="criteria_KeepLaneTest" delay="0" conditionEdge="rising">
<ByValueCondition>
<ParameterCondition parameterRef="" value="" rule="lessThan"/>
</ByValueCondition>
</Condition>
<Condition name="criteria_CollisionTest" delay="0" conditionEdge="rising">
<ByValueCondition>
<ParameterCondition parameterRef="" value="" rule="lessThan"/>
</ByValueCondition>
</Condition>
<Condition name="criteria_DrivenDistanceTest" delay="0" conditionEdge="rising">
<ByValueCondition>
<ParameterCondition parameterRef="distance_success" value="100" rule="lessThan"/>
</ByValueCondition>
</Condition>
</ConditionGroup>
</StopTrigger>
</Storyboard>
</OpenSCENARIO>
``` | Here is the result:
```
<?xml version="1.0" ?>
<OpenSCENARIO>
<FileHeader revMajor="1" revMinor="0" date="2020-03-24T12:00:00" description="CARLA:LaneChangeSimple" author=""/>
<ParameterDeclarations/>
<CatalogLocations/>
<RoadNetwork>
<LogicFile filepath="Town04"/>
<SceneGraphFile filepath=""/>
</RoadNetwork>
<Entities>
<ScenarioObject name="hero">
<Vehicle name="vehicle.tesla.model3" vehicleCategory="car">
<ParameterDeclarations/>
<Performance maxSpeed="69.444" maxAcceleration="200" maxDeceleration="10.0"/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2.1" length="4.5" height="1.8"/>
</BoundingBox>
<Axles>
<FrontAxle maxSteering="0.5" wheelDiameter="0.6" trackWidth="1.8" positionX="3.1" positionZ="0.3"/>
<RearAxle maxSteering="0.0" wheelDiameter="0.6" trackWidth="1.8" positionX="0.0" positionZ="0.3"/>
</Axles>
<Properties>
<Property name="type" value="ego_vehicle"/>
</Properties>
</Vehicle>
</ScenarioObject>
<ScenarioObject name="adversary">
<Vehicle name="vehicle.lincoln.mkz_2017" vehicleCategory="car">
<ParameterDeclarations/>
<Performance maxSpeed="69.444" maxAcceleration="200" maxDeceleration="10.0"/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2.1" length="4.5" height="1.8"/>
</BoundingBox>
<Axles>
<FrontAxle maxSteering="0.5" wheelDiameter="0.6" trackWidth="1.8" positionX="3.1" positionZ="0.3"/>
<RearAxle maxSteering="0.0" wheelDiameter="0.6" trackWidth="1.8" positionX="0.0" positionZ="0.3"/>
</Axles>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Vehicle>
</ScenarioObject>
<ScenarioObject name="standing">
<Vehicle name="vehicle.volkswagen.t2" vehicleCategory="car">
<ParameterDeclarations/>
<Performance maxSpeed="69.444" maxAcceleration="200" maxDeceleration="10.0"/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2.1" length="4.5" height="1.8"/>
</BoundingBox>
<Axles>
<FrontAxle maxSteering="0.5" wheelDiameter="0.6" trackWidth="1.8" positionX="3.1" positionZ="0.3"/>
<RearAxle maxSteering="0.0" wheelDiameter="0.6" 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>
</Entities>
<Storyboard>
<Init>
<Actions>
<GlobalAction>
<EnvironmentAction>
<Environment name="Environment1">
<TimeOfDay animation="false" dateTime="2019-06-25T12:00:00"/>
<Weather cloudState="free">
<Sun intensity="0.85" azimuth="0" elevation="1.31"/>
<Fog visualRange="100000.0"/>
<Precipitation precipitationType="dry" intensity="0.0"/>
</Weather>
<RoadCondition frictionScaleFactor="1.0"/>
</Environment>
</EnvironmentAction>
</GlobalAction>
<Private entityRef="hero">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-9.4" y="-152.8" z="0.5" h="1.57079632679"/>
</Position>
</TeleportAction>
</PrivateAction>
<PrivateAction>
<ControllerAction>
<AssignControllerAction>
<Controller name="HeroAgent">
<Properties>
<Property name="module" value="external_control"/>
</Properties>
</Controller>
</AssignControllerAction>
<OverrideControllerValueAction>
<Throttle value="0" active="false"/>
<Brake value="0" active="false"/>
<Clutch value="0" active="false"/>
<ParkingBrake value="0" active="false"/>
<SteeringWheel value="0" active="false"/>
<Gear number="0" active="false"/>
</OverrideControllerValueAction>
</ControllerAction>
</PrivateAction>
</Private>
<Private entityRef="adversary">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-9.4" y="-71.0" z="0.5" h="1.57079632679"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="standing">
<PrivateAction>
<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>
</Actions>
</Init>
<Story name="MyStory">
<Act name="Behavior">
<ManeuverGroup maximumExecutionCount="1" name="ManeuverSequence">
<Actors selectTriggeringEntities="false">
<EntityRef entityRef="adversary"/>
</Actors>
<Maneuver name="LaneChangeSimpleManeuver">
<Event name="AdversaryAccelerates" priority="overwrite">
<Action name="AdversaryAccelerates">
<PrivateAction>
<LongitudinalAction>
<SpeedAction>
<SpeedActionDynamics dynamicsShape="step" value="50" dynamicsDimension="distance"/>
<SpeedActionTarget>
<AbsoluteTargetSpeed value="5.0"/>
</SpeedActionTarget>
</SpeedAction>
</LongitudinalAction>
</PrivateAction>
</Action>
<StartTrigger>
<ConditionGroup>
<Condition name="StartCondition" delay="0" conditionEdge="rising">
<ByEntityCondition>
<TriggeringEntities triggeringEntitiesRule="any">
<EntityRef entityRef="hero"/>
</TriggeringEntities>
<EntityCondition>
<RelativeDistanceCondition entityRef="adversary" relativeDistanceType="cartesianDistance" value="40.0" freespace="false" rule="lessThan"/>
</EntityCondition>
</ByEntityCondition>
</Condition>
</ConditionGroup>
</StartTrigger>
</Event>
<Event name="AdversaryChangesLane" priority="overwrite">
<Action name="AdversaryChangesLane">
<PrivateAction>
<LateralAction>
<LaneChangeAction>
<LaneChangeActionDynamics dynamicsShape="linear" value="25" dynamicsDimension="distance"/>
<LaneChangeTarget>
<RelativeTargetLane entityRef="adversary" value="-1"/>
</LaneChangeTarget>
</LaneChangeAction>
</LateralAction>
</PrivateAction>
</Action>
<StartTrigger>
<ConditionGroup>
<Condition name="AfterAdversaryAccelerates" delay="0" conditionEdge="rising">
<ByValueCondition>
<StoryboardElementStateCondition storyboardElementType="action" storyboardElementRef="AdversaryAccelerates" state="completeState"/>
</ByValueCondition>
</Condition>
</ConditionGroup>
</StartTrigger>
</Event>
</Maneuver>
</ManeuverGroup>
<StartTrigger>
<ConditionGroup>
<Condition name="OverallStartCondition" delay="0" conditionEdge="rising">
<ByEntityCondition>
<TriggeringEntities triggeringEntitiesRule="any">
<EntityRef entityRef="hero"/>
</TriggeringEntities>
<EntityCondition>
<TraveledDistanceCondition value="1.0"/>
</EntityCondition>
</ByEntityCondition>
</Condition>
<Condition name="StartTime" delay="0" conditionEdge="rising">
<ByValueCondition>
<SimulationTimeCondition value="0" rule="equalTo"/>
</ByValueCondition>
</Condition>
</ConditionGroup>
</StartTrigger>
<StopTrigger>
<ConditionGroup>
<Condition name="EndCondition" delay="0" conditionEdge="rising">
<ByEntityCondition>
<TriggeringEntities triggeringEntitiesRule="any">
<EntityRef entityRef="hero"/>
</TriggeringEntities>
<EntityCondition>
<TraveledDistanceCondition value="200.0"/>
</EntityCondition>
</ByEntityCondition>
</Condition>
</ConditionGroup>
</StopTrigger>
</Act>
</Story>
<StopTrigger>
<ConditionGroup>
<Condition name="criteria_RunningStopTest" delay="0" conditionEdge="rising">
<ByValueCondition>
<ParameterCondition parameterRef="" value="" rule="lessThan"/>
</ByValueCondition>
</Condition>
<Condition name="criteria_RunningRedLightTest" delay="0" conditionEdge="rising">
<ByValueCondition>
<ParameterCondition parameterRef="" value="" rule="lessThan"/>
</ByValueCondition>
</Condition>
<Condition name="criteria_WrongLaneTest" delay="0" conditionEdge="rising">
<ByValueCondition>
<ParameterCondition parameterRef="" value="" rule="lessThan"/>
</ByValueCondition>
</Condition>
<Condition name="criteria_OnSidewalkTest" delay="0" conditionEdge="rising">
<ByValueCondition>
<ParameterCondition parameterRef="" value="" rule="lessThan"/>
</ByValueCondition>
</Condition>
<Condition name="criteria_KeepLaneTest" delay="0" conditionEdge="rising">
<ByValueCondition>
<ParameterCondition parameterRef="" value="" rule="lessThan"/>
</ByValueCondition>
</Condition>
<Condition name="criteria_CollisionTest" delay="0" conditionEdge="rising">
<ByValueCondition>
<ParameterCondition parameterRef="" value="" rule="lessThan"/>
</ByValueCondition>
</Condition>
<Condition name="criteria_DrivenDistanceTest" delay="0" conditionEdge="rising">
<ByValueCondition>
<ParameterCondition parameterRef="distance_success" value="100" rule="lessThan"/>
</ByValueCondition>
</Condition>
</ConditionGroup>
</StopTrigger>
</Storyboard>
</OpenSCENARIO>
``` |
i would like to lead you to add pedestrian close to standing?
```
<?xml version="1.0" ?>
<OpenSCENARIO>
<FileHeader revMajor="1" revMinor="0" date="2020-03-24T12:00:00" description="CARLA:LaneChangeSimple" author=""/>
<ParameterDeclarations/>
<CatalogLocations/>
<RoadNetwork>
<LogicFile filepath="Town04"/>
<SceneGraphFile filepath=""/>
</RoadNetwork>
<Entities>
<ScenarioObject name="hero">
<Vehicle name="vehicle.tesla.model3" vehicleCategory="car">
<ParameterDeclarations/>
<Performance maxSpeed="69.444" maxAcceleration="200" maxDeceleration="10.0"/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2.1" length="4.5" height="1.8"/>
</BoundingBox>
<Axles>
<FrontAxle maxSteering="0.5" wheelDiameter="0.6" trackWidth="1.8" positionX="3.1" positionZ="0.3"/>
<RearAxle maxSteering="0.0" wheelDiameter="0.6" trackWidth="1.8" positionX="0.0" positionZ="0.3"/>
</Axles>
<Properties>
<Property name="type" value="ego_vehicle"/>
</Properties>
</Vehicle>
</ScenarioObject>
<ScenarioObject name="adversary">
<Vehicle name="vehicle.lincoln.mkz_2017" vehicleCategory="car">
<ParameterDeclarations/>
<Performance maxSpeed="69.444" maxAcceleration="200" maxDeceleration="10.0"/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2.1" length="4.5" height="1.8"/>
</BoundingBox>
<Axles>
<FrontAxle maxSteering="0.5" wheelDiameter="0.6" trackWidth="1.8" positionX="3.1" positionZ="0.3"/>
<RearAxle maxSteering="0.0" wheelDiameter="0.6" trackWidth="1.8" positionX="0.0" positionZ="0.3"/>
</Axles>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Vehicle>
</ScenarioObject>
<ScenarioObject name="standing">
<Vehicle name="vehicle.volkswagen.t2" vehicleCategory="car">
<ParameterDeclarations/>
<Performance maxSpeed="69.444" maxAcceleration="200" maxDeceleration="10.0"/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2.1" length="4.5" height="1.8"/>
</BoundingBox>
<Axles>
<FrontAxle maxSteering="0.5" wheelDiameter="0.6" trackWidth="1.8" positionX="3.1" positionZ="0.3"/>
<RearAxle maxSteering="0.0" wheelDiameter="0.6" trackWidth="1.8" positionX="0.0" positionZ="0.3"/>
</Axles>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Vehicle>
</ScenarioObject>
<ScenarioObject name="pedestrian_close_to_adversary_6804">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_w_transform_6805">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_w_transform_6806">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_close_to_hero_6807">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_close_to_standing_6808">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_close_to_adversary_6809">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_w_transform_6810">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_close_to_standing_6811">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_w_transform_6812">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_w_transform_6813">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_close_to_standing_6814">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_close_to_hero_6815">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_w_transform_6816">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_w_transform_6817">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_w_transform_6818">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_w_transform_6819">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
</Entities>
<Storyboard>
<Init>
<Actions>
<GlobalAction>
<EnvironmentAction>
<Environment name="Environment1">
<TimeOfDay animation="false" dateTime="2019-06-25T12:00:00"/>
<Weather cloudState="free">
<Sun intensity="0.85" azimuth="0" elevation="1.31"/>
<Fog visualRange="100000.0"/>
<Precipitation precipitationType="dry" intensity="0.0"/>
</Weather>
<RoadCondition frictionScaleFactor="1.0"/>
</Environment>
</EnvironmentAction>
</GlobalAction>
<Private entityRef="hero">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-9.4" y="-152.8" z="0.5" h="1.57079632679"/>
</Position>
</TeleportAction>
</PrivateAction>
<PrivateAction>
<ControllerAction>
<AssignControllerAction>
<Controller name="HeroAgent">
<Properties>
<Property name="module" value="external_control"/>
</Properties>
</Controller>
</AssignControllerAction>
<OverrideControllerValueAction>
<Throttle value="0" active="false"/>
<Brake value="0" active="false"/>
<Clutch value="0" active="false"/>
<ParkingBrake value="0" active="false"/>
<SteeringWheel value="0" active="false"/>
<Gear number="0" active="false"/>
</OverrideControllerValueAction>
</ControllerAction>
</PrivateAction>
</Private>
<Private entityRef="adversary">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-9.4" y="-71.0" z="0.5" h="1.57079632679"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="standing">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-8.2" y="29.2" z="0.5" h="1.57079632679"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_close_to_adversary_6804">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-12.50153923034668" y="-76.0950927734375" z="0.033811453729867935"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_w_transform_6805">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="80.26005554199219" y="-59.672454833984375" z="0.5"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_w_transform_6806">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-14.386933326721191" y="-11.212529182434082" z="0.5"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_close_to_hero_6807">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-14.260915756225586" y="-134.25579833984375" z="0.0014286803780123591"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_close_to_standing_6808">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-15.87164306640625" y="32.09717559814453" z="0.003071479732170701"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_close_to_adversary_6809">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-16.191221237182617" y="-75.23015594482422" z="0.03382480517029762"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_w_transform_6810">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-37.620418548583984" y="95.55260467529297" z="0.5"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_close_to_standing_6811">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-6.996863842010498" y="39.117374420166016" z="0.0031320571433752775"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_w_transform_6812">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="98.83535766601562" y="33.9308967590332" z="0.5"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_w_transform_6813">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="6.079318046569824" y="-17.776325225830078" z="0.5"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_close_to_standing_6814">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-5.744975566864014" y="23.631635665893555" z="0.0030842970591038465"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_close_to_hero_6815">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-3.123755693435669" y="-156.95033264160156" z="0.0014286803780123591"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_w_transform_6816">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-34.807525634765625" y="64.94720458984375" z="0.5"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_w_transform_6817">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="52.252750396728516" y="-32.549598693847656" z="0.5"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_w_transform_6818">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-67.44768524169922" y="-2.5823707580566406" z="0.5"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_w_transform_6819">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-32.618804931640625" y="17.57657814025879" z="0.5"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
</Actions>
</Init>
<Story name="MyStory">
<Act name="Behavior">
<ManeuverGroup maximumExecutionCount="1" name="ManeuverSequence">
<Actors selectTriggeringEntities="false">
<EntityRef entityRef="adversary"/>
</Actors>
<Maneuver name="LaneChangeSimpleManeuver">
<Event name="AdversaryAccelerates" priority="overwrite">
<Action name="AdversaryAccelerates">
<PrivateAction>
<LongitudinalAction>
<SpeedAction>
<SpeedActionDynamics dynamicsShape="step" value="50" dynamicsDimension="distance"/>
<SpeedActionTarget>
<AbsoluteTargetSpeed value="5.0"/>
</SpeedActionTarget>
</SpeedAction>
</LongitudinalAction>
</PrivateAction>
</Action>
<StartTrigger>
<ConditionGroup>
<Condition name="StartCondition" delay="0" conditionEdge="rising">
<ByEntityCondition>
<TriggeringEntities triggeringEntitiesRule="any">
<EntityRef entityRef="hero"/>
</TriggeringEntities>
<EntityCondition>
<RelativeDistanceCondition entityRef="adversary" relativeDistanceType="cartesianDistance" value="40.0" freespace="false" rule="lessThan"/>
</EntityCondition>
</ByEntityCondition>
</Condition>
</ConditionGroup>
</StartTrigger>
</Event>
<Event name="AdversaryChangesLane" priority="overwrite">
<Action name="AdversaryChangesLane">
<PrivateAction>
<LateralAction>
<LaneChangeAction>
<LaneChangeActionDynamics dynamicsShape="linear" value="25" dynamicsDimension="distance"/>
<LaneChangeTarget>
<RelativeTargetLane entityRef="adversary" value="-1"/>
</LaneChangeTarget>
</LaneChangeAction>
</LateralAction>
</PrivateAction>
</Action>
<StartTrigger>
<ConditionGroup>
<Condition name="AfterAdversaryAccelerates" delay="0" conditionEdge="rising">
<ByValueCondition>
<StoryboardElementStateCondition storyboardElementType="action" storyboardElementRef="AdversaryAccelerates" state="completeState"/>
</ByValueCondition>
</Condition>
</ConditionGroup>
</StartTrigger>
</Event>
</Maneuver>
</ManeuverGroup>
<StartTrigger>
<ConditionGroup>
<Condition name="OverallStartCondition" delay="0" conditionEdge="rising">
<ByEntityCondition>
<TriggeringEntities triggeringEntitiesRule="any">
<EntityRef entityRef="hero"/>
</TriggeringEntities>
<EntityCondition>
<TraveledDistanceCondition value="1.0"/>
</EntityCondition>
</ByEntityCondition>
</Condition>
<Condition name="StartTime" delay="0" conditionEdge="rising">
<ByValueCondition>
<SimulationTimeCondition value="0" rule="equalTo"/>
</ByValueCondition>
</Condition>
</ConditionGroup>
</StartTrigger>
<StopTrigger>
<ConditionGroup>
<Condition name="EndCondition" delay="0" conditionEdge="rising">
<ByEntityCondition>
<TriggeringEntities triggeringEntitiesRule="any">
<EntityRef entityRef="hero"/>
</TriggeringEntities>
<EntityCondition>
<TraveledDistanceCondition value="200.0"/>
</EntityCondition>
</ByEntityCondition>
</Condition>
</ConditionGroup>
</StopTrigger>
</Act>
</Story>
<StopTrigger>
<ConditionGroup>
<Condition name="criteria_RunningStopTest" delay="0" conditionEdge="rising">
<ByValueCondition>
<ParameterCondition parameterRef="" value="" rule="lessThan"/>
</ByValueCondition>
</Condition>
<Condition name="criteria_RunningRedLightTest" delay="0" conditionEdge="rising">
<ByValueCondition>
<ParameterCondition parameterRef="" value="" rule="lessThan"/>
</ByValueCondition>
</Condition>
<Condition name="criteria_WrongLaneTest" delay="0" conditionEdge="rising">
<ByValueCondition>
<ParameterCondition parameterRef="" value="" rule="lessThan"/>
</ByValueCondition>
</Condition>
<Condition name="criteria_OnSidewalkTest" delay="0" conditionEdge="rising">
<ByValueCondition>
<ParameterCondition parameterRef="" value="" rule="lessThan"/>
</ByValueCondition>
</Condition>
<Condition name="criteria_KeepLaneTest" delay="0" conditionEdge="rising">
<ByValueCondition>
<ParameterCondition parameterRef="" value="" rule="lessThan"/>
</ByValueCondition>
</Condition>
<Condition name="criteria_CollisionTest" delay="0" conditionEdge="rising">
<ByValueCondition>
<ParameterCondition parameterRef="" value="" rule="lessThan"/>
</ByValueCondition>
</Condition>
<Condition name="criteria_DrivenDistanceTest" delay="0" conditionEdge="rising">
<ByValueCondition>
<ParameterCondition parameterRef="distance_success" value="100" rule="lessThan"/>
</ByValueCondition>
</Condition>
</ConditionGroup>
</StopTrigger>
</Storyboard>
</OpenSCENARIO>
``` | Here is the result:
```
<?xml version="1.0" ?>
<OpenSCENARIO>
<FileHeader revMajor="1" revMinor="0" date="2020-03-24T12:00:00" description="CARLA:LaneChangeSimple" author=""/>
<ParameterDeclarations/>
<CatalogLocations/>
<RoadNetwork>
<LogicFile filepath="Town04"/>
<SceneGraphFile filepath=""/>
</RoadNetwork>
<Entities>
<ScenarioObject name="hero">
<Vehicle name="vehicle.tesla.model3" vehicleCategory="car">
<ParameterDeclarations/>
<Performance maxSpeed="69.444" maxAcceleration="200" maxDeceleration="10.0"/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2.1" length="4.5" height="1.8"/>
</BoundingBox>
<Axles>
<FrontAxle maxSteering="0.5" wheelDiameter="0.6" trackWidth="1.8" positionX="3.1" positionZ="0.3"/>
<RearAxle maxSteering="0.0" wheelDiameter="0.6" trackWidth="1.8" positionX="0.0" positionZ="0.3"/>
</Axles>
<Properties>
<Property name="type" value="ego_vehicle"/>
</Properties>
</Vehicle>
</ScenarioObject>
<ScenarioObject name="adversary">
<Vehicle name="vehicle.lincoln.mkz_2017" vehicleCategory="car">
<ParameterDeclarations/>
<Performance maxSpeed="69.444" maxAcceleration="200" maxDeceleration="10.0"/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2.1" length="4.5" height="1.8"/>
</BoundingBox>
<Axles>
<FrontAxle maxSteering="0.5" wheelDiameter="0.6" trackWidth="1.8" positionX="3.1" positionZ="0.3"/>
<RearAxle maxSteering="0.0" wheelDiameter="0.6" trackWidth="1.8" positionX="0.0" positionZ="0.3"/>
</Axles>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Vehicle>
</ScenarioObject>
<ScenarioObject name="standing">
<Vehicle name="vehicle.volkswagen.t2" vehicleCategory="car">
<ParameterDeclarations/>
<Performance maxSpeed="69.444" maxAcceleration="200" maxDeceleration="10.0"/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2.1" length="4.5" height="1.8"/>
</BoundingBox>
<Axles>
<FrontAxle maxSteering="0.5" wheelDiameter="0.6" trackWidth="1.8" positionX="3.1" positionZ="0.3"/>
<RearAxle maxSteering="0.0" wheelDiameter="0.6" trackWidth="1.8" positionX="0.0" positionZ="0.3"/>
</Axles>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Vehicle>
</ScenarioObject>
<ScenarioObject name="pedestrian_close_to_adversary_6804">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_w_transform_6805">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_w_transform_6806">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_close_to_hero_6807">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_close_to_standing_6808">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_close_to_adversary_6809">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_w_transform_6810">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_close_to_standing_6811">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_w_transform_6812">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_w_transform_6813">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_close_to_standing_6814">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_close_to_hero_6815">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_w_transform_6816">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_w_transform_6817">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_w_transform_6818">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_w_transform_6819">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_close_to_standing_6821">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
</Entities>
<Storyboard>
<Init>
<Actions>
<GlobalAction>
<EnvironmentAction>
<Environment name="Environment1">
<TimeOfDay animation="false" dateTime="2019-06-25T12:00:00"/>
<Weather cloudState="free">
<Sun intensity="0.85" azimuth="0" elevation="1.31"/>
<Fog visualRange="100000.0"/>
<Precipitation precipitationType="dry" intensity="0.0"/>
</Weather>
<RoadCondition frictionScaleFactor="1.0"/>
</Environment>
</EnvironmentAction>
</GlobalAction>
<Private entityRef="hero">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-9.4" y="-152.8" z="0.5" h="1.57079632679"/>
</Position>
</TeleportAction>
</PrivateAction>
<PrivateAction>
<ControllerAction>
<AssignControllerAction>
<Controller name="HeroAgent">
<Properties>
<Property name="module" value="external_control"/>
</Properties>
</Controller>
</AssignControllerAction>
<OverrideControllerValueAction>
<Throttle value="0" active="false"/>
<Brake value="0" active="false"/>
<Clutch value="0" active="false"/>
<ParkingBrake value="0" active="false"/>
<SteeringWheel value="0" active="false"/>
<Gear number="0" active="false"/>
</OverrideControllerValueAction>
</ControllerAction>
</PrivateAction>
</Private>
<Private entityRef="adversary">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-9.4" y="-71.0" z="0.5" h="1.57079632679"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="standing">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-8.2" y="29.2" z="0.5" h="1.57079632679"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_close_to_adversary_6804">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-12.50153923034668" y="-76.0950927734375" z="0.033811453729867935"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_w_transform_6805">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="80.26005554199219" y="-59.672454833984375" z="0.5"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_w_transform_6806">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-14.386933326721191" y="-11.212529182434082" z="0.5"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_close_to_hero_6807">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-14.260915756225586" y="-134.25579833984375" z="0.0014286803780123591"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_close_to_standing_6808">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-15.87164306640625" y="32.09717559814453" z="0.003071479732170701"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_close_to_adversary_6809">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-16.191221237182617" y="-75.23015594482422" z="0.03382480517029762"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_w_transform_6810">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-37.620418548583984" y="95.55260467529297" z="0.5"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_close_to_standing_6811">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-6.996863842010498" y="39.117374420166016" z="0.0031320571433752775"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_w_transform_6812">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="98.83535766601562" y="33.9308967590332" z="0.5"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_w_transform_6813">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="6.079318046569824" y="-17.776325225830078" z="0.5"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_close_to_standing_6814">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-5.744975566864014" y="23.631635665893555" z="0.0030842970591038465"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_close_to_hero_6815">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-3.123755693435669" y="-156.95033264160156" z="0.0014286803780123591"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_w_transform_6816">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-34.807525634765625" y="64.94720458984375" z="0.5"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_w_transform_6817">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="52.252750396728516" y="-32.549598693847656" z="0.5"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_w_transform_6818">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-67.44768524169922" y="-2.5823707580566406" z="0.5"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_w_transform_6819">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-32.618804931640625" y="17.57657814025879" z="0.5"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_close_to_standing_6821">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-5.793277740478516" y="33.223453521728516" z="0.0030176162254065275"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
</Actions>
</Init>
<Story name="MyStory">
<Act name="Behavior">
<ManeuverGroup maximumExecutionCount="1" name="ManeuverSequence">
<Actors selectTriggeringEntities="false">
<EntityRef entityRef="adversary"/>
</Actors>
<Maneuver name="LaneChangeSimpleManeuver">
<Event name="AdversaryAccelerates" priority="overwrite">
<Action name="AdversaryAccelerates">
<PrivateAction>
<LongitudinalAction>
<SpeedAction>
<SpeedActionDynamics dynamicsShape="step" value="50" dynamicsDimension="distance"/>
<SpeedActionTarget>
<AbsoluteTargetSpeed value="5.0"/>
</SpeedActionTarget>
</SpeedAction>
</LongitudinalAction>
</PrivateAction>
</Action>
<StartTrigger>
<ConditionGroup>
<Condition name="StartCondition" delay="0" conditionEdge="rising">
<ByEntityCondition>
<TriggeringEntities triggeringEntitiesRule="any">
<EntityRef entityRef="hero"/>
</TriggeringEntities>
<EntityCondition>
<RelativeDistanceCondition entityRef="adversary" relativeDistanceType="cartesianDistance" value="40.0" freespace="false" rule="lessThan"/>
</EntityCondition>
</ByEntityCondition>
</Condition>
</ConditionGroup>
</StartTrigger>
</Event>
<Event name="AdversaryChangesLane" priority="overwrite">
<Action name="AdversaryChangesLane">
<PrivateAction>
<LateralAction>
<LaneChangeAction>
<LaneChangeActionDynamics dynamicsShape="linear" value="25" dynamicsDimension="distance"/>
<LaneChangeTarget>
<RelativeTargetLane entityRef="adversary" value="-1"/>
</LaneChangeTarget>
</LaneChangeAction>
</LateralAction>
</PrivateAction>
</Action>
<StartTrigger>
<ConditionGroup>
<Condition name="AfterAdversaryAccelerates" delay="0" conditionEdge="rising">
<ByValueCondition>
<StoryboardElementStateCondition storyboardElementType="action" storyboardElementRef="AdversaryAccelerates" state="completeState"/>
</ByValueCondition>
</Condition>
</ConditionGroup>
</StartTrigger>
</Event>
</Maneuver>
</ManeuverGroup>
<StartTrigger>
<ConditionGroup>
<Condition name="OverallStartCondition" delay="0" conditionEdge="rising">
<ByEntityCondition>
<TriggeringEntities triggeringEntitiesRule="any">
<EntityRef entityRef="hero"/>
</TriggeringEntities>
<EntityCondition>
<TraveledDistanceCondition value="1.0"/>
</EntityCondition>
</ByEntityCondition>
</Condition>
<Condition name="StartTime" delay="0" conditionEdge="rising">
<ByValueCondition>
<SimulationTimeCondition value="0" rule="equalTo"/>
</ByValueCondition>
</Condition>
</ConditionGroup>
</StartTrigger>
<StopTrigger>
<ConditionGroup>
<Condition name="EndCondition" delay="0" conditionEdge="rising">
<ByEntityCondition>
<TriggeringEntities triggeringEntitiesRule="any">
<EntityRef entityRef="hero"/>
</TriggeringEntities>
<EntityCondition>
<TraveledDistanceCondition value="200.0"/>
</EntityCondition>
</ByEntityCondition>
</Condition>
</ConditionGroup>
</StopTrigger>
</Act>
</Story>
<StopTrigger>
<ConditionGroup>
<Condition name="criteria_RunningStopTest" delay="0" conditionEdge="rising">
<ByValueCondition>
<ParameterCondition parameterRef="" value="" rule="lessThan"/>
</ByValueCondition>
</Condition>
<Condition name="criteria_RunningRedLightTest" delay="0" conditionEdge="rising">
<ByValueCondition>
<ParameterCondition parameterRef="" value="" rule="lessThan"/>
</ByValueCondition>
</Condition>
<Condition name="criteria_WrongLaneTest" delay="0" conditionEdge="rising">
<ByValueCondition>
<ParameterCondition parameterRef="" value="" rule="lessThan"/>
</ByValueCondition>
</Condition>
<Condition name="criteria_OnSidewalkTest" delay="0" conditionEdge="rising">
<ByValueCondition>
<ParameterCondition parameterRef="" value="" rule="lessThan"/>
</ByValueCondition>
</Condition>
<Condition name="criteria_KeepLaneTest" delay="0" conditionEdge="rising">
<ByValueCondition>
<ParameterCondition parameterRef="" value="" rule="lessThan"/>
</ByValueCondition>
</Condition>
<Condition name="criteria_CollisionTest" delay="0" conditionEdge="rising">
<ByValueCondition>
<ParameterCondition parameterRef="" value="" rule="lessThan"/>
</ByValueCondition>
</Condition>
<Condition name="criteria_DrivenDistanceTest" delay="0" conditionEdge="rising">
<ByValueCondition>
<ParameterCondition parameterRef="distance_success" value="100" rule="lessThan"/>
</ByValueCondition>
</Condition>
</ConditionGroup>
</StopTrigger>
</Storyboard>
</OpenSCENARIO>
``` |
i want you to add pedestrian close to hero?
```
<?xml version="1.0" ?>
<OpenSCENARIO>
<FileHeader revMajor="1" revMinor="0" date="2020-03-24T12:00:00" description="CARLA:LaneChangeSimple" author=""/>
<ParameterDeclarations/>
<CatalogLocations/>
<RoadNetwork>
<LogicFile filepath="Town04"/>
<SceneGraphFile filepath=""/>
</RoadNetwork>
<Entities>
<ScenarioObject name="hero">
<Vehicle name="vehicle.tesla.model3" vehicleCategory="car">
<ParameterDeclarations/>
<Performance maxSpeed="69.444" maxAcceleration="200" maxDeceleration="10.0"/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2.1" length="4.5" height="1.8"/>
</BoundingBox>
<Axles>
<FrontAxle maxSteering="0.5" wheelDiameter="0.6" trackWidth="1.8" positionX="3.1" positionZ="0.3"/>
<RearAxle maxSteering="0.0" wheelDiameter="0.6" trackWidth="1.8" positionX="0.0" positionZ="0.3"/>
</Axles>
<Properties>
<Property name="type" value="ego_vehicle"/>
</Properties>
</Vehicle>
</ScenarioObject>
<ScenarioObject name="adversary">
<Vehicle name="vehicle.lincoln.mkz_2017" vehicleCategory="car">
<ParameterDeclarations/>
<Performance maxSpeed="69.444" maxAcceleration="200" maxDeceleration="10.0"/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2.1" length="4.5" height="1.8"/>
</BoundingBox>
<Axles>
<FrontAxle maxSteering="0.5" wheelDiameter="0.6" trackWidth="1.8" positionX="3.1" positionZ="0.3"/>
<RearAxle maxSteering="0.0" wheelDiameter="0.6" trackWidth="1.8" positionX="0.0" positionZ="0.3"/>
</Axles>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Vehicle>
</ScenarioObject>
<ScenarioObject name="standing">
<Vehicle name="vehicle.volkswagen.t2" vehicleCategory="car">
<ParameterDeclarations/>
<Performance maxSpeed="69.444" maxAcceleration="200" maxDeceleration="10.0"/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2.1" length="4.5" height="1.8"/>
</BoundingBox>
<Axles>
<FrontAxle maxSteering="0.5" wheelDiameter="0.6" trackWidth="1.8" positionX="3.1" positionZ="0.3"/>
<RearAxle maxSteering="0.0" wheelDiameter="0.6" trackWidth="1.8" positionX="0.0" positionZ="0.3"/>
</Axles>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Vehicle>
</ScenarioObject>
<ScenarioObject name="pedestrian_close_to_adversary_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>
<ScenarioObject name="pedestrian_w_transform_13259">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_w_transform_13260">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
</Entities>
<Storyboard>
<Init>
<Actions>
<GlobalAction>
<EnvironmentAction>
<Environment name="Environment1">
<TimeOfDay animation="false" dateTime="2019-06-25T12:00:00"/>
<Weather cloudState="free">
<Sun intensity="0.85" azimuth="0" elevation="1.31"/>
<Fog visualRange="100000.0"/>
<Precipitation precipitationType="dry" intensity="0.0"/>
</Weather>
<RoadCondition frictionScaleFactor="1.0"/>
</Environment>
</EnvironmentAction>
</GlobalAction>
<Private entityRef="hero">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-9.4" y="-152.8" z="0.5" h="1.57079632679"/>
</Position>
</TeleportAction>
</PrivateAction>
<PrivateAction>
<ControllerAction>
<AssignControllerAction>
<Controller name="HeroAgent">
<Properties>
<Property name="module" value="external_control"/>
</Properties>
</Controller>
</AssignControllerAction>
<OverrideControllerValueAction>
<Throttle value="0" active="false"/>
<Brake value="0" active="false"/>
<Clutch value="0" active="false"/>
<ParkingBrake value="0" active="false"/>
<SteeringWheel value="0" active="false"/>
<Gear number="0" active="false"/>
</OverrideControllerValueAction>
</ControllerAction>
</PrivateAction>
</Private>
<Private entityRef="adversary">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-9.4" y="-71.0" z="0.5" h="1.57079632679"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="standing">
<PrivateAction>
<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>
<Private entityRef="pedestrian_w_transform_13259">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="83.652099609375" y="22.093467712402344" z="0.5"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_w_transform_13260">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-16.35782241821289" y="17.39406967163086" z="0.5"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
</Actions>
</Init>
<Story name="MyStory">
<Act name="Behavior">
<ManeuverGroup maximumExecutionCount="1" name="ManeuverSequence">
<Actors selectTriggeringEntities="false">
<EntityRef entityRef="adversary"/>
</Actors>
<Maneuver name="LaneChangeSimpleManeuver">
<Event name="AdversaryAccelerates" priority="overwrite">
<Action name="AdversaryAccelerates">
<PrivateAction>
<LongitudinalAction>
<SpeedAction>
<SpeedActionDynamics dynamicsShape="step" value="50" dynamicsDimension="distance"/>
<SpeedActionTarget>
<AbsoluteTargetSpeed value="5.0"/>
</SpeedActionTarget>
</SpeedAction>
</LongitudinalAction>
</PrivateAction>
</Action>
<StartTrigger>
<ConditionGroup>
<Condition name="StartCondition" delay="0" conditionEdge="rising">
<ByEntityCondition>
<TriggeringEntities triggeringEntitiesRule="any">
<EntityRef entityRef="hero"/>
</TriggeringEntities>
<EntityCondition>
<RelativeDistanceCondition entityRef="adversary" relativeDistanceType="cartesianDistance" value="40.0" freespace="false" rule="lessThan"/>
</EntityCondition>
</ByEntityCondition>
</Condition>
</ConditionGroup>
</StartTrigger>
</Event>
<Event name="AdversaryChangesLane" priority="overwrite">
<Action name="AdversaryChangesLane">
<PrivateAction>
<LateralAction>
<LaneChangeAction>
<LaneChangeActionDynamics dynamicsShape="linear" value="25" dynamicsDimension="distance"/>
<LaneChangeTarget>
<RelativeTargetLane entityRef="adversary" value="-1"/>
</LaneChangeTarget>
</LaneChangeAction>
</LateralAction>
</PrivateAction>
</Action>
<StartTrigger>
<ConditionGroup>
<Condition name="AfterAdversaryAccelerates" delay="0" conditionEdge="rising">
<ByValueCondition>
<StoryboardElementStateCondition storyboardElementType="action" storyboardElementRef="AdversaryAccelerates" state="completeState"/>
</ByValueCondition>
</Condition>
</ConditionGroup>
</StartTrigger>
</Event>
</Maneuver>
</ManeuverGroup>
<StartTrigger>
<ConditionGroup>
<Condition name="OverallStartCondition" delay="0" conditionEdge="rising">
<ByEntityCondition>
<TriggeringEntities triggeringEntitiesRule="any">
<EntityRef entityRef="hero"/>
</TriggeringEntities>
<EntityCondition>
<TraveledDistanceCondition value="1.0"/>
</EntityCondition>
</ByEntityCondition>
</Condition>
<Condition name="StartTime" delay="0" conditionEdge="rising">
<ByValueCondition>
<SimulationTimeCondition value="0" rule="equalTo"/>
</ByValueCondition>
</Condition>
</ConditionGroup>
</StartTrigger>
<StopTrigger>
<ConditionGroup>
<Condition name="EndCondition" delay="0" conditionEdge="rising">
<ByEntityCondition>
<TriggeringEntities triggeringEntitiesRule="any">
<EntityRef entityRef="hero"/>
</TriggeringEntities>
<EntityCondition>
<TraveledDistanceCondition value="200.0"/>
</EntityCondition>
</ByEntityCondition>
</Condition>
</ConditionGroup>
</StopTrigger>
</Act>
</Story>
<StopTrigger>
<ConditionGroup>
<Condition name="criteria_RunningStopTest" delay="0" conditionEdge="rising">
<ByValueCondition>
<ParameterCondition parameterRef="" value="" rule="lessThan"/>
</ByValueCondition>
</Condition>
<Condition name="criteria_RunningRedLightTest" delay="0" conditionEdge="rising">
<ByValueCondition>
<ParameterCondition parameterRef="" value="" rule="lessThan"/>
</ByValueCondition>
</Condition>
<Condition name="criteria_WrongLaneTest" delay="0" conditionEdge="rising">
<ByValueCondition>
<ParameterCondition parameterRef="" value="" rule="lessThan"/>
</ByValueCondition>
</Condition>
<Condition name="criteria_OnSidewalkTest" delay="0" conditionEdge="rising">
<ByValueCondition>
<ParameterCondition parameterRef="" value="" rule="lessThan"/>
</ByValueCondition>
</Condition>
<Condition name="criteria_KeepLaneTest" delay="0" conditionEdge="rising">
<ByValueCondition>
<ParameterCondition parameterRef="" value="" rule="lessThan"/>
</ByValueCondition>
</Condition>
<Condition name="criteria_CollisionTest" delay="0" conditionEdge="rising">
<ByValueCondition>
<ParameterCondition parameterRef="" value="" rule="lessThan"/>
</ByValueCondition>
</Condition>
<Condition name="criteria_DrivenDistanceTest" delay="0" conditionEdge="rising">
<ByValueCondition>
<ParameterCondition parameterRef="distance_success" value="100" rule="lessThan"/>
</ByValueCondition>
</Condition>
</ConditionGroup>
</StopTrigger>
</Storyboard>
</OpenSCENARIO>
``` | Here is the result:
```
<?xml version="1.0" ?>
<OpenSCENARIO>
<FileHeader revMajor="1" revMinor="0" date="2020-03-24T12:00:00" description="CARLA:LaneChangeSimple" author=""/>
<ParameterDeclarations/>
<CatalogLocations/>
<RoadNetwork>
<LogicFile filepath="Town04"/>
<SceneGraphFile filepath=""/>
</RoadNetwork>
<Entities>
<ScenarioObject name="hero">
<Vehicle name="vehicle.tesla.model3" vehicleCategory="car">
<ParameterDeclarations/>
<Performance maxSpeed="69.444" maxAcceleration="200" maxDeceleration="10.0"/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2.1" length="4.5" height="1.8"/>
</BoundingBox>
<Axles>
<FrontAxle maxSteering="0.5" wheelDiameter="0.6" trackWidth="1.8" positionX="3.1" positionZ="0.3"/>
<RearAxle maxSteering="0.0" wheelDiameter="0.6" trackWidth="1.8" positionX="0.0" positionZ="0.3"/>
</Axles>
<Properties>
<Property name="type" value="ego_vehicle"/>
</Properties>
</Vehicle>
</ScenarioObject>
<ScenarioObject name="adversary">
<Vehicle name="vehicle.lincoln.mkz_2017" vehicleCategory="car">
<ParameterDeclarations/>
<Performance maxSpeed="69.444" maxAcceleration="200" maxDeceleration="10.0"/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2.1" length="4.5" height="1.8"/>
</BoundingBox>
<Axles>
<FrontAxle maxSteering="0.5" wheelDiameter="0.6" trackWidth="1.8" positionX="3.1" positionZ="0.3"/>
<RearAxle maxSteering="0.0" wheelDiameter="0.6" trackWidth="1.8" positionX="0.0" positionZ="0.3"/>
</Axles>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Vehicle>
</ScenarioObject>
<ScenarioObject name="standing">
<Vehicle name="vehicle.volkswagen.t2" vehicleCategory="car">
<ParameterDeclarations/>
<Performance maxSpeed="69.444" maxAcceleration="200" maxDeceleration="10.0"/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2.1" length="4.5" height="1.8"/>
</BoundingBox>
<Axles>
<FrontAxle maxSteering="0.5" wheelDiameter="0.6" trackWidth="1.8" positionX="3.1" positionZ="0.3"/>
<RearAxle maxSteering="0.0" wheelDiameter="0.6" 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>
<ScenarioObject name="pedestrian_w_transform_13259">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_w_transform_13260">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_close_to_hero_13261">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
</Entities>
<Storyboard>
<Init>
<Actions>
<GlobalAction>
<EnvironmentAction>
<Environment name="Environment1">
<TimeOfDay animation="false" dateTime="2019-06-25T12:00:00"/>
<Weather cloudState="free">
<Sun intensity="0.85" azimuth="0" elevation="1.31"/>
<Fog visualRange="100000.0"/>
<Precipitation precipitationType="dry" intensity="0.0"/>
</Weather>
<RoadCondition frictionScaleFactor="1.0"/>
</Environment>
</EnvironmentAction>
</GlobalAction>
<Private entityRef="hero">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-9.4" y="-152.8" z="0.5" h="1.57079632679"/>
</Position>
</TeleportAction>
</PrivateAction>
<PrivateAction>
<ControllerAction>
<AssignControllerAction>
<Controller name="HeroAgent">
<Properties>
<Property name="module" value="external_control"/>
</Properties>
</Controller>
</AssignControllerAction>
<OverrideControllerValueAction>
<Throttle value="0" active="false"/>
<Brake value="0" active="false"/>
<Clutch value="0" active="false"/>
<ParkingBrake value="0" active="false"/>
<SteeringWheel value="0" active="false"/>
<Gear number="0" active="false"/>
</OverrideControllerValueAction>
</ControllerAction>
</PrivateAction>
</Private>
<Private entityRef="adversary">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-9.4" y="-71.0" z="0.5" h="1.57079632679"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="standing">
<PrivateAction>
<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>
<Private entityRef="pedestrian_w_transform_13259">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="83.652099609375" y="22.093467712402344" z="0.5"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_w_transform_13260">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-16.35782241821289" y="17.39406967163086" z="0.5"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_close_to_hero_13261">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="0.1379895955324173" y="-159.3152313232422" 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 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_14826">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_close_to_standing_14827">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_w_transform_14828">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_w_transform_14829">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_close_to_standing_14830">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_close_to_adversary_14832">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_close_to_hero_14833">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_w_transform_14834">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_w_transform_14835">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_close_to_hero_14836">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_w_transform_14837">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
</Entities>
<Storyboard>
<Init>
<Actions>
<GlobalAction>
<EnvironmentAction>
<Environment name="Environment1">
<TimeOfDay animation="false" dateTime="2019-06-25T12:00:00"/>
<Weather cloudState="free">
<Sun intensity="0.85" azimuth="0" elevation="1.31"/>
<Fog visualRange="100000.0"/>
<Precipitation precipitationType="dry" intensity="0.0"/>
</Weather>
<RoadCondition frictionScaleFactor="1.0"/>
</Environment>
</EnvironmentAction>
</GlobalAction>
<Private entityRef="hero">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-9.4" y="-152.8" z="0.5" h="1.57079632679"/>
</Position>
</TeleportAction>
</PrivateAction>
<PrivateAction>
<ControllerAction>
<AssignControllerAction>
<Controller name="HeroAgent">
<Properties>
<Property name="module" value="external_control"/>
</Properties>
</Controller>
</AssignControllerAction>
<OverrideControllerValueAction>
<Throttle value="0" active="false"/>
<Brake value="0" active="false"/>
<Clutch value="0" active="false"/>
<ParkingBrake value="0" active="false"/>
<SteeringWheel value="0" active="false"/>
<Gear number="0" active="false"/>
</OverrideControllerValueAction>
</ControllerAction>
</PrivateAction>
</Private>
<Private entityRef="adversary">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-9.4" y="-71.0" z="0.5" h="1.57079632679"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="standing">
<PrivateAction>
<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_14826">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-2.105419397354126" y="-78.67179870605469" z="0.03380519896745682"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_close_to_standing_14827">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-7.477251052856445" y="34.93408203125" z="0.0030537412967532873"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_w_transform_14828">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-9.270092964172363" y="-6.411836624145508" z="0.5"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_w_transform_14829">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-13.652584075927734" y="61.931884765625" z="0.5"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_close_to_standing_14830">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-1.4835572242736816" y="22.447189331054688" z="0.0030856323428452015"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_close_to_adversary_14832">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-17.256898880004883" y="-75.11946868896484" z="0.03383796662092209"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_close_to_hero_14833">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-3.336275339126587" y="-151.5395050048828" z="0.0014286803780123591"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_w_transform_14834">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-25.451845169067383" y="-79.88922882080078" z="0.5"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_w_transform_14835">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="15.868645668029785" y="-15.355854988098145" z="0.5"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_close_to_hero_14836">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-17.489299774169922" y="-152.30099487304688" z="0.0014286803780123591"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_w_transform_14837">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="49.617034912109375" y="42.428733825683594" z="0.5"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
</Actions>
</Init>
<Story name="MyStory">
<Act name="Behavior">
<ManeuverGroup maximumExecutionCount="1" name="ManeuverSequence">
<Actors selectTriggeringEntities="false">
<EntityRef entityRef="adversary"/>
</Actors>
<Maneuver name="LaneChangeSimpleManeuver">
<Event name="AdversaryAccelerates" priority="overwrite">
<Action name="AdversaryAccelerates">
<PrivateAction>
<LongitudinalAction>
<SpeedAction>
<SpeedActionDynamics dynamicsShape="step" value="50" dynamicsDimension="distance"/>
<SpeedActionTarget>
<AbsoluteTargetSpeed value="5.0"/>
</SpeedActionTarget>
</SpeedAction>
</LongitudinalAction>
</PrivateAction>
</Action>
<StartTrigger>
<ConditionGroup>
<Condition name="StartCondition" delay="0" conditionEdge="rising">
<ByEntityCondition>
<TriggeringEntities triggeringEntitiesRule="any">
<EntityRef entityRef="hero"/>
</TriggeringEntities>
<EntityCondition>
<RelativeDistanceCondition entityRef="adversary" relativeDistanceType="cartesianDistance" value="40.0" freespace="false" rule="lessThan"/>
</EntityCondition>
</ByEntityCondition>
</Condition>
</ConditionGroup>
</StartTrigger>
</Event>
<Event name="AdversaryChangesLane" priority="overwrite">
<Action name="AdversaryChangesLane">
<PrivateAction>
<LateralAction>
<LaneChangeAction>
<LaneChangeActionDynamics dynamicsShape="linear" value="25" dynamicsDimension="distance"/>
<LaneChangeTarget>
<RelativeTargetLane entityRef="adversary" value="-1"/>
</LaneChangeTarget>
</LaneChangeAction>
</LateralAction>
</PrivateAction>
</Action>
<StartTrigger>
<ConditionGroup>
<Condition name="AfterAdversaryAccelerates" delay="0" conditionEdge="rising">
<ByValueCondition>
<StoryboardElementStateCondition storyboardElementType="action" storyboardElementRef="AdversaryAccelerates" state="completeState"/>
</ByValueCondition>
</Condition>
</ConditionGroup>
</StartTrigger>
</Event>
</Maneuver>
</ManeuverGroup>
<StartTrigger>
<ConditionGroup>
<Condition name="OverallStartCondition" delay="0" conditionEdge="rising">
<ByEntityCondition>
<TriggeringEntities triggeringEntitiesRule="any">
<EntityRef entityRef="hero"/>
</TriggeringEntities>
<EntityCondition>
<TraveledDistanceCondition value="1.0"/>
</EntityCondition>
</ByEntityCondition>
</Condition>
<Condition name="StartTime" delay="0" conditionEdge="rising">
<ByValueCondition>
<SimulationTimeCondition value="0" rule="equalTo"/>
</ByValueCondition>
</Condition>
</ConditionGroup>
</StartTrigger>
<StopTrigger>
<ConditionGroup>
<Condition name="EndCondition" delay="0" conditionEdge="rising">
<ByEntityCondition>
<TriggeringEntities triggeringEntitiesRule="any">
<EntityRef entityRef="hero"/>
</TriggeringEntities>
<EntityCondition>
<TraveledDistanceCondition value="200.0"/>
</EntityCondition>
</ByEntityCondition>
</Condition>
</ConditionGroup>
</StopTrigger>
</Act>
</Story>
<StopTrigger>
<ConditionGroup>
<Condition name="criteria_RunningStopTest" delay="0" conditionEdge="rising">
<ByValueCondition>
<ParameterCondition parameterRef="" value="" rule="lessThan"/>
</ByValueCondition>
</Condition>
<Condition name="criteria_RunningRedLightTest" delay="0" conditionEdge="rising">
<ByValueCondition>
<ParameterCondition parameterRef="" value="" rule="lessThan"/>
</ByValueCondition>
</Condition>
<Condition name="criteria_WrongLaneTest" delay="0" conditionEdge="rising">
<ByValueCondition>
<ParameterCondition parameterRef="" value="" rule="lessThan"/>
</ByValueCondition>
</Condition>
<Condition name="criteria_OnSidewalkTest" delay="0" conditionEdge="rising">
<ByValueCondition>
<ParameterCondition parameterRef="" value="" rule="lessThan"/>
</ByValueCondition>
</Condition>
<Condition name="criteria_KeepLaneTest" delay="0" conditionEdge="rising">
<ByValueCondition>
<ParameterCondition parameterRef="" value="" rule="lessThan"/>
</ByValueCondition>
</Condition>
<Condition name="criteria_CollisionTest" delay="0" conditionEdge="rising">
<ByValueCondition>
<ParameterCondition parameterRef="" value="" rule="lessThan"/>
</ByValueCondition>
</Condition>
<Condition name="criteria_DrivenDistanceTest" delay="0" conditionEdge="rising">
<ByValueCondition>
<ParameterCondition parameterRef="distance_success" value="100" rule="lessThan"/>
</ByValueCondition>
</Condition>
</ConditionGroup>
</StopTrigger>
</Storyboard>
</OpenSCENARIO>
``` | Here is the result:
```
<?xml version="1.0" ?>
<OpenSCENARIO>
<FileHeader revMajor="1" revMinor="0" date="2020-03-24T12:00:00" description="CARLA:LaneChangeSimple" author=""/>
<ParameterDeclarations/>
<CatalogLocations/>
<RoadNetwork>
<LogicFile filepath="Town04"/>
<SceneGraphFile filepath=""/>
</RoadNetwork>
<Entities>
<ScenarioObject name="hero">
<Vehicle name="vehicle.tesla.model3" vehicleCategory="car">
<ParameterDeclarations/>
<Performance maxSpeed="69.444" maxAcceleration="200" maxDeceleration="10.0"/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2.1" length="4.5" height="1.8"/>
</BoundingBox>
<Axles>
<FrontAxle maxSteering="0.5" wheelDiameter="0.6" trackWidth="1.8" positionX="3.1" positionZ="0.3"/>
<RearAxle maxSteering="0.0" wheelDiameter="0.6" trackWidth="1.8" positionX="0.0" positionZ="0.3"/>
</Axles>
<Properties>
<Property name="type" value="ego_vehicle"/>
</Properties>
</Vehicle>
</ScenarioObject>
<ScenarioObject name="adversary">
<Vehicle name="vehicle.lincoln.mkz_2017" vehicleCategory="car">
<ParameterDeclarations/>
<Performance maxSpeed="69.444" maxAcceleration="200" maxDeceleration="10.0"/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2.1" length="4.5" height="1.8"/>
</BoundingBox>
<Axles>
<FrontAxle maxSteering="0.5" wheelDiameter="0.6" trackWidth="1.8" positionX="3.1" positionZ="0.3"/>
<RearAxle maxSteering="0.0" wheelDiameter="0.6" trackWidth="1.8" positionX="0.0" positionZ="0.3"/>
</Axles>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Vehicle>
</ScenarioObject>
<ScenarioObject name="standing">
<Vehicle name="vehicle.volkswagen.t2" vehicleCategory="car">
<ParameterDeclarations/>
<Performance maxSpeed="69.444" maxAcceleration="200" maxDeceleration="10.0"/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2.1" length="4.5" height="1.8"/>
</BoundingBox>
<Axles>
<FrontAxle maxSteering="0.5" wheelDiameter="0.6" trackWidth="1.8" positionX="3.1" positionZ="0.3"/>
<RearAxle maxSteering="0.0" wheelDiameter="0.6" 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_14826">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_close_to_standing_14827">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_w_transform_14828">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_w_transform_14829">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_close_to_standing_14830">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_close_to_adversary_14832">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_close_to_hero_14833">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_w_transform_14834">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_w_transform_14835">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_close_to_hero_14836">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_w_transform_14837">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_close_to_standing_14838">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
</Entities>
<Storyboard>
<Init>
<Actions>
<GlobalAction>
<EnvironmentAction>
<Environment name="Environment1">
<TimeOfDay animation="false" dateTime="2019-06-25T12:00:00"/>
<Weather cloudState="free">
<Sun intensity="0.85" azimuth="0" elevation="1.31"/>
<Fog visualRange="100000.0"/>
<Precipitation precipitationType="dry" intensity="0.0"/>
</Weather>
<RoadCondition frictionScaleFactor="1.0"/>
</Environment>
</EnvironmentAction>
</GlobalAction>
<Private entityRef="hero">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-9.4" y="-152.8" z="0.5" h="1.57079632679"/>
</Position>
</TeleportAction>
</PrivateAction>
<PrivateAction>
<ControllerAction>
<AssignControllerAction>
<Controller name="HeroAgent">
<Properties>
<Property name="module" value="external_control"/>
</Properties>
</Controller>
</AssignControllerAction>
<OverrideControllerValueAction>
<Throttle value="0" active="false"/>
<Brake value="0" active="false"/>
<Clutch value="0" active="false"/>
<ParkingBrake value="0" active="false"/>
<SteeringWheel value="0" active="false"/>
<Gear number="0" active="false"/>
</OverrideControllerValueAction>
</ControllerAction>
</PrivateAction>
</Private>
<Private entityRef="adversary">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-9.4" y="-71.0" z="0.5" h="1.57079632679"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="standing">
<PrivateAction>
<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_14826">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-2.105419397354126" y="-78.67179870605469" z="0.03380519896745682"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_close_to_standing_14827">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-7.477251052856445" y="34.93408203125" z="0.0030537412967532873"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_w_transform_14828">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-9.270092964172363" y="-6.411836624145508" z="0.5"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_w_transform_14829">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-13.652584075927734" y="61.931884765625" z="0.5"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_close_to_standing_14830">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-1.4835572242736816" y="22.447189331054688" z="0.0030856323428452015"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_close_to_adversary_14832">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-17.256898880004883" y="-75.11946868896484" z="0.03383796662092209"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_close_to_hero_14833">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-3.336275339126587" y="-151.5395050048828" z="0.0014286803780123591"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_w_transform_14834">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-25.451845169067383" y="-79.88922882080078" z="0.5"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_w_transform_14835">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="15.868645668029785" y="-15.355854988098145" z="0.5"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_close_to_hero_14836">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-17.489299774169922" y="-152.30099487304688" z="0.0014286803780123591"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_w_transform_14837">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="49.617034912109375" y="42.428733825683594" z="0.5"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_close_to_standing_14838">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-11.433639526367188" y="23.881202697753906" z="0.0030651474371552467"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
</Actions>
</Init>
<Story name="MyStory">
<Act name="Behavior">
<ManeuverGroup maximumExecutionCount="1" name="ManeuverSequence">
<Actors selectTriggeringEntities="false">
<EntityRef entityRef="adversary"/>
</Actors>
<Maneuver name="LaneChangeSimpleManeuver">
<Event name="AdversaryAccelerates" priority="overwrite">
<Action name="AdversaryAccelerates">
<PrivateAction>
<LongitudinalAction>
<SpeedAction>
<SpeedActionDynamics dynamicsShape="step" value="50" dynamicsDimension="distance"/>
<SpeedActionTarget>
<AbsoluteTargetSpeed value="5.0"/>
</SpeedActionTarget>
</SpeedAction>
</LongitudinalAction>
</PrivateAction>
</Action>
<StartTrigger>
<ConditionGroup>
<Condition name="StartCondition" delay="0" conditionEdge="rising">
<ByEntityCondition>
<TriggeringEntities triggeringEntitiesRule="any">
<EntityRef entityRef="hero"/>
</TriggeringEntities>
<EntityCondition>
<RelativeDistanceCondition entityRef="adversary" relativeDistanceType="cartesianDistance" value="40.0" freespace="false" rule="lessThan"/>
</EntityCondition>
</ByEntityCondition>
</Condition>
</ConditionGroup>
</StartTrigger>
</Event>
<Event name="AdversaryChangesLane" priority="overwrite">
<Action name="AdversaryChangesLane">
<PrivateAction>
<LateralAction>
<LaneChangeAction>
<LaneChangeActionDynamics dynamicsShape="linear" value="25" dynamicsDimension="distance"/>
<LaneChangeTarget>
<RelativeTargetLane entityRef="adversary" value="-1"/>
</LaneChangeTarget>
</LaneChangeAction>
</LateralAction>
</PrivateAction>
</Action>
<StartTrigger>
<ConditionGroup>
<Condition name="AfterAdversaryAccelerates" delay="0" conditionEdge="rising">
<ByValueCondition>
<StoryboardElementStateCondition storyboardElementType="action" storyboardElementRef="AdversaryAccelerates" state="completeState"/>
</ByValueCondition>
</Condition>
</ConditionGroup>
</StartTrigger>
</Event>
</Maneuver>
</ManeuverGroup>
<StartTrigger>
<ConditionGroup>
<Condition name="OverallStartCondition" delay="0" conditionEdge="rising">
<ByEntityCondition>
<TriggeringEntities triggeringEntitiesRule="any">
<EntityRef entityRef="hero"/>
</TriggeringEntities>
<EntityCondition>
<TraveledDistanceCondition value="1.0"/>
</EntityCondition>
</ByEntityCondition>
</Condition>
<Condition name="StartTime" delay="0" conditionEdge="rising">
<ByValueCondition>
<SimulationTimeCondition value="0" rule="equalTo"/>
</ByValueCondition>
</Condition>
</ConditionGroup>
</StartTrigger>
<StopTrigger>
<ConditionGroup>
<Condition name="EndCondition" delay="0" conditionEdge="rising">
<ByEntityCondition>
<TriggeringEntities triggeringEntitiesRule="any">
<EntityRef entityRef="hero"/>
</TriggeringEntities>
<EntityCondition>
<TraveledDistanceCondition value="200.0"/>
</EntityCondition>
</ByEntityCondition>
</Condition>
</ConditionGroup>
</StopTrigger>
</Act>
</Story>
<StopTrigger>
<ConditionGroup>
<Condition name="criteria_RunningStopTest" delay="0" conditionEdge="rising">
<ByValueCondition>
<ParameterCondition parameterRef="" value="" rule="lessThan"/>
</ByValueCondition>
</Condition>
<Condition name="criteria_RunningRedLightTest" delay="0" conditionEdge="rising">
<ByValueCondition>
<ParameterCondition parameterRef="" value="" rule="lessThan"/>
</ByValueCondition>
</Condition>
<Condition name="criteria_WrongLaneTest" delay="0" conditionEdge="rising">
<ByValueCondition>
<ParameterCondition parameterRef="" value="" rule="lessThan"/>
</ByValueCondition>
</Condition>
<Condition name="criteria_OnSidewalkTest" delay="0" conditionEdge="rising">
<ByValueCondition>
<ParameterCondition parameterRef="" value="" rule="lessThan"/>
</ByValueCondition>
</Condition>
<Condition name="criteria_KeepLaneTest" delay="0" conditionEdge="rising">
<ByValueCondition>
<ParameterCondition parameterRef="" value="" rule="lessThan"/>
</ByValueCondition>
</Condition>
<Condition name="criteria_CollisionTest" delay="0" conditionEdge="rising">
<ByValueCondition>
<ParameterCondition parameterRef="" value="" rule="lessThan"/>
</ByValueCondition>
</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 (32.3, 51.56, 0.5)?
```
<?xml version="1.0" ?>
<OpenSCENARIO>
<FileHeader revMajor="1" revMinor="0" date="2020-03-24T12:00:00" description="CARLA:LaneChangeSimple" author=""/>
<ParameterDeclarations/>
<CatalogLocations/>
<RoadNetwork>
<LogicFile filepath="Town04"/>
<SceneGraphFile filepath=""/>
</RoadNetwork>
<Entities>
<ScenarioObject name="hero">
<Vehicle name="vehicle.tesla.model3" vehicleCategory="car">
<ParameterDeclarations/>
<Performance maxSpeed="69.444" maxAcceleration="200" maxDeceleration="10.0"/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2.1" length="4.5" height="1.8"/>
</BoundingBox>
<Axles>
<FrontAxle maxSteering="0.5" wheelDiameter="0.6" trackWidth="1.8" positionX="3.1" positionZ="0.3"/>
<RearAxle maxSteering="0.0" wheelDiameter="0.6" trackWidth="1.8" positionX="0.0" positionZ="0.3"/>
</Axles>
<Properties>
<Property name="type" value="ego_vehicle"/>
</Properties>
</Vehicle>
</ScenarioObject>
<ScenarioObject name="adversary">
<Vehicle name="vehicle.lincoln.mkz_2017" vehicleCategory="car">
<ParameterDeclarations/>
<Performance maxSpeed="69.444" maxAcceleration="200" maxDeceleration="10.0"/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2.1" length="4.5" height="1.8"/>
</BoundingBox>
<Axles>
<FrontAxle maxSteering="0.5" wheelDiameter="0.6" trackWidth="1.8" positionX="3.1" positionZ="0.3"/>
<RearAxle maxSteering="0.0" wheelDiameter="0.6" trackWidth="1.8" positionX="0.0" positionZ="0.3"/>
</Axles>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Vehicle>
</ScenarioObject>
<ScenarioObject name="standing">
<Vehicle name="vehicle.volkswagen.t2" vehicleCategory="car">
<ParameterDeclarations/>
<Performance maxSpeed="69.444" maxAcceleration="200" maxDeceleration="10.0"/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2.1" length="4.5" height="1.8"/>
</BoundingBox>
<Axles>
<FrontAxle maxSteering="0.5" wheelDiameter="0.6" trackWidth="1.8" positionX="3.1" positionZ="0.3"/>
<RearAxle maxSteering="0.0" wheelDiameter="0.6" trackWidth="1.8" positionX="0.0" positionZ="0.3"/>
</Axles>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Vehicle>
</ScenarioObject>
<ScenarioObject name="pedestrian_close_to_standing_7934">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
</Entities>
<Storyboard>
<Init>
<Actions>
<GlobalAction>
<EnvironmentAction>
<Environment name="Environment1">
<TimeOfDay animation="false" dateTime="2019-06-25T12:00:00"/>
<Weather cloudState="free">
<Sun intensity="0.85" azimuth="0" elevation="1.31"/>
<Fog visualRange="100000.0"/>
<Precipitation precipitationType="dry" intensity="0.0"/>
</Weather>
<RoadCondition frictionScaleFactor="1.0"/>
</Environment>
</EnvironmentAction>
</GlobalAction>
<Private entityRef="hero">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-9.4" y="-152.8" z="0.5" h="1.57079632679"/>
</Position>
</TeleportAction>
</PrivateAction>
<PrivateAction>
<ControllerAction>
<AssignControllerAction>
<Controller name="HeroAgent">
<Properties>
<Property name="module" value="external_control"/>
</Properties>
</Controller>
</AssignControllerAction>
<OverrideControllerValueAction>
<Throttle value="0" active="false"/>
<Brake value="0" active="false"/>
<Clutch value="0" active="false"/>
<ParkingBrake value="0" active="false"/>
<SteeringWheel value="0" active="false"/>
<Gear number="0" active="false"/>
</OverrideControllerValueAction>
</ControllerAction>
</PrivateAction>
</Private>
<Private entityRef="adversary">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-9.4" y="-71.0" z="0.5" h="1.57079632679"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="standing">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-8.2" y="29.2" z="0.5" h="1.57079632679"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_close_to_standing_7934">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-24.42301368713379" y="33.333003997802734" z="0.003027420025318861"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
</Actions>
</Init>
<Story name="MyStory">
<Act name="Behavior">
<ManeuverGroup maximumExecutionCount="1" name="ManeuverSequence">
<Actors selectTriggeringEntities="false">
<EntityRef entityRef="adversary"/>
</Actors>
<Maneuver name="LaneChangeSimpleManeuver">
<Event name="AdversaryAccelerates" priority="overwrite">
<Action name="AdversaryAccelerates">
<PrivateAction>
<LongitudinalAction>
<SpeedAction>
<SpeedActionDynamics dynamicsShape="step" value="50" dynamicsDimension="distance"/>
<SpeedActionTarget>
<AbsoluteTargetSpeed value="5.0"/>
</SpeedActionTarget>
</SpeedAction>
</LongitudinalAction>
</PrivateAction>
</Action>
<StartTrigger>
<ConditionGroup>
<Condition name="StartCondition" delay="0" conditionEdge="rising">
<ByEntityCondition>
<TriggeringEntities triggeringEntitiesRule="any">
<EntityRef entityRef="hero"/>
</TriggeringEntities>
<EntityCondition>
<RelativeDistanceCondition entityRef="adversary" relativeDistanceType="cartesianDistance" value="40.0" freespace="false" rule="lessThan"/>
</EntityCondition>
</ByEntityCondition>
</Condition>
</ConditionGroup>
</StartTrigger>
</Event>
<Event name="AdversaryChangesLane" priority="overwrite">
<Action name="AdversaryChangesLane">
<PrivateAction>
<LateralAction>
<LaneChangeAction>
<LaneChangeActionDynamics dynamicsShape="linear" value="25" dynamicsDimension="distance"/>
<LaneChangeTarget>
<RelativeTargetLane entityRef="adversary" value="-1"/>
</LaneChangeTarget>
</LaneChangeAction>
</LateralAction>
</PrivateAction>
</Action>
<StartTrigger>
<ConditionGroup>
<Condition name="AfterAdversaryAccelerates" delay="0" conditionEdge="rising">
<ByValueCondition>
<StoryboardElementStateCondition storyboardElementType="action" storyboardElementRef="AdversaryAccelerates" state="completeState"/>
</ByValueCondition>
</Condition>
</ConditionGroup>
</StartTrigger>
</Event>
</Maneuver>
</ManeuverGroup>
<StartTrigger>
<ConditionGroup>
<Condition name="OverallStartCondition" delay="0" conditionEdge="rising">
<ByEntityCondition>
<TriggeringEntities triggeringEntitiesRule="any">
<EntityRef entityRef="hero"/>
</TriggeringEntities>
<EntityCondition>
<TraveledDistanceCondition value="1.0"/>
</EntityCondition>
</ByEntityCondition>
</Condition>
<Condition name="StartTime" delay="0" conditionEdge="rising">
<ByValueCondition>
<SimulationTimeCondition value="0" rule="equalTo"/>
</ByValueCondition>
</Condition>
</ConditionGroup>
</StartTrigger>
<StopTrigger>
<ConditionGroup>
<Condition name="EndCondition" delay="0" conditionEdge="rising">
<ByEntityCondition>
<TriggeringEntities triggeringEntitiesRule="any">
<EntityRef entityRef="hero"/>
</TriggeringEntities>
<EntityCondition>
<TraveledDistanceCondition value="200.0"/>
</EntityCondition>
</ByEntityCondition>
</Condition>
</ConditionGroup>
</StopTrigger>
</Act>
</Story>
<StopTrigger>
<ConditionGroup>
<Condition name="criteria_RunningStopTest" delay="0" conditionEdge="rising">
<ByValueCondition>
<ParameterCondition parameterRef="" value="" rule="lessThan"/>
</ByValueCondition>
</Condition>
<Condition name="criteria_RunningRedLightTest" delay="0" conditionEdge="rising">
<ByValueCondition>
<ParameterCondition parameterRef="" value="" rule="lessThan"/>
</ByValueCondition>
</Condition>
<Condition name="criteria_WrongLaneTest" delay="0" conditionEdge="rising">
<ByValueCondition>
<ParameterCondition parameterRef="" value="" rule="lessThan"/>
</ByValueCondition>
</Condition>
<Condition name="criteria_OnSidewalkTest" delay="0" conditionEdge="rising">
<ByValueCondition>
<ParameterCondition parameterRef="" value="" rule="lessThan"/>
</ByValueCondition>
</Condition>
<Condition name="criteria_KeepLaneTest" delay="0" conditionEdge="rising">
<ByValueCondition>
<ParameterCondition parameterRef="" value="" rule="lessThan"/>
</ByValueCondition>
</Condition>
<Condition name="criteria_CollisionTest" delay="0" conditionEdge="rising">
<ByValueCondition>
<ParameterCondition parameterRef="" value="" rule="lessThan"/>
</ByValueCondition>
</Condition>
<Condition name="criteria_DrivenDistanceTest" delay="0" conditionEdge="rising">
<ByValueCondition>
<ParameterCondition parameterRef="distance_success" value="100" rule="lessThan"/>
</ByValueCondition>
</Condition>
</ConditionGroup>
</StopTrigger>
</Storyboard>
</OpenSCENARIO>
``` | Here is the result:
```
<?xml version="1.0" ?>
<OpenSCENARIO>
<FileHeader revMajor="1" revMinor="0" date="2020-03-24T12:00:00" description="CARLA:LaneChangeSimple" author=""/>
<ParameterDeclarations/>
<CatalogLocations/>
<RoadNetwork>
<LogicFile filepath="Town04"/>
<SceneGraphFile filepath=""/>
</RoadNetwork>
<Entities>
<ScenarioObject name="hero">
<Vehicle name="vehicle.tesla.model3" vehicleCategory="car">
<ParameterDeclarations/>
<Performance maxSpeed="69.444" maxAcceleration="200" maxDeceleration="10.0"/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2.1" length="4.5" height="1.8"/>
</BoundingBox>
<Axles>
<FrontAxle maxSteering="0.5" wheelDiameter="0.6" trackWidth="1.8" positionX="3.1" positionZ="0.3"/>
<RearAxle maxSteering="0.0" wheelDiameter="0.6" trackWidth="1.8" positionX="0.0" positionZ="0.3"/>
</Axles>
<Properties>
<Property name="type" value="ego_vehicle"/>
</Properties>
</Vehicle>
</ScenarioObject>
<ScenarioObject name="adversary">
<Vehicle name="vehicle.lincoln.mkz_2017" vehicleCategory="car">
<ParameterDeclarations/>
<Performance maxSpeed="69.444" maxAcceleration="200" maxDeceleration="10.0"/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2.1" length="4.5" height="1.8"/>
</BoundingBox>
<Axles>
<FrontAxle maxSteering="0.5" wheelDiameter="0.6" trackWidth="1.8" positionX="3.1" positionZ="0.3"/>
<RearAxle maxSteering="0.0" wheelDiameter="0.6" trackWidth="1.8" positionX="0.0" positionZ="0.3"/>
</Axles>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Vehicle>
</ScenarioObject>
<ScenarioObject name="standing">
<Vehicle name="vehicle.volkswagen.t2" vehicleCategory="car">
<ParameterDeclarations/>
<Performance maxSpeed="69.444" maxAcceleration="200" maxDeceleration="10.0"/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2.1" length="4.5" height="1.8"/>
</BoundingBox>
<Axles>
<FrontAxle maxSteering="0.5" wheelDiameter="0.6" trackWidth="1.8" positionX="3.1" positionZ="0.3"/>
<RearAxle maxSteering="0.0" wheelDiameter="0.6" trackWidth="1.8" positionX="0.0" positionZ="0.3"/>
</Axles>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Vehicle>
</ScenarioObject>
<ScenarioObject name="pedestrian_close_to_standing_7934">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_w_transform_7935">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
</Entities>
<Storyboard>
<Init>
<Actions>
<GlobalAction>
<EnvironmentAction>
<Environment name="Environment1">
<TimeOfDay animation="false" dateTime="2019-06-25T12:00:00"/>
<Weather cloudState="free">
<Sun intensity="0.85" azimuth="0" elevation="1.31"/>
<Fog visualRange="100000.0"/>
<Precipitation precipitationType="dry" intensity="0.0"/>
</Weather>
<RoadCondition frictionScaleFactor="1.0"/>
</Environment>
</EnvironmentAction>
</GlobalAction>
<Private entityRef="hero">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-9.4" y="-152.8" z="0.5" h="1.57079632679"/>
</Position>
</TeleportAction>
</PrivateAction>
<PrivateAction>
<ControllerAction>
<AssignControllerAction>
<Controller name="HeroAgent">
<Properties>
<Property name="module" value="external_control"/>
</Properties>
</Controller>
</AssignControllerAction>
<OverrideControllerValueAction>
<Throttle value="0" active="false"/>
<Brake value="0" active="false"/>
<Clutch value="0" active="false"/>
<ParkingBrake value="0" active="false"/>
<SteeringWheel value="0" active="false"/>
<Gear number="0" active="false"/>
</OverrideControllerValueAction>
</ControllerAction>
</PrivateAction>
</Private>
<Private entityRef="adversary">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-9.4" y="-71.0" z="0.5" h="1.57079632679"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="standing">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-8.2" y="29.2" z="0.5" h="1.57079632679"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_close_to_standing_7934">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-24.42301368713379" y="33.333003997802734" z="0.003027420025318861"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_w_transform_7935">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="32.29779052734375" y="51.55949401855469" z="0.5"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
</Actions>
</Init>
<Story name="MyStory">
<Act name="Behavior">
<ManeuverGroup maximumExecutionCount="1" name="ManeuverSequence">
<Actors selectTriggeringEntities="false">
<EntityRef entityRef="adversary"/>
</Actors>
<Maneuver name="LaneChangeSimpleManeuver">
<Event name="AdversaryAccelerates" priority="overwrite">
<Action name="AdversaryAccelerates">
<PrivateAction>
<LongitudinalAction>
<SpeedAction>
<SpeedActionDynamics dynamicsShape="step" value="50" dynamicsDimension="distance"/>
<SpeedActionTarget>
<AbsoluteTargetSpeed value="5.0"/>
</SpeedActionTarget>
</SpeedAction>
</LongitudinalAction>
</PrivateAction>
</Action>
<StartTrigger>
<ConditionGroup>
<Condition name="StartCondition" delay="0" conditionEdge="rising">
<ByEntityCondition>
<TriggeringEntities triggeringEntitiesRule="any">
<EntityRef entityRef="hero"/>
</TriggeringEntities>
<EntityCondition>
<RelativeDistanceCondition entityRef="adversary" relativeDistanceType="cartesianDistance" value="40.0" freespace="false" rule="lessThan"/>
</EntityCondition>
</ByEntityCondition>
</Condition>
</ConditionGroup>
</StartTrigger>
</Event>
<Event name="AdversaryChangesLane" priority="overwrite">
<Action name="AdversaryChangesLane">
<PrivateAction>
<LateralAction>
<LaneChangeAction>
<LaneChangeActionDynamics dynamicsShape="linear" value="25" dynamicsDimension="distance"/>
<LaneChangeTarget>
<RelativeTargetLane entityRef="adversary" value="-1"/>
</LaneChangeTarget>
</LaneChangeAction>
</LateralAction>
</PrivateAction>
</Action>
<StartTrigger>
<ConditionGroup>
<Condition name="AfterAdversaryAccelerates" delay="0" conditionEdge="rising">
<ByValueCondition>
<StoryboardElementStateCondition storyboardElementType="action" storyboardElementRef="AdversaryAccelerates" state="completeState"/>
</ByValueCondition>
</Condition>
</ConditionGroup>
</StartTrigger>
</Event>
</Maneuver>
</ManeuverGroup>
<StartTrigger>
<ConditionGroup>
<Condition name="OverallStartCondition" delay="0" conditionEdge="rising">
<ByEntityCondition>
<TriggeringEntities triggeringEntitiesRule="any">
<EntityRef entityRef="hero"/>
</TriggeringEntities>
<EntityCondition>
<TraveledDistanceCondition value="1.0"/>
</EntityCondition>
</ByEntityCondition>
</Condition>
<Condition name="StartTime" delay="0" conditionEdge="rising">
<ByValueCondition>
<SimulationTimeCondition value="0" rule="equalTo"/>
</ByValueCondition>
</Condition>
</ConditionGroup>
</StartTrigger>
<StopTrigger>
<ConditionGroup>
<Condition name="EndCondition" delay="0" conditionEdge="rising">
<ByEntityCondition>
<TriggeringEntities triggeringEntitiesRule="any">
<EntityRef entityRef="hero"/>
</TriggeringEntities>
<EntityCondition>
<TraveledDistanceCondition value="200.0"/>
</EntityCondition>
</ByEntityCondition>
</Condition>
</ConditionGroup>
</StopTrigger>
</Act>
</Story>
<StopTrigger>
<ConditionGroup>
<Condition name="criteria_RunningStopTest" delay="0" conditionEdge="rising">
<ByValueCondition>
<ParameterCondition parameterRef="" value="" rule="lessThan"/>
</ByValueCondition>
</Condition>
<Condition name="criteria_RunningRedLightTest" delay="0" conditionEdge="rising">
<ByValueCondition>
<ParameterCondition parameterRef="" value="" rule="lessThan"/>
</ByValueCondition>
</Condition>
<Condition name="criteria_WrongLaneTest" delay="0" conditionEdge="rising">
<ByValueCondition>
<ParameterCondition parameterRef="" value="" rule="lessThan"/>
</ByValueCondition>
</Condition>
<Condition name="criteria_OnSidewalkTest" delay="0" conditionEdge="rising">
<ByValueCondition>
<ParameterCondition parameterRef="" value="" rule="lessThan"/>
</ByValueCondition>
</Condition>
<Condition name="criteria_KeepLaneTest" delay="0" conditionEdge="rising">
<ByValueCondition>
<ParameterCondition parameterRef="" value="" rule="lessThan"/>
</ByValueCondition>
</Condition>
<Condition name="criteria_CollisionTest" delay="0" conditionEdge="rising">
<ByValueCondition>
<ParameterCondition parameterRef="" value="" rule="lessThan"/>
</ByValueCondition>
</Condition>
<Condition name="criteria_DrivenDistanceTest" delay="0" conditionEdge="rising">
<ByValueCondition>
<ParameterCondition parameterRef="distance_success" value="100" rule="lessThan"/>
</ByValueCondition>
</Condition>
</ConditionGroup>
</StopTrigger>
</Storyboard>
</OpenSCENARIO>
``` |
i would like to ask you to remove pedestrian close to hero?
```
<?xml version="1.0" ?>
<OpenSCENARIO>
<FileHeader revMajor="1" revMinor="0" date="2020-03-24T12:00:00" description="CARLA:LaneChangeSimple" author=""/>
<ParameterDeclarations/>
<CatalogLocations/>
<RoadNetwork>
<LogicFile filepath="Town04"/>
<SceneGraphFile filepath=""/>
</RoadNetwork>
<Entities>
<ScenarioObject name="hero">
<Vehicle name="vehicle.tesla.model3" vehicleCategory="car">
<ParameterDeclarations/>
<Performance maxSpeed="69.444" maxAcceleration="200" maxDeceleration="10.0"/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2.1" length="4.5" height="1.8"/>
</BoundingBox>
<Axles>
<FrontAxle maxSteering="0.5" wheelDiameter="0.6" trackWidth="1.8" positionX="3.1" positionZ="0.3"/>
<RearAxle maxSteering="0.0" wheelDiameter="0.6" trackWidth="1.8" positionX="0.0" positionZ="0.3"/>
</Axles>
<Properties>
<Property name="type" value="ego_vehicle"/>
</Properties>
</Vehicle>
</ScenarioObject>
<ScenarioObject name="adversary">
<Vehicle name="vehicle.lincoln.mkz_2017" vehicleCategory="car">
<ParameterDeclarations/>
<Performance maxSpeed="69.444" maxAcceleration="200" maxDeceleration="10.0"/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2.1" length="4.5" height="1.8"/>
</BoundingBox>
<Axles>
<FrontAxle maxSteering="0.5" wheelDiameter="0.6" trackWidth="1.8" positionX="3.1" positionZ="0.3"/>
<RearAxle maxSteering="0.0" wheelDiameter="0.6" trackWidth="1.8" positionX="0.0" positionZ="0.3"/>
</Axles>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Vehicle>
</ScenarioObject>
<ScenarioObject name="standing">
<Vehicle name="vehicle.volkswagen.t2" vehicleCategory="car">
<ParameterDeclarations/>
<Performance maxSpeed="69.444" maxAcceleration="200" maxDeceleration="10.0"/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2.1" length="4.5" height="1.8"/>
</BoundingBox>
<Axles>
<FrontAxle maxSteering="0.5" wheelDiameter="0.6" trackWidth="1.8" positionX="3.1" positionZ="0.3"/>
<RearAxle maxSteering="0.0" wheelDiameter="0.6" trackWidth="1.8" positionX="0.0" positionZ="0.3"/>
</Axles>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Vehicle>
</ScenarioObject>
<ScenarioObject name="pedestrian_close_to_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_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>
<ScenarioObject name="pedestrian_w_transform_5316">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_w_transform_5317">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_close_to_standing_5318">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
</Entities>
<Storyboard>
<Init>
<Actions>
<GlobalAction>
<EnvironmentAction>
<Environment name="Environment1">
<TimeOfDay animation="false" dateTime="2019-06-25T12:00:00"/>
<Weather cloudState="free">
<Sun intensity="0.85" azimuth="0" elevation="1.31"/>
<Fog visualRange="100000.0"/>
<Precipitation precipitationType="dry" intensity="0.0"/>
</Weather>
<RoadCondition frictionScaleFactor="1.0"/>
</Environment>
</EnvironmentAction>
</GlobalAction>
<Private entityRef="hero">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-9.4" y="-152.8" z="0.5" h="1.57079632679"/>
</Position>
</TeleportAction>
</PrivateAction>
<PrivateAction>
<ControllerAction>
<AssignControllerAction>
<Controller name="HeroAgent">
<Properties>
<Property name="module" value="external_control"/>
</Properties>
</Controller>
</AssignControllerAction>
<OverrideControllerValueAction>
<Throttle value="0" active="false"/>
<Brake value="0" active="false"/>
<Clutch value="0" active="false"/>
<ParkingBrake value="0" active="false"/>
<SteeringWheel value="0" active="false"/>
<Gear number="0" active="false"/>
</OverrideControllerValueAction>
</ControllerAction>
</PrivateAction>
</Private>
<Private entityRef="adversary">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-9.4" y="-71.0" z="0.5" h="1.57079632679"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="standing">
<PrivateAction>
<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_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>
<Private entityRef="pedestrian_w_transform_5316">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-43.538238525390625" y="10.695622444152832" z="0.5"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_w_transform_5317">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-37.48173904418945" y="85.02647399902344" z="0.5"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_close_to_standing_5318">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="1.3924952745437622" y="16.66289520263672" z="0.0030634307768195868"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
</Actions>
</Init>
<Story name="MyStory">
<Act name="Behavior">
<ManeuverGroup maximumExecutionCount="1" name="ManeuverSequence">
<Actors selectTriggeringEntities="false">
<EntityRef entityRef="adversary"/>
</Actors>
<Maneuver name="LaneChangeSimpleManeuver">
<Event name="AdversaryAccelerates" priority="overwrite">
<Action name="AdversaryAccelerates">
<PrivateAction>
<LongitudinalAction>
<SpeedAction>
<SpeedActionDynamics dynamicsShape="step" value="50" dynamicsDimension="distance"/>
<SpeedActionTarget>
<AbsoluteTargetSpeed value="5.0"/>
</SpeedActionTarget>
</SpeedAction>
</LongitudinalAction>
</PrivateAction>
</Action>
<StartTrigger>
<ConditionGroup>
<Condition name="StartCondition" delay="0" conditionEdge="rising">
<ByEntityCondition>
<TriggeringEntities triggeringEntitiesRule="any">
<EntityRef entityRef="hero"/>
</TriggeringEntities>
<EntityCondition>
<RelativeDistanceCondition entityRef="adversary" relativeDistanceType="cartesianDistance" value="40.0" freespace="false" rule="lessThan"/>
</EntityCondition>
</ByEntityCondition>
</Condition>
</ConditionGroup>
</StartTrigger>
</Event>
<Event name="AdversaryChangesLane" priority="overwrite">
<Action name="AdversaryChangesLane">
<PrivateAction>
<LateralAction>
<LaneChangeAction>
<LaneChangeActionDynamics dynamicsShape="linear" value="25" dynamicsDimension="distance"/>
<LaneChangeTarget>
<RelativeTargetLane entityRef="adversary" value="-1"/>
</LaneChangeTarget>
</LaneChangeAction>
</LateralAction>
</PrivateAction>
</Action>
<StartTrigger>
<ConditionGroup>
<Condition name="AfterAdversaryAccelerates" delay="0" conditionEdge="rising">
<ByValueCondition>
<StoryboardElementStateCondition storyboardElementType="action" storyboardElementRef="AdversaryAccelerates" state="completeState"/>
</ByValueCondition>
</Condition>
</ConditionGroup>
</StartTrigger>
</Event>
</Maneuver>
</ManeuverGroup>
<StartTrigger>
<ConditionGroup>
<Condition name="OverallStartCondition" delay="0" conditionEdge="rising">
<ByEntityCondition>
<TriggeringEntities triggeringEntitiesRule="any">
<EntityRef entityRef="hero"/>
</TriggeringEntities>
<EntityCondition>
<TraveledDistanceCondition value="1.0"/>
</EntityCondition>
</ByEntityCondition>
</Condition>
<Condition name="StartTime" delay="0" conditionEdge="rising">
<ByValueCondition>
<SimulationTimeCondition value="0" rule="equalTo"/>
</ByValueCondition>
</Condition>
</ConditionGroup>
</StartTrigger>
<StopTrigger>
<ConditionGroup>
<Condition name="EndCondition" delay="0" conditionEdge="rising">
<ByEntityCondition>
<TriggeringEntities triggeringEntitiesRule="any">
<EntityRef entityRef="hero"/>
</TriggeringEntities>
<EntityCondition>
<TraveledDistanceCondition value="200.0"/>
</EntityCondition>
</ByEntityCondition>
</Condition>
</ConditionGroup>
</StopTrigger>
</Act>
</Story>
<StopTrigger>
<ConditionGroup>
<Condition name="criteria_RunningStopTest" delay="0" conditionEdge="rising">
<ByValueCondition>
<ParameterCondition parameterRef="" value="" rule="lessThan"/>
</ByValueCondition>
</Condition>
<Condition name="criteria_RunningRedLightTest" delay="0" conditionEdge="rising">
<ByValueCondition>
<ParameterCondition parameterRef="" value="" rule="lessThan"/>
</ByValueCondition>
</Condition>
<Condition name="criteria_WrongLaneTest" delay="0" conditionEdge="rising">
<ByValueCondition>
<ParameterCondition parameterRef="" value="" rule="lessThan"/>
</ByValueCondition>
</Condition>
<Condition name="criteria_OnSidewalkTest" delay="0" conditionEdge="rising">
<ByValueCondition>
<ParameterCondition parameterRef="" value="" rule="lessThan"/>
</ByValueCondition>
</Condition>
<Condition name="criteria_KeepLaneTest" delay="0" conditionEdge="rising">
<ByValueCondition>
<ParameterCondition parameterRef="" value="" rule="lessThan"/>
</ByValueCondition>
</Condition>
<Condition name="criteria_CollisionTest" delay="0" conditionEdge="rising">
<ByValueCondition>
<ParameterCondition parameterRef="" value="" rule="lessThan"/>
</ByValueCondition>
</Condition>
<Condition name="criteria_DrivenDistanceTest" delay="0" conditionEdge="rising">
<ByValueCondition>
<ParameterCondition parameterRef="distance_success" value="100" rule="lessThan"/>
</ByValueCondition>
</Condition>
</ConditionGroup>
</StopTrigger>
</Storyboard>
</OpenSCENARIO>
``` | Here is the result:
```
<?xml version="1.0" ?>
<OpenSCENARIO>
<FileHeader revMajor="1" revMinor="0" date="2020-03-24T12:00:00" description="CARLA:LaneChangeSimple" author=""/>
<ParameterDeclarations/>
<CatalogLocations/>
<RoadNetwork>
<LogicFile filepath="Town04"/>
<SceneGraphFile filepath=""/>
</RoadNetwork>
<Entities>
<ScenarioObject name="hero">
<Vehicle name="vehicle.tesla.model3" vehicleCategory="car">
<ParameterDeclarations/>
<Performance maxSpeed="69.444" maxAcceleration="200" maxDeceleration="10.0"/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2.1" length="4.5" height="1.8"/>
</BoundingBox>
<Axles>
<FrontAxle maxSteering="0.5" wheelDiameter="0.6" trackWidth="1.8" positionX="3.1" positionZ="0.3"/>
<RearAxle maxSteering="0.0" wheelDiameter="0.6" trackWidth="1.8" positionX="0.0" positionZ="0.3"/>
</Axles>
<Properties>
<Property name="type" value="ego_vehicle"/>
</Properties>
</Vehicle>
</ScenarioObject>
<ScenarioObject name="adversary">
<Vehicle name="vehicle.lincoln.mkz_2017" vehicleCategory="car">
<ParameterDeclarations/>
<Performance maxSpeed="69.444" maxAcceleration="200" maxDeceleration="10.0"/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2.1" length="4.5" height="1.8"/>
</BoundingBox>
<Axles>
<FrontAxle maxSteering="0.5" wheelDiameter="0.6" trackWidth="1.8" positionX="3.1" positionZ="0.3"/>
<RearAxle maxSteering="0.0" wheelDiameter="0.6" trackWidth="1.8" positionX="0.0" positionZ="0.3"/>
</Axles>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Vehicle>
</ScenarioObject>
<ScenarioObject name="standing">
<Vehicle name="vehicle.volkswagen.t2" vehicleCategory="car">
<ParameterDeclarations/>
<Performance maxSpeed="69.444" maxAcceleration="200" maxDeceleration="10.0"/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2.1" length="4.5" height="1.8"/>
</BoundingBox>
<Axles>
<FrontAxle maxSteering="0.5" wheelDiameter="0.6" trackWidth="1.8" positionX="3.1" positionZ="0.3"/>
<RearAxle maxSteering="0.0" wheelDiameter="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_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>
<ScenarioObject name="pedestrian_w_transform_5316">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_w_transform_5317">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_close_to_standing_5318">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
</Entities>
<Storyboard>
<Init>
<Actions>
<GlobalAction>
<EnvironmentAction>
<Environment name="Environment1">
<TimeOfDay animation="false" dateTime="2019-06-25T12:00:00"/>
<Weather cloudState="free">
<Sun intensity="0.85" azimuth="0" elevation="1.31"/>
<Fog visualRange="100000.0"/>
<Precipitation precipitationType="dry" intensity="0.0"/>
</Weather>
<RoadCondition frictionScaleFactor="1.0"/>
</Environment>
</EnvironmentAction>
</GlobalAction>
<Private entityRef="hero">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-9.4" y="-152.8" z="0.5" h="1.57079632679"/>
</Position>
</TeleportAction>
</PrivateAction>
<PrivateAction>
<ControllerAction>
<AssignControllerAction>
<Controller name="HeroAgent">
<Properties>
<Property name="module" value="external_control"/>
</Properties>
</Controller>
</AssignControllerAction>
<OverrideControllerValueAction>
<Throttle value="0" active="false"/>
<Brake value="0" active="false"/>
<Clutch value="0" active="false"/>
<ParkingBrake value="0" active="false"/>
<SteeringWheel value="0" active="false"/>
<Gear number="0" active="false"/>
</OverrideControllerValueAction>
</ControllerAction>
</PrivateAction>
</Private>
<Private entityRef="adversary">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-9.4" y="-71.0" z="0.5" h="1.57079632679"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="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_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>
<Private entityRef="pedestrian_w_transform_5316">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-43.538238525390625" y="10.695622444152832" z="0.5"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_w_transform_5317">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-37.48173904418945" y="85.02647399902344" z="0.5"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_close_to_standing_5318">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="1.3924952745437622" y="16.66289520263672" z="0.0030634307768195868"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
</Actions>
</Init>
<Story name="MyStory">
<Act name="Behavior">
<ManeuverGroup maximumExecutionCount="1" name="ManeuverSequence">
<Actors selectTriggeringEntities="false">
<EntityRef entityRef="adversary"/>
</Actors>
<Maneuver name="LaneChangeSimpleManeuver">
<Event name="AdversaryAccelerates" priority="overwrite">
<Action name="AdversaryAccelerates">
<PrivateAction>
<LongitudinalAction>
<SpeedAction>
<SpeedActionDynamics dynamicsShape="step" value="50" dynamicsDimension="distance"/>
<SpeedActionTarget>
<AbsoluteTargetSpeed value="5.0"/>
</SpeedActionTarget>
</SpeedAction>
</LongitudinalAction>
</PrivateAction>
</Action>
<StartTrigger>
<ConditionGroup>
<Condition name="StartCondition" delay="0" conditionEdge="rising">
<ByEntityCondition>
<TriggeringEntities triggeringEntitiesRule="any">
<EntityRef entityRef="hero"/>
</TriggeringEntities>
<EntityCondition>
<RelativeDistanceCondition entityRef="adversary" relativeDistanceType="cartesianDistance" value="40.0" freespace="false" rule="lessThan"/>
</EntityCondition>
</ByEntityCondition>
</Condition>
</ConditionGroup>
</StartTrigger>
</Event>
<Event name="AdversaryChangesLane" priority="overwrite">
<Action name="AdversaryChangesLane">
<PrivateAction>
<LateralAction>
<LaneChangeAction>
<LaneChangeActionDynamics dynamicsShape="linear" value="25" dynamicsDimension="distance"/>
<LaneChangeTarget>
<RelativeTargetLane entityRef="adversary" value="-1"/>
</LaneChangeTarget>
</LaneChangeAction>
</LateralAction>
</PrivateAction>
</Action>
<StartTrigger>
<ConditionGroup>
<Condition name="AfterAdversaryAccelerates" delay="0" conditionEdge="rising">
<ByValueCondition>
<StoryboardElementStateCondition storyboardElementType="action" storyboardElementRef="AdversaryAccelerates" state="completeState"/>
</ByValueCondition>
</Condition>
</ConditionGroup>
</StartTrigger>
</Event>
</Maneuver>
</ManeuverGroup>
<StartTrigger>
<ConditionGroup>
<Condition name="OverallStartCondition" delay="0" conditionEdge="rising">
<ByEntityCondition>
<TriggeringEntities triggeringEntitiesRule="any">
<EntityRef entityRef="hero"/>
</TriggeringEntities>
<EntityCondition>
<TraveledDistanceCondition value="1.0"/>
</EntityCondition>
</ByEntityCondition>
</Condition>
<Condition name="StartTime" delay="0" conditionEdge="rising">
<ByValueCondition>
<SimulationTimeCondition value="0" rule="equalTo"/>
</ByValueCondition>
</Condition>
</ConditionGroup>
</StartTrigger>
<StopTrigger>
<ConditionGroup>
<Condition name="EndCondition" delay="0" conditionEdge="rising">
<ByEntityCondition>
<TriggeringEntities triggeringEntitiesRule="any">
<EntityRef entityRef="hero"/>
</TriggeringEntities>
<EntityCondition>
<TraveledDistanceCondition value="200.0"/>
</EntityCondition>
</ByEntityCondition>
</Condition>
</ConditionGroup>
</StopTrigger>
</Act>
</Story>
<StopTrigger>
<ConditionGroup>
<Condition name="criteria_RunningStopTest" delay="0" conditionEdge="rising">
<ByValueCondition>
<ParameterCondition parameterRef="" value="" rule="lessThan"/>
</ByValueCondition>
</Condition>
<Condition name="criteria_RunningRedLightTest" delay="0" conditionEdge="rising">
<ByValueCondition>
<ParameterCondition parameterRef="" value="" rule="lessThan"/>
</ByValueCondition>
</Condition>
<Condition name="criteria_WrongLaneTest" delay="0" conditionEdge="rising">
<ByValueCondition>
<ParameterCondition parameterRef="" value="" rule="lessThan"/>
</ByValueCondition>
</Condition>
<Condition name="criteria_OnSidewalkTest" delay="0" conditionEdge="rising">
<ByValueCondition>
<ParameterCondition parameterRef="" value="" rule="lessThan"/>
</ByValueCondition>
</Condition>
<Condition name="criteria_KeepLaneTest" delay="0" conditionEdge="rising">
<ByValueCondition>
<ParameterCondition parameterRef="" value="" rule="lessThan"/>
</ByValueCondition>
</Condition>
<Condition name="criteria_CollisionTest" delay="0" conditionEdge="rising">
<ByValueCondition>
<ParameterCondition parameterRef="" value="" rule="lessThan"/>
</ByValueCondition>
</Condition>
<Condition name="criteria_DrivenDistanceTest" delay="0" conditionEdge="rising">
<ByValueCondition>
<ParameterCondition parameterRef="distance_success" value="100" rule="lessThan"/>
</ByValueCondition>
</Condition>
</ConditionGroup>
</StopTrigger>
</Storyboard>
</OpenSCENARIO>
``` |
i would like to tell you to add pedestrian close to standing?
```
<?xml version="1.0" ?>
<OpenSCENARIO>
<FileHeader revMajor="1" revMinor="0" date="2020-03-24T12:00:00" description="CARLA:LaneChangeSimple" author=""/>
<ParameterDeclarations/>
<CatalogLocations/>
<RoadNetwork>
<LogicFile filepath="Town04"/>
<SceneGraphFile filepath=""/>
</RoadNetwork>
<Entities>
<ScenarioObject name="hero">
<Vehicle name="vehicle.tesla.model3" vehicleCategory="car">
<ParameterDeclarations/>
<Performance maxSpeed="69.444" maxAcceleration="200" maxDeceleration="10.0"/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2.1" length="4.5" height="1.8"/>
</BoundingBox>
<Axles>
<FrontAxle maxSteering="0.5" wheelDiameter="0.6" trackWidth="1.8" positionX="3.1" positionZ="0.3"/>
<RearAxle maxSteering="0.0" wheelDiameter="0.6" trackWidth="1.8" positionX="0.0" positionZ="0.3"/>
</Axles>
<Properties>
<Property name="type" value="ego_vehicle"/>
</Properties>
</Vehicle>
</ScenarioObject>
<ScenarioObject name="adversary">
<Vehicle name="vehicle.lincoln.mkz_2017" vehicleCategory="car">
<ParameterDeclarations/>
<Performance maxSpeed="69.444" maxAcceleration="200" maxDeceleration="10.0"/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2.1" length="4.5" height="1.8"/>
</BoundingBox>
<Axles>
<FrontAxle maxSteering="0.5" wheelDiameter="0.6" trackWidth="1.8" positionX="3.1" positionZ="0.3"/>
<RearAxle maxSteering="0.0" wheelDiameter="0.6" trackWidth="1.8" positionX="0.0" positionZ="0.3"/>
</Axles>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Vehicle>
</ScenarioObject>
<ScenarioObject name="standing">
<Vehicle name="vehicle.volkswagen.t2" vehicleCategory="car">
<ParameterDeclarations/>
<Performance maxSpeed="69.444" maxAcceleration="200" maxDeceleration="10.0"/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2.1" length="4.5" height="1.8"/>
</BoundingBox>
<Axles>
<FrontAxle maxSteering="0.5" wheelDiameter="0.6" trackWidth="1.8" positionX="3.1" positionZ="0.3"/>
<RearAxle maxSteering="0.0" wheelDiameter="0.6" trackWidth="1.8" positionX="0.0" positionZ="0.3"/>
</Axles>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Vehicle>
</ScenarioObject>
<ScenarioObject name="pedestrian_close_to_hero_7278">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_close_to_standing_7279">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_w_transform_7280">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_close_to_standing_7281">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_close_to_adversary_7282">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_close_to_standing_7283">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_close_to_hero_7284">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_close_to_standing_7285">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_w_transform_7286">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_w_transform_7287">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_close_to_hero_7288">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_close_to_hero_7289">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_w_transform_7290">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_close_to_standing_7291">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_w_transform_7292">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_close_to_adversary_7293">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_w_transform_7295">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_close_to_hero_7296">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
</Entities>
<Storyboard>
<Init>
<Actions>
<GlobalAction>
<EnvironmentAction>
<Environment name="Environment1">
<TimeOfDay animation="false" dateTime="2019-06-25T12:00:00"/>
<Weather cloudState="free">
<Sun intensity="0.85" azimuth="0" elevation="1.31"/>
<Fog visualRange="100000.0"/>
<Precipitation precipitationType="dry" intensity="0.0"/>
</Weather>
<RoadCondition frictionScaleFactor="1.0"/>
</Environment>
</EnvironmentAction>
</GlobalAction>
<Private entityRef="hero">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-9.4" y="-152.8" z="0.5" h="1.57079632679"/>
</Position>
</TeleportAction>
</PrivateAction>
<PrivateAction>
<ControllerAction>
<AssignControllerAction>
<Controller name="HeroAgent">
<Properties>
<Property name="module" value="external_control"/>
</Properties>
</Controller>
</AssignControllerAction>
<OverrideControllerValueAction>
<Throttle value="0" active="false"/>
<Brake value="0" active="false"/>
<Clutch value="0" active="false"/>
<ParkingBrake value="0" active="false"/>
<SteeringWheel value="0" active="false"/>
<Gear number="0" active="false"/>
</OverrideControllerValueAction>
</ControllerAction>
</PrivateAction>
</Private>
<Private entityRef="adversary">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-9.4" y="-71.0" z="0.5" h="1.57079632679"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="standing">
<PrivateAction>
<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_7278">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-15.378252983093262" y="-146.9969482421875" z="0.0014286803780123591"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_close_to_standing_7279">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-7.431530475616455" y="28.692359924316406" z="0.0030985260382294655"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_w_transform_7280">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="80.5138931274414" y="-4.969364166259766" z="0.5"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_close_to_standing_7281">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-12.326725959777832" y="36.893306732177734" z="0.0030960082076489925"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_close_to_adversary_7282">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-11.781204223632812" y="-70.26322174072266" z="0.033823736011981964"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_close_to_standing_7283">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="0.26033642888069153" y="21.08941078186035" z="0.003066177247092128"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_close_to_hero_7284">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-17.413846969604492" y="-157.9853973388672" z="0.0014286803780123591"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_close_to_standing_7285">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="1.2456037998199463" y="25.79712677001953" z="0.0030657576862722635"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_w_transform_7286">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-13.506630897521973" y="-11.77631664276123" z="0.5"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_w_transform_7287">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-34.3309326171875" y="-3.2467925548553467" z="0.5"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_close_to_hero_7288">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-14.654955863952637" y="-154.85403442382812" z="0.0014286803780123591"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_close_to_hero_7289">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-3.9788708686828613" y="-159.19198608398438" z="0.0014286803780123591"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_w_transform_7290">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-87.17970275878906" y="7.9205546379089355" z="0.5"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_close_to_standing_7291">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-1.4889352321624756" y="28.15214729309082" z="0.003067397978156805"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_w_transform_7292">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-14.389530181884766" y="91.45793914794922" z="0.5"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_close_to_adversary_7293">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="5.499502182006836" y="-67.50389862060547" z="0.0338023379445076"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_w_transform_7295">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="63.07050323486328" y="99.42613983154297" z="0.5"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_close_to_hero_7296">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-12.206343650817871" y="-148.3907012939453" 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_7278">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_close_to_standing_7279">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_w_transform_7280">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_close_to_standing_7281">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_close_to_adversary_7282">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_close_to_standing_7283">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_close_to_hero_7284">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_close_to_standing_7285">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_w_transform_7286">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_w_transform_7287">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_close_to_hero_7288">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_close_to_hero_7289">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_w_transform_7290">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_close_to_standing_7291">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_w_transform_7292">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_close_to_adversary_7293">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_w_transform_7295">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_close_to_hero_7296">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_close_to_standing_7297">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
</Entities>
<Storyboard>
<Init>
<Actions>
<GlobalAction>
<EnvironmentAction>
<Environment name="Environment1">
<TimeOfDay animation="false" dateTime="2019-06-25T12:00:00"/>
<Weather cloudState="free">
<Sun intensity="0.85" azimuth="0" elevation="1.31"/>
<Fog visualRange="100000.0"/>
<Precipitation precipitationType="dry" intensity="0.0"/>
</Weather>
<RoadCondition frictionScaleFactor="1.0"/>
</Environment>
</EnvironmentAction>
</GlobalAction>
<Private entityRef="hero">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-9.4" y="-152.8" z="0.5" h="1.57079632679"/>
</Position>
</TeleportAction>
</PrivateAction>
<PrivateAction>
<ControllerAction>
<AssignControllerAction>
<Controller name="HeroAgent">
<Properties>
<Property name="module" value="external_control"/>
</Properties>
</Controller>
</AssignControllerAction>
<OverrideControllerValueAction>
<Throttle value="0" active="false"/>
<Brake value="0" active="false"/>
<Clutch value="0" active="false"/>
<ParkingBrake value="0" active="false"/>
<SteeringWheel value="0" active="false"/>
<Gear number="0" active="false"/>
</OverrideControllerValueAction>
</ControllerAction>
</PrivateAction>
</Private>
<Private entityRef="adversary">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-9.4" y="-71.0" z="0.5" h="1.57079632679"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="standing">
<PrivateAction>
<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_7278">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-15.378252983093262" y="-146.9969482421875" z="0.0014286803780123591"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_close_to_standing_7279">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-7.431530475616455" y="28.692359924316406" z="0.0030985260382294655"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_w_transform_7280">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="80.5138931274414" y="-4.969364166259766" z="0.5"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_close_to_standing_7281">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-12.326725959777832" y="36.893306732177734" z="0.0030960082076489925"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_close_to_adversary_7282">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-11.781204223632812" y="-70.26322174072266" z="0.033823736011981964"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_close_to_standing_7283">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="0.26033642888069153" y="21.08941078186035" z="0.003066177247092128"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_close_to_hero_7284">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-17.413846969604492" y="-157.9853973388672" z="0.0014286803780123591"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_close_to_standing_7285">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="1.2456037998199463" y="25.79712677001953" z="0.0030657576862722635"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_w_transform_7286">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-13.506630897521973" y="-11.77631664276123" z="0.5"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_w_transform_7287">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-34.3309326171875" y="-3.2467925548553467" z="0.5"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_close_to_hero_7288">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-14.654955863952637" y="-154.85403442382812" z="0.0014286803780123591"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_close_to_hero_7289">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-3.9788708686828613" y="-159.19198608398438" z="0.0014286803780123591"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_w_transform_7290">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-87.17970275878906" y="7.9205546379089355" z="0.5"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_close_to_standing_7291">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-1.4889352321624756" y="28.15214729309082" z="0.003067397978156805"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_w_transform_7292">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-14.389530181884766" y="91.45793914794922" z="0.5"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_close_to_adversary_7293">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="5.499502182006836" y="-67.50389862060547" z="0.0338023379445076"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_w_transform_7295">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="63.07050323486328" y="99.42613983154297" z="0.5"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_close_to_hero_7296">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-12.206343650817871" y="-148.3907012939453" z="0.0014286803780123591"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_close_to_standing_7297">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-10.709531784057617" y="23.07717514038086" z="0.003040962154045701"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
</Actions>
</Init>
<Story name="MyStory">
<Act name="Behavior">
<ManeuverGroup maximumExecutionCount="1" name="ManeuverSequence">
<Actors selectTriggeringEntities="false">
<EntityRef entityRef="adversary"/>
</Actors>
<Maneuver name="LaneChangeSimpleManeuver">
<Event name="AdversaryAccelerates" priority="overwrite">
<Action name="AdversaryAccelerates">
<PrivateAction>
<LongitudinalAction>
<SpeedAction>
<SpeedActionDynamics dynamicsShape="step" value="50" dynamicsDimension="distance"/>
<SpeedActionTarget>
<AbsoluteTargetSpeed value="5.0"/>
</SpeedActionTarget>
</SpeedAction>
</LongitudinalAction>
</PrivateAction>
</Action>
<StartTrigger>
<ConditionGroup>
<Condition name="StartCondition" delay="0" conditionEdge="rising">
<ByEntityCondition>
<TriggeringEntities triggeringEntitiesRule="any">
<EntityRef entityRef="hero"/>
</TriggeringEntities>
<EntityCondition>
<RelativeDistanceCondition entityRef="adversary" relativeDistanceType="cartesianDistance" value="40.0" freespace="false" rule="lessThan"/>
</EntityCondition>
</ByEntityCondition>
</Condition>
</ConditionGroup>
</StartTrigger>
</Event>
<Event name="AdversaryChangesLane" priority="overwrite">
<Action name="AdversaryChangesLane">
<PrivateAction>
<LateralAction>
<LaneChangeAction>
<LaneChangeActionDynamics dynamicsShape="linear" value="25" dynamicsDimension="distance"/>
<LaneChangeTarget>
<RelativeTargetLane entityRef="adversary" value="-1"/>
</LaneChangeTarget>
</LaneChangeAction>
</LateralAction>
</PrivateAction>
</Action>
<StartTrigger>
<ConditionGroup>
<Condition name="AfterAdversaryAccelerates" delay="0" conditionEdge="rising">
<ByValueCondition>
<StoryboardElementStateCondition storyboardElementType="action" storyboardElementRef="AdversaryAccelerates" state="completeState"/>
</ByValueCondition>
</Condition>
</ConditionGroup>
</StartTrigger>
</Event>
</Maneuver>
</ManeuverGroup>
<StartTrigger>
<ConditionGroup>
<Condition name="OverallStartCondition" delay="0" conditionEdge="rising">
<ByEntityCondition>
<TriggeringEntities triggeringEntitiesRule="any">
<EntityRef entityRef="hero"/>
</TriggeringEntities>
<EntityCondition>
<TraveledDistanceCondition value="1.0"/>
</EntityCondition>
</ByEntityCondition>
</Condition>
<Condition name="StartTime" delay="0" conditionEdge="rising">
<ByValueCondition>
<SimulationTimeCondition value="0" rule="equalTo"/>
</ByValueCondition>
</Condition>
</ConditionGroup>
</StartTrigger>
<StopTrigger>
<ConditionGroup>
<Condition name="EndCondition" delay="0" conditionEdge="rising">
<ByEntityCondition>
<TriggeringEntities triggeringEntitiesRule="any">
<EntityRef entityRef="hero"/>
</TriggeringEntities>
<EntityCondition>
<TraveledDistanceCondition value="200.0"/>
</EntityCondition>
</ByEntityCondition>
</Condition>
</ConditionGroup>
</StopTrigger>
</Act>
</Story>
<StopTrigger>
<ConditionGroup>
<Condition name="criteria_RunningStopTest" delay="0" conditionEdge="rising">
<ByValueCondition>
<ParameterCondition parameterRef="" value="" rule="lessThan"/>
</ByValueCondition>
</Condition>
<Condition name="criteria_RunningRedLightTest" delay="0" conditionEdge="rising">
<ByValueCondition>
<ParameterCondition parameterRef="" value="" rule="lessThan"/>
</ByValueCondition>
</Condition>
<Condition name="criteria_WrongLaneTest" delay="0" conditionEdge="rising">
<ByValueCondition>
<ParameterCondition parameterRef="" value="" rule="lessThan"/>
</ByValueCondition>
</Condition>
<Condition name="criteria_OnSidewalkTest" delay="0" conditionEdge="rising">
<ByValueCondition>
<ParameterCondition parameterRef="" value="" rule="lessThan"/>
</ByValueCondition>
</Condition>
<Condition name="criteria_KeepLaneTest" delay="0" conditionEdge="rising">
<ByValueCondition>
<ParameterCondition parameterRef="" value="" rule="lessThan"/>
</ByValueCondition>
</Condition>
<Condition name="criteria_CollisionTest" delay="0" conditionEdge="rising">
<ByValueCondition>
<ParameterCondition parameterRef="" value="" rule="lessThan"/>
</ByValueCondition>
</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 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_7479">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
</Entities>
<Storyboard>
<Init>
<Actions>
<GlobalAction>
<EnvironmentAction>
<Environment name="Environment1">
<TimeOfDay animation="false" dateTime="2019-06-25T12:00:00"/>
<Weather cloudState="free">
<Sun intensity="0.85" azimuth="0" elevation="1.31"/>
<Fog visualRange="100000.0"/>
<Precipitation precipitationType="dry" intensity="0.0"/>
</Weather>
<RoadCondition frictionScaleFactor="1.0"/>
</Environment>
</EnvironmentAction>
</GlobalAction>
<Private entityRef="hero">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-9.4" y="-152.8" z="0.5" h="1.57079632679"/>
</Position>
</TeleportAction>
</PrivateAction>
<PrivateAction>
<ControllerAction>
<AssignControllerAction>
<Controller name="HeroAgent">
<Properties>
<Property name="module" value="external_control"/>
</Properties>
</Controller>
</AssignControllerAction>
<OverrideControllerValueAction>
<Throttle value="0" active="false"/>
<Brake value="0" active="false"/>
<Clutch value="0" active="false"/>
<ParkingBrake value="0" active="false"/>
<SteeringWheel value="0" active="false"/>
<Gear number="0" active="false"/>
</OverrideControllerValueAction>
</ControllerAction>
</PrivateAction>
</Private>
<Private entityRef="adversary">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-9.4" y="-71.0" z="0.5" h="1.57079632679"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="standing">
<PrivateAction>
<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_7479">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-3.1899495124816895" y="-147.3776397705078" 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_7479">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_close_to_standing_7480">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
</Entities>
<Storyboard>
<Init>
<Actions>
<GlobalAction>
<EnvironmentAction>
<Environment name="Environment1">
<TimeOfDay animation="false" dateTime="2019-06-25T12:00:00"/>
<Weather cloudState="free">
<Sun intensity="0.85" azimuth="0" elevation="1.31"/>
<Fog visualRange="100000.0"/>
<Precipitation precipitationType="dry" intensity="0.0"/>
</Weather>
<RoadCondition frictionScaleFactor="1.0"/>
</Environment>
</EnvironmentAction>
</GlobalAction>
<Private entityRef="hero">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-9.4" y="-152.8" z="0.5" h="1.57079632679"/>
</Position>
</TeleportAction>
</PrivateAction>
<PrivateAction>
<ControllerAction>
<AssignControllerAction>
<Controller name="HeroAgent">
<Properties>
<Property name="module" value="external_control"/>
</Properties>
</Controller>
</AssignControllerAction>
<OverrideControllerValueAction>
<Throttle value="0" active="false"/>
<Brake value="0" active="false"/>
<Clutch value="0" active="false"/>
<ParkingBrake value="0" active="false"/>
<SteeringWheel value="0" active="false"/>
<Gear number="0" active="false"/>
</OverrideControllerValueAction>
</ControllerAction>
</PrivateAction>
</Private>
<Private entityRef="adversary">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-9.4" y="-71.0" z="0.5" h="1.57079632679"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="standing">
<PrivateAction>
<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_7479">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-3.1899495124816895" y="-147.3776397705078" z="0.0014286803780123591"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_close_to_standing_7480">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-12.225284576416016" y="39.11433792114258" z="0.003064231714233756"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
</Actions>
</Init>
<Story name="MyStory">
<Act name="Behavior">
<ManeuverGroup maximumExecutionCount="1" name="ManeuverSequence">
<Actors selectTriggeringEntities="false">
<EntityRef entityRef="adversary"/>
</Actors>
<Maneuver name="LaneChangeSimpleManeuver">
<Event name="AdversaryAccelerates" priority="overwrite">
<Action name="AdversaryAccelerates">
<PrivateAction>
<LongitudinalAction>
<SpeedAction>
<SpeedActionDynamics dynamicsShape="step" value="50" dynamicsDimension="distance"/>
<SpeedActionTarget>
<AbsoluteTargetSpeed value="5.0"/>
</SpeedActionTarget>
</SpeedAction>
</LongitudinalAction>
</PrivateAction>
</Action>
<StartTrigger>
<ConditionGroup>
<Condition name="StartCondition" delay="0" conditionEdge="rising">
<ByEntityCondition>
<TriggeringEntities triggeringEntitiesRule="any">
<EntityRef entityRef="hero"/>
</TriggeringEntities>
<EntityCondition>
<RelativeDistanceCondition entityRef="adversary" relativeDistanceType="cartesianDistance" value="40.0" freespace="false" rule="lessThan"/>
</EntityCondition>
</ByEntityCondition>
</Condition>
</ConditionGroup>
</StartTrigger>
</Event>
<Event name="AdversaryChangesLane" priority="overwrite">
<Action name="AdversaryChangesLane">
<PrivateAction>
<LateralAction>
<LaneChangeAction>
<LaneChangeActionDynamics dynamicsShape="linear" value="25" dynamicsDimension="distance"/>
<LaneChangeTarget>
<RelativeTargetLane entityRef="adversary" value="-1"/>
</LaneChangeTarget>
</LaneChangeAction>
</LateralAction>
</PrivateAction>
</Action>
<StartTrigger>
<ConditionGroup>
<Condition name="AfterAdversaryAccelerates" delay="0" conditionEdge="rising">
<ByValueCondition>
<StoryboardElementStateCondition storyboardElementType="action" storyboardElementRef="AdversaryAccelerates" state="completeState"/>
</ByValueCondition>
</Condition>
</ConditionGroup>
</StartTrigger>
</Event>
</Maneuver>
</ManeuverGroup>
<StartTrigger>
<ConditionGroup>
<Condition name="OverallStartCondition" delay="0" conditionEdge="rising">
<ByEntityCondition>
<TriggeringEntities triggeringEntitiesRule="any">
<EntityRef entityRef="hero"/>
</TriggeringEntities>
<EntityCondition>
<TraveledDistanceCondition value="1.0"/>
</EntityCondition>
</ByEntityCondition>
</Condition>
<Condition name="StartTime" delay="0" conditionEdge="rising">
<ByValueCondition>
<SimulationTimeCondition value="0" rule="equalTo"/>
</ByValueCondition>
</Condition>
</ConditionGroup>
</StartTrigger>
<StopTrigger>
<ConditionGroup>
<Condition name="EndCondition" delay="0" conditionEdge="rising">
<ByEntityCondition>
<TriggeringEntities triggeringEntitiesRule="any">
<EntityRef entityRef="hero"/>
</TriggeringEntities>
<EntityCondition>
<TraveledDistanceCondition value="200.0"/>
</EntityCondition>
</ByEntityCondition>
</Condition>
</ConditionGroup>
</StopTrigger>
</Act>
</Story>
<StopTrigger>
<ConditionGroup>
<Condition name="criteria_RunningStopTest" delay="0" conditionEdge="rising">
<ByValueCondition>
<ParameterCondition parameterRef="" value="" rule="lessThan"/>
</ByValueCondition>
</Condition>
<Condition name="criteria_RunningRedLightTest" delay="0" conditionEdge="rising">
<ByValueCondition>
<ParameterCondition parameterRef="" value="" rule="lessThan"/>
</ByValueCondition>
</Condition>
<Condition name="criteria_WrongLaneTest" delay="0" conditionEdge="rising">
<ByValueCondition>
<ParameterCondition parameterRef="" value="" rule="lessThan"/>
</ByValueCondition>
</Condition>
<Condition name="criteria_OnSidewalkTest" delay="0" conditionEdge="rising">
<ByValueCondition>
<ParameterCondition parameterRef="" value="" rule="lessThan"/>
</ByValueCondition>
</Condition>
<Condition name="criteria_KeepLaneTest" delay="0" conditionEdge="rising">
<ByValueCondition>
<ParameterCondition parameterRef="" value="" rule="lessThan"/>
</ByValueCondition>
</Condition>
<Condition name="criteria_CollisionTest" delay="0" conditionEdge="rising">
<ByValueCondition>
<ParameterCondition parameterRef="" value="" rule="lessThan"/>
</ByValueCondition>
</Condition>
<Condition name="criteria_DrivenDistanceTest" delay="0" conditionEdge="rising">
<ByValueCondition>
<ParameterCondition parameterRef="distance_success" value="100" rule="lessThan"/>
</ByValueCondition>
</Condition>
</ConditionGroup>
</StopTrigger>
</Storyboard>
</OpenSCENARIO>
``` |
i would like to guide you to add pedestrian at location (46.41, 28.4, 0.5)?
```
<?xml version="1.0" ?>
<OpenSCENARIO>
<FileHeader revMajor="1" revMinor="0" date="2020-03-24T12:00:00" description="CARLA:LaneChangeSimple" author=""/>
<ParameterDeclarations/>
<CatalogLocations/>
<RoadNetwork>
<LogicFile filepath="Town04"/>
<SceneGraphFile filepath=""/>
</RoadNetwork>
<Entities>
<ScenarioObject name="hero">
<Vehicle name="vehicle.tesla.model3" vehicleCategory="car">
<ParameterDeclarations/>
<Performance maxSpeed="69.444" maxAcceleration="200" maxDeceleration="10.0"/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2.1" length="4.5" height="1.8"/>
</BoundingBox>
<Axles>
<FrontAxle maxSteering="0.5" wheelDiameter="0.6" trackWidth="1.8" positionX="3.1" positionZ="0.3"/>
<RearAxle maxSteering="0.0" wheelDiameter="0.6" trackWidth="1.8" positionX="0.0" positionZ="0.3"/>
</Axles>
<Properties>
<Property name="type" value="ego_vehicle"/>
</Properties>
</Vehicle>
</ScenarioObject>
<ScenarioObject name="adversary">
<Vehicle name="vehicle.lincoln.mkz_2017" vehicleCategory="car">
<ParameterDeclarations/>
<Performance maxSpeed="69.444" maxAcceleration="200" maxDeceleration="10.0"/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2.1" length="4.5" height="1.8"/>
</BoundingBox>
<Axles>
<FrontAxle maxSteering="0.5" wheelDiameter="0.6" trackWidth="1.8" positionX="3.1" positionZ="0.3"/>
<RearAxle maxSteering="0.0" wheelDiameter="0.6" trackWidth="1.8" positionX="0.0" positionZ="0.3"/>
</Axles>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Vehicle>
</ScenarioObject>
<ScenarioObject name="standing">
<Vehicle name="vehicle.volkswagen.t2" vehicleCategory="car">
<ParameterDeclarations/>
<Performance maxSpeed="69.444" maxAcceleration="200" maxDeceleration="10.0"/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2.1" length="4.5" height="1.8"/>
</BoundingBox>
<Axles>
<FrontAxle maxSteering="0.5" wheelDiameter="0.6" trackWidth="1.8" positionX="3.1" positionZ="0.3"/>
<RearAxle maxSteering="0.0" wheelDiameter="0.6" trackWidth="1.8" positionX="0.0" positionZ="0.3"/>
</Axles>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Vehicle>
</ScenarioObject>
<ScenarioObject name="pedestrian_close_to_hero_8056">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_close_to_adversary_8057">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_close_to_standing_8058">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_close_to_hero_8059">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_close_to_hero_8060">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
</Entities>
<Storyboard>
<Init>
<Actions>
<GlobalAction>
<EnvironmentAction>
<Environment name="Environment1">
<TimeOfDay animation="false" dateTime="2019-06-25T12:00:00"/>
<Weather cloudState="free">
<Sun intensity="0.85" azimuth="0" elevation="1.31"/>
<Fog visualRange="100000.0"/>
<Precipitation precipitationType="dry" intensity="0.0"/>
</Weather>
<RoadCondition frictionScaleFactor="1.0"/>
</Environment>
</EnvironmentAction>
</GlobalAction>
<Private entityRef="hero">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-9.4" y="-152.8" z="0.5" h="1.57079632679"/>
</Position>
</TeleportAction>
</PrivateAction>
<PrivateAction>
<ControllerAction>
<AssignControllerAction>
<Controller name="HeroAgent">
<Properties>
<Property name="module" value="external_control"/>
</Properties>
</Controller>
</AssignControllerAction>
<OverrideControllerValueAction>
<Throttle value="0" active="false"/>
<Brake value="0" active="false"/>
<Clutch value="0" active="false"/>
<ParkingBrake value="0" active="false"/>
<SteeringWheel value="0" active="false"/>
<Gear number="0" active="false"/>
</OverrideControllerValueAction>
</ControllerAction>
</PrivateAction>
</Private>
<Private entityRef="adversary">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-9.4" y="-71.0" z="0.5" h="1.57079632679"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="standing">
<PrivateAction>
<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_8056">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-11.626893043518066" y="-157.81394958496094" z="0.0014286803780123591"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_close_to_adversary_8057">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-3.5992417335510254" y="-75.13955688476562" z="0.03383598104119301"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_close_to_standing_8058">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-4.965522766113281" y="22.91728401184082" z="0.0030477524269372225"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_close_to_hero_8059">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-9.513481140136719" y="-143.9955291748047" z="0.0014286803780123591"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_close_to_hero_8060">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-6.250884532928467" y="-143.67088317871094" 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_8056">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_close_to_adversary_8057">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_close_to_standing_8058">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_close_to_hero_8059">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_close_to_hero_8060">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_w_transform_8061">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
</Entities>
<Storyboard>
<Init>
<Actions>
<GlobalAction>
<EnvironmentAction>
<Environment name="Environment1">
<TimeOfDay animation="false" dateTime="2019-06-25T12:00:00"/>
<Weather cloudState="free">
<Sun intensity="0.85" azimuth="0" elevation="1.31"/>
<Fog visualRange="100000.0"/>
<Precipitation precipitationType="dry" intensity="0.0"/>
</Weather>
<RoadCondition frictionScaleFactor="1.0"/>
</Environment>
</EnvironmentAction>
</GlobalAction>
<Private entityRef="hero">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-9.4" y="-152.8" z="0.5" h="1.57079632679"/>
</Position>
</TeleportAction>
</PrivateAction>
<PrivateAction>
<ControllerAction>
<AssignControllerAction>
<Controller name="HeroAgent">
<Properties>
<Property name="module" value="external_control"/>
</Properties>
</Controller>
</AssignControllerAction>
<OverrideControllerValueAction>
<Throttle value="0" active="false"/>
<Brake value="0" active="false"/>
<Clutch value="0" active="false"/>
<ParkingBrake value="0" active="false"/>
<SteeringWheel value="0" active="false"/>
<Gear number="0" active="false"/>
</OverrideControllerValueAction>
</ControllerAction>
</PrivateAction>
</Private>
<Private entityRef="adversary">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-9.4" y="-71.0" z="0.5" h="1.57079632679"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="standing">
<PrivateAction>
<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_8056">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-11.626893043518066" y="-157.81394958496094" z="0.0014286803780123591"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_close_to_adversary_8057">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-3.5992417335510254" y="-75.13955688476562" z="0.03383598104119301"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_close_to_standing_8058">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-4.965522766113281" y="22.91728401184082" z="0.0030477524269372225"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_close_to_hero_8059">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-9.513481140136719" y="-143.9955291748047" z="0.0014286803780123591"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_close_to_hero_8060">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-6.250884532928467" y="-143.67088317871094" z="0.0014286803780123591"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_w_transform_8061">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="46.4068489074707" y="28.398422241210938" z="0.5"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
</Actions>
</Init>
<Story name="MyStory">
<Act name="Behavior">
<ManeuverGroup maximumExecutionCount="1" name="ManeuverSequence">
<Actors selectTriggeringEntities="false">
<EntityRef entityRef="adversary"/>
</Actors>
<Maneuver name="LaneChangeSimpleManeuver">
<Event name="AdversaryAccelerates" priority="overwrite">
<Action name="AdversaryAccelerates">
<PrivateAction>
<LongitudinalAction>
<SpeedAction>
<SpeedActionDynamics dynamicsShape="step" value="50" dynamicsDimension="distance"/>
<SpeedActionTarget>
<AbsoluteTargetSpeed value="5.0"/>
</SpeedActionTarget>
</SpeedAction>
</LongitudinalAction>
</PrivateAction>
</Action>
<StartTrigger>
<ConditionGroup>
<Condition name="StartCondition" delay="0" conditionEdge="rising">
<ByEntityCondition>
<TriggeringEntities triggeringEntitiesRule="any">
<EntityRef entityRef="hero"/>
</TriggeringEntities>
<EntityCondition>
<RelativeDistanceCondition entityRef="adversary" relativeDistanceType="cartesianDistance" value="40.0" freespace="false" rule="lessThan"/>
</EntityCondition>
</ByEntityCondition>
</Condition>
</ConditionGroup>
</StartTrigger>
</Event>
<Event name="AdversaryChangesLane" priority="overwrite">
<Action name="AdversaryChangesLane">
<PrivateAction>
<LateralAction>
<LaneChangeAction>
<LaneChangeActionDynamics dynamicsShape="linear" value="25" dynamicsDimension="distance"/>
<LaneChangeTarget>
<RelativeTargetLane entityRef="adversary" value="-1"/>
</LaneChangeTarget>
</LaneChangeAction>
</LateralAction>
</PrivateAction>
</Action>
<StartTrigger>
<ConditionGroup>
<Condition name="AfterAdversaryAccelerates" delay="0" conditionEdge="rising">
<ByValueCondition>
<StoryboardElementStateCondition storyboardElementType="action" storyboardElementRef="AdversaryAccelerates" state="completeState"/>
</ByValueCondition>
</Condition>
</ConditionGroup>
</StartTrigger>
</Event>
</Maneuver>
</ManeuverGroup>
<StartTrigger>
<ConditionGroup>
<Condition name="OverallStartCondition" delay="0" conditionEdge="rising">
<ByEntityCondition>
<TriggeringEntities triggeringEntitiesRule="any">
<EntityRef entityRef="hero"/>
</TriggeringEntities>
<EntityCondition>
<TraveledDistanceCondition value="1.0"/>
</EntityCondition>
</ByEntityCondition>
</Condition>
<Condition name="StartTime" delay="0" conditionEdge="rising">
<ByValueCondition>
<SimulationTimeCondition value="0" rule="equalTo"/>
</ByValueCondition>
</Condition>
</ConditionGroup>
</StartTrigger>
<StopTrigger>
<ConditionGroup>
<Condition name="EndCondition" delay="0" conditionEdge="rising">
<ByEntityCondition>
<TriggeringEntities triggeringEntitiesRule="any">
<EntityRef entityRef="hero"/>
</TriggeringEntities>
<EntityCondition>
<TraveledDistanceCondition value="200.0"/>
</EntityCondition>
</ByEntityCondition>
</Condition>
</ConditionGroup>
</StopTrigger>
</Act>
</Story>
<StopTrigger>
<ConditionGroup>
<Condition name="criteria_RunningStopTest" delay="0" conditionEdge="rising">
<ByValueCondition>
<ParameterCondition parameterRef="" value="" rule="lessThan"/>
</ByValueCondition>
</Condition>
<Condition name="criteria_RunningRedLightTest" delay="0" conditionEdge="rising">
<ByValueCondition>
<ParameterCondition parameterRef="" value="" rule="lessThan"/>
</ByValueCondition>
</Condition>
<Condition name="criteria_WrongLaneTest" delay="0" conditionEdge="rising">
<ByValueCondition>
<ParameterCondition parameterRef="" value="" rule="lessThan"/>
</ByValueCondition>
</Condition>
<Condition name="criteria_OnSidewalkTest" delay="0" conditionEdge="rising">
<ByValueCondition>
<ParameterCondition parameterRef="" value="" rule="lessThan"/>
</ByValueCondition>
</Condition>
<Condition name="criteria_KeepLaneTest" delay="0" conditionEdge="rising">
<ByValueCondition>
<ParameterCondition parameterRef="" value="" rule="lessThan"/>
</ByValueCondition>
</Condition>
<Condition name="criteria_CollisionTest" delay="0" conditionEdge="rising">
<ByValueCondition>
<ParameterCondition parameterRef="" value="" rule="lessThan"/>
</ByValueCondition>
</Condition>
<Condition name="criteria_DrivenDistanceTest" delay="0" conditionEdge="rising">
<ByValueCondition>
<ParameterCondition parameterRef="distance_success" value="100" rule="lessThan"/>
</ByValueCondition>
</Condition>
</ConditionGroup>
</StopTrigger>
</Storyboard>
</OpenSCENARIO>
``` |
could you add pedestrian close to adversary?
```
<?xml version="1.0" ?>
<OpenSCENARIO>
<FileHeader revMajor="1" revMinor="0" date="2020-03-24T12:00:00" description="CARLA:LaneChangeSimple" author=""/>
<ParameterDeclarations/>
<CatalogLocations/>
<RoadNetwork>
<LogicFile filepath="Town04"/>
<SceneGraphFile filepath=""/>
</RoadNetwork>
<Entities>
<ScenarioObject name="hero">
<Vehicle name="vehicle.tesla.model3" vehicleCategory="car">
<ParameterDeclarations/>
<Performance maxSpeed="69.444" maxAcceleration="200" maxDeceleration="10.0"/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2.1" length="4.5" height="1.8"/>
</BoundingBox>
<Axles>
<FrontAxle maxSteering="0.5" wheelDiameter="0.6" trackWidth="1.8" positionX="3.1" positionZ="0.3"/>
<RearAxle maxSteering="0.0" wheelDiameter="0.6" trackWidth="1.8" positionX="0.0" positionZ="0.3"/>
</Axles>
<Properties>
<Property name="type" value="ego_vehicle"/>
</Properties>
</Vehicle>
</ScenarioObject>
<ScenarioObject name="adversary">
<Vehicle name="vehicle.lincoln.mkz_2017" vehicleCategory="car">
<ParameterDeclarations/>
<Performance maxSpeed="69.444" maxAcceleration="200" maxDeceleration="10.0"/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2.1" length="4.5" height="1.8"/>
</BoundingBox>
<Axles>
<FrontAxle maxSteering="0.5" wheelDiameter="0.6" trackWidth="1.8" positionX="3.1" positionZ="0.3"/>
<RearAxle maxSteering="0.0" wheelDiameter="0.6" trackWidth="1.8" positionX="0.0" positionZ="0.3"/>
</Axles>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Vehicle>
</ScenarioObject>
<ScenarioObject name="standing">
<Vehicle name="vehicle.volkswagen.t2" vehicleCategory="car">
<ParameterDeclarations/>
<Performance maxSpeed="69.444" maxAcceleration="200" maxDeceleration="10.0"/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2.1" length="4.5" height="1.8"/>
</BoundingBox>
<Axles>
<FrontAxle maxSteering="0.5" wheelDiameter="0.6" trackWidth="1.8" positionX="3.1" positionZ="0.3"/>
<RearAxle maxSteering="0.0" wheelDiameter="0.6" trackWidth="1.8" positionX="0.0" positionZ="0.3"/>
</Axles>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Vehicle>
</ScenarioObject>
<ScenarioObject name="pedestrian_close_to_hero_4823">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_close_to_hero_4824">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_w_transform_4825">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_w_transform_4826">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
</Entities>
<Storyboard>
<Init>
<Actions>
<GlobalAction>
<EnvironmentAction>
<Environment name="Environment1">
<TimeOfDay animation="false" dateTime="2019-06-25T12:00:00"/>
<Weather cloudState="free">
<Sun intensity="0.85" azimuth="0" elevation="1.31"/>
<Fog visualRange="100000.0"/>
<Precipitation precipitationType="dry" intensity="0.0"/>
</Weather>
<RoadCondition frictionScaleFactor="1.0"/>
</Environment>
</EnvironmentAction>
</GlobalAction>
<Private entityRef="hero">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-9.4" y="-152.8" z="0.5" h="1.57079632679"/>
</Position>
</TeleportAction>
</PrivateAction>
<PrivateAction>
<ControllerAction>
<AssignControllerAction>
<Controller name="HeroAgent">
<Properties>
<Property name="module" value="external_control"/>
</Properties>
</Controller>
</AssignControllerAction>
<OverrideControllerValueAction>
<Throttle value="0" active="false"/>
<Brake value="0" active="false"/>
<Clutch value="0" active="false"/>
<ParkingBrake value="0" active="false"/>
<SteeringWheel value="0" active="false"/>
<Gear number="0" active="false"/>
</OverrideControllerValueAction>
</ControllerAction>
</PrivateAction>
</Private>
<Private entityRef="adversary">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-9.4" y="-71.0" z="0.5" h="1.57079632679"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="standing">
<PrivateAction>
<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_4823">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-16.70163345336914" y="-155.4835205078125" z="0.0014286803780123591"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_close_to_hero_4824">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-8.876912117004395" y="-158.15231323242188" z="0.0014286803780123591"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_w_transform_4825">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-92.05928802490234" y="57.06509017944336" z="0.5"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_w_transform_4826">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="19.086162567138672" y="-55.57179260253906" z="0.5"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
</Actions>
</Init>
<Story name="MyStory">
<Act name="Behavior">
<ManeuverGroup maximumExecutionCount="1" name="ManeuverSequence">
<Actors selectTriggeringEntities="false">
<EntityRef entityRef="adversary"/>
</Actors>
<Maneuver name="LaneChangeSimpleManeuver">
<Event name="AdversaryAccelerates" priority="overwrite">
<Action name="AdversaryAccelerates">
<PrivateAction>
<LongitudinalAction>
<SpeedAction>
<SpeedActionDynamics dynamicsShape="step" value="50" dynamicsDimension="distance"/>
<SpeedActionTarget>
<AbsoluteTargetSpeed value="5.0"/>
</SpeedActionTarget>
</SpeedAction>
</LongitudinalAction>
</PrivateAction>
</Action>
<StartTrigger>
<ConditionGroup>
<Condition name="StartCondition" delay="0" conditionEdge="rising">
<ByEntityCondition>
<TriggeringEntities triggeringEntitiesRule="any">
<EntityRef entityRef="hero"/>
</TriggeringEntities>
<EntityCondition>
<RelativeDistanceCondition entityRef="adversary" relativeDistanceType="cartesianDistance" value="40.0" freespace="false" rule="lessThan"/>
</EntityCondition>
</ByEntityCondition>
</Condition>
</ConditionGroup>
</StartTrigger>
</Event>
<Event name="AdversaryChangesLane" priority="overwrite">
<Action name="AdversaryChangesLane">
<PrivateAction>
<LateralAction>
<LaneChangeAction>
<LaneChangeActionDynamics dynamicsShape="linear" value="25" dynamicsDimension="distance"/>
<LaneChangeTarget>
<RelativeTargetLane entityRef="adversary" value="-1"/>
</LaneChangeTarget>
</LaneChangeAction>
</LateralAction>
</PrivateAction>
</Action>
<StartTrigger>
<ConditionGroup>
<Condition name="AfterAdversaryAccelerates" delay="0" conditionEdge="rising">
<ByValueCondition>
<StoryboardElementStateCondition storyboardElementType="action" storyboardElementRef="AdversaryAccelerates" state="completeState"/>
</ByValueCondition>
</Condition>
</ConditionGroup>
</StartTrigger>
</Event>
</Maneuver>
</ManeuverGroup>
<StartTrigger>
<ConditionGroup>
<Condition name="OverallStartCondition" delay="0" conditionEdge="rising">
<ByEntityCondition>
<TriggeringEntities triggeringEntitiesRule="any">
<EntityRef entityRef="hero"/>
</TriggeringEntities>
<EntityCondition>
<TraveledDistanceCondition value="1.0"/>
</EntityCondition>
</ByEntityCondition>
</Condition>
<Condition name="StartTime" delay="0" conditionEdge="rising">
<ByValueCondition>
<SimulationTimeCondition value="0" rule="equalTo"/>
</ByValueCondition>
</Condition>
</ConditionGroup>
</StartTrigger>
<StopTrigger>
<ConditionGroup>
<Condition name="EndCondition" delay="0" conditionEdge="rising">
<ByEntityCondition>
<TriggeringEntities triggeringEntitiesRule="any">
<EntityRef entityRef="hero"/>
</TriggeringEntities>
<EntityCondition>
<TraveledDistanceCondition value="200.0"/>
</EntityCondition>
</ByEntityCondition>
</Condition>
</ConditionGroup>
</StopTrigger>
</Act>
</Story>
<StopTrigger>
<ConditionGroup>
<Condition name="criteria_RunningStopTest" delay="0" conditionEdge="rising">
<ByValueCondition>
<ParameterCondition parameterRef="" value="" rule="lessThan"/>
</ByValueCondition>
</Condition>
<Condition name="criteria_RunningRedLightTest" delay="0" conditionEdge="rising">
<ByValueCondition>
<ParameterCondition parameterRef="" value="" rule="lessThan"/>
</ByValueCondition>
</Condition>
<Condition name="criteria_WrongLaneTest" delay="0" conditionEdge="rising">
<ByValueCondition>
<ParameterCondition parameterRef="" value="" rule="lessThan"/>
</ByValueCondition>
</Condition>
<Condition name="criteria_OnSidewalkTest" delay="0" conditionEdge="rising">
<ByValueCondition>
<ParameterCondition parameterRef="" value="" rule="lessThan"/>
</ByValueCondition>
</Condition>
<Condition name="criteria_KeepLaneTest" delay="0" conditionEdge="rising">
<ByValueCondition>
<ParameterCondition parameterRef="" value="" rule="lessThan"/>
</ByValueCondition>
</Condition>
<Condition name="criteria_CollisionTest" delay="0" conditionEdge="rising">
<ByValueCondition>
<ParameterCondition parameterRef="" value="" rule="lessThan"/>
</ByValueCondition>
</Condition>
<Condition name="criteria_DrivenDistanceTest" delay="0" conditionEdge="rising">
<ByValueCondition>
<ParameterCondition parameterRef="distance_success" value="100" rule="lessThan"/>
</ByValueCondition>
</Condition>
</ConditionGroup>
</StopTrigger>
</Storyboard>
</OpenSCENARIO>
``` | Here is the result:
```
<?xml version="1.0" ?>
<OpenSCENARIO>
<FileHeader revMajor="1" revMinor="0" date="2020-03-24T12:00:00" description="CARLA:LaneChangeSimple" author=""/>
<ParameterDeclarations/>
<CatalogLocations/>
<RoadNetwork>
<LogicFile filepath="Town04"/>
<SceneGraphFile filepath=""/>
</RoadNetwork>
<Entities>
<ScenarioObject name="hero">
<Vehicle name="vehicle.tesla.model3" vehicleCategory="car">
<ParameterDeclarations/>
<Performance maxSpeed="69.444" maxAcceleration="200" maxDeceleration="10.0"/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2.1" length="4.5" height="1.8"/>
</BoundingBox>
<Axles>
<FrontAxle maxSteering="0.5" wheelDiameter="0.6" trackWidth="1.8" positionX="3.1" positionZ="0.3"/>
<RearAxle maxSteering="0.0" wheelDiameter="0.6" trackWidth="1.8" positionX="0.0" positionZ="0.3"/>
</Axles>
<Properties>
<Property name="type" value="ego_vehicle"/>
</Properties>
</Vehicle>
</ScenarioObject>
<ScenarioObject name="adversary">
<Vehicle name="vehicle.lincoln.mkz_2017" vehicleCategory="car">
<ParameterDeclarations/>
<Performance maxSpeed="69.444" maxAcceleration="200" maxDeceleration="10.0"/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2.1" length="4.5" height="1.8"/>
</BoundingBox>
<Axles>
<FrontAxle maxSteering="0.5" wheelDiameter="0.6" trackWidth="1.8" positionX="3.1" positionZ="0.3"/>
<RearAxle maxSteering="0.0" wheelDiameter="0.6" trackWidth="1.8" positionX="0.0" positionZ="0.3"/>
</Axles>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Vehicle>
</ScenarioObject>
<ScenarioObject name="standing">
<Vehicle name="vehicle.volkswagen.t2" vehicleCategory="car">
<ParameterDeclarations/>
<Performance maxSpeed="69.444" maxAcceleration="200" maxDeceleration="10.0"/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2.1" length="4.5" height="1.8"/>
</BoundingBox>
<Axles>
<FrontAxle maxSteering="0.5" wheelDiameter="0.6" trackWidth="1.8" positionX="3.1" positionZ="0.3"/>
<RearAxle maxSteering="0.0" wheelDiameter="0.6" 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_4823">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_close_to_hero_4824">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_w_transform_4825">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_w_transform_4826">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_close_to_adversary_4827">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
</Entities>
<Storyboard>
<Init>
<Actions>
<GlobalAction>
<EnvironmentAction>
<Environment name="Environment1">
<TimeOfDay animation="false" dateTime="2019-06-25T12:00:00"/>
<Weather cloudState="free">
<Sun intensity="0.85" azimuth="0" elevation="1.31"/>
<Fog visualRange="100000.0"/>
<Precipitation precipitationType="dry" intensity="0.0"/>
</Weather>
<RoadCondition frictionScaleFactor="1.0"/>
</Environment>
</EnvironmentAction>
</GlobalAction>
<Private entityRef="hero">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-9.4" y="-152.8" z="0.5" h="1.57079632679"/>
</Position>
</TeleportAction>
</PrivateAction>
<PrivateAction>
<ControllerAction>
<AssignControllerAction>
<Controller name="HeroAgent">
<Properties>
<Property name="module" value="external_control"/>
</Properties>
</Controller>
</AssignControllerAction>
<OverrideControllerValueAction>
<Throttle value="0" active="false"/>
<Brake value="0" active="false"/>
<Clutch value="0" active="false"/>
<ParkingBrake value="0" active="false"/>
<SteeringWheel value="0" active="false"/>
<Gear number="0" active="false"/>
</OverrideControllerValueAction>
</ControllerAction>
</PrivateAction>
</Private>
<Private entityRef="adversary">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-9.4" y="-71.0" z="0.5" h="1.57079632679"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="standing">
<PrivateAction>
<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_4823">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-16.70163345336914" y="-155.4835205078125" z="0.0014286803780123591"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_close_to_hero_4824">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-8.876912117004395" y="-158.15231323242188" z="0.0014286803780123591"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_w_transform_4825">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-92.05928802490234" y="57.06509017944336" z="0.5"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_w_transform_4826">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="19.086162567138672" y="-55.57179260253906" z="0.5"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_close_to_adversary_4827">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-6.455380916595459" y="-61.537200927734375" z="0.033790092915296555"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
</Actions>
</Init>
<Story name="MyStory">
<Act name="Behavior">
<ManeuverGroup maximumExecutionCount="1" name="ManeuverSequence">
<Actors selectTriggeringEntities="false">
<EntityRef entityRef="adversary"/>
</Actors>
<Maneuver name="LaneChangeSimpleManeuver">
<Event name="AdversaryAccelerates" priority="overwrite">
<Action name="AdversaryAccelerates">
<PrivateAction>
<LongitudinalAction>
<SpeedAction>
<SpeedActionDynamics dynamicsShape="step" value="50" dynamicsDimension="distance"/>
<SpeedActionTarget>
<AbsoluteTargetSpeed value="5.0"/>
</SpeedActionTarget>
</SpeedAction>
</LongitudinalAction>
</PrivateAction>
</Action>
<StartTrigger>
<ConditionGroup>
<Condition name="StartCondition" delay="0" conditionEdge="rising">
<ByEntityCondition>
<TriggeringEntities triggeringEntitiesRule="any">
<EntityRef entityRef="hero"/>
</TriggeringEntities>
<EntityCondition>
<RelativeDistanceCondition entityRef="adversary" relativeDistanceType="cartesianDistance" value="40.0" freespace="false" rule="lessThan"/>
</EntityCondition>
</ByEntityCondition>
</Condition>
</ConditionGroup>
</StartTrigger>
</Event>
<Event name="AdversaryChangesLane" priority="overwrite">
<Action name="AdversaryChangesLane">
<PrivateAction>
<LateralAction>
<LaneChangeAction>
<LaneChangeActionDynamics dynamicsShape="linear" value="25" dynamicsDimension="distance"/>
<LaneChangeTarget>
<RelativeTargetLane entityRef="adversary" value="-1"/>
</LaneChangeTarget>
</LaneChangeAction>
</LateralAction>
</PrivateAction>
</Action>
<StartTrigger>
<ConditionGroup>
<Condition name="AfterAdversaryAccelerates" delay="0" conditionEdge="rising">
<ByValueCondition>
<StoryboardElementStateCondition storyboardElementType="action" storyboardElementRef="AdversaryAccelerates" state="completeState"/>
</ByValueCondition>
</Condition>
</ConditionGroup>
</StartTrigger>
</Event>
</Maneuver>
</ManeuverGroup>
<StartTrigger>
<ConditionGroup>
<Condition name="OverallStartCondition" delay="0" conditionEdge="rising">
<ByEntityCondition>
<TriggeringEntities triggeringEntitiesRule="any">
<EntityRef entityRef="hero"/>
</TriggeringEntities>
<EntityCondition>
<TraveledDistanceCondition value="1.0"/>
</EntityCondition>
</ByEntityCondition>
</Condition>
<Condition name="StartTime" delay="0" conditionEdge="rising">
<ByValueCondition>
<SimulationTimeCondition value="0" rule="equalTo"/>
</ByValueCondition>
</Condition>
</ConditionGroup>
</StartTrigger>
<StopTrigger>
<ConditionGroup>
<Condition name="EndCondition" delay="0" conditionEdge="rising">
<ByEntityCondition>
<TriggeringEntities triggeringEntitiesRule="any">
<EntityRef entityRef="hero"/>
</TriggeringEntities>
<EntityCondition>
<TraveledDistanceCondition value="200.0"/>
</EntityCondition>
</ByEntityCondition>
</Condition>
</ConditionGroup>
</StopTrigger>
</Act>
</Story>
<StopTrigger>
<ConditionGroup>
<Condition name="criteria_RunningStopTest" delay="0" conditionEdge="rising">
<ByValueCondition>
<ParameterCondition parameterRef="" value="" rule="lessThan"/>
</ByValueCondition>
</Condition>
<Condition name="criteria_RunningRedLightTest" delay="0" conditionEdge="rising">
<ByValueCondition>
<ParameterCondition parameterRef="" value="" rule="lessThan"/>
</ByValueCondition>
</Condition>
<Condition name="criteria_WrongLaneTest" delay="0" conditionEdge="rising">
<ByValueCondition>
<ParameterCondition parameterRef="" value="" rule="lessThan"/>
</ByValueCondition>
</Condition>
<Condition name="criteria_OnSidewalkTest" delay="0" conditionEdge="rising">
<ByValueCondition>
<ParameterCondition parameterRef="" value="" rule="lessThan"/>
</ByValueCondition>
</Condition>
<Condition name="criteria_KeepLaneTest" delay="0" conditionEdge="rising">
<ByValueCondition>
<ParameterCondition parameterRef="" value="" rule="lessThan"/>
</ByValueCondition>
</Condition>
<Condition name="criteria_CollisionTest" delay="0" conditionEdge="rising">
<ByValueCondition>
<ParameterCondition parameterRef="" value="" rule="lessThan"/>
</ByValueCondition>
</Condition>
<Condition name="criteria_DrivenDistanceTest" delay="0" conditionEdge="rising">
<ByValueCondition>
<ParameterCondition parameterRef="distance_success" value="100" rule="lessThan"/>
</ByValueCondition>
</Condition>
</ConditionGroup>
</StopTrigger>
</Storyboard>
</OpenSCENARIO>
``` |
i would like you to display remove pedestrian actor named pedestrian_w_transform_13380?
```
<?xml version="1.0" ?>
<OpenSCENARIO>
<FileHeader revMajor="1" revMinor="0" date="2020-03-24T12:00:00" description="CARLA:LaneChangeSimple" author=""/>
<ParameterDeclarations/>
<CatalogLocations/>
<RoadNetwork>
<LogicFile filepath="Town04"/>
<SceneGraphFile filepath=""/>
</RoadNetwork>
<Entities>
<ScenarioObject name="hero">
<Vehicle name="vehicle.tesla.model3" vehicleCategory="car">
<ParameterDeclarations/>
<Performance maxSpeed="69.444" maxAcceleration="200" maxDeceleration="10.0"/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2.1" length="4.5" height="1.8"/>
</BoundingBox>
<Axles>
<FrontAxle maxSteering="0.5" wheelDiameter="0.6" trackWidth="1.8" positionX="3.1" positionZ="0.3"/>
<RearAxle maxSteering="0.0" wheelDiameter="0.6" trackWidth="1.8" positionX="0.0" positionZ="0.3"/>
</Axles>
<Properties>
<Property name="type" value="ego_vehicle"/>
</Properties>
</Vehicle>
</ScenarioObject>
<ScenarioObject name="adversary">
<Vehicle name="vehicle.lincoln.mkz_2017" vehicleCategory="car">
<ParameterDeclarations/>
<Performance maxSpeed="69.444" maxAcceleration="200" maxDeceleration="10.0"/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2.1" length="4.5" height="1.8"/>
</BoundingBox>
<Axles>
<FrontAxle maxSteering="0.5" wheelDiameter="0.6" trackWidth="1.8" positionX="3.1" positionZ="0.3"/>
<RearAxle maxSteering="0.0" wheelDiameter="0.6" trackWidth="1.8" positionX="0.0" positionZ="0.3"/>
</Axles>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Vehicle>
</ScenarioObject>
<ScenarioObject name="standing">
<Vehicle name="vehicle.volkswagen.t2" vehicleCategory="car">
<ParameterDeclarations/>
<Performance maxSpeed="69.444" maxAcceleration="200" maxDeceleration="10.0"/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2.1" length="4.5" height="1.8"/>
</BoundingBox>
<Axles>
<FrontAxle maxSteering="0.5" wheelDiameter="0.6" trackWidth="1.8" positionX="3.1" positionZ="0.3"/>
<RearAxle maxSteering="0.0" wheelDiameter="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_13376">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_w_transform_13380">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
</Entities>
<Storyboard>
<Init>
<Actions>
<GlobalAction>
<EnvironmentAction>
<Environment name="Environment1">
<TimeOfDay animation="false" dateTime="2019-06-25T12:00:00"/>
<Weather cloudState="free">
<Sun intensity="0.85" azimuth="0" elevation="1.31"/>
<Fog visualRange="100000.0"/>
<Precipitation precipitationType="dry" intensity="0.0"/>
</Weather>
<RoadCondition frictionScaleFactor="1.0"/>
</Environment>
</EnvironmentAction>
</GlobalAction>
<Private entityRef="hero">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-9.4" y="-152.8" z="0.5" h="1.57079632679"/>
</Position>
</TeleportAction>
</PrivateAction>
<PrivateAction>
<ControllerAction>
<AssignControllerAction>
<Controller name="HeroAgent">
<Properties>
<Property name="module" value="external_control"/>
</Properties>
</Controller>
</AssignControllerAction>
<OverrideControllerValueAction>
<Throttle value="0" active="false"/>
<Brake value="0" active="false"/>
<Clutch value="0" active="false"/>
<ParkingBrake value="0" active="false"/>
<SteeringWheel value="0" active="false"/>
<Gear number="0" active="false"/>
</OverrideControllerValueAction>
</ControllerAction>
</PrivateAction>
</Private>
<Private entityRef="adversary">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-9.4" y="-71.0" z="0.5" h="1.57079632679"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="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_13376">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="18.60633087158203" y="-29.632259368896484" z="0.5"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_w_transform_13380">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-56.70284652709961" y="59.89320373535156" z="0.5"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
</Actions>
</Init>
<Story name="MyStory">
<Act name="Behavior">
<ManeuverGroup maximumExecutionCount="1" name="ManeuverSequence">
<Actors selectTriggeringEntities="false">
<EntityRef entityRef="adversary"/>
</Actors>
<Maneuver name="LaneChangeSimpleManeuver">
<Event name="AdversaryAccelerates" priority="overwrite">
<Action name="AdversaryAccelerates">
<PrivateAction>
<LongitudinalAction>
<SpeedAction>
<SpeedActionDynamics dynamicsShape="step" value="50" dynamicsDimension="distance"/>
<SpeedActionTarget>
<AbsoluteTargetSpeed value="5.0"/>
</SpeedActionTarget>
</SpeedAction>
</LongitudinalAction>
</PrivateAction>
</Action>
<StartTrigger>
<ConditionGroup>
<Condition name="StartCondition" delay="0" conditionEdge="rising">
<ByEntityCondition>
<TriggeringEntities triggeringEntitiesRule="any">
<EntityRef entityRef="hero"/>
</TriggeringEntities>
<EntityCondition>
<RelativeDistanceCondition entityRef="adversary" relativeDistanceType="cartesianDistance" value="40.0" freespace="false" rule="lessThan"/>
</EntityCondition>
</ByEntityCondition>
</Condition>
</ConditionGroup>
</StartTrigger>
</Event>
<Event name="AdversaryChangesLane" priority="overwrite">
<Action name="AdversaryChangesLane">
<PrivateAction>
<LateralAction>
<LaneChangeAction>
<LaneChangeActionDynamics dynamicsShape="linear" value="25" dynamicsDimension="distance"/>
<LaneChangeTarget>
<RelativeTargetLane entityRef="adversary" value="-1"/>
</LaneChangeTarget>
</LaneChangeAction>
</LateralAction>
</PrivateAction>
</Action>
<StartTrigger>
<ConditionGroup>
<Condition name="AfterAdversaryAccelerates" delay="0" conditionEdge="rising">
<ByValueCondition>
<StoryboardElementStateCondition storyboardElementType="action" storyboardElementRef="AdversaryAccelerates" state="completeState"/>
</ByValueCondition>
</Condition>
</ConditionGroup>
</StartTrigger>
</Event>
</Maneuver>
</ManeuverGroup>
<StartTrigger>
<ConditionGroup>
<Condition name="OverallStartCondition" delay="0" conditionEdge="rising">
<ByEntityCondition>
<TriggeringEntities triggeringEntitiesRule="any">
<EntityRef entityRef="hero"/>
</TriggeringEntities>
<EntityCondition>
<TraveledDistanceCondition value="1.0"/>
</EntityCondition>
</ByEntityCondition>
</Condition>
<Condition name="StartTime" delay="0" conditionEdge="rising">
<ByValueCondition>
<SimulationTimeCondition value="0" rule="equalTo"/>
</ByValueCondition>
</Condition>
</ConditionGroup>
</StartTrigger>
<StopTrigger>
<ConditionGroup>
<Condition name="EndCondition" delay="0" conditionEdge="rising">
<ByEntityCondition>
<TriggeringEntities triggeringEntitiesRule="any">
<EntityRef entityRef="hero"/>
</TriggeringEntities>
<EntityCondition>
<TraveledDistanceCondition value="200.0"/>
</EntityCondition>
</ByEntityCondition>
</Condition>
</ConditionGroup>
</StopTrigger>
</Act>
</Story>
<StopTrigger>
<ConditionGroup>
<Condition name="criteria_RunningStopTest" delay="0" conditionEdge="rising">
<ByValueCondition>
<ParameterCondition parameterRef="" value="" rule="lessThan"/>
</ByValueCondition>
</Condition>
<Condition name="criteria_RunningRedLightTest" delay="0" conditionEdge="rising">
<ByValueCondition>
<ParameterCondition parameterRef="" value="" rule="lessThan"/>
</ByValueCondition>
</Condition>
<Condition name="criteria_WrongLaneTest" delay="0" conditionEdge="rising">
<ByValueCondition>
<ParameterCondition parameterRef="" value="" rule="lessThan"/>
</ByValueCondition>
</Condition>
<Condition name="criteria_OnSidewalkTest" delay="0" conditionEdge="rising">
<ByValueCondition>
<ParameterCondition parameterRef="" value="" rule="lessThan"/>
</ByValueCondition>
</Condition>
<Condition name="criteria_KeepLaneTest" delay="0" conditionEdge="rising">
<ByValueCondition>
<ParameterCondition parameterRef="" value="" rule="lessThan"/>
</ByValueCondition>
</Condition>
<Condition name="criteria_CollisionTest" delay="0" conditionEdge="rising">
<ByValueCondition>
<ParameterCondition parameterRef="" value="" rule="lessThan"/>
</ByValueCondition>
</Condition>
<Condition name="criteria_DrivenDistanceTest" delay="0" conditionEdge="rising">
<ByValueCondition>
<ParameterCondition parameterRef="distance_success" value="100" rule="lessThan"/>
</ByValueCondition>
</Condition>
</ConditionGroup>
</StopTrigger>
</Storyboard>
</OpenSCENARIO>
``` | Here is the result:
```
<?xml version="1.0" ?>
<OpenSCENARIO>
<FileHeader revMajor="1" revMinor="0" date="2020-03-24T12:00:00" description="CARLA:LaneChangeSimple" author=""/>
<ParameterDeclarations/>
<CatalogLocations/>
<RoadNetwork>
<LogicFile filepath="Town04"/>
<SceneGraphFile filepath=""/>
</RoadNetwork>
<Entities>
<ScenarioObject name="hero">
<Vehicle name="vehicle.tesla.model3" vehicleCategory="car">
<ParameterDeclarations/>
<Performance maxSpeed="69.444" maxAcceleration="200" maxDeceleration="10.0"/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2.1" length="4.5" height="1.8"/>
</BoundingBox>
<Axles>
<FrontAxle maxSteering="0.5" wheelDiameter="0.6" trackWidth="1.8" positionX="3.1" positionZ="0.3"/>
<RearAxle maxSteering="0.0" wheelDiameter="0.6" trackWidth="1.8" positionX="0.0" positionZ="0.3"/>
</Axles>
<Properties>
<Property name="type" value="ego_vehicle"/>
</Properties>
</Vehicle>
</ScenarioObject>
<ScenarioObject name="adversary">
<Vehicle name="vehicle.lincoln.mkz_2017" vehicleCategory="car">
<ParameterDeclarations/>
<Performance maxSpeed="69.444" maxAcceleration="200" maxDeceleration="10.0"/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2.1" length="4.5" height="1.8"/>
</BoundingBox>
<Axles>
<FrontAxle maxSteering="0.5" wheelDiameter="0.6" trackWidth="1.8" positionX="3.1" positionZ="0.3"/>
<RearAxle maxSteering="0.0" wheelDiameter="0.6" trackWidth="1.8" positionX="0.0" positionZ="0.3"/>
</Axles>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Vehicle>
</ScenarioObject>
<ScenarioObject name="standing">
<Vehicle name="vehicle.volkswagen.t2" vehicleCategory="car">
<ParameterDeclarations/>
<Performance maxSpeed="69.444" maxAcceleration="200" maxDeceleration="10.0"/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2.1" length="4.5" height="1.8"/>
</BoundingBox>
<Axles>
<FrontAxle maxSteering="0.5" wheelDiameter="0.6" trackWidth="1.8" positionX="3.1" positionZ="0.3"/>
<RearAxle maxSteering="0.0" wheelDiameter="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_13376">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
</Entities>
<Storyboard>
<Init>
<Actions>
<GlobalAction>
<EnvironmentAction>
<Environment name="Environment1">
<TimeOfDay animation="false" dateTime="2019-06-25T12:00:00"/>
<Weather cloudState="free">
<Sun intensity="0.85" azimuth="0" elevation="1.31"/>
<Fog visualRange="100000.0"/>
<Precipitation precipitationType="dry" intensity="0.0"/>
</Weather>
<RoadCondition frictionScaleFactor="1.0"/>
</Environment>
</EnvironmentAction>
</GlobalAction>
<Private entityRef="hero">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-9.4" y="-152.8" z="0.5" h="1.57079632679"/>
</Position>
</TeleportAction>
</PrivateAction>
<PrivateAction>
<ControllerAction>
<AssignControllerAction>
<Controller name="HeroAgent">
<Properties>
<Property name="module" value="external_control"/>
</Properties>
</Controller>
</AssignControllerAction>
<OverrideControllerValueAction>
<Throttle value="0" active="false"/>
<Brake value="0" active="false"/>
<Clutch value="0" active="false"/>
<ParkingBrake value="0" active="false"/>
<SteeringWheel value="0" active="false"/>
<Gear number="0" active="false"/>
</OverrideControllerValueAction>
</ControllerAction>
</PrivateAction>
</Private>
<Private entityRef="adversary">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-9.4" y="-71.0" z="0.5" h="1.57079632679"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="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_13376">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="18.60633087158203" y="-29.632259368896484" z="0.5"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
</Actions>
</Init>
<Story name="MyStory">
<Act name="Behavior">
<ManeuverGroup maximumExecutionCount="1" name="ManeuverSequence">
<Actors selectTriggeringEntities="false">
<EntityRef entityRef="adversary"/>
</Actors>
<Maneuver name="LaneChangeSimpleManeuver">
<Event name="AdversaryAccelerates" priority="overwrite">
<Action name="AdversaryAccelerates">
<PrivateAction>
<LongitudinalAction>
<SpeedAction>
<SpeedActionDynamics dynamicsShape="step" value="50" dynamicsDimension="distance"/>
<SpeedActionTarget>
<AbsoluteTargetSpeed value="5.0"/>
</SpeedActionTarget>
</SpeedAction>
</LongitudinalAction>
</PrivateAction>
</Action>
<StartTrigger>
<ConditionGroup>
<Condition name="StartCondition" delay="0" conditionEdge="rising">
<ByEntityCondition>
<TriggeringEntities triggeringEntitiesRule="any">
<EntityRef entityRef="hero"/>
</TriggeringEntities>
<EntityCondition>
<RelativeDistanceCondition entityRef="adversary" relativeDistanceType="cartesianDistance" value="40.0" freespace="false" rule="lessThan"/>
</EntityCondition>
</ByEntityCondition>
</Condition>
</ConditionGroup>
</StartTrigger>
</Event>
<Event name="AdversaryChangesLane" priority="overwrite">
<Action name="AdversaryChangesLane">
<PrivateAction>
<LateralAction>
<LaneChangeAction>
<LaneChangeActionDynamics dynamicsShape="linear" value="25" dynamicsDimension="distance"/>
<LaneChangeTarget>
<RelativeTargetLane entityRef="adversary" value="-1"/>
</LaneChangeTarget>
</LaneChangeAction>
</LateralAction>
</PrivateAction>
</Action>
<StartTrigger>
<ConditionGroup>
<Condition name="AfterAdversaryAccelerates" delay="0" conditionEdge="rising">
<ByValueCondition>
<StoryboardElementStateCondition storyboardElementType="action" storyboardElementRef="AdversaryAccelerates" state="completeState"/>
</ByValueCondition>
</Condition>
</ConditionGroup>
</StartTrigger>
</Event>
</Maneuver>
</ManeuverGroup>
<StartTrigger>
<ConditionGroup>
<Condition name="OverallStartCondition" delay="0" conditionEdge="rising">
<ByEntityCondition>
<TriggeringEntities triggeringEntitiesRule="any">
<EntityRef entityRef="hero"/>
</TriggeringEntities>
<EntityCondition>
<TraveledDistanceCondition value="1.0"/>
</EntityCondition>
</ByEntityCondition>
</Condition>
<Condition name="StartTime" delay="0" conditionEdge="rising">
<ByValueCondition>
<SimulationTimeCondition value="0" rule="equalTo"/>
</ByValueCondition>
</Condition>
</ConditionGroup>
</StartTrigger>
<StopTrigger>
<ConditionGroup>
<Condition name="EndCondition" delay="0" conditionEdge="rising">
<ByEntityCondition>
<TriggeringEntities triggeringEntitiesRule="any">
<EntityRef entityRef="hero"/>
</TriggeringEntities>
<EntityCondition>
<TraveledDistanceCondition value="200.0"/>
</EntityCondition>
</ByEntityCondition>
</Condition>
</ConditionGroup>
</StopTrigger>
</Act>
</Story>
<StopTrigger>
<ConditionGroup>
<Condition name="criteria_RunningStopTest" delay="0" conditionEdge="rising">
<ByValueCondition>
<ParameterCondition parameterRef="" value="" rule="lessThan"/>
</ByValueCondition>
</Condition>
<Condition name="criteria_RunningRedLightTest" delay="0" conditionEdge="rising">
<ByValueCondition>
<ParameterCondition parameterRef="" value="" rule="lessThan"/>
</ByValueCondition>
</Condition>
<Condition name="criteria_WrongLaneTest" delay="0" conditionEdge="rising">
<ByValueCondition>
<ParameterCondition parameterRef="" value="" rule="lessThan"/>
</ByValueCondition>
</Condition>
<Condition name="criteria_OnSidewalkTest" delay="0" conditionEdge="rising">
<ByValueCondition>
<ParameterCondition parameterRef="" value="" rule="lessThan"/>
</ByValueCondition>
</Condition>
<Condition name="criteria_KeepLaneTest" delay="0" conditionEdge="rising">
<ByValueCondition>
<ParameterCondition parameterRef="" value="" rule="lessThan"/>
</ByValueCondition>
</Condition>
<Condition name="criteria_CollisionTest" delay="0" conditionEdge="rising">
<ByValueCondition>
<ParameterCondition parameterRef="" value="" rule="lessThan"/>
</ByValueCondition>
</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>
</Entities>
<Storyboard>
<Init>
<Actions>
<GlobalAction>
<EnvironmentAction>
<Environment name="Environment1">
<TimeOfDay animation="false" dateTime="2019-06-25T12:00:00"/>
<Weather cloudState="free">
<Sun intensity="0.85" azimuth="0" elevation="1.31"/>
<Fog visualRange="100000.0"/>
<Precipitation precipitationType="dry" intensity="0.0"/>
</Weather>
<RoadCondition frictionScaleFactor="1.0"/>
</Environment>
</EnvironmentAction>
</GlobalAction>
<Private entityRef="hero">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-9.4" y="-152.8" z="0.5" h="1.57079632679"/>
</Position>
</TeleportAction>
</PrivateAction>
<PrivateAction>
<ControllerAction>
<AssignControllerAction>
<Controller name="HeroAgent">
<Properties>
<Property name="module" value="external_control"/>
</Properties>
</Controller>
</AssignControllerAction>
<OverrideControllerValueAction>
<Throttle value="0" active="false"/>
<Brake value="0" active="false"/>
<Clutch value="0" active="false"/>
<ParkingBrake value="0" active="false"/>
<SteeringWheel value="0" active="false"/>
<Gear number="0" active="false"/>
</OverrideControllerValueAction>
</ControllerAction>
</PrivateAction>
</Private>
<Private entityRef="adversary">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-9.4" y="-71.0" z="0.5" h="1.57079632679"/>
</Position>
</TeleportAction>
</PrivateAction>
</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_9755">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
</Entities>
<Storyboard>
<Init>
<Actions>
<GlobalAction>
<EnvironmentAction>
<Environment name="Environment1">
<TimeOfDay animation="false" dateTime="2019-06-25T12:00:00"/>
<Weather cloudState="free">
<Sun intensity="0.85" azimuth="0" elevation="1.31"/>
<Fog visualRange="100000.0"/>
<Precipitation precipitationType="dry" intensity="0.0"/>
</Weather>
<RoadCondition frictionScaleFactor="1.0"/>
</Environment>
</EnvironmentAction>
</GlobalAction>
<Private entityRef="hero">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-9.4" y="-152.8" z="0.5" h="1.57079632679"/>
</Position>
</TeleportAction>
</PrivateAction>
<PrivateAction>
<ControllerAction>
<AssignControllerAction>
<Controller name="HeroAgent">
<Properties>
<Property name="module" value="external_control"/>
</Properties>
</Controller>
</AssignControllerAction>
<OverrideControllerValueAction>
<Throttle value="0" active="false"/>
<Brake value="0" active="false"/>
<Clutch value="0" active="false"/>
<ParkingBrake value="0" active="false"/>
<SteeringWheel value="0" active="false"/>
<Gear number="0" active="false"/>
</OverrideControllerValueAction>
</ControllerAction>
</PrivateAction>
</Private>
<Private entityRef="adversary">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-9.4" y="-71.0" z="0.5" h="1.57079632679"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="standing">
<PrivateAction>
<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_9755">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-9.431320190429688" y="20.418659210205078" z="0.003065032884478569"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
</Actions>
</Init>
<Story name="MyStory">
<Act name="Behavior">
<ManeuverGroup maximumExecutionCount="1" name="ManeuverSequence">
<Actors selectTriggeringEntities="false">
<EntityRef entityRef="adversary"/>
</Actors>
<Maneuver name="LaneChangeSimpleManeuver">
<Event name="AdversaryAccelerates" priority="overwrite">
<Action name="AdversaryAccelerates">
<PrivateAction>
<LongitudinalAction>
<SpeedAction>
<SpeedActionDynamics dynamicsShape="step" value="50" dynamicsDimension="distance"/>
<SpeedActionTarget>
<AbsoluteTargetSpeed value="5.0"/>
</SpeedActionTarget>
</SpeedAction>
</LongitudinalAction>
</PrivateAction>
</Action>
<StartTrigger>
<ConditionGroup>
<Condition name="StartCondition" delay="0" conditionEdge="rising">
<ByEntityCondition>
<TriggeringEntities triggeringEntitiesRule="any">
<EntityRef entityRef="hero"/>
</TriggeringEntities>
<EntityCondition>
<RelativeDistanceCondition entityRef="adversary" relativeDistanceType="cartesianDistance" value="40.0" freespace="false" rule="lessThan"/>
</EntityCondition>
</ByEntityCondition>
</Condition>
</ConditionGroup>
</StartTrigger>
</Event>
<Event name="AdversaryChangesLane" priority="overwrite">
<Action name="AdversaryChangesLane">
<PrivateAction>
<LateralAction>
<LaneChangeAction>
<LaneChangeActionDynamics dynamicsShape="linear" value="25" dynamicsDimension="distance"/>
<LaneChangeTarget>
<RelativeTargetLane entityRef="adversary" value="-1"/>
</LaneChangeTarget>
</LaneChangeAction>
</LateralAction>
</PrivateAction>
</Action>
<StartTrigger>
<ConditionGroup>
<Condition name="AfterAdversaryAccelerates" delay="0" conditionEdge="rising">
<ByValueCondition>
<StoryboardElementStateCondition storyboardElementType="action" storyboardElementRef="AdversaryAccelerates" state="completeState"/>
</ByValueCondition>
</Condition>
</ConditionGroup>
</StartTrigger>
</Event>
</Maneuver>
</ManeuverGroup>
<StartTrigger>
<ConditionGroup>
<Condition name="OverallStartCondition" delay="0" conditionEdge="rising">
<ByEntityCondition>
<TriggeringEntities triggeringEntitiesRule="any">
<EntityRef entityRef="hero"/>
</TriggeringEntities>
<EntityCondition>
<TraveledDistanceCondition value="1.0"/>
</EntityCondition>
</ByEntityCondition>
</Condition>
<Condition name="StartTime" delay="0" conditionEdge="rising">
<ByValueCondition>
<SimulationTimeCondition value="0" rule="equalTo"/>
</ByValueCondition>
</Condition>
</ConditionGroup>
</StartTrigger>
<StopTrigger>
<ConditionGroup>
<Condition name="EndCondition" delay="0" conditionEdge="rising">
<ByEntityCondition>
<TriggeringEntities triggeringEntitiesRule="any">
<EntityRef entityRef="hero"/>
</TriggeringEntities>
<EntityCondition>
<TraveledDistanceCondition value="200.0"/>
</EntityCondition>
</ByEntityCondition>
</Condition>
</ConditionGroup>
</StopTrigger>
</Act>
</Story>
<StopTrigger>
<ConditionGroup>
<Condition name="criteria_RunningStopTest" delay="0" conditionEdge="rising">
<ByValueCondition>
<ParameterCondition parameterRef="" value="" rule="lessThan"/>
</ByValueCondition>
</Condition>
<Condition name="criteria_RunningRedLightTest" delay="0" conditionEdge="rising">
<ByValueCondition>
<ParameterCondition parameterRef="" value="" rule="lessThan"/>
</ByValueCondition>
</Condition>
<Condition name="criteria_WrongLaneTest" delay="0" conditionEdge="rising">
<ByValueCondition>
<ParameterCondition parameterRef="" value="" rule="lessThan"/>
</ByValueCondition>
</Condition>
<Condition name="criteria_OnSidewalkTest" delay="0" conditionEdge="rising">
<ByValueCondition>
<ParameterCondition parameterRef="" value="" rule="lessThan"/>
</ByValueCondition>
</Condition>
<Condition name="criteria_KeepLaneTest" delay="0" conditionEdge="rising">
<ByValueCondition>
<ParameterCondition parameterRef="" value="" rule="lessThan"/>
</ByValueCondition>
</Condition>
<Condition name="criteria_CollisionTest" delay="0" conditionEdge="rising">
<ByValueCondition>
<ParameterCondition parameterRef="" value="" rule="lessThan"/>
</ByValueCondition>
</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_adversary_6508?
```
<?xml version="1.0" ?>
<OpenSCENARIO>
<FileHeader revMajor="1" revMinor="0" date="2020-03-24T12:00:00" description="CARLA:LaneChangeSimple" author=""/>
<ParameterDeclarations/>
<CatalogLocations/>
<RoadNetwork>
<LogicFile filepath="Town04"/>
<SceneGraphFile filepath=""/>
</RoadNetwork>
<Entities>
<ScenarioObject name="hero">
<Vehicle name="vehicle.tesla.model3" vehicleCategory="car">
<ParameterDeclarations/>
<Performance maxSpeed="69.444" maxAcceleration="200" maxDeceleration="10.0"/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2.1" length="4.5" height="1.8"/>
</BoundingBox>
<Axles>
<FrontAxle maxSteering="0.5" wheelDiameter="0.6" trackWidth="1.8" positionX="3.1" positionZ="0.3"/>
<RearAxle maxSteering="0.0" wheelDiameter="0.6" trackWidth="1.8" positionX="0.0" positionZ="0.3"/>
</Axles>
<Properties>
<Property name="type" value="ego_vehicle"/>
</Properties>
</Vehicle>
</ScenarioObject>
<ScenarioObject name="adversary">
<Vehicle name="vehicle.lincoln.mkz_2017" vehicleCategory="car">
<ParameterDeclarations/>
<Performance maxSpeed="69.444" maxAcceleration="200" maxDeceleration="10.0"/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2.1" length="4.5" height="1.8"/>
</BoundingBox>
<Axles>
<FrontAxle maxSteering="0.5" wheelDiameter="0.6" trackWidth="1.8" positionX="3.1" positionZ="0.3"/>
<RearAxle maxSteering="0.0" wheelDiameter="0.6" trackWidth="1.8" positionX="0.0" positionZ="0.3"/>
</Axles>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Vehicle>
</ScenarioObject>
<ScenarioObject name="standing">
<Vehicle name="vehicle.volkswagen.t2" vehicleCategory="car">
<ParameterDeclarations/>
<Performance maxSpeed="69.444" maxAcceleration="200" maxDeceleration="10.0"/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2.1" length="4.5" height="1.8"/>
</BoundingBox>
<Axles>
<FrontAxle maxSteering="0.5" wheelDiameter="0.6" trackWidth="1.8" positionX="3.1" positionZ="0.3"/>
<RearAxle maxSteering="0.0" wheelDiameter="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_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_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_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_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_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>
<ScenarioObject name="pedestrian_close_to_standing_6525">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_w_transform_6526">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
</Entities>
<Storyboard>
<Init>
<Actions>
<GlobalAction>
<EnvironmentAction>
<Environment name="Environment1">
<TimeOfDay animation="false" dateTime="2019-06-25T12:00:00"/>
<Weather cloudState="free">
<Sun intensity="0.85" azimuth="0" elevation="1.31"/>
<Fog visualRange="100000.0"/>
<Precipitation precipitationType="dry" intensity="0.0"/>
</Weather>
<RoadCondition frictionScaleFactor="1.0"/>
</Environment>
</EnvironmentAction>
</GlobalAction>
<Private entityRef="hero">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-9.4" y="-152.8" z="0.5" h="1.57079632679"/>
</Position>
</TeleportAction>
</PrivateAction>
<PrivateAction>
<ControllerAction>
<AssignControllerAction>
<Controller name="HeroAgent">
<Properties>
<Property name="module" value="external_control"/>
</Properties>
</Controller>
</AssignControllerAction>
<OverrideControllerValueAction>
<Throttle value="0" active="false"/>
<Brake value="0" active="false"/>
<Clutch value="0" active="false"/>
<ParkingBrake value="0" active="false"/>
<SteeringWheel value="0" active="false"/>
<Gear number="0" active="false"/>
</OverrideControllerValueAction>
</ControllerAction>
</PrivateAction>
</Private>
<Private entityRef="adversary">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-9.4" y="-71.0" z="0.5" h="1.57079632679"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="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_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_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_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_w_transform_6518">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="98.21817016601562" y="-65.56514739990234" z="0.5"/>
</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>
<Private entityRef="pedestrian_close_to_standing_6525">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-12.412310600280762" y="38.70867156982422" z="0.003007545368745923"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_w_transform_6526">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-64.86885070800781" y="-58.25269317626953" z="0.5"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
</Actions>
</Init>
<Story name="MyStory">
<Act name="Behavior">
<ManeuverGroup maximumExecutionCount="1" name="ManeuverSequence">
<Actors selectTriggeringEntities="false">
<EntityRef entityRef="adversary"/>
</Actors>
<Maneuver name="LaneChangeSimpleManeuver">
<Event name="AdversaryAccelerates" priority="overwrite">
<Action name="AdversaryAccelerates">
<PrivateAction>
<LongitudinalAction>
<SpeedAction>
<SpeedActionDynamics dynamicsShape="step" value="50" dynamicsDimension="distance"/>
<SpeedActionTarget>
<AbsoluteTargetSpeed value="5.0"/>
</SpeedActionTarget>
</SpeedAction>
</LongitudinalAction>
</PrivateAction>
</Action>
<StartTrigger>
<ConditionGroup>
<Condition name="StartCondition" delay="0" conditionEdge="rising">
<ByEntityCondition>
<TriggeringEntities triggeringEntitiesRule="any">
<EntityRef entityRef="hero"/>
</TriggeringEntities>
<EntityCondition>
<RelativeDistanceCondition entityRef="adversary" relativeDistanceType="cartesianDistance" value="40.0" freespace="false" rule="lessThan"/>
</EntityCondition>
</ByEntityCondition>
</Condition>
</ConditionGroup>
</StartTrigger>
</Event>
<Event name="AdversaryChangesLane" priority="overwrite">
<Action name="AdversaryChangesLane">
<PrivateAction>
<LateralAction>
<LaneChangeAction>
<LaneChangeActionDynamics dynamicsShape="linear" value="25" dynamicsDimension="distance"/>
<LaneChangeTarget>
<RelativeTargetLane entityRef="adversary" value="-1"/>
</LaneChangeTarget>
</LaneChangeAction>
</LateralAction>
</PrivateAction>
</Action>
<StartTrigger>
<ConditionGroup>
<Condition name="AfterAdversaryAccelerates" delay="0" conditionEdge="rising">
<ByValueCondition>
<StoryboardElementStateCondition storyboardElementType="action" storyboardElementRef="AdversaryAccelerates" state="completeState"/>
</ByValueCondition>
</Condition>
</ConditionGroup>
</StartTrigger>
</Event>
</Maneuver>
</ManeuverGroup>
<StartTrigger>
<ConditionGroup>
<Condition name="OverallStartCondition" delay="0" conditionEdge="rising">
<ByEntityCondition>
<TriggeringEntities triggeringEntitiesRule="any">
<EntityRef entityRef="hero"/>
</TriggeringEntities>
<EntityCondition>
<TraveledDistanceCondition value="1.0"/>
</EntityCondition>
</ByEntityCondition>
</Condition>
<Condition name="StartTime" delay="0" conditionEdge="rising">
<ByValueCondition>
<SimulationTimeCondition value="0" rule="equalTo"/>
</ByValueCondition>
</Condition>
</ConditionGroup>
</StartTrigger>
<StopTrigger>
<ConditionGroup>
<Condition name="EndCondition" delay="0" conditionEdge="rising">
<ByEntityCondition>
<TriggeringEntities triggeringEntitiesRule="any">
<EntityRef entityRef="hero"/>
</TriggeringEntities>
<EntityCondition>
<TraveledDistanceCondition value="200.0"/>
</EntityCondition>
</ByEntityCondition>
</Condition>
</ConditionGroup>
</StopTrigger>
</Act>
</Story>
<StopTrigger>
<ConditionGroup>
<Condition name="criteria_RunningStopTest" delay="0" conditionEdge="rising">
<ByValueCondition>
<ParameterCondition parameterRef="" value="" rule="lessThan"/>
</ByValueCondition>
</Condition>
<Condition name="criteria_RunningRedLightTest" delay="0" conditionEdge="rising">
<ByValueCondition>
<ParameterCondition parameterRef="" value="" rule="lessThan"/>
</ByValueCondition>
</Condition>
<Condition name="criteria_WrongLaneTest" delay="0" conditionEdge="rising">
<ByValueCondition>
<ParameterCondition parameterRef="" value="" rule="lessThan"/>
</ByValueCondition>
</Condition>
<Condition name="criteria_OnSidewalkTest" delay="0" conditionEdge="rising">
<ByValueCondition>
<ParameterCondition parameterRef="" value="" rule="lessThan"/>
</ByValueCondition>
</Condition>
<Condition name="criteria_KeepLaneTest" delay="0" conditionEdge="rising">
<ByValueCondition>
<ParameterCondition parameterRef="" value="" rule="lessThan"/>
</ByValueCondition>
</Condition>
<Condition name="criteria_CollisionTest" delay="0" conditionEdge="rising">
<ByValueCondition>
<ParameterCondition parameterRef="" value="" rule="lessThan"/>
</ByValueCondition>
</Condition>
<Condition name="criteria_DrivenDistanceTest" delay="0" conditionEdge="rising">
<ByValueCondition>
<ParameterCondition parameterRef="distance_success" value="100" rule="lessThan"/>
</ByValueCondition>
</Condition>
</ConditionGroup>
</StopTrigger>
</Storyboard>
</OpenSCENARIO>
``` | Here is the result:
```
<?xml version="1.0" ?>
<OpenSCENARIO>
<FileHeader revMajor="1" revMinor="0" date="2020-03-24T12:00:00" description="CARLA:LaneChangeSimple" author=""/>
<ParameterDeclarations/>
<CatalogLocations/>
<RoadNetwork>
<LogicFile filepath="Town04"/>
<SceneGraphFile filepath=""/>
</RoadNetwork>
<Entities>
<ScenarioObject name="hero">
<Vehicle name="vehicle.tesla.model3" vehicleCategory="car">
<ParameterDeclarations/>
<Performance maxSpeed="69.444" maxAcceleration="200" maxDeceleration="10.0"/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2.1" length="4.5" height="1.8"/>
</BoundingBox>
<Axles>
<FrontAxle maxSteering="0.5" wheelDiameter="0.6" trackWidth="1.8" positionX="3.1" positionZ="0.3"/>
<RearAxle maxSteering="0.0" wheelDiameter="0.6" trackWidth="1.8" positionX="0.0" positionZ="0.3"/>
</Axles>
<Properties>
<Property name="type" value="ego_vehicle"/>
</Properties>
</Vehicle>
</ScenarioObject>
<ScenarioObject name="adversary">
<Vehicle name="vehicle.lincoln.mkz_2017" vehicleCategory="car">
<ParameterDeclarations/>
<Performance maxSpeed="69.444" maxAcceleration="200" maxDeceleration="10.0"/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2.1" length="4.5" height="1.8"/>
</BoundingBox>
<Axles>
<FrontAxle maxSteering="0.5" wheelDiameter="0.6" trackWidth="1.8" positionX="3.1" positionZ="0.3"/>
<RearAxle maxSteering="0.0" wheelDiameter="0.6" trackWidth="1.8" positionX="0.0" positionZ="0.3"/>
</Axles>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Vehicle>
</ScenarioObject>
<ScenarioObject name="standing">
<Vehicle name="vehicle.volkswagen.t2" vehicleCategory="car">
<ParameterDeclarations/>
<Performance maxSpeed="69.444" maxAcceleration="200" maxDeceleration="10.0"/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2.1" length="4.5" height="1.8"/>
</BoundingBox>
<Axles>
<FrontAxle maxSteering="0.5" wheelDiameter="0.6" trackWidth="1.8" positionX="3.1" positionZ="0.3"/>
<RearAxle maxSteering="0.0" wheelDiameter="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_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_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_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_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_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_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>
<ScenarioObject name="pedestrian_close_to_standing_6525">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_w_transform_6526">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
</Entities>
<Storyboard>
<Init>
<Actions>
<GlobalAction>
<EnvironmentAction>
<Environment name="Environment1">
<TimeOfDay animation="false" dateTime="2019-06-25T12:00:00"/>
<Weather cloudState="free">
<Sun intensity="0.85" azimuth="0" elevation="1.31"/>
<Fog visualRange="100000.0"/>
<Precipitation precipitationType="dry" intensity="0.0"/>
</Weather>
<RoadCondition frictionScaleFactor="1.0"/>
</Environment>
</EnvironmentAction>
</GlobalAction>
<Private entityRef="hero">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-9.4" y="-152.8" z="0.5" h="1.57079632679"/>
</Position>
</TeleportAction>
</PrivateAction>
<PrivateAction>
<ControllerAction>
<AssignControllerAction>
<Controller name="HeroAgent">
<Properties>
<Property name="module" value="external_control"/>
</Properties>
</Controller>
</AssignControllerAction>
<OverrideControllerValueAction>
<Throttle value="0" active="false"/>
<Brake value="0" active="false"/>
<Clutch value="0" active="false"/>
<ParkingBrake value="0" active="false"/>
<SteeringWheel value="0" active="false"/>
<Gear number="0" active="false"/>
</OverrideControllerValueAction>
</ControllerAction>
</PrivateAction>
</Private>
<Private entityRef="adversary">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-9.4" y="-71.0" z="0.5" h="1.57079632679"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="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_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_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_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_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_w_transform_6518">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="98.21817016601562" y="-65.56514739990234" z="0.5"/>
</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>
<Private entityRef="pedestrian_close_to_standing_6525">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-12.412310600280762" y="38.70867156982422" z="0.003007545368745923"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_w_transform_6526">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-64.86885070800781" y="-58.25269317626953" z="0.5"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
</Actions>
</Init>
<Story name="MyStory">
<Act name="Behavior">
<ManeuverGroup maximumExecutionCount="1" name="ManeuverSequence">
<Actors selectTriggeringEntities="false">
<EntityRef entityRef="adversary"/>
</Actors>
<Maneuver name="LaneChangeSimpleManeuver">
<Event name="AdversaryAccelerates" priority="overwrite">
<Action name="AdversaryAccelerates">
<PrivateAction>
<LongitudinalAction>
<SpeedAction>
<SpeedActionDynamics dynamicsShape="step" value="50" dynamicsDimension="distance"/>
<SpeedActionTarget>
<AbsoluteTargetSpeed value="5.0"/>
</SpeedActionTarget>
</SpeedAction>
</LongitudinalAction>
</PrivateAction>
</Action>
<StartTrigger>
<ConditionGroup>
<Condition name="StartCondition" delay="0" conditionEdge="rising">
<ByEntityCondition>
<TriggeringEntities triggeringEntitiesRule="any">
<EntityRef entityRef="hero"/>
</TriggeringEntities>
<EntityCondition>
<RelativeDistanceCondition entityRef="adversary" relativeDistanceType="cartesianDistance" value="40.0" freespace="false" rule="lessThan"/>
</EntityCondition>
</ByEntityCondition>
</Condition>
</ConditionGroup>
</StartTrigger>
</Event>
<Event name="AdversaryChangesLane" priority="overwrite">
<Action name="AdversaryChangesLane">
<PrivateAction>
<LateralAction>
<LaneChangeAction>
<LaneChangeActionDynamics dynamicsShape="linear" value="25" dynamicsDimension="distance"/>
<LaneChangeTarget>
<RelativeTargetLane entityRef="adversary" value="-1"/>
</LaneChangeTarget>
</LaneChangeAction>
</LateralAction>
</PrivateAction>
</Action>
<StartTrigger>
<ConditionGroup>
<Condition name="AfterAdversaryAccelerates" delay="0" conditionEdge="rising">
<ByValueCondition>
<StoryboardElementStateCondition storyboardElementType="action" storyboardElementRef="AdversaryAccelerates" state="completeState"/>
</ByValueCondition>
</Condition>
</ConditionGroup>
</StartTrigger>
</Event>
</Maneuver>
</ManeuverGroup>
<StartTrigger>
<ConditionGroup>
<Condition name="OverallStartCondition" delay="0" conditionEdge="rising">
<ByEntityCondition>
<TriggeringEntities triggeringEntitiesRule="any">
<EntityRef entityRef="hero"/>
</TriggeringEntities>
<EntityCondition>
<TraveledDistanceCondition value="1.0"/>
</EntityCondition>
</ByEntityCondition>
</Condition>
<Condition name="StartTime" delay="0" conditionEdge="rising">
<ByValueCondition>
<SimulationTimeCondition value="0" rule="equalTo"/>
</ByValueCondition>
</Condition>
</ConditionGroup>
</StartTrigger>
<StopTrigger>
<ConditionGroup>
<Condition name="EndCondition" delay="0" conditionEdge="rising">
<ByEntityCondition>
<TriggeringEntities triggeringEntitiesRule="any">
<EntityRef entityRef="hero"/>
</TriggeringEntities>
<EntityCondition>
<TraveledDistanceCondition value="200.0"/>
</EntityCondition>
</ByEntityCondition>
</Condition>
</ConditionGroup>
</StopTrigger>
</Act>
</Story>
<StopTrigger>
<ConditionGroup>
<Condition name="criteria_RunningStopTest" delay="0" conditionEdge="rising">
<ByValueCondition>
<ParameterCondition parameterRef="" value="" rule="lessThan"/>
</ByValueCondition>
</Condition>
<Condition name="criteria_RunningRedLightTest" delay="0" conditionEdge="rising">
<ByValueCondition>
<ParameterCondition parameterRef="" value="" rule="lessThan"/>
</ByValueCondition>
</Condition>
<Condition name="criteria_WrongLaneTest" delay="0" conditionEdge="rising">
<ByValueCondition>
<ParameterCondition parameterRef="" value="" rule="lessThan"/>
</ByValueCondition>
</Condition>
<Condition name="criteria_OnSidewalkTest" delay="0" conditionEdge="rising">
<ByValueCondition>
<ParameterCondition parameterRef="" value="" rule="lessThan"/>
</ByValueCondition>
</Condition>
<Condition name="criteria_KeepLaneTest" delay="0" conditionEdge="rising">
<ByValueCondition>
<ParameterCondition parameterRef="" value="" rule="lessThan"/>
</ByValueCondition>
</Condition>
<Condition name="criteria_CollisionTest" delay="0" conditionEdge="rising">
<ByValueCondition>
<ParameterCondition parameterRef="" value="" rule="lessThan"/>
</ByValueCondition>
</Condition>
<Condition name="criteria_DrivenDistanceTest" delay="0" conditionEdge="rising">
<ByValueCondition>
<ParameterCondition parameterRef="distance_success" value="100" rule="lessThan"/>
</ByValueCondition>
</Condition>
</ConditionGroup>
</StopTrigger>
</Storyboard>
</OpenSCENARIO>
``` |
i would like to lead you to add pedestrian close to hero?
```
<?xml version="1.0" ?>
<OpenSCENARIO>
<FileHeader revMajor="1" revMinor="0" date="2020-03-24T12:00:00" description="CARLA:LaneChangeSimple" author=""/>
<ParameterDeclarations/>
<CatalogLocations/>
<RoadNetwork>
<LogicFile filepath="Town04"/>
<SceneGraphFile filepath=""/>
</RoadNetwork>
<Entities>
<ScenarioObject name="hero">
<Vehicle name="vehicle.tesla.model3" vehicleCategory="car">
<ParameterDeclarations/>
<Performance maxSpeed="69.444" maxAcceleration="200" maxDeceleration="10.0"/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2.1" length="4.5" height="1.8"/>
</BoundingBox>
<Axles>
<FrontAxle maxSteering="0.5" wheelDiameter="0.6" trackWidth="1.8" positionX="3.1" positionZ="0.3"/>
<RearAxle maxSteering="0.0" wheelDiameter="0.6" trackWidth="1.8" positionX="0.0" positionZ="0.3"/>
</Axles>
<Properties>
<Property name="type" value="ego_vehicle"/>
</Properties>
</Vehicle>
</ScenarioObject>
<ScenarioObject name="adversary">
<Vehicle name="vehicle.lincoln.mkz_2017" vehicleCategory="car">
<ParameterDeclarations/>
<Performance maxSpeed="69.444" maxAcceleration="200" maxDeceleration="10.0"/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2.1" length="4.5" height="1.8"/>
</BoundingBox>
<Axles>
<FrontAxle maxSteering="0.5" wheelDiameter="0.6" trackWidth="1.8" positionX="3.1" positionZ="0.3"/>
<RearAxle maxSteering="0.0" wheelDiameter="0.6" trackWidth="1.8" positionX="0.0" positionZ="0.3"/>
</Axles>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Vehicle>
</ScenarioObject>
<ScenarioObject name="standing">
<Vehicle name="vehicle.volkswagen.t2" vehicleCategory="car">
<ParameterDeclarations/>
<Performance maxSpeed="69.444" maxAcceleration="200" maxDeceleration="10.0"/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2.1" length="4.5" height="1.8"/>
</BoundingBox>
<Axles>
<FrontAxle maxSteering="0.5" wheelDiameter="0.6" trackWidth="1.8" positionX="3.1" positionZ="0.3"/>
<RearAxle maxSteering="0.0" wheelDiameter="0.6" trackWidth="1.8" positionX="0.0" positionZ="0.3"/>
</Axles>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Vehicle>
</ScenarioObject>
<ScenarioObject name="pedestrian_close_to_hero_5930">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_close_to_standing_5931">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_close_to_standing_5932">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_close_to_hero_5933">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
</Entities>
<Storyboard>
<Init>
<Actions>
<GlobalAction>
<EnvironmentAction>
<Environment name="Environment1">
<TimeOfDay animation="false" dateTime="2019-06-25T12:00:00"/>
<Weather cloudState="free">
<Sun intensity="0.85" azimuth="0" elevation="1.31"/>
<Fog visualRange="100000.0"/>
<Precipitation precipitationType="dry" intensity="0.0"/>
</Weather>
<RoadCondition frictionScaleFactor="1.0"/>
</Environment>
</EnvironmentAction>
</GlobalAction>
<Private entityRef="hero">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-9.4" y="-152.8" z="0.5" h="1.57079632679"/>
</Position>
</TeleportAction>
</PrivateAction>
<PrivateAction>
<ControllerAction>
<AssignControllerAction>
<Controller name="HeroAgent">
<Properties>
<Property name="module" value="external_control"/>
</Properties>
</Controller>
</AssignControllerAction>
<OverrideControllerValueAction>
<Throttle value="0" active="false"/>
<Brake value="0" active="false"/>
<Clutch value="0" active="false"/>
<ParkingBrake value="0" active="false"/>
<SteeringWheel value="0" active="false"/>
<Gear number="0" active="false"/>
</OverrideControllerValueAction>
</ControllerAction>
</PrivateAction>
</Private>
<Private entityRef="adversary">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-9.4" y="-71.0" z="0.5" h="1.57079632679"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="standing">
<PrivateAction>
<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_5930">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-3.5606486797332764" y="-162.7864990234375" z="0.0014286803780123591"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_close_to_standing_5931">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-16.30756187438965" y="28.58214569091797" z="0.003051605075597763"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_close_to_standing_5932">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-15.255908966064453" y="35.647212982177734" z="0.0030548858921974897"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_close_to_hero_5933">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-9.733161926269531" y="-160.52439880371094" 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_5930">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_close_to_standing_5931">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_close_to_standing_5932">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_close_to_hero_5933">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_close_to_hero_5934">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
</Entities>
<Storyboard>
<Init>
<Actions>
<GlobalAction>
<EnvironmentAction>
<Environment name="Environment1">
<TimeOfDay animation="false" dateTime="2019-06-25T12:00:00"/>
<Weather cloudState="free">
<Sun intensity="0.85" azimuth="0" elevation="1.31"/>
<Fog visualRange="100000.0"/>
<Precipitation precipitationType="dry" intensity="0.0"/>
</Weather>
<RoadCondition frictionScaleFactor="1.0"/>
</Environment>
</EnvironmentAction>
</GlobalAction>
<Private entityRef="hero">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-9.4" y="-152.8" z="0.5" h="1.57079632679"/>
</Position>
</TeleportAction>
</PrivateAction>
<PrivateAction>
<ControllerAction>
<AssignControllerAction>
<Controller name="HeroAgent">
<Properties>
<Property name="module" value="external_control"/>
</Properties>
</Controller>
</AssignControllerAction>
<OverrideControllerValueAction>
<Throttle value="0" active="false"/>
<Brake value="0" active="false"/>
<Clutch value="0" active="false"/>
<ParkingBrake value="0" active="false"/>
<SteeringWheel value="0" active="false"/>
<Gear number="0" active="false"/>
</OverrideControllerValueAction>
</ControllerAction>
</PrivateAction>
</Private>
<Private entityRef="adversary">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-9.4" y="-71.0" z="0.5" h="1.57079632679"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="standing">
<PrivateAction>
<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_5930">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-3.5606486797332764" y="-162.7864990234375" z="0.0014286803780123591"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_close_to_standing_5931">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-16.30756187438965" y="28.58214569091797" z="0.003051605075597763"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_close_to_standing_5932">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-15.255908966064453" y="35.647212982177734" z="0.0030548858921974897"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_close_to_hero_5933">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-9.733161926269531" y="-160.52439880371094" z="0.0014286803780123591"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_close_to_hero_5934">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-10.901273727416992" y="-157.23179626464844" 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 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>
</Entities>
<Storyboard>
<Init>
<Actions>
<GlobalAction>
<EnvironmentAction>
<Environment name="Environment1">
<TimeOfDay animation="false" dateTime="2019-06-25T12:00:00"/>
<Weather cloudState="free">
<Sun intensity="0.85" azimuth="0" elevation="1.31"/>
<Fog visualRange="100000.0"/>
<Precipitation precipitationType="dry" intensity="0.0"/>
</Weather>
<RoadCondition frictionScaleFactor="1.0"/>
</Environment>
</EnvironmentAction>
</GlobalAction>
<Private entityRef="hero">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-9.4" y="-152.8" z="0.5" h="1.57079632679"/>
</Position>
</TeleportAction>
</PrivateAction>
<PrivateAction>
<ControllerAction>
<AssignControllerAction>
<Controller name="HeroAgent">
<Properties>
<Property name="module" value="external_control"/>
</Properties>
</Controller>
</AssignControllerAction>
<OverrideControllerValueAction>
<Throttle value="0" active="false"/>
<Brake value="0" active="false"/>
<Clutch value="0" active="false"/>
<ParkingBrake value="0" active="false"/>
<SteeringWheel value="0" active="false"/>
<Gear number="0" active="false"/>
</OverrideControllerValueAction>
</ControllerAction>
</PrivateAction>
</Private>
<Private entityRef="adversary">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-9.4" y="-71.0" z="0.5" h="1.57079632679"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="standing">
<PrivateAction>
<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>
</Actions>
</Init>
<Story name="MyStory">
<Act name="Behavior">
<ManeuverGroup maximumExecutionCount="1" name="ManeuverSequence">
<Actors selectTriggeringEntities="false">
<EntityRef entityRef="adversary"/>
</Actors>
<Maneuver name="LaneChangeSimpleManeuver">
<Event name="AdversaryAccelerates" priority="overwrite">
<Action name="AdversaryAccelerates">
<PrivateAction>
<LongitudinalAction>
<SpeedAction>
<SpeedActionDynamics dynamicsShape="step" value="50" dynamicsDimension="distance"/>
<SpeedActionTarget>
<AbsoluteTargetSpeed value="5.0"/>
</SpeedActionTarget>
</SpeedAction>
</LongitudinalAction>
</PrivateAction>
</Action>
<StartTrigger>
<ConditionGroup>
<Condition name="StartCondition" delay="0" conditionEdge="rising">
<ByEntityCondition>
<TriggeringEntities triggeringEntitiesRule="any">
<EntityRef entityRef="hero"/>
</TriggeringEntities>
<EntityCondition>
<RelativeDistanceCondition entityRef="adversary" relativeDistanceType="cartesianDistance" value="40.0" freespace="false" rule="lessThan"/>
</EntityCondition>
</ByEntityCondition>
</Condition>
</ConditionGroup>
</StartTrigger>
</Event>
<Event name="AdversaryChangesLane" priority="overwrite">
<Action name="AdversaryChangesLane">
<PrivateAction>
<LateralAction>
<LaneChangeAction>
<LaneChangeActionDynamics dynamicsShape="linear" value="25" dynamicsDimension="distance"/>
<LaneChangeTarget>
<RelativeTargetLane entityRef="adversary" value="-1"/>
</LaneChangeTarget>
</LaneChangeAction>
</LateralAction>
</PrivateAction>
</Action>
<StartTrigger>
<ConditionGroup>
<Condition name="AfterAdversaryAccelerates" delay="0" conditionEdge="rising">
<ByValueCondition>
<StoryboardElementStateCondition storyboardElementType="action" storyboardElementRef="AdversaryAccelerates" state="completeState"/>
</ByValueCondition>
</Condition>
</ConditionGroup>
</StartTrigger>
</Event>
</Maneuver>
</ManeuverGroup>
<StartTrigger>
<ConditionGroup>
<Condition name="OverallStartCondition" delay="0" conditionEdge="rising">
<ByEntityCondition>
<TriggeringEntities triggeringEntitiesRule="any">
<EntityRef entityRef="hero"/>
</TriggeringEntities>
<EntityCondition>
<TraveledDistanceCondition value="1.0"/>
</EntityCondition>
</ByEntityCondition>
</Condition>
<Condition name="StartTime" delay="0" conditionEdge="rising">
<ByValueCondition>
<SimulationTimeCondition value="0" rule="equalTo"/>
</ByValueCondition>
</Condition>
</ConditionGroup>
</StartTrigger>
<StopTrigger>
<ConditionGroup>
<Condition name="EndCondition" delay="0" conditionEdge="rising">
<ByEntityCondition>
<TriggeringEntities triggeringEntitiesRule="any">
<EntityRef entityRef="hero"/>
</TriggeringEntities>
<EntityCondition>
<TraveledDistanceCondition value="200.0"/>
</EntityCondition>
</ByEntityCondition>
</Condition>
</ConditionGroup>
</StopTrigger>
</Act>
</Story>
<StopTrigger>
<ConditionGroup>
<Condition name="criteria_RunningStopTest" delay="0" conditionEdge="rising">
<ByValueCondition>
<ParameterCondition parameterRef="" value="" rule="lessThan"/>
</ByValueCondition>
</Condition>
<Condition name="criteria_RunningRedLightTest" delay="0" conditionEdge="rising">
<ByValueCondition>
<ParameterCondition parameterRef="" value="" rule="lessThan"/>
</ByValueCondition>
</Condition>
<Condition name="criteria_WrongLaneTest" delay="0" conditionEdge="rising">
<ByValueCondition>
<ParameterCondition parameterRef="" value="" rule="lessThan"/>
</ByValueCondition>
</Condition>
<Condition name="criteria_OnSidewalkTest" delay="0" conditionEdge="rising">
<ByValueCondition>
<ParameterCondition parameterRef="" value="" rule="lessThan"/>
</ByValueCondition>
</Condition>
<Condition name="criteria_KeepLaneTest" delay="0" conditionEdge="rising">
<ByValueCondition>
<ParameterCondition parameterRef="" value="" rule="lessThan"/>
</ByValueCondition>
</Condition>
<Condition name="criteria_CollisionTest" delay="0" conditionEdge="rising">
<ByValueCondition>
<ParameterCondition parameterRef="" value="" rule="lessThan"/>
</ByValueCondition>
</Condition>
<Condition name="criteria_DrivenDistanceTest" delay="0" conditionEdge="rising">
<ByValueCondition>
<ParameterCondition parameterRef="distance_success" value="100" rule="lessThan"/>
</ByValueCondition>
</Condition>
</ConditionGroup>
</StopTrigger>
</Storyboard>
</OpenSCENARIO>
``` | Here is the result:
```
<?xml version="1.0" ?>
<OpenSCENARIO>
<FileHeader revMajor="1" revMinor="0" date="2020-03-24T12:00:00" description="CARLA:LaneChangeSimple" author=""/>
<ParameterDeclarations/>
<CatalogLocations/>
<RoadNetwork>
<LogicFile filepath="Town04"/>
<SceneGraphFile filepath=""/>
</RoadNetwork>
<Entities>
<ScenarioObject name="hero">
<Vehicle name="vehicle.tesla.model3" vehicleCategory="car">
<ParameterDeclarations/>
<Performance maxSpeed="69.444" maxAcceleration="200" maxDeceleration="10.0"/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2.1" length="4.5" height="1.8"/>
</BoundingBox>
<Axles>
<FrontAxle maxSteering="0.5" wheelDiameter="0.6" trackWidth="1.8" positionX="3.1" positionZ="0.3"/>
<RearAxle maxSteering="0.0" wheelDiameter="0.6" trackWidth="1.8" positionX="0.0" positionZ="0.3"/>
</Axles>
<Properties>
<Property name="type" value="ego_vehicle"/>
</Properties>
</Vehicle>
</ScenarioObject>
<ScenarioObject name="adversary">
<Vehicle name="vehicle.lincoln.mkz_2017" vehicleCategory="car">
<ParameterDeclarations/>
<Performance maxSpeed="69.444" maxAcceleration="200" maxDeceleration="10.0"/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2.1" length="4.5" height="1.8"/>
</BoundingBox>
<Axles>
<FrontAxle maxSteering="0.5" wheelDiameter="0.6" trackWidth="1.8" positionX="3.1" positionZ="0.3"/>
<RearAxle maxSteering="0.0" wheelDiameter="0.6" trackWidth="1.8" positionX="0.0" positionZ="0.3"/>
</Axles>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Vehicle>
</ScenarioObject>
<ScenarioObject name="standing">
<Vehicle name="vehicle.volkswagen.t2" vehicleCategory="car">
<ParameterDeclarations/>
<Performance maxSpeed="69.444" maxAcceleration="200" maxDeceleration="10.0"/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2.1" length="4.5" height="1.8"/>
</BoundingBox>
<Axles>
<FrontAxle maxSteering="0.5" wheelDiameter="0.6" trackWidth="1.8" positionX="3.1" positionZ="0.3"/>
<RearAxle maxSteering="0.0" wheelDiameter="0.6" 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>
</Entities>
<Storyboard>
<Init>
<Actions>
<GlobalAction>
<EnvironmentAction>
<Environment name="Environment1">
<TimeOfDay animation="false" dateTime="2019-06-25T12:00:00"/>
<Weather cloudState="free">
<Sun intensity="0.85" azimuth="0" elevation="1.31"/>
<Fog visualRange="100000.0"/>
<Precipitation precipitationType="dry" intensity="0.0"/>
</Weather>
<RoadCondition frictionScaleFactor="1.0"/>
</Environment>
</EnvironmentAction>
</GlobalAction>
<Private entityRef="hero">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-9.4" y="-152.8" z="0.5" h="1.57079632679"/>
</Position>
</TeleportAction>
</PrivateAction>
<PrivateAction>
<ControllerAction>
<AssignControllerAction>
<Controller name="HeroAgent">
<Properties>
<Property name="module" value="external_control"/>
</Properties>
</Controller>
</AssignControllerAction>
<OverrideControllerValueAction>
<Throttle value="0" active="false"/>
<Brake value="0" active="false"/>
<Clutch value="0" active="false"/>
<ParkingBrake value="0" active="false"/>
<SteeringWheel value="0" active="false"/>
<Gear number="0" active="false"/>
</OverrideControllerValueAction>
</ControllerAction>
</PrivateAction>
</Private>
<Private entityRef="adversary">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-9.4" y="-71.0" z="0.5" h="1.57079632679"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="standing">
<PrivateAction>
<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>
</Actions>
</Init>
<Story name="MyStory">
<Act name="Behavior">
<ManeuverGroup maximumExecutionCount="1" name="ManeuverSequence">
<Actors selectTriggeringEntities="false">
<EntityRef entityRef="adversary"/>
</Actors>
<Maneuver name="LaneChangeSimpleManeuver">
<Event name="AdversaryAccelerates" priority="overwrite">
<Action name="AdversaryAccelerates">
<PrivateAction>
<LongitudinalAction>
<SpeedAction>
<SpeedActionDynamics dynamicsShape="step" value="50" dynamicsDimension="distance"/>
<SpeedActionTarget>
<AbsoluteTargetSpeed value="5.0"/>
</SpeedActionTarget>
</SpeedAction>
</LongitudinalAction>
</PrivateAction>
</Action>
<StartTrigger>
<ConditionGroup>
<Condition name="StartCondition" delay="0" conditionEdge="rising">
<ByEntityCondition>
<TriggeringEntities triggeringEntitiesRule="any">
<EntityRef entityRef="hero"/>
</TriggeringEntities>
<EntityCondition>
<RelativeDistanceCondition entityRef="adversary" relativeDistanceType="cartesianDistance" value="40.0" freespace="false" rule="lessThan"/>
</EntityCondition>
</ByEntityCondition>
</Condition>
</ConditionGroup>
</StartTrigger>
</Event>
<Event name="AdversaryChangesLane" priority="overwrite">
<Action name="AdversaryChangesLane">
<PrivateAction>
<LateralAction>
<LaneChangeAction>
<LaneChangeActionDynamics dynamicsShape="linear" value="25" dynamicsDimension="distance"/>
<LaneChangeTarget>
<RelativeTargetLane entityRef="adversary" value="-1"/>
</LaneChangeTarget>
</LaneChangeAction>
</LateralAction>
</PrivateAction>
</Action>
<StartTrigger>
<ConditionGroup>
<Condition name="AfterAdversaryAccelerates" delay="0" conditionEdge="rising">
<ByValueCondition>
<StoryboardElementStateCondition storyboardElementType="action" storyboardElementRef="AdversaryAccelerates" state="completeState"/>
</ByValueCondition>
</Condition>
</ConditionGroup>
</StartTrigger>
</Event>
</Maneuver>
</ManeuverGroup>
<StartTrigger>
<ConditionGroup>
<Condition name="OverallStartCondition" delay="0" conditionEdge="rising">
<ByEntityCondition>
<TriggeringEntities triggeringEntitiesRule="any">
<EntityRef entityRef="hero"/>
</TriggeringEntities>
<EntityCondition>
<TraveledDistanceCondition value="1.0"/>
</EntityCondition>
</ByEntityCondition>
</Condition>
<Condition name="StartTime" delay="0" conditionEdge="rising">
<ByValueCondition>
<SimulationTimeCondition value="0" rule="equalTo"/>
</ByValueCondition>
</Condition>
</ConditionGroup>
</StartTrigger>
<StopTrigger>
<ConditionGroup>
<Condition name="EndCondition" delay="0" conditionEdge="rising">
<ByEntityCondition>
<TriggeringEntities triggeringEntitiesRule="any">
<EntityRef entityRef="hero"/>
</TriggeringEntities>
<EntityCondition>
<TraveledDistanceCondition value="200.0"/>
</EntityCondition>
</ByEntityCondition>
</Condition>
</ConditionGroup>
</StopTrigger>
</Act>
</Story>
<StopTrigger>
<ConditionGroup>
<Condition name="criteria_RunningStopTest" delay="0" conditionEdge="rising">
<ByValueCondition>
<ParameterCondition parameterRef="" value="" rule="lessThan"/>
</ByValueCondition>
</Condition>
<Condition name="criteria_RunningRedLightTest" delay="0" conditionEdge="rising">
<ByValueCondition>
<ParameterCondition parameterRef="" value="" rule="lessThan"/>
</ByValueCondition>
</Condition>
<Condition name="criteria_WrongLaneTest" delay="0" conditionEdge="rising">
<ByValueCondition>
<ParameterCondition parameterRef="" value="" rule="lessThan"/>
</ByValueCondition>
</Condition>
<Condition name="criteria_OnSidewalkTest" delay="0" conditionEdge="rising">
<ByValueCondition>
<ParameterCondition parameterRef="" value="" rule="lessThan"/>
</ByValueCondition>
</Condition>
<Condition name="criteria_KeepLaneTest" delay="0" conditionEdge="rising">
<ByValueCondition>
<ParameterCondition parameterRef="" value="" rule="lessThan"/>
</ByValueCondition>
</Condition>
<Condition name="criteria_CollisionTest" delay="0" conditionEdge="rising">
<ByValueCondition>
<ParameterCondition parameterRef="" value="" rule="lessThan"/>
</ByValueCondition>
</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 (-97.27, -79.12, 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_20915">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_w_transform_20916">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_w_transform_20917">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_w_transform_20918">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_close_to_adversary_20919">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_close_to_adversary_20920">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_w_transform_20921">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_close_to_adversary_20922">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_close_to_standing_20923">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_close_to_standing_20924">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_w_transform_20925">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_w_transform_20926">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_w_transform_20927">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_close_to_standing_20928">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_w_transform_20929">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_close_to_hero_20930">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_w_transform_20931">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_w_transform_20932">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_close_to_adversary_20933">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_close_to_standing_20935">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_w_transform_20936">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
</Entities>
<Storyboard>
<Init>
<Actions>
<GlobalAction>
<EnvironmentAction>
<Environment name="Environment1">
<TimeOfDay animation="false" dateTime="2019-06-25T12:00:00"/>
<Weather cloudState="free">
<Sun intensity="0.85" azimuth="0" elevation="1.31"/>
<Fog visualRange="100000.0"/>
<Precipitation precipitationType="dry" intensity="0.0"/>
</Weather>
<RoadCondition frictionScaleFactor="1.0"/>
</Environment>
</EnvironmentAction>
</GlobalAction>
<Private entityRef="hero">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-9.4" y="-152.8" z="0.5" h="1.57079632679"/>
</Position>
</TeleportAction>
</PrivateAction>
<PrivateAction>
<ControllerAction>
<AssignControllerAction>
<Controller name="HeroAgent">
<Properties>
<Property name="module" value="external_control"/>
</Properties>
</Controller>
</AssignControllerAction>
<OverrideControllerValueAction>
<Throttle value="0" active="false"/>
<Brake value="0" active="false"/>
<Clutch value="0" active="false"/>
<ParkingBrake value="0" active="false"/>
<SteeringWheel value="0" active="false"/>
<Gear number="0" active="false"/>
</OverrideControllerValueAction>
</ControllerAction>
</PrivateAction>
</Private>
<Private entityRef="adversary">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-9.4" y="-71.0" z="0.5" h="1.57079632679"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="standing">
<PrivateAction>
<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_20915">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-24.205873489379883" y="-148.15419006347656" z="0.0014286803780123591"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_w_transform_20916">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-11.550875663757324" y="-86.64058685302734" z="0.5"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_w_transform_20917">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-33.05520248413086" y="-21.416040420532227" z="0.5"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_w_transform_20918">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="80.49595642089844" y="22.687583923339844" z="0.5"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_close_to_adversary_20919">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-6.05682373046875" y="-67.25761413574219" z="0.03378387540578842"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_close_to_adversary_20920">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-5.988905429840088" y="-87.9102554321289" z="0.03378261625766754"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_w_transform_20921">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-4.996878623962402" y="27.657995223999023" z="0.5"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_close_to_adversary_20922">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-7.633465766906738" y="-61.14429473876953" z="0.033771857619285583"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_close_to_standing_20923">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-11.68150520324707" y="21.057510375976562" z="0.0030807112343609333"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_close_to_standing_20924">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-4.9195075035095215" y="16.739904403686523" z="0.003062362549826503"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_w_transform_20925">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-6.058603286743164" y="-72.16856384277344" z="0.5"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_w_transform_20926">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="12.609021186828613" y="4.65311336517334" z="0.5"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_w_transform_20927">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="21.99037742614746" y="-87.53398895263672" z="0.5"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_close_to_standing_20928">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-4.764167308807373" y="35.48032760620117" z="0.0030366515275090933"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_w_transform_20929">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-88.6607666015625" y="77.96390533447266" z="0.5"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_close_to_hero_20930">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-23.499916076660156" y="-159.2084503173828" z="0.0014286803780123591"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_w_transform_20931">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="15.615516662597656" y="-70.44477844238281" z="0.5"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_w_transform_20932">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="60.19220733642578" y="-4.290770530700684" z="0.5"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_close_to_adversary_20933">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-16.93022346496582" y="-80.91410827636719" z="0.033830299973487854"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_close_to_standing_20935">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-7.158491611480713" y="36.22220230102539" z="0.0030818176455795765"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_w_transform_20936">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-91.68474578857422" y="-14.92431354522705" z="0.5"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
</Actions>
</Init>
<Story name="MyStory">
<Act name="Behavior">
<ManeuverGroup maximumExecutionCount="1" name="ManeuverSequence">
<Actors selectTriggeringEntities="false">
<EntityRef entityRef="adversary"/>
</Actors>
<Maneuver name="LaneChangeSimpleManeuver">
<Event name="AdversaryAccelerates" priority="overwrite">
<Action name="AdversaryAccelerates">
<PrivateAction>
<LongitudinalAction>
<SpeedAction>
<SpeedActionDynamics dynamicsShape="step" value="50" dynamicsDimension="distance"/>
<SpeedActionTarget>
<AbsoluteTargetSpeed value="5.0"/>
</SpeedActionTarget>
</SpeedAction>
</LongitudinalAction>
</PrivateAction>
</Action>
<StartTrigger>
<ConditionGroup>
<Condition name="StartCondition" delay="0" conditionEdge="rising">
<ByEntityCondition>
<TriggeringEntities triggeringEntitiesRule="any">
<EntityRef entityRef="hero"/>
</TriggeringEntities>
<EntityCondition>
<RelativeDistanceCondition entityRef="adversary" relativeDistanceType="cartesianDistance" value="40.0" freespace="false" rule="lessThan"/>
</EntityCondition>
</ByEntityCondition>
</Condition>
</ConditionGroup>
</StartTrigger>
</Event>
<Event name="AdversaryChangesLane" priority="overwrite">
<Action name="AdversaryChangesLane">
<PrivateAction>
<LateralAction>
<LaneChangeAction>
<LaneChangeActionDynamics dynamicsShape="linear" value="25" dynamicsDimension="distance"/>
<LaneChangeTarget>
<RelativeTargetLane entityRef="adversary" value="-1"/>
</LaneChangeTarget>
</LaneChangeAction>
</LateralAction>
</PrivateAction>
</Action>
<StartTrigger>
<ConditionGroup>
<Condition name="AfterAdversaryAccelerates" delay="0" conditionEdge="rising">
<ByValueCondition>
<StoryboardElementStateCondition storyboardElementType="action" storyboardElementRef="AdversaryAccelerates" state="completeState"/>
</ByValueCondition>
</Condition>
</ConditionGroup>
</StartTrigger>
</Event>
</Maneuver>
</ManeuverGroup>
<StartTrigger>
<ConditionGroup>
<Condition name="OverallStartCondition" delay="0" conditionEdge="rising">
<ByEntityCondition>
<TriggeringEntities triggeringEntitiesRule="any">
<EntityRef entityRef="hero"/>
</TriggeringEntities>
<EntityCondition>
<TraveledDistanceCondition value="1.0"/>
</EntityCondition>
</ByEntityCondition>
</Condition>
<Condition name="StartTime" delay="0" conditionEdge="rising">
<ByValueCondition>
<SimulationTimeCondition value="0" rule="equalTo"/>
</ByValueCondition>
</Condition>
</ConditionGroup>
</StartTrigger>
<StopTrigger>
<ConditionGroup>
<Condition name="EndCondition" delay="0" conditionEdge="rising">
<ByEntityCondition>
<TriggeringEntities triggeringEntitiesRule="any">
<EntityRef entityRef="hero"/>
</TriggeringEntities>
<EntityCondition>
<TraveledDistanceCondition value="200.0"/>
</EntityCondition>
</ByEntityCondition>
</Condition>
</ConditionGroup>
</StopTrigger>
</Act>
</Story>
<StopTrigger>
<ConditionGroup>
<Condition name="criteria_RunningStopTest" delay="0" conditionEdge="rising">
<ByValueCondition>
<ParameterCondition parameterRef="" value="" rule="lessThan"/>
</ByValueCondition>
</Condition>
<Condition name="criteria_RunningRedLightTest" delay="0" conditionEdge="rising">
<ByValueCondition>
<ParameterCondition parameterRef="" value="" rule="lessThan"/>
</ByValueCondition>
</Condition>
<Condition name="criteria_WrongLaneTest" delay="0" conditionEdge="rising">
<ByValueCondition>
<ParameterCondition parameterRef="" value="" rule="lessThan"/>
</ByValueCondition>
</Condition>
<Condition name="criteria_OnSidewalkTest" delay="0" conditionEdge="rising">
<ByValueCondition>
<ParameterCondition parameterRef="" value="" rule="lessThan"/>
</ByValueCondition>
</Condition>
<Condition name="criteria_KeepLaneTest" delay="0" conditionEdge="rising">
<ByValueCondition>
<ParameterCondition parameterRef="" value="" rule="lessThan"/>
</ByValueCondition>
</Condition>
<Condition name="criteria_CollisionTest" delay="0" conditionEdge="rising">
<ByValueCondition>
<ParameterCondition parameterRef="" value="" rule="lessThan"/>
</ByValueCondition>
</Condition>
<Condition name="criteria_DrivenDistanceTest" delay="0" conditionEdge="rising">
<ByValueCondition>
<ParameterCondition parameterRef="distance_success" value="100" rule="lessThan"/>
</ByValueCondition>
</Condition>
</ConditionGroup>
</StopTrigger>
</Storyboard>
</OpenSCENARIO>
``` | Here is the result:
```
<?xml version="1.0" ?>
<OpenSCENARIO>
<FileHeader revMajor="1" revMinor="0" date="2020-03-24T12:00:00" description="CARLA:LaneChangeSimple" author=""/>
<ParameterDeclarations/>
<CatalogLocations/>
<RoadNetwork>
<LogicFile filepath="Town04"/>
<SceneGraphFile filepath=""/>
</RoadNetwork>
<Entities>
<ScenarioObject name="hero">
<Vehicle name="vehicle.tesla.model3" vehicleCategory="car">
<ParameterDeclarations/>
<Performance maxSpeed="69.444" maxAcceleration="200" maxDeceleration="10.0"/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2.1" length="4.5" height="1.8"/>
</BoundingBox>
<Axles>
<FrontAxle maxSteering="0.5" wheelDiameter="0.6" trackWidth="1.8" positionX="3.1" positionZ="0.3"/>
<RearAxle maxSteering="0.0" wheelDiameter="0.6" trackWidth="1.8" positionX="0.0" positionZ="0.3"/>
</Axles>
<Properties>
<Property name="type" value="ego_vehicle"/>
</Properties>
</Vehicle>
</ScenarioObject>
<ScenarioObject name="adversary">
<Vehicle name="vehicle.lincoln.mkz_2017" vehicleCategory="car">
<ParameterDeclarations/>
<Performance maxSpeed="69.444" maxAcceleration="200" maxDeceleration="10.0"/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2.1" length="4.5" height="1.8"/>
</BoundingBox>
<Axles>
<FrontAxle maxSteering="0.5" wheelDiameter="0.6" trackWidth="1.8" positionX="3.1" positionZ="0.3"/>
<RearAxle maxSteering="0.0" wheelDiameter="0.6" trackWidth="1.8" positionX="0.0" positionZ="0.3"/>
</Axles>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Vehicle>
</ScenarioObject>
<ScenarioObject name="standing">
<Vehicle name="vehicle.volkswagen.t2" vehicleCategory="car">
<ParameterDeclarations/>
<Performance maxSpeed="69.444" maxAcceleration="200" maxDeceleration="10.0"/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2.1" length="4.5" height="1.8"/>
</BoundingBox>
<Axles>
<FrontAxle maxSteering="0.5" wheelDiameter="0.6" trackWidth="1.8" positionX="3.1" positionZ="0.3"/>
<RearAxle maxSteering="0.0" wheelDiameter="0.6" 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_20915">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_w_transform_20916">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_w_transform_20917">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_w_transform_20918">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_close_to_adversary_20919">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_close_to_adversary_20920">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_w_transform_20921">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_close_to_adversary_20922">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_close_to_standing_20923">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_close_to_standing_20924">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_w_transform_20925">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_w_transform_20926">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_w_transform_20927">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_close_to_standing_20928">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_w_transform_20929">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_close_to_hero_20930">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_w_transform_20931">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_w_transform_20932">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_close_to_adversary_20933">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_close_to_standing_20935">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_w_transform_20936">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_w_transform_20937">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
</Entities>
<Storyboard>
<Init>
<Actions>
<GlobalAction>
<EnvironmentAction>
<Environment name="Environment1">
<TimeOfDay animation="false" dateTime="2019-06-25T12:00:00"/>
<Weather cloudState="free">
<Sun intensity="0.85" azimuth="0" elevation="1.31"/>
<Fog visualRange="100000.0"/>
<Precipitation precipitationType="dry" intensity="0.0"/>
</Weather>
<RoadCondition frictionScaleFactor="1.0"/>
</Environment>
</EnvironmentAction>
</GlobalAction>
<Private entityRef="hero">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-9.4" y="-152.8" z="0.5" h="1.57079632679"/>
</Position>
</TeleportAction>
</PrivateAction>
<PrivateAction>
<ControllerAction>
<AssignControllerAction>
<Controller name="HeroAgent">
<Properties>
<Property name="module" value="external_control"/>
</Properties>
</Controller>
</AssignControllerAction>
<OverrideControllerValueAction>
<Throttle value="0" active="false"/>
<Brake value="0" active="false"/>
<Clutch value="0" active="false"/>
<ParkingBrake value="0" active="false"/>
<SteeringWheel value="0" active="false"/>
<Gear number="0" active="false"/>
</OverrideControllerValueAction>
</ControllerAction>
</PrivateAction>
</Private>
<Private entityRef="adversary">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-9.4" y="-71.0" z="0.5" h="1.57079632679"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="standing">
<PrivateAction>
<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_20915">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-24.205873489379883" y="-148.15419006347656" z="0.0014286803780123591"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_w_transform_20916">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-11.550875663757324" y="-86.64058685302734" z="0.5"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_w_transform_20917">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-33.05520248413086" y="-21.416040420532227" z="0.5"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_w_transform_20918">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="80.49595642089844" y="22.687583923339844" z="0.5"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_close_to_adversary_20919">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-6.05682373046875" y="-67.25761413574219" z="0.03378387540578842"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_close_to_adversary_20920">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-5.988905429840088" y="-87.9102554321289" z="0.03378261625766754"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_w_transform_20921">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-4.996878623962402" y="27.657995223999023" z="0.5"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_close_to_adversary_20922">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-7.633465766906738" y="-61.14429473876953" z="0.033771857619285583"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_close_to_standing_20923">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-11.68150520324707" y="21.057510375976562" z="0.0030807112343609333"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_close_to_standing_20924">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-4.9195075035095215" y="16.739904403686523" z="0.003062362549826503"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_w_transform_20925">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-6.058603286743164" y="-72.16856384277344" z="0.5"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_w_transform_20926">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="12.609021186828613" y="4.65311336517334" z="0.5"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_w_transform_20927">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="21.99037742614746" y="-87.53398895263672" z="0.5"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_close_to_standing_20928">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-4.764167308807373" y="35.48032760620117" z="0.0030366515275090933"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_w_transform_20929">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-88.6607666015625" y="77.96390533447266" z="0.5"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_close_to_hero_20930">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-23.499916076660156" y="-159.2084503173828" z="0.0014286803780123591"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_w_transform_20931">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="15.615516662597656" y="-70.44477844238281" z="0.5"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_w_transform_20932">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="60.19220733642578" y="-4.290770530700684" z="0.5"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_close_to_adversary_20933">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-16.93022346496582" y="-80.91410827636719" z="0.033830299973487854"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_close_to_standing_20935">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-7.158491611480713" y="36.22220230102539" z="0.0030818176455795765"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_w_transform_20936">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-91.68474578857422" y="-14.92431354522705" z="0.5"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_w_transform_20937">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-97.27249145507812" y="-79.12446594238281" z="0.5"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
</Actions>
</Init>
<Story name="MyStory">
<Act name="Behavior">
<ManeuverGroup maximumExecutionCount="1" name="ManeuverSequence">
<Actors selectTriggeringEntities="false">
<EntityRef entityRef="adversary"/>
</Actors>
<Maneuver name="LaneChangeSimpleManeuver">
<Event name="AdversaryAccelerates" priority="overwrite">
<Action name="AdversaryAccelerates">
<PrivateAction>
<LongitudinalAction>
<SpeedAction>
<SpeedActionDynamics dynamicsShape="step" value="50" dynamicsDimension="distance"/>
<SpeedActionTarget>
<AbsoluteTargetSpeed value="5.0"/>
</SpeedActionTarget>
</SpeedAction>
</LongitudinalAction>
</PrivateAction>
</Action>
<StartTrigger>
<ConditionGroup>
<Condition name="StartCondition" delay="0" conditionEdge="rising">
<ByEntityCondition>
<TriggeringEntities triggeringEntitiesRule="any">
<EntityRef entityRef="hero"/>
</TriggeringEntities>
<EntityCondition>
<RelativeDistanceCondition entityRef="adversary" relativeDistanceType="cartesianDistance" value="40.0" freespace="false" rule="lessThan"/>
</EntityCondition>
</ByEntityCondition>
</Condition>
</ConditionGroup>
</StartTrigger>
</Event>
<Event name="AdversaryChangesLane" priority="overwrite">
<Action name="AdversaryChangesLane">
<PrivateAction>
<LateralAction>
<LaneChangeAction>
<LaneChangeActionDynamics dynamicsShape="linear" value="25" dynamicsDimension="distance"/>
<LaneChangeTarget>
<RelativeTargetLane entityRef="adversary" value="-1"/>
</LaneChangeTarget>
</LaneChangeAction>
</LateralAction>
</PrivateAction>
</Action>
<StartTrigger>
<ConditionGroup>
<Condition name="AfterAdversaryAccelerates" delay="0" conditionEdge="rising">
<ByValueCondition>
<StoryboardElementStateCondition storyboardElementType="action" storyboardElementRef="AdversaryAccelerates" state="completeState"/>
</ByValueCondition>
</Condition>
</ConditionGroup>
</StartTrigger>
</Event>
</Maneuver>
</ManeuverGroup>
<StartTrigger>
<ConditionGroup>
<Condition name="OverallStartCondition" delay="0" conditionEdge="rising">
<ByEntityCondition>
<TriggeringEntities triggeringEntitiesRule="any">
<EntityRef entityRef="hero"/>
</TriggeringEntities>
<EntityCondition>
<TraveledDistanceCondition value="1.0"/>
</EntityCondition>
</ByEntityCondition>
</Condition>
<Condition name="StartTime" delay="0" conditionEdge="rising">
<ByValueCondition>
<SimulationTimeCondition value="0" rule="equalTo"/>
</ByValueCondition>
</Condition>
</ConditionGroup>
</StartTrigger>
<StopTrigger>
<ConditionGroup>
<Condition name="EndCondition" delay="0" conditionEdge="rising">
<ByEntityCondition>
<TriggeringEntities triggeringEntitiesRule="any">
<EntityRef entityRef="hero"/>
</TriggeringEntities>
<EntityCondition>
<TraveledDistanceCondition value="200.0"/>
</EntityCondition>
</ByEntityCondition>
</Condition>
</ConditionGroup>
</StopTrigger>
</Act>
</Story>
<StopTrigger>
<ConditionGroup>
<Condition name="criteria_RunningStopTest" delay="0" conditionEdge="rising">
<ByValueCondition>
<ParameterCondition parameterRef="" value="" rule="lessThan"/>
</ByValueCondition>
</Condition>
<Condition name="criteria_RunningRedLightTest" delay="0" conditionEdge="rising">
<ByValueCondition>
<ParameterCondition parameterRef="" value="" rule="lessThan"/>
</ByValueCondition>
</Condition>
<Condition name="criteria_WrongLaneTest" delay="0" conditionEdge="rising">
<ByValueCondition>
<ParameterCondition parameterRef="" value="" rule="lessThan"/>
</ByValueCondition>
</Condition>
<Condition name="criteria_OnSidewalkTest" delay="0" conditionEdge="rising">
<ByValueCondition>
<ParameterCondition parameterRef="" value="" rule="lessThan"/>
</ByValueCondition>
</Condition>
<Condition name="criteria_KeepLaneTest" delay="0" conditionEdge="rising">
<ByValueCondition>
<ParameterCondition parameterRef="" value="" rule="lessThan"/>
</ByValueCondition>
</Condition>
<Condition name="criteria_CollisionTest" delay="0" conditionEdge="rising">
<ByValueCondition>
<ParameterCondition parameterRef="" value="" rule="lessThan"/>
</ByValueCondition>
</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_12857">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_close_to_adversary_12859">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_w_transform_12860">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_close_to_standing_12861">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_close_to_adversary_12863">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_w_transform_12865">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_w_transform_12866">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_close_to_adversary_12867">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_w_transform_12868">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_close_to_standing_12869">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_close_to_hero_12871">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
</Entities>
<Storyboard>
<Init>
<Actions>
<GlobalAction>
<EnvironmentAction>
<Environment name="Environment1">
<TimeOfDay animation="false" dateTime="2019-06-25T12:00:00"/>
<Weather cloudState="free">
<Sun intensity="0.85" azimuth="0" elevation="1.31"/>
<Fog visualRange="100000.0"/>
<Precipitation precipitationType="dry" intensity="0.0"/>
</Weather>
<RoadCondition frictionScaleFactor="1.0"/>
</Environment>
</EnvironmentAction>
</GlobalAction>
<Private entityRef="hero">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-9.4" y="-152.8" z="0.5" h="1.57079632679"/>
</Position>
</TeleportAction>
</PrivateAction>
<PrivateAction>
<ControllerAction>
<AssignControllerAction>
<Controller name="HeroAgent">
<Properties>
<Property name="module" value="external_control"/>
</Properties>
</Controller>
</AssignControllerAction>
<OverrideControllerValueAction>
<Throttle value="0" active="false"/>
<Brake value="0" active="false"/>
<Clutch value="0" active="false"/>
<ParkingBrake value="0" active="false"/>
<SteeringWheel value="0" active="false"/>
<Gear number="0" active="false"/>
</OverrideControllerValueAction>
</ControllerAction>
</PrivateAction>
</Private>
<Private entityRef="adversary">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-9.4" y="-71.0" z="0.5" h="1.57079632679"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="standing">
<PrivateAction>
<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_12857">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-3.1970930099487305" y="-76.54830169677734" z="0.033804550766944885"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_close_to_adversary_12859">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-14.34493350982666" y="-70.40882110595703" z="0.03374527022242546"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_w_transform_12860">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-87.39031982421875" y="-70.37535095214844" z="0.5"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_close_to_standing_12861">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-12.169878005981445" y="34.50750732421875" z="0.0030253599397838116"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_close_to_adversary_12863">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-19.08462142944336" y="-69.23922729492188" z="0.033788833767175674"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_w_transform_12865">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-26.2247257232666" y="-5.526680946350098" z="0.5"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_w_transform_12866">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="26.131317138671875" y="53.08591842651367" z="0.5"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_close_to_adversary_12867">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-13.075155258178711" y="-64.10850524902344" z="0.03380981460213661"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_w_transform_12868">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="34.5788459777832" y="17.204574584960938" z="0.5"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_close_to_standing_12869">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-10.736603736877441" y="30.6551570892334" z="0.0030371856410056353"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_close_to_hero_12871">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="6.618083953857422" y="-156.4303436279297" 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_12857">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_close_to_adversary_12859">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_w_transform_12860">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_close_to_standing_12861">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_close_to_adversary_12863">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_w_transform_12865">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_w_transform_12866">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_w_transform_12868">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_close_to_standing_12869">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_close_to_hero_12871">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
</Entities>
<Storyboard>
<Init>
<Actions>
<GlobalAction>
<EnvironmentAction>
<Environment name="Environment1">
<TimeOfDay animation="false" dateTime="2019-06-25T12:00:00"/>
<Weather cloudState="free">
<Sun intensity="0.85" azimuth="0" elevation="1.31"/>
<Fog visualRange="100000.0"/>
<Precipitation precipitationType="dry" intensity="0.0"/>
</Weather>
<RoadCondition frictionScaleFactor="1.0"/>
</Environment>
</EnvironmentAction>
</GlobalAction>
<Private entityRef="hero">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-9.4" y="-152.8" z="0.5" h="1.57079632679"/>
</Position>
</TeleportAction>
</PrivateAction>
<PrivateAction>
<ControllerAction>
<AssignControllerAction>
<Controller name="HeroAgent">
<Properties>
<Property name="module" value="external_control"/>
</Properties>
</Controller>
</AssignControllerAction>
<OverrideControllerValueAction>
<Throttle value="0" active="false"/>
<Brake value="0" active="false"/>
<Clutch value="0" active="false"/>
<ParkingBrake value="0" active="false"/>
<SteeringWheel value="0" active="false"/>
<Gear number="0" active="false"/>
</OverrideControllerValueAction>
</ControllerAction>
</PrivateAction>
</Private>
<Private entityRef="adversary">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-9.4" y="-71.0" z="0.5" h="1.57079632679"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="standing">
<PrivateAction>
<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_12857">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-3.1970930099487305" y="-76.54830169677734" z="0.033804550766944885"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_close_to_adversary_12859">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-14.34493350982666" y="-70.40882110595703" z="0.03374527022242546"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_w_transform_12860">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-87.39031982421875" y="-70.37535095214844" z="0.5"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_close_to_standing_12861">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-12.169878005981445" y="34.50750732421875" z="0.0030253599397838116"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_close_to_adversary_12863">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-19.08462142944336" y="-69.23922729492188" z="0.033788833767175674"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_w_transform_12865">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-26.2247257232666" y="-5.526680946350098" z="0.5"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_w_transform_12866">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="26.131317138671875" y="53.08591842651367" z="0.5"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_w_transform_12868">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="34.5788459777832" y="17.204574584960938" z="0.5"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_close_to_standing_12869">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-10.736603736877441" y="30.6551570892334" z="0.0030371856410056353"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_close_to_hero_12871">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="6.618083953857422" y="-156.4303436279297" z="0.0014286803780123591"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
</Actions>
</Init>
<Story name="MyStory">
<Act name="Behavior">
<ManeuverGroup maximumExecutionCount="1" name="ManeuverSequence">
<Actors selectTriggeringEntities="false">
<EntityRef entityRef="adversary"/>
</Actors>
<Maneuver name="LaneChangeSimpleManeuver">
<Event name="AdversaryAccelerates" priority="overwrite">
<Action name="AdversaryAccelerates">
<PrivateAction>
<LongitudinalAction>
<SpeedAction>
<SpeedActionDynamics dynamicsShape="step" value="50" dynamicsDimension="distance"/>
<SpeedActionTarget>
<AbsoluteTargetSpeed value="5.0"/>
</SpeedActionTarget>
</SpeedAction>
</LongitudinalAction>
</PrivateAction>
</Action>
<StartTrigger>
<ConditionGroup>
<Condition name="StartCondition" delay="0" conditionEdge="rising">
<ByEntityCondition>
<TriggeringEntities triggeringEntitiesRule="any">
<EntityRef entityRef="hero"/>
</TriggeringEntities>
<EntityCondition>
<RelativeDistanceCondition entityRef="adversary" relativeDistanceType="cartesianDistance" value="40.0" freespace="false" rule="lessThan"/>
</EntityCondition>
</ByEntityCondition>
</Condition>
</ConditionGroup>
</StartTrigger>
</Event>
<Event name="AdversaryChangesLane" priority="overwrite">
<Action name="AdversaryChangesLane">
<PrivateAction>
<LateralAction>
<LaneChangeAction>
<LaneChangeActionDynamics dynamicsShape="linear" value="25" dynamicsDimension="distance"/>
<LaneChangeTarget>
<RelativeTargetLane entityRef="adversary" value="-1"/>
</LaneChangeTarget>
</LaneChangeAction>
</LateralAction>
</PrivateAction>
</Action>
<StartTrigger>
<ConditionGroup>
<Condition name="AfterAdversaryAccelerates" delay="0" conditionEdge="rising">
<ByValueCondition>
<StoryboardElementStateCondition storyboardElementType="action" storyboardElementRef="AdversaryAccelerates" state="completeState"/>
</ByValueCondition>
</Condition>
</ConditionGroup>
</StartTrigger>
</Event>
</Maneuver>
</ManeuverGroup>
<StartTrigger>
<ConditionGroup>
<Condition name="OverallStartCondition" delay="0" conditionEdge="rising">
<ByEntityCondition>
<TriggeringEntities triggeringEntitiesRule="any">
<EntityRef entityRef="hero"/>
</TriggeringEntities>
<EntityCondition>
<TraveledDistanceCondition value="1.0"/>
</EntityCondition>
</ByEntityCondition>
</Condition>
<Condition name="StartTime" delay="0" conditionEdge="rising">
<ByValueCondition>
<SimulationTimeCondition value="0" rule="equalTo"/>
</ByValueCondition>
</Condition>
</ConditionGroup>
</StartTrigger>
<StopTrigger>
<ConditionGroup>
<Condition name="EndCondition" delay="0" conditionEdge="rising">
<ByEntityCondition>
<TriggeringEntities triggeringEntitiesRule="any">
<EntityRef entityRef="hero"/>
</TriggeringEntities>
<EntityCondition>
<TraveledDistanceCondition value="200.0"/>
</EntityCondition>
</ByEntityCondition>
</Condition>
</ConditionGroup>
</StopTrigger>
</Act>
</Story>
<StopTrigger>
<ConditionGroup>
<Condition name="criteria_RunningStopTest" delay="0" conditionEdge="rising">
<ByValueCondition>
<ParameterCondition parameterRef="" value="" rule="lessThan"/>
</ByValueCondition>
</Condition>
<Condition name="criteria_RunningRedLightTest" delay="0" conditionEdge="rising">
<ByValueCondition>
<ParameterCondition parameterRef="" value="" rule="lessThan"/>
</ByValueCondition>
</Condition>
<Condition name="criteria_WrongLaneTest" delay="0" conditionEdge="rising">
<ByValueCondition>
<ParameterCondition parameterRef="" value="" rule="lessThan"/>
</ByValueCondition>
</Condition>
<Condition name="criteria_OnSidewalkTest" delay="0" conditionEdge="rising">
<ByValueCondition>
<ParameterCondition parameterRef="" value="" rule="lessThan"/>
</ByValueCondition>
</Condition>
<Condition name="criteria_KeepLaneTest" delay="0" conditionEdge="rising">
<ByValueCondition>
<ParameterCondition parameterRef="" value="" rule="lessThan"/>
</ByValueCondition>
</Condition>
<Condition name="criteria_CollisionTest" delay="0" conditionEdge="rising">
<ByValueCondition>
<ParameterCondition parameterRef="" value="" rule="lessThan"/>
</ByValueCondition>
</Condition>
<Condition name="criteria_DrivenDistanceTest" delay="0" conditionEdge="rising">
<ByValueCondition>
<ParameterCondition parameterRef="distance_success" value="100" rule="lessThan"/>
</ByValueCondition>
</Condition>
</ConditionGroup>
</StopTrigger>
</Storyboard>
</OpenSCENARIO>
``` |
can you 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_16756">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_close_to_standing_16757">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
</Entities>
<Storyboard>
<Init>
<Actions>
<GlobalAction>
<EnvironmentAction>
<Environment name="Environment1">
<TimeOfDay animation="false" dateTime="2019-06-25T12:00:00"/>
<Weather cloudState="free">
<Sun intensity="0.85" azimuth="0" elevation="1.31"/>
<Fog visualRange="100000.0"/>
<Precipitation precipitationType="dry" intensity="0.0"/>
</Weather>
<RoadCondition frictionScaleFactor="1.0"/>
</Environment>
</EnvironmentAction>
</GlobalAction>
<Private entityRef="hero">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-9.4" y="-152.8" z="0.5" h="1.57079632679"/>
</Position>
</TeleportAction>
</PrivateAction>
<PrivateAction>
<ControllerAction>
<AssignControllerAction>
<Controller name="HeroAgent">
<Properties>
<Property name="module" value="external_control"/>
</Properties>
</Controller>
</AssignControllerAction>
<OverrideControllerValueAction>
<Throttle value="0" active="false"/>
<Brake value="0" active="false"/>
<Clutch value="0" active="false"/>
<ParkingBrake value="0" active="false"/>
<SteeringWheel value="0" active="false"/>
<Gear number="0" active="false"/>
</OverrideControllerValueAction>
</ControllerAction>
</PrivateAction>
</Private>
<Private entityRef="adversary">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-9.4" y="-71.0" z="0.5" h="1.57079632679"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="standing">
<PrivateAction>
<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_16756">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-19.25432777404785" y="-154.85989379882812" z="0.0014286803780123591"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_close_to_standing_16757">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-4.279826641082764" y="22.090538024902344" z="0.0030757903587073088"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
</Actions>
</Init>
<Story name="MyStory">
<Act name="Behavior">
<ManeuverGroup maximumExecutionCount="1" name="ManeuverSequence">
<Actors selectTriggeringEntities="false">
<EntityRef entityRef="adversary"/>
</Actors>
<Maneuver name="LaneChangeSimpleManeuver">
<Event name="AdversaryAccelerates" priority="overwrite">
<Action name="AdversaryAccelerates">
<PrivateAction>
<LongitudinalAction>
<SpeedAction>
<SpeedActionDynamics dynamicsShape="step" value="50" dynamicsDimension="distance"/>
<SpeedActionTarget>
<AbsoluteTargetSpeed value="5.0"/>
</SpeedActionTarget>
</SpeedAction>
</LongitudinalAction>
</PrivateAction>
</Action>
<StartTrigger>
<ConditionGroup>
<Condition name="StartCondition" delay="0" conditionEdge="rising">
<ByEntityCondition>
<TriggeringEntities triggeringEntitiesRule="any">
<EntityRef entityRef="hero"/>
</TriggeringEntities>
<EntityCondition>
<RelativeDistanceCondition entityRef="adversary" relativeDistanceType="cartesianDistance" value="40.0" freespace="false" rule="lessThan"/>
</EntityCondition>
</ByEntityCondition>
</Condition>
</ConditionGroup>
</StartTrigger>
</Event>
<Event name="AdversaryChangesLane" priority="overwrite">
<Action name="AdversaryChangesLane">
<PrivateAction>
<LateralAction>
<LaneChangeAction>
<LaneChangeActionDynamics dynamicsShape="linear" value="25" dynamicsDimension="distance"/>
<LaneChangeTarget>
<RelativeTargetLane entityRef="adversary" value="-1"/>
</LaneChangeTarget>
</LaneChangeAction>
</LateralAction>
</PrivateAction>
</Action>
<StartTrigger>
<ConditionGroup>
<Condition name="AfterAdversaryAccelerates" delay="0" conditionEdge="rising">
<ByValueCondition>
<StoryboardElementStateCondition storyboardElementType="action" storyboardElementRef="AdversaryAccelerates" state="completeState"/>
</ByValueCondition>
</Condition>
</ConditionGroup>
</StartTrigger>
</Event>
</Maneuver>
</ManeuverGroup>
<StartTrigger>
<ConditionGroup>
<Condition name="OverallStartCondition" delay="0" conditionEdge="rising">
<ByEntityCondition>
<TriggeringEntities triggeringEntitiesRule="any">
<EntityRef entityRef="hero"/>
</TriggeringEntities>
<EntityCondition>
<TraveledDistanceCondition value="1.0"/>
</EntityCondition>
</ByEntityCondition>
</Condition>
<Condition name="StartTime" delay="0" conditionEdge="rising">
<ByValueCondition>
<SimulationTimeCondition value="0" rule="equalTo"/>
</ByValueCondition>
</Condition>
</ConditionGroup>
</StartTrigger>
<StopTrigger>
<ConditionGroup>
<Condition name="EndCondition" delay="0" conditionEdge="rising">
<ByEntityCondition>
<TriggeringEntities triggeringEntitiesRule="any">
<EntityRef entityRef="hero"/>
</TriggeringEntities>
<EntityCondition>
<TraveledDistanceCondition value="200.0"/>
</EntityCondition>
</ByEntityCondition>
</Condition>
</ConditionGroup>
</StopTrigger>
</Act>
</Story>
<StopTrigger>
<ConditionGroup>
<Condition name="criteria_RunningStopTest" delay="0" conditionEdge="rising">
<ByValueCondition>
<ParameterCondition parameterRef="" value="" rule="lessThan"/>
</ByValueCondition>
</Condition>
<Condition name="criteria_RunningRedLightTest" delay="0" conditionEdge="rising">
<ByValueCondition>
<ParameterCondition parameterRef="" value="" rule="lessThan"/>
</ByValueCondition>
</Condition>
<Condition name="criteria_WrongLaneTest" delay="0" conditionEdge="rising">
<ByValueCondition>
<ParameterCondition parameterRef="" value="" rule="lessThan"/>
</ByValueCondition>
</Condition>
<Condition name="criteria_OnSidewalkTest" delay="0" conditionEdge="rising">
<ByValueCondition>
<ParameterCondition parameterRef="" value="" rule="lessThan"/>
</ByValueCondition>
</Condition>
<Condition name="criteria_KeepLaneTest" delay="0" conditionEdge="rising">
<ByValueCondition>
<ParameterCondition parameterRef="" value="" rule="lessThan"/>
</ByValueCondition>
</Condition>
<Condition name="criteria_CollisionTest" delay="0" conditionEdge="rising">
<ByValueCondition>
<ParameterCondition parameterRef="" value="" rule="lessThan"/>
</ByValueCondition>
</Condition>
<Condition name="criteria_DrivenDistanceTest" delay="0" conditionEdge="rising">
<ByValueCondition>
<ParameterCondition parameterRef="distance_success" value="100" rule="lessThan"/>
</ByValueCondition>
</Condition>
</ConditionGroup>
</StopTrigger>
</Storyboard>
</OpenSCENARIO>
``` | Here is the result:
```
<?xml version="1.0" ?>
<OpenSCENARIO>
<FileHeader revMajor="1" revMinor="0" date="2020-03-24T12:00:00" description="CARLA:LaneChangeSimple" author=""/>
<ParameterDeclarations/>
<CatalogLocations/>
<RoadNetwork>
<LogicFile filepath="Town04"/>
<SceneGraphFile filepath=""/>
</RoadNetwork>
<Entities>
<ScenarioObject name="hero">
<Vehicle name="vehicle.tesla.model3" vehicleCategory="car">
<ParameterDeclarations/>
<Performance maxSpeed="69.444" maxAcceleration="200" maxDeceleration="10.0"/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2.1" length="4.5" height="1.8"/>
</BoundingBox>
<Axles>
<FrontAxle maxSteering="0.5" wheelDiameter="0.6" trackWidth="1.8" positionX="3.1" positionZ="0.3"/>
<RearAxle maxSteering="0.0" wheelDiameter="0.6" trackWidth="1.8" positionX="0.0" positionZ="0.3"/>
</Axles>
<Properties>
<Property name="type" value="ego_vehicle"/>
</Properties>
</Vehicle>
</ScenarioObject>
<ScenarioObject name="adversary">
<Vehicle name="vehicle.lincoln.mkz_2017" vehicleCategory="car">
<ParameterDeclarations/>
<Performance maxSpeed="69.444" maxAcceleration="200" maxDeceleration="10.0"/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2.1" length="4.5" height="1.8"/>
</BoundingBox>
<Axles>
<FrontAxle maxSteering="0.5" wheelDiameter="0.6" trackWidth="1.8" positionX="3.1" positionZ="0.3"/>
<RearAxle maxSteering="0.0" wheelDiameter="0.6" trackWidth="1.8" positionX="0.0" positionZ="0.3"/>
</Axles>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Vehicle>
</ScenarioObject>
<ScenarioObject name="standing">
<Vehicle name="vehicle.volkswagen.t2" vehicleCategory="car">
<ParameterDeclarations/>
<Performance maxSpeed="69.444" maxAcceleration="200" maxDeceleration="10.0"/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2.1" length="4.5" height="1.8"/>
</BoundingBox>
<Axles>
<FrontAxle maxSteering="0.5" wheelDiameter="0.6" trackWidth="1.8" positionX="3.1" positionZ="0.3"/>
<RearAxle maxSteering="0.0" wheelDiameter="0.6" 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_16756">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_close_to_standing_16757">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_close_to_hero_16758">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
</Entities>
<Storyboard>
<Init>
<Actions>
<GlobalAction>
<EnvironmentAction>
<Environment name="Environment1">
<TimeOfDay animation="false" dateTime="2019-06-25T12:00:00"/>
<Weather cloudState="free">
<Sun intensity="0.85" azimuth="0" elevation="1.31"/>
<Fog visualRange="100000.0"/>
<Precipitation precipitationType="dry" intensity="0.0"/>
</Weather>
<RoadCondition frictionScaleFactor="1.0"/>
</Environment>
</EnvironmentAction>
</GlobalAction>
<Private entityRef="hero">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-9.4" y="-152.8" z="0.5" h="1.57079632679"/>
</Position>
</TeleportAction>
</PrivateAction>
<PrivateAction>
<ControllerAction>
<AssignControllerAction>
<Controller name="HeroAgent">
<Properties>
<Property name="module" value="external_control"/>
</Properties>
</Controller>
</AssignControllerAction>
<OverrideControllerValueAction>
<Throttle value="0" active="false"/>
<Brake value="0" active="false"/>
<Clutch value="0" active="false"/>
<ParkingBrake value="0" active="false"/>
<SteeringWheel value="0" active="false"/>
<Gear number="0" active="false"/>
</OverrideControllerValueAction>
</ControllerAction>
</PrivateAction>
</Private>
<Private entityRef="adversary">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-9.4" y="-71.0" z="0.5" h="1.57079632679"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="standing">
<PrivateAction>
<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_16756">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-19.25432777404785" y="-154.85989379882812" z="0.0014286803780123591"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_close_to_standing_16757">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-4.279826641082764" y="22.090538024902344" z="0.0030757903587073088"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_close_to_hero_16758">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-9.797480583190918" y="-158.23892211914062" 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 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_10216">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_w_transform_10217">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_close_to_standing_10218">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
</Entities>
<Storyboard>
<Init>
<Actions>
<GlobalAction>
<EnvironmentAction>
<Environment name="Environment1">
<TimeOfDay animation="false" dateTime="2019-06-25T12:00:00"/>
<Weather cloudState="free">
<Sun intensity="0.85" azimuth="0" elevation="1.31"/>
<Fog visualRange="100000.0"/>
<Precipitation precipitationType="dry" intensity="0.0"/>
</Weather>
<RoadCondition frictionScaleFactor="1.0"/>
</Environment>
</EnvironmentAction>
</GlobalAction>
<Private entityRef="hero">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-9.4" y="-152.8" z="0.5" h="1.57079632679"/>
</Position>
</TeleportAction>
</PrivateAction>
<PrivateAction>
<ControllerAction>
<AssignControllerAction>
<Controller name="HeroAgent">
<Properties>
<Property name="module" value="external_control"/>
</Properties>
</Controller>
</AssignControllerAction>
<OverrideControllerValueAction>
<Throttle value="0" active="false"/>
<Brake value="0" active="false"/>
<Clutch value="0" active="false"/>
<ParkingBrake value="0" active="false"/>
<SteeringWheel value="0" active="false"/>
<Gear number="0" active="false"/>
</OverrideControllerValueAction>
</ControllerAction>
</PrivateAction>
</Private>
<Private entityRef="adversary">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-9.4" y="-71.0" z="0.5" h="1.57079632679"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="standing">
<PrivateAction>
<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_10216">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-2.172023296356201" y="-162.30908203125" z="0.0014286803780123591"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_w_transform_10217">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="15.256956100463867" y="18.88723373413086" z="0.5"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_close_to_standing_10218">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-14.752120018005371" y="30.143108367919922" z="0.003073730506002903"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
</Actions>
</Init>
<Story name="MyStory">
<Act name="Behavior">
<ManeuverGroup maximumExecutionCount="1" name="ManeuverSequence">
<Actors selectTriggeringEntities="false">
<EntityRef entityRef="adversary"/>
</Actors>
<Maneuver name="LaneChangeSimpleManeuver">
<Event name="AdversaryAccelerates" priority="overwrite">
<Action name="AdversaryAccelerates">
<PrivateAction>
<LongitudinalAction>
<SpeedAction>
<SpeedActionDynamics dynamicsShape="step" value="50" dynamicsDimension="distance"/>
<SpeedActionTarget>
<AbsoluteTargetSpeed value="5.0"/>
</SpeedActionTarget>
</SpeedAction>
</LongitudinalAction>
</PrivateAction>
</Action>
<StartTrigger>
<ConditionGroup>
<Condition name="StartCondition" delay="0" conditionEdge="rising">
<ByEntityCondition>
<TriggeringEntities triggeringEntitiesRule="any">
<EntityRef entityRef="hero"/>
</TriggeringEntities>
<EntityCondition>
<RelativeDistanceCondition entityRef="adversary" relativeDistanceType="cartesianDistance" value="40.0" freespace="false" rule="lessThan"/>
</EntityCondition>
</ByEntityCondition>
</Condition>
</ConditionGroup>
</StartTrigger>
</Event>
<Event name="AdversaryChangesLane" priority="overwrite">
<Action name="AdversaryChangesLane">
<PrivateAction>
<LateralAction>
<LaneChangeAction>
<LaneChangeActionDynamics dynamicsShape="linear" value="25" dynamicsDimension="distance"/>
<LaneChangeTarget>
<RelativeTargetLane entityRef="adversary" value="-1"/>
</LaneChangeTarget>
</LaneChangeAction>
</LateralAction>
</PrivateAction>
</Action>
<StartTrigger>
<ConditionGroup>
<Condition name="AfterAdversaryAccelerates" delay="0" conditionEdge="rising">
<ByValueCondition>
<StoryboardElementStateCondition storyboardElementType="action" storyboardElementRef="AdversaryAccelerates" state="completeState"/>
</ByValueCondition>
</Condition>
</ConditionGroup>
</StartTrigger>
</Event>
</Maneuver>
</ManeuverGroup>
<StartTrigger>
<ConditionGroup>
<Condition name="OverallStartCondition" delay="0" conditionEdge="rising">
<ByEntityCondition>
<TriggeringEntities triggeringEntitiesRule="any">
<EntityRef entityRef="hero"/>
</TriggeringEntities>
<EntityCondition>
<TraveledDistanceCondition value="1.0"/>
</EntityCondition>
</ByEntityCondition>
</Condition>
<Condition name="StartTime" delay="0" conditionEdge="rising">
<ByValueCondition>
<SimulationTimeCondition value="0" rule="equalTo"/>
</ByValueCondition>
</Condition>
</ConditionGroup>
</StartTrigger>
<StopTrigger>
<ConditionGroup>
<Condition name="EndCondition" delay="0" conditionEdge="rising">
<ByEntityCondition>
<TriggeringEntities triggeringEntitiesRule="any">
<EntityRef entityRef="hero"/>
</TriggeringEntities>
<EntityCondition>
<TraveledDistanceCondition value="200.0"/>
</EntityCondition>
</ByEntityCondition>
</Condition>
</ConditionGroup>
</StopTrigger>
</Act>
</Story>
<StopTrigger>
<ConditionGroup>
<Condition name="criteria_RunningStopTest" delay="0" conditionEdge="rising">
<ByValueCondition>
<ParameterCondition parameterRef="" value="" rule="lessThan"/>
</ByValueCondition>
</Condition>
<Condition name="criteria_RunningRedLightTest" delay="0" conditionEdge="rising">
<ByValueCondition>
<ParameterCondition parameterRef="" value="" rule="lessThan"/>
</ByValueCondition>
</Condition>
<Condition name="criteria_WrongLaneTest" delay="0" conditionEdge="rising">
<ByValueCondition>
<ParameterCondition parameterRef="" value="" rule="lessThan"/>
</ByValueCondition>
</Condition>
<Condition name="criteria_OnSidewalkTest" delay="0" conditionEdge="rising">
<ByValueCondition>
<ParameterCondition parameterRef="" value="" rule="lessThan"/>
</ByValueCondition>
</Condition>
<Condition name="criteria_KeepLaneTest" delay="0" conditionEdge="rising">
<ByValueCondition>
<ParameterCondition parameterRef="" value="" rule="lessThan"/>
</ByValueCondition>
</Condition>
<Condition name="criteria_CollisionTest" delay="0" conditionEdge="rising">
<ByValueCondition>
<ParameterCondition parameterRef="" value="" rule="lessThan"/>
</ByValueCondition>
</Condition>
<Condition name="criteria_DrivenDistanceTest" delay="0" conditionEdge="rising">
<ByValueCondition>
<ParameterCondition parameterRef="distance_success" value="100" rule="lessThan"/>
</ByValueCondition>
</Condition>
</ConditionGroup>
</StopTrigger>
</Storyboard>
</OpenSCENARIO>
``` | Here is the result:
```
<?xml version="1.0" ?>
<OpenSCENARIO>
<FileHeader revMajor="1" revMinor="0" date="2020-03-24T12:00:00" description="CARLA:LaneChangeSimple" author=""/>
<ParameterDeclarations/>
<CatalogLocations/>
<RoadNetwork>
<LogicFile filepath="Town04"/>
<SceneGraphFile filepath=""/>
</RoadNetwork>
<Entities>
<ScenarioObject name="hero">
<Vehicle name="vehicle.tesla.model3" vehicleCategory="car">
<ParameterDeclarations/>
<Performance maxSpeed="69.444" maxAcceleration="200" maxDeceleration="10.0"/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2.1" length="4.5" height="1.8"/>
</BoundingBox>
<Axles>
<FrontAxle maxSteering="0.5" wheelDiameter="0.6" trackWidth="1.8" positionX="3.1" positionZ="0.3"/>
<RearAxle maxSteering="0.0" wheelDiameter="0.6" trackWidth="1.8" positionX="0.0" positionZ="0.3"/>
</Axles>
<Properties>
<Property name="type" value="ego_vehicle"/>
</Properties>
</Vehicle>
</ScenarioObject>
<ScenarioObject name="adversary">
<Vehicle name="vehicle.lincoln.mkz_2017" vehicleCategory="car">
<ParameterDeclarations/>
<Performance maxSpeed="69.444" maxAcceleration="200" maxDeceleration="10.0"/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2.1" length="4.5" height="1.8"/>
</BoundingBox>
<Axles>
<FrontAxle maxSteering="0.5" wheelDiameter="0.6" trackWidth="1.8" positionX="3.1" positionZ="0.3"/>
<RearAxle maxSteering="0.0" wheelDiameter="0.6" trackWidth="1.8" positionX="0.0" positionZ="0.3"/>
</Axles>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Vehicle>
</ScenarioObject>
<ScenarioObject name="standing">
<Vehicle name="vehicle.volkswagen.t2" vehicleCategory="car">
<ParameterDeclarations/>
<Performance maxSpeed="69.444" maxAcceleration="200" maxDeceleration="10.0"/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2.1" length="4.5" height="1.8"/>
</BoundingBox>
<Axles>
<FrontAxle maxSteering="0.5" wheelDiameter="0.6" trackWidth="1.8" positionX="3.1" positionZ="0.3"/>
<RearAxle maxSteering="0.0" wheelDiameter="0.6" 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_10216">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_w_transform_10217">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_close_to_standing_10218">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_close_to_standing_10219">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
</Entities>
<Storyboard>
<Init>
<Actions>
<GlobalAction>
<EnvironmentAction>
<Environment name="Environment1">
<TimeOfDay animation="false" dateTime="2019-06-25T12:00:00"/>
<Weather cloudState="free">
<Sun intensity="0.85" azimuth="0" elevation="1.31"/>
<Fog visualRange="100000.0"/>
<Precipitation precipitationType="dry" intensity="0.0"/>
</Weather>
<RoadCondition frictionScaleFactor="1.0"/>
</Environment>
</EnvironmentAction>
</GlobalAction>
<Private entityRef="hero">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-9.4" y="-152.8" z="0.5" h="1.57079632679"/>
</Position>
</TeleportAction>
</PrivateAction>
<PrivateAction>
<ControllerAction>
<AssignControllerAction>
<Controller name="HeroAgent">
<Properties>
<Property name="module" value="external_control"/>
</Properties>
</Controller>
</AssignControllerAction>
<OverrideControllerValueAction>
<Throttle value="0" active="false"/>
<Brake value="0" active="false"/>
<Clutch value="0" active="false"/>
<ParkingBrake value="0" active="false"/>
<SteeringWheel value="0" active="false"/>
<Gear number="0" active="false"/>
</OverrideControllerValueAction>
</ControllerAction>
</PrivateAction>
</Private>
<Private entityRef="adversary">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-9.4" y="-71.0" z="0.5" h="1.57079632679"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="standing">
<PrivateAction>
<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_10216">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-2.172023296356201" y="-162.30908203125" z="0.0014286803780123591"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_w_transform_10217">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="15.256956100463867" y="18.88723373413086" z="0.5"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_close_to_standing_10218">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-14.752120018005371" y="30.143108367919922" z="0.003073730506002903"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_close_to_standing_10219">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-12.520284652709961" y="23.11257553100586" z="0.00310764298774302"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
</Actions>
</Init>
<Story name="MyStory">
<Act name="Behavior">
<ManeuverGroup maximumExecutionCount="1" name="ManeuverSequence">
<Actors selectTriggeringEntities="false">
<EntityRef entityRef="adversary"/>
</Actors>
<Maneuver name="LaneChangeSimpleManeuver">
<Event name="AdversaryAccelerates" priority="overwrite">
<Action name="AdversaryAccelerates">
<PrivateAction>
<LongitudinalAction>
<SpeedAction>
<SpeedActionDynamics dynamicsShape="step" value="50" dynamicsDimension="distance"/>
<SpeedActionTarget>
<AbsoluteTargetSpeed value="5.0"/>
</SpeedActionTarget>
</SpeedAction>
</LongitudinalAction>
</PrivateAction>
</Action>
<StartTrigger>
<ConditionGroup>
<Condition name="StartCondition" delay="0" conditionEdge="rising">
<ByEntityCondition>
<TriggeringEntities triggeringEntitiesRule="any">
<EntityRef entityRef="hero"/>
</TriggeringEntities>
<EntityCondition>
<RelativeDistanceCondition entityRef="adversary" relativeDistanceType="cartesianDistance" value="40.0" freespace="false" rule="lessThan"/>
</EntityCondition>
</ByEntityCondition>
</Condition>
</ConditionGroup>
</StartTrigger>
</Event>
<Event name="AdversaryChangesLane" priority="overwrite">
<Action name="AdversaryChangesLane">
<PrivateAction>
<LateralAction>
<LaneChangeAction>
<LaneChangeActionDynamics dynamicsShape="linear" value="25" dynamicsDimension="distance"/>
<LaneChangeTarget>
<RelativeTargetLane entityRef="adversary" value="-1"/>
</LaneChangeTarget>
</LaneChangeAction>
</LateralAction>
</PrivateAction>
</Action>
<StartTrigger>
<ConditionGroup>
<Condition name="AfterAdversaryAccelerates" delay="0" conditionEdge="rising">
<ByValueCondition>
<StoryboardElementStateCondition storyboardElementType="action" storyboardElementRef="AdversaryAccelerates" state="completeState"/>
</ByValueCondition>
</Condition>
</ConditionGroup>
</StartTrigger>
</Event>
</Maneuver>
</ManeuverGroup>
<StartTrigger>
<ConditionGroup>
<Condition name="OverallStartCondition" delay="0" conditionEdge="rising">
<ByEntityCondition>
<TriggeringEntities triggeringEntitiesRule="any">
<EntityRef entityRef="hero"/>
</TriggeringEntities>
<EntityCondition>
<TraveledDistanceCondition value="1.0"/>
</EntityCondition>
</ByEntityCondition>
</Condition>
<Condition name="StartTime" delay="0" conditionEdge="rising">
<ByValueCondition>
<SimulationTimeCondition value="0" rule="equalTo"/>
</ByValueCondition>
</Condition>
</ConditionGroup>
</StartTrigger>
<StopTrigger>
<ConditionGroup>
<Condition name="EndCondition" delay="0" conditionEdge="rising">
<ByEntityCondition>
<TriggeringEntities triggeringEntitiesRule="any">
<EntityRef entityRef="hero"/>
</TriggeringEntities>
<EntityCondition>
<TraveledDistanceCondition value="200.0"/>
</EntityCondition>
</ByEntityCondition>
</Condition>
</ConditionGroup>
</StopTrigger>
</Act>
</Story>
<StopTrigger>
<ConditionGroup>
<Condition name="criteria_RunningStopTest" delay="0" conditionEdge="rising">
<ByValueCondition>
<ParameterCondition parameterRef="" value="" rule="lessThan"/>
</ByValueCondition>
</Condition>
<Condition name="criteria_RunningRedLightTest" delay="0" conditionEdge="rising">
<ByValueCondition>
<ParameterCondition parameterRef="" value="" rule="lessThan"/>
</ByValueCondition>
</Condition>
<Condition name="criteria_WrongLaneTest" delay="0" conditionEdge="rising">
<ByValueCondition>
<ParameterCondition parameterRef="" value="" rule="lessThan"/>
</ByValueCondition>
</Condition>
<Condition name="criteria_OnSidewalkTest" delay="0" conditionEdge="rising">
<ByValueCondition>
<ParameterCondition parameterRef="" value="" rule="lessThan"/>
</ByValueCondition>
</Condition>
<Condition name="criteria_KeepLaneTest" delay="0" conditionEdge="rising">
<ByValueCondition>
<ParameterCondition parameterRef="" value="" rule="lessThan"/>
</ByValueCondition>
</Condition>
<Condition name="criteria_CollisionTest" delay="0" conditionEdge="rising">
<ByValueCondition>
<ParameterCondition parameterRef="" value="" rule="lessThan"/>
</ByValueCondition>
</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 (77.29, -26.92, 0.5)?
```
<?xml version="1.0" ?>
<OpenSCENARIO>
<FileHeader revMajor="1" revMinor="0" date="2020-03-24T12:00:00" description="CARLA:LaneChangeSimple" author=""/>
<ParameterDeclarations/>
<CatalogLocations/>
<RoadNetwork>
<LogicFile filepath="Town04"/>
<SceneGraphFile filepath=""/>
</RoadNetwork>
<Entities>
<ScenarioObject name="hero">
<Vehicle name="vehicle.tesla.model3" vehicleCategory="car">
<ParameterDeclarations/>
<Performance maxSpeed="69.444" maxAcceleration="200" maxDeceleration="10.0"/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2.1" length="4.5" height="1.8"/>
</BoundingBox>
<Axles>
<FrontAxle maxSteering="0.5" wheelDiameter="0.6" trackWidth="1.8" positionX="3.1" positionZ="0.3"/>
<RearAxle maxSteering="0.0" wheelDiameter="0.6" trackWidth="1.8" positionX="0.0" positionZ="0.3"/>
</Axles>
<Properties>
<Property name="type" value="ego_vehicle"/>
</Properties>
</Vehicle>
</ScenarioObject>
<ScenarioObject name="adversary">
<Vehicle name="vehicle.lincoln.mkz_2017" vehicleCategory="car">
<ParameterDeclarations/>
<Performance maxSpeed="69.444" maxAcceleration="200" maxDeceleration="10.0"/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2.1" length="4.5" height="1.8"/>
</BoundingBox>
<Axles>
<FrontAxle maxSteering="0.5" wheelDiameter="0.6" trackWidth="1.8" positionX="3.1" positionZ="0.3"/>
<RearAxle maxSteering="0.0" wheelDiameter="0.6" trackWidth="1.8" positionX="0.0" positionZ="0.3"/>
</Axles>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Vehicle>
</ScenarioObject>
<ScenarioObject name="standing">
<Vehicle name="vehicle.volkswagen.t2" vehicleCategory="car">
<ParameterDeclarations/>
<Performance maxSpeed="69.444" maxAcceleration="200" maxDeceleration="10.0"/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2.1" length="4.5" height="1.8"/>
</BoundingBox>
<Axles>
<FrontAxle maxSteering="0.5" wheelDiameter="0.6" trackWidth="1.8" positionX="3.1" positionZ="0.3"/>
<RearAxle maxSteering="0.0" wheelDiameter="0.6" trackWidth="1.8" positionX="0.0" positionZ="0.3"/>
</Axles>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Vehicle>
</ScenarioObject>
<ScenarioObject name="pedestrian_close_to_adversary_5544">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_w_transform_5545">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_w_transform_5546">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
</Entities>
<Storyboard>
<Init>
<Actions>
<GlobalAction>
<EnvironmentAction>
<Environment name="Environment1">
<TimeOfDay animation="false" dateTime="2019-06-25T12:00:00"/>
<Weather cloudState="free">
<Sun intensity="0.85" azimuth="0" elevation="1.31"/>
<Fog visualRange="100000.0"/>
<Precipitation precipitationType="dry" intensity="0.0"/>
</Weather>
<RoadCondition frictionScaleFactor="1.0"/>
</Environment>
</EnvironmentAction>
</GlobalAction>
<Private entityRef="hero">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-9.4" y="-152.8" z="0.5" h="1.57079632679"/>
</Position>
</TeleportAction>
</PrivateAction>
<PrivateAction>
<ControllerAction>
<AssignControllerAction>
<Controller name="HeroAgent">
<Properties>
<Property name="module" value="external_control"/>
</Properties>
</Controller>
</AssignControllerAction>
<OverrideControllerValueAction>
<Throttle value="0" active="false"/>
<Brake value="0" active="false"/>
<Clutch value="0" active="false"/>
<ParkingBrake value="0" active="false"/>
<SteeringWheel value="0" active="false"/>
<Gear number="0" active="false"/>
</OverrideControllerValueAction>
</ControllerAction>
</PrivateAction>
</Private>
<Private entityRef="adversary">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-9.4" y="-71.0" z="0.5" h="1.57079632679"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="standing">
<PrivateAction>
<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_5544">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-9.041838645935059" y="-83.4375991821289" z="0.033820416778326035"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_w_transform_5545">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="91.42152404785156" y="-18.81801414489746" z="0.5"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_w_transform_5546">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-84.18976593017578" y="-98.1284408569336" z="0.5"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
</Actions>
</Init>
<Story name="MyStory">
<Act name="Behavior">
<ManeuverGroup maximumExecutionCount="1" name="ManeuverSequence">
<Actors selectTriggeringEntities="false">
<EntityRef entityRef="adversary"/>
</Actors>
<Maneuver name="LaneChangeSimpleManeuver">
<Event name="AdversaryAccelerates" priority="overwrite">
<Action name="AdversaryAccelerates">
<PrivateAction>
<LongitudinalAction>
<SpeedAction>
<SpeedActionDynamics dynamicsShape="step" value="50" dynamicsDimension="distance"/>
<SpeedActionTarget>
<AbsoluteTargetSpeed value="5.0"/>
</SpeedActionTarget>
</SpeedAction>
</LongitudinalAction>
</PrivateAction>
</Action>
<StartTrigger>
<ConditionGroup>
<Condition name="StartCondition" delay="0" conditionEdge="rising">
<ByEntityCondition>
<TriggeringEntities triggeringEntitiesRule="any">
<EntityRef entityRef="hero"/>
</TriggeringEntities>
<EntityCondition>
<RelativeDistanceCondition entityRef="adversary" relativeDistanceType="cartesianDistance" value="40.0" freespace="false" rule="lessThan"/>
</EntityCondition>
</ByEntityCondition>
</Condition>
</ConditionGroup>
</StartTrigger>
</Event>
<Event name="AdversaryChangesLane" priority="overwrite">
<Action name="AdversaryChangesLane">
<PrivateAction>
<LateralAction>
<LaneChangeAction>
<LaneChangeActionDynamics dynamicsShape="linear" value="25" dynamicsDimension="distance"/>
<LaneChangeTarget>
<RelativeTargetLane entityRef="adversary" value="-1"/>
</LaneChangeTarget>
</LaneChangeAction>
</LateralAction>
</PrivateAction>
</Action>
<StartTrigger>
<ConditionGroup>
<Condition name="AfterAdversaryAccelerates" delay="0" conditionEdge="rising">
<ByValueCondition>
<StoryboardElementStateCondition storyboardElementType="action" storyboardElementRef="AdversaryAccelerates" state="completeState"/>
</ByValueCondition>
</Condition>
</ConditionGroup>
</StartTrigger>
</Event>
</Maneuver>
</ManeuverGroup>
<StartTrigger>
<ConditionGroup>
<Condition name="OverallStartCondition" delay="0" conditionEdge="rising">
<ByEntityCondition>
<TriggeringEntities triggeringEntitiesRule="any">
<EntityRef entityRef="hero"/>
</TriggeringEntities>
<EntityCondition>
<TraveledDistanceCondition value="1.0"/>
</EntityCondition>
</ByEntityCondition>
</Condition>
<Condition name="StartTime" delay="0" conditionEdge="rising">
<ByValueCondition>
<SimulationTimeCondition value="0" rule="equalTo"/>
</ByValueCondition>
</Condition>
</ConditionGroup>
</StartTrigger>
<StopTrigger>
<ConditionGroup>
<Condition name="EndCondition" delay="0" conditionEdge="rising">
<ByEntityCondition>
<TriggeringEntities triggeringEntitiesRule="any">
<EntityRef entityRef="hero"/>
</TriggeringEntities>
<EntityCondition>
<TraveledDistanceCondition value="200.0"/>
</EntityCondition>
</ByEntityCondition>
</Condition>
</ConditionGroup>
</StopTrigger>
</Act>
</Story>
<StopTrigger>
<ConditionGroup>
<Condition name="criteria_RunningStopTest" delay="0" conditionEdge="rising">
<ByValueCondition>
<ParameterCondition parameterRef="" value="" rule="lessThan"/>
</ByValueCondition>
</Condition>
<Condition name="criteria_RunningRedLightTest" delay="0" conditionEdge="rising">
<ByValueCondition>
<ParameterCondition parameterRef="" value="" rule="lessThan"/>
</ByValueCondition>
</Condition>
<Condition name="criteria_WrongLaneTest" delay="0" conditionEdge="rising">
<ByValueCondition>
<ParameterCondition parameterRef="" value="" rule="lessThan"/>
</ByValueCondition>
</Condition>
<Condition name="criteria_OnSidewalkTest" delay="0" conditionEdge="rising">
<ByValueCondition>
<ParameterCondition parameterRef="" value="" rule="lessThan"/>
</ByValueCondition>
</Condition>
<Condition name="criteria_KeepLaneTest" delay="0" conditionEdge="rising">
<ByValueCondition>
<ParameterCondition parameterRef="" value="" rule="lessThan"/>
</ByValueCondition>
</Condition>
<Condition name="criteria_CollisionTest" delay="0" conditionEdge="rising">
<ByValueCondition>
<ParameterCondition parameterRef="" value="" rule="lessThan"/>
</ByValueCondition>
</Condition>
<Condition name="criteria_DrivenDistanceTest" delay="0" conditionEdge="rising">
<ByValueCondition>
<ParameterCondition parameterRef="distance_success" value="100" rule="lessThan"/>
</ByValueCondition>
</Condition>
</ConditionGroup>
</StopTrigger>
</Storyboard>
</OpenSCENARIO>
``` | Here is the result:
```
<?xml version="1.0" ?>
<OpenSCENARIO>
<FileHeader revMajor="1" revMinor="0" date="2020-03-24T12:00:00" description="CARLA:LaneChangeSimple" author=""/>
<ParameterDeclarations/>
<CatalogLocations/>
<RoadNetwork>
<LogicFile filepath="Town04"/>
<SceneGraphFile filepath=""/>
</RoadNetwork>
<Entities>
<ScenarioObject name="hero">
<Vehicle name="vehicle.tesla.model3" vehicleCategory="car">
<ParameterDeclarations/>
<Performance maxSpeed="69.444" maxAcceleration="200" maxDeceleration="10.0"/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2.1" length="4.5" height="1.8"/>
</BoundingBox>
<Axles>
<FrontAxle maxSteering="0.5" wheelDiameter="0.6" trackWidth="1.8" positionX="3.1" positionZ="0.3"/>
<RearAxle maxSteering="0.0" wheelDiameter="0.6" trackWidth="1.8" positionX="0.0" positionZ="0.3"/>
</Axles>
<Properties>
<Property name="type" value="ego_vehicle"/>
</Properties>
</Vehicle>
</ScenarioObject>
<ScenarioObject name="adversary">
<Vehicle name="vehicle.lincoln.mkz_2017" vehicleCategory="car">
<ParameterDeclarations/>
<Performance maxSpeed="69.444" maxAcceleration="200" maxDeceleration="10.0"/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2.1" length="4.5" height="1.8"/>
</BoundingBox>
<Axles>
<FrontAxle maxSteering="0.5" wheelDiameter="0.6" trackWidth="1.8" positionX="3.1" positionZ="0.3"/>
<RearAxle maxSteering="0.0" wheelDiameter="0.6" trackWidth="1.8" positionX="0.0" positionZ="0.3"/>
</Axles>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Vehicle>
</ScenarioObject>
<ScenarioObject name="standing">
<Vehicle name="vehicle.volkswagen.t2" vehicleCategory="car">
<ParameterDeclarations/>
<Performance maxSpeed="69.444" maxAcceleration="200" maxDeceleration="10.0"/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2.1" length="4.5" height="1.8"/>
</BoundingBox>
<Axles>
<FrontAxle maxSteering="0.5" wheelDiameter="0.6" trackWidth="1.8" positionX="3.1" positionZ="0.3"/>
<RearAxle maxSteering="0.0" wheelDiameter="0.6" 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_5544">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_w_transform_5545">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_w_transform_5546">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_w_transform_5547">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
</Entities>
<Storyboard>
<Init>
<Actions>
<GlobalAction>
<EnvironmentAction>
<Environment name="Environment1">
<TimeOfDay animation="false" dateTime="2019-06-25T12:00:00"/>
<Weather cloudState="free">
<Sun intensity="0.85" azimuth="0" elevation="1.31"/>
<Fog visualRange="100000.0"/>
<Precipitation precipitationType="dry" intensity="0.0"/>
</Weather>
<RoadCondition frictionScaleFactor="1.0"/>
</Environment>
</EnvironmentAction>
</GlobalAction>
<Private entityRef="hero">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-9.4" y="-152.8" z="0.5" h="1.57079632679"/>
</Position>
</TeleportAction>
</PrivateAction>
<PrivateAction>
<ControllerAction>
<AssignControllerAction>
<Controller name="HeroAgent">
<Properties>
<Property name="module" value="external_control"/>
</Properties>
</Controller>
</AssignControllerAction>
<OverrideControllerValueAction>
<Throttle value="0" active="false"/>
<Brake value="0" active="false"/>
<Clutch value="0" active="false"/>
<ParkingBrake value="0" active="false"/>
<SteeringWheel value="0" active="false"/>
<Gear number="0" active="false"/>
</OverrideControllerValueAction>
</ControllerAction>
</PrivateAction>
</Private>
<Private entityRef="adversary">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-9.4" y="-71.0" z="0.5" h="1.57079632679"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="standing">
<PrivateAction>
<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_5544">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-9.041838645935059" y="-83.4375991821289" z="0.033820416778326035"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_w_transform_5545">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="91.42152404785156" y="-18.81801414489746" z="0.5"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_w_transform_5546">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-84.18976593017578" y="-98.1284408569336" z="0.5"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_w_transform_5547">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="77.2857894897461" y="-26.917089462280273" z="0.5"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
</Actions>
</Init>
<Story name="MyStory">
<Act name="Behavior">
<ManeuverGroup maximumExecutionCount="1" name="ManeuverSequence">
<Actors selectTriggeringEntities="false">
<EntityRef entityRef="adversary"/>
</Actors>
<Maneuver name="LaneChangeSimpleManeuver">
<Event name="AdversaryAccelerates" priority="overwrite">
<Action name="AdversaryAccelerates">
<PrivateAction>
<LongitudinalAction>
<SpeedAction>
<SpeedActionDynamics dynamicsShape="step" value="50" dynamicsDimension="distance"/>
<SpeedActionTarget>
<AbsoluteTargetSpeed value="5.0"/>
</SpeedActionTarget>
</SpeedAction>
</LongitudinalAction>
</PrivateAction>
</Action>
<StartTrigger>
<ConditionGroup>
<Condition name="StartCondition" delay="0" conditionEdge="rising">
<ByEntityCondition>
<TriggeringEntities triggeringEntitiesRule="any">
<EntityRef entityRef="hero"/>
</TriggeringEntities>
<EntityCondition>
<RelativeDistanceCondition entityRef="adversary" relativeDistanceType="cartesianDistance" value="40.0" freespace="false" rule="lessThan"/>
</EntityCondition>
</ByEntityCondition>
</Condition>
</ConditionGroup>
</StartTrigger>
</Event>
<Event name="AdversaryChangesLane" priority="overwrite">
<Action name="AdversaryChangesLane">
<PrivateAction>
<LateralAction>
<LaneChangeAction>
<LaneChangeActionDynamics dynamicsShape="linear" value="25" dynamicsDimension="distance"/>
<LaneChangeTarget>
<RelativeTargetLane entityRef="adversary" value="-1"/>
</LaneChangeTarget>
</LaneChangeAction>
</LateralAction>
</PrivateAction>
</Action>
<StartTrigger>
<ConditionGroup>
<Condition name="AfterAdversaryAccelerates" delay="0" conditionEdge="rising">
<ByValueCondition>
<StoryboardElementStateCondition storyboardElementType="action" storyboardElementRef="AdversaryAccelerates" state="completeState"/>
</ByValueCondition>
</Condition>
</ConditionGroup>
</StartTrigger>
</Event>
</Maneuver>
</ManeuverGroup>
<StartTrigger>
<ConditionGroup>
<Condition name="OverallStartCondition" delay="0" conditionEdge="rising">
<ByEntityCondition>
<TriggeringEntities triggeringEntitiesRule="any">
<EntityRef entityRef="hero"/>
</TriggeringEntities>
<EntityCondition>
<TraveledDistanceCondition value="1.0"/>
</EntityCondition>
</ByEntityCondition>
</Condition>
<Condition name="StartTime" delay="0" conditionEdge="rising">
<ByValueCondition>
<SimulationTimeCondition value="0" rule="equalTo"/>
</ByValueCondition>
</Condition>
</ConditionGroup>
</StartTrigger>
<StopTrigger>
<ConditionGroup>
<Condition name="EndCondition" delay="0" conditionEdge="rising">
<ByEntityCondition>
<TriggeringEntities triggeringEntitiesRule="any">
<EntityRef entityRef="hero"/>
</TriggeringEntities>
<EntityCondition>
<TraveledDistanceCondition value="200.0"/>
</EntityCondition>
</ByEntityCondition>
</Condition>
</ConditionGroup>
</StopTrigger>
</Act>
</Story>
<StopTrigger>
<ConditionGroup>
<Condition name="criteria_RunningStopTest" delay="0" conditionEdge="rising">
<ByValueCondition>
<ParameterCondition parameterRef="" value="" rule="lessThan"/>
</ByValueCondition>
</Condition>
<Condition name="criteria_RunningRedLightTest" delay="0" conditionEdge="rising">
<ByValueCondition>
<ParameterCondition parameterRef="" value="" rule="lessThan"/>
</ByValueCondition>
</Condition>
<Condition name="criteria_WrongLaneTest" delay="0" conditionEdge="rising">
<ByValueCondition>
<ParameterCondition parameterRef="" value="" rule="lessThan"/>
</ByValueCondition>
</Condition>
<Condition name="criteria_OnSidewalkTest" delay="0" conditionEdge="rising">
<ByValueCondition>
<ParameterCondition parameterRef="" value="" rule="lessThan"/>
</ByValueCondition>
</Condition>
<Condition name="criteria_KeepLaneTest" delay="0" conditionEdge="rising">
<ByValueCondition>
<ParameterCondition parameterRef="" value="" rule="lessThan"/>
</ByValueCondition>
</Condition>
<Condition name="criteria_CollisionTest" delay="0" conditionEdge="rising">
<ByValueCondition>
<ParameterCondition parameterRef="" value="" rule="lessThan"/>
</ByValueCondition>
</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_standing_9170">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_close_to_standing_9171">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_close_to_standing_9172">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_close_to_hero_9173">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_w_transform_9174">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_w_transform_9175">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_w_transform_9176">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_close_to_adversary_9178">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_close_to_adversary_9179">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
</Entities>
<Storyboard>
<Init>
<Actions>
<GlobalAction>
<EnvironmentAction>
<Environment name="Environment1">
<TimeOfDay animation="false" dateTime="2019-06-25T12:00:00"/>
<Weather cloudState="free">
<Sun intensity="0.85" azimuth="0" elevation="1.31"/>
<Fog visualRange="100000.0"/>
<Precipitation precipitationType="dry" intensity="0.0"/>
</Weather>
<RoadCondition frictionScaleFactor="1.0"/>
</Environment>
</EnvironmentAction>
</GlobalAction>
<Private entityRef="hero">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-9.4" y="-152.8" z="0.5" h="1.57079632679"/>
</Position>
</TeleportAction>
</PrivateAction>
<PrivateAction>
<ControllerAction>
<AssignControllerAction>
<Controller name="HeroAgent">
<Properties>
<Property name="module" value="external_control"/>
</Properties>
</Controller>
</AssignControllerAction>
<OverrideControllerValueAction>
<Throttle value="0" active="false"/>
<Brake value="0" active="false"/>
<Clutch value="0" active="false"/>
<ParkingBrake value="0" active="false"/>
<SteeringWheel value="0" active="false"/>
<Gear number="0" active="false"/>
</OverrideControllerValueAction>
</ControllerAction>
</PrivateAction>
</Private>
<Private entityRef="adversary">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-9.4" y="-71.0" z="0.5" h="1.57079632679"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="standing">
<PrivateAction>
<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_9170">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-3.6767334938049316" y="23.93494415283203" z="0.0030073928646743298"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_close_to_standing_9171">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-1.7756855487823486" y="20.74528694152832" z="0.0030362701509147882"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_close_to_standing_9172">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-6.67897367477417" y="41.12238311767578" z="0.0030484390445053577"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_close_to_hero_9173">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="7.577947616577148" y="-152.35426330566406" z="0.0014286803780123591"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_w_transform_9174">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-76.75991821289062" y="43.148643493652344" z="0.5"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_w_transform_9175">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-12.749035835266113" y="95.43714141845703" z="0.5"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_w_transform_9176">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-10.966902732849121" y="-52.121238708496094" z="0.5"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_close_to_adversary_9178">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-9.523200035095215" y="-77.60008239746094" z="0.033759575337171555"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_close_to_adversary_9179">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-10.987959861755371" y="-71.74314880371094" z="0.03373660892248154"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
</Actions>
</Init>
<Story name="MyStory">
<Act name="Behavior">
<ManeuverGroup maximumExecutionCount="1" name="ManeuverSequence">
<Actors selectTriggeringEntities="false">
<EntityRef entityRef="adversary"/>
</Actors>
<Maneuver name="LaneChangeSimpleManeuver">
<Event name="AdversaryAccelerates" priority="overwrite">
<Action name="AdversaryAccelerates">
<PrivateAction>
<LongitudinalAction>
<SpeedAction>
<SpeedActionDynamics dynamicsShape="step" value="50" dynamicsDimension="distance"/>
<SpeedActionTarget>
<AbsoluteTargetSpeed value="5.0"/>
</SpeedActionTarget>
</SpeedAction>
</LongitudinalAction>
</PrivateAction>
</Action>
<StartTrigger>
<ConditionGroup>
<Condition name="StartCondition" delay="0" conditionEdge="rising">
<ByEntityCondition>
<TriggeringEntities triggeringEntitiesRule="any">
<EntityRef entityRef="hero"/>
</TriggeringEntities>
<EntityCondition>
<RelativeDistanceCondition entityRef="adversary" relativeDistanceType="cartesianDistance" value="40.0" freespace="false" rule="lessThan"/>
</EntityCondition>
</ByEntityCondition>
</Condition>
</ConditionGroup>
</StartTrigger>
</Event>
<Event name="AdversaryChangesLane" priority="overwrite">
<Action name="AdversaryChangesLane">
<PrivateAction>
<LateralAction>
<LaneChangeAction>
<LaneChangeActionDynamics dynamicsShape="linear" value="25" dynamicsDimension="distance"/>
<LaneChangeTarget>
<RelativeTargetLane entityRef="adversary" value="-1"/>
</LaneChangeTarget>
</LaneChangeAction>
</LateralAction>
</PrivateAction>
</Action>
<StartTrigger>
<ConditionGroup>
<Condition name="AfterAdversaryAccelerates" delay="0" conditionEdge="rising">
<ByValueCondition>
<StoryboardElementStateCondition storyboardElementType="action" storyboardElementRef="AdversaryAccelerates" state="completeState"/>
</ByValueCondition>
</Condition>
</ConditionGroup>
</StartTrigger>
</Event>
</Maneuver>
</ManeuverGroup>
<StartTrigger>
<ConditionGroup>
<Condition name="OverallStartCondition" delay="0" conditionEdge="rising">
<ByEntityCondition>
<TriggeringEntities triggeringEntitiesRule="any">
<EntityRef entityRef="hero"/>
</TriggeringEntities>
<EntityCondition>
<TraveledDistanceCondition value="1.0"/>
</EntityCondition>
</ByEntityCondition>
</Condition>
<Condition name="StartTime" delay="0" conditionEdge="rising">
<ByValueCondition>
<SimulationTimeCondition value="0" rule="equalTo"/>
</ByValueCondition>
</Condition>
</ConditionGroup>
</StartTrigger>
<StopTrigger>
<ConditionGroup>
<Condition name="EndCondition" delay="0" conditionEdge="rising">
<ByEntityCondition>
<TriggeringEntities triggeringEntitiesRule="any">
<EntityRef entityRef="hero"/>
</TriggeringEntities>
<EntityCondition>
<TraveledDistanceCondition value="200.0"/>
</EntityCondition>
</ByEntityCondition>
</Condition>
</ConditionGroup>
</StopTrigger>
</Act>
</Story>
<StopTrigger>
<ConditionGroup>
<Condition name="criteria_RunningStopTest" delay="0" conditionEdge="rising">
<ByValueCondition>
<ParameterCondition parameterRef="" value="" rule="lessThan"/>
</ByValueCondition>
</Condition>
<Condition name="criteria_RunningRedLightTest" delay="0" conditionEdge="rising">
<ByValueCondition>
<ParameterCondition parameterRef="" value="" rule="lessThan"/>
</ByValueCondition>
</Condition>
<Condition name="criteria_WrongLaneTest" delay="0" conditionEdge="rising">
<ByValueCondition>
<ParameterCondition parameterRef="" value="" rule="lessThan"/>
</ByValueCondition>
</Condition>
<Condition name="criteria_OnSidewalkTest" delay="0" conditionEdge="rising">
<ByValueCondition>
<ParameterCondition parameterRef="" value="" rule="lessThan"/>
</ByValueCondition>
</Condition>
<Condition name="criteria_KeepLaneTest" delay="0" conditionEdge="rising">
<ByValueCondition>
<ParameterCondition parameterRef="" value="" rule="lessThan"/>
</ByValueCondition>
</Condition>
<Condition name="criteria_CollisionTest" delay="0" conditionEdge="rising">
<ByValueCondition>
<ParameterCondition parameterRef="" value="" rule="lessThan"/>
</ByValueCondition>
</Condition>
<Condition name="criteria_DrivenDistanceTest" delay="0" conditionEdge="rising">
<ByValueCondition>
<ParameterCondition parameterRef="distance_success" value="100" rule="lessThan"/>
</ByValueCondition>
</Condition>
</ConditionGroup>
</StopTrigger>
</Storyboard>
</OpenSCENARIO>
``` | Here is the result:
```
<?xml version="1.0" ?>
<OpenSCENARIO>
<FileHeader revMajor="1" revMinor="0" date="2020-03-24T12:00:00" description="CARLA:LaneChangeSimple" author=""/>
<ParameterDeclarations/>
<CatalogLocations/>
<RoadNetwork>
<LogicFile filepath="Town04"/>
<SceneGraphFile filepath=""/>
</RoadNetwork>
<Entities>
<ScenarioObject name="hero">
<Vehicle name="vehicle.tesla.model3" vehicleCategory="car">
<ParameterDeclarations/>
<Performance maxSpeed="69.444" maxAcceleration="200" maxDeceleration="10.0"/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2.1" length="4.5" height="1.8"/>
</BoundingBox>
<Axles>
<FrontAxle maxSteering="0.5" wheelDiameter="0.6" trackWidth="1.8" positionX="3.1" positionZ="0.3"/>
<RearAxle maxSteering="0.0" wheelDiameter="0.6" trackWidth="1.8" positionX="0.0" positionZ="0.3"/>
</Axles>
<Properties>
<Property name="type" value="ego_vehicle"/>
</Properties>
</Vehicle>
</ScenarioObject>
<ScenarioObject name="adversary">
<Vehicle name="vehicle.lincoln.mkz_2017" vehicleCategory="car">
<ParameterDeclarations/>
<Performance maxSpeed="69.444" maxAcceleration="200" maxDeceleration="10.0"/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2.1" length="4.5" height="1.8"/>
</BoundingBox>
<Axles>
<FrontAxle maxSteering="0.5" wheelDiameter="0.6" trackWidth="1.8" positionX="3.1" positionZ="0.3"/>
<RearAxle maxSteering="0.0" wheelDiameter="0.6" trackWidth="1.8" positionX="0.0" positionZ="0.3"/>
</Axles>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Vehicle>
</ScenarioObject>
<ScenarioObject name="standing">
<Vehicle name="vehicle.volkswagen.t2" vehicleCategory="car">
<ParameterDeclarations/>
<Performance maxSpeed="69.444" maxAcceleration="200" maxDeceleration="10.0"/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2.1" length="4.5" height="1.8"/>
</BoundingBox>
<Axles>
<FrontAxle maxSteering="0.5" wheelDiameter="0.6" trackWidth="1.8" positionX="3.1" positionZ="0.3"/>
<RearAxle maxSteering="0.0" wheelDiameter="0.6" 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_9170">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_close_to_standing_9171">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_close_to_standing_9172">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_close_to_hero_9173">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_w_transform_9174">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_w_transform_9175">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_w_transform_9176">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_close_to_adversary_9178">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_close_to_adversary_9179">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_close_to_hero_9180">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
</Entities>
<Storyboard>
<Init>
<Actions>
<GlobalAction>
<EnvironmentAction>
<Environment name="Environment1">
<TimeOfDay animation="false" dateTime="2019-06-25T12:00:00"/>
<Weather cloudState="free">
<Sun intensity="0.85" azimuth="0" elevation="1.31"/>
<Fog visualRange="100000.0"/>
<Precipitation precipitationType="dry" intensity="0.0"/>
</Weather>
<RoadCondition frictionScaleFactor="1.0"/>
</Environment>
</EnvironmentAction>
</GlobalAction>
<Private entityRef="hero">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-9.4" y="-152.8" z="0.5" h="1.57079632679"/>
</Position>
</TeleportAction>
</PrivateAction>
<PrivateAction>
<ControllerAction>
<AssignControllerAction>
<Controller name="HeroAgent">
<Properties>
<Property name="module" value="external_control"/>
</Properties>
</Controller>
</AssignControllerAction>
<OverrideControllerValueAction>
<Throttle value="0" active="false"/>
<Brake value="0" active="false"/>
<Clutch value="0" active="false"/>
<ParkingBrake value="0" active="false"/>
<SteeringWheel value="0" active="false"/>
<Gear number="0" active="false"/>
</OverrideControllerValueAction>
</ControllerAction>
</PrivateAction>
</Private>
<Private entityRef="adversary">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-9.4" y="-71.0" z="0.5" h="1.57079632679"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="standing">
<PrivateAction>
<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_9170">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-3.6767334938049316" y="23.93494415283203" z="0.0030073928646743298"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_close_to_standing_9171">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-1.7756855487823486" y="20.74528694152832" z="0.0030362701509147882"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_close_to_standing_9172">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-6.67897367477417" y="41.12238311767578" z="0.0030484390445053577"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_close_to_hero_9173">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="7.577947616577148" y="-152.35426330566406" z="0.0014286803780123591"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_w_transform_9174">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-76.75991821289062" y="43.148643493652344" z="0.5"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_w_transform_9175">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-12.749035835266113" y="95.43714141845703" z="0.5"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_w_transform_9176">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-10.966902732849121" y="-52.121238708496094" z="0.5"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_close_to_adversary_9178">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-9.523200035095215" y="-77.60008239746094" z="0.033759575337171555"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_close_to_adversary_9179">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-10.987959861755371" y="-71.74314880371094" z="0.03373660892248154"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_close_to_hero_9180">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-15.037562370300293" y="-153.93991088867188" 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 remove pedestrian actor named pedestrian_w_transform_24095?
```
<?xml version="1.0" ?>
<OpenSCENARIO>
<FileHeader revMajor="1" revMinor="0" date="2020-03-24T12:00:00" description="CARLA:LaneChangeSimple" author=""/>
<ParameterDeclarations/>
<CatalogLocations/>
<RoadNetwork>
<LogicFile filepath="Town04"/>
<SceneGraphFile filepath=""/>
</RoadNetwork>
<Entities>
<ScenarioObject name="hero">
<Vehicle name="vehicle.tesla.model3" vehicleCategory="car">
<ParameterDeclarations/>
<Performance maxSpeed="69.444" maxAcceleration="200" maxDeceleration="10.0"/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2.1" length="4.5" height="1.8"/>
</BoundingBox>
<Axles>
<FrontAxle maxSteering="0.5" wheelDiameter="0.6" trackWidth="1.8" positionX="3.1" positionZ="0.3"/>
<RearAxle maxSteering="0.0" wheelDiameter="0.6" trackWidth="1.8" positionX="0.0" positionZ="0.3"/>
</Axles>
<Properties>
<Property name="type" value="ego_vehicle"/>
</Properties>
</Vehicle>
</ScenarioObject>
<ScenarioObject name="adversary">
<Vehicle name="vehicle.lincoln.mkz_2017" vehicleCategory="car">
<ParameterDeclarations/>
<Performance maxSpeed="69.444" maxAcceleration="200" maxDeceleration="10.0"/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2.1" length="4.5" height="1.8"/>
</BoundingBox>
<Axles>
<FrontAxle maxSteering="0.5" wheelDiameter="0.6" trackWidth="1.8" positionX="3.1" positionZ="0.3"/>
<RearAxle maxSteering="0.0" wheelDiameter="0.6" trackWidth="1.8" positionX="0.0" positionZ="0.3"/>
</Axles>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Vehicle>
</ScenarioObject>
<ScenarioObject name="standing">
<Vehicle name="vehicle.volkswagen.t2" vehicleCategory="car">
<ParameterDeclarations/>
<Performance maxSpeed="69.444" maxAcceleration="200" maxDeceleration="10.0"/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2.1" length="4.5" height="1.8"/>
</BoundingBox>
<Axles>
<FrontAxle maxSteering="0.5" wheelDiameter="0.6" trackWidth="1.8" positionX="3.1" positionZ="0.3"/>
<RearAxle maxSteering="0.0" wheelDiameter="0.6" trackWidth="1.8" positionX="0.0" positionZ="0.3"/>
</Axles>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Vehicle>
</ScenarioObject>
<ScenarioObject name="pedestrian_w_transform_24095">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_close_to_adversary_24098">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_close_to_hero_24101">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_close_to_hero_24102">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_w_transform_24107">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_w_transform_24110">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_w_transform_24113">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
</Entities>
<Storyboard>
<Init>
<Actions>
<GlobalAction>
<EnvironmentAction>
<Environment name="Environment1">
<TimeOfDay animation="false" dateTime="2019-06-25T12:00:00"/>
<Weather cloudState="free">
<Sun intensity="0.85" azimuth="0" elevation="1.31"/>
<Fog visualRange="100000.0"/>
<Precipitation precipitationType="dry" intensity="0.0"/>
</Weather>
<RoadCondition frictionScaleFactor="1.0"/>
</Environment>
</EnvironmentAction>
</GlobalAction>
<Private entityRef="hero">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-9.4" y="-152.8" z="0.5" h="1.57079632679"/>
</Position>
</TeleportAction>
</PrivateAction>
<PrivateAction>
<ControllerAction>
<AssignControllerAction>
<Controller name="HeroAgent">
<Properties>
<Property name="module" value="external_control"/>
</Properties>
</Controller>
</AssignControllerAction>
<OverrideControllerValueAction>
<Throttle value="0" active="false"/>
<Brake value="0" active="false"/>
<Clutch value="0" active="false"/>
<ParkingBrake value="0" active="false"/>
<SteeringWheel value="0" active="false"/>
<Gear number="0" active="false"/>
</OverrideControllerValueAction>
</ControllerAction>
</PrivateAction>
</Private>
<Private entityRef="adversary">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-9.4" y="-71.0" z="0.5" h="1.57079632679"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="standing">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-8.2" y="29.2" z="0.5" h="1.57079632679"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_w_transform_24095">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="18.022594451904297" y="7.546180725097656" z="0.5"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_close_to_adversary_24098">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-6.955868244171143" y="-63.737525939941406" z="0.033822592347860336"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_close_to_hero_24101">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-7.791660785675049" y="-139.15711975097656" z="0.0014286803780123591"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_close_to_hero_24102">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-20.184186935424805" y="-143.37098693847656" z="0.0014286803780123591"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_w_transform_24107">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-95.12162780761719" y="92.43637084960938" z="0.5"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_w_transform_24110">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-44.25010299682617" y="68.89396667480469" z="0.5"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_w_transform_24113">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-31.473838806152344" y="49.5799674987793" z="0.5"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
</Actions>
</Init>
<Story name="MyStory">
<Act name="Behavior">
<ManeuverGroup maximumExecutionCount="1" name="ManeuverSequence">
<Actors selectTriggeringEntities="false">
<EntityRef entityRef="adversary"/>
</Actors>
<Maneuver name="LaneChangeSimpleManeuver">
<Event name="AdversaryAccelerates" priority="overwrite">
<Action name="AdversaryAccelerates">
<PrivateAction>
<LongitudinalAction>
<SpeedAction>
<SpeedActionDynamics dynamicsShape="step" value="50" dynamicsDimension="distance"/>
<SpeedActionTarget>
<AbsoluteTargetSpeed value="5.0"/>
</SpeedActionTarget>
</SpeedAction>
</LongitudinalAction>
</PrivateAction>
</Action>
<StartTrigger>
<ConditionGroup>
<Condition name="StartCondition" delay="0" conditionEdge="rising">
<ByEntityCondition>
<TriggeringEntities triggeringEntitiesRule="any">
<EntityRef entityRef="hero"/>
</TriggeringEntities>
<EntityCondition>
<RelativeDistanceCondition entityRef="adversary" relativeDistanceType="cartesianDistance" value="40.0" freespace="false" rule="lessThan"/>
</EntityCondition>
</ByEntityCondition>
</Condition>
</ConditionGroup>
</StartTrigger>
</Event>
<Event name="AdversaryChangesLane" priority="overwrite">
<Action name="AdversaryChangesLane">
<PrivateAction>
<LateralAction>
<LaneChangeAction>
<LaneChangeActionDynamics dynamicsShape="linear" value="25" dynamicsDimension="distance"/>
<LaneChangeTarget>
<RelativeTargetLane entityRef="adversary" value="-1"/>
</LaneChangeTarget>
</LaneChangeAction>
</LateralAction>
</PrivateAction>
</Action>
<StartTrigger>
<ConditionGroup>
<Condition name="AfterAdversaryAccelerates" delay="0" conditionEdge="rising">
<ByValueCondition>
<StoryboardElementStateCondition storyboardElementType="action" storyboardElementRef="AdversaryAccelerates" state="completeState"/>
</ByValueCondition>
</Condition>
</ConditionGroup>
</StartTrigger>
</Event>
</Maneuver>
</ManeuverGroup>
<StartTrigger>
<ConditionGroup>
<Condition name="OverallStartCondition" delay="0" conditionEdge="rising">
<ByEntityCondition>
<TriggeringEntities triggeringEntitiesRule="any">
<EntityRef entityRef="hero"/>
</TriggeringEntities>
<EntityCondition>
<TraveledDistanceCondition value="1.0"/>
</EntityCondition>
</ByEntityCondition>
</Condition>
<Condition name="StartTime" delay="0" conditionEdge="rising">
<ByValueCondition>
<SimulationTimeCondition value="0" rule="equalTo"/>
</ByValueCondition>
</Condition>
</ConditionGroup>
</StartTrigger>
<StopTrigger>
<ConditionGroup>
<Condition name="EndCondition" delay="0" conditionEdge="rising">
<ByEntityCondition>
<TriggeringEntities triggeringEntitiesRule="any">
<EntityRef entityRef="hero"/>
</TriggeringEntities>
<EntityCondition>
<TraveledDistanceCondition value="200.0"/>
</EntityCondition>
</ByEntityCondition>
</Condition>
</ConditionGroup>
</StopTrigger>
</Act>
</Story>
<StopTrigger>
<ConditionGroup>
<Condition name="criteria_RunningStopTest" delay="0" conditionEdge="rising">
<ByValueCondition>
<ParameterCondition parameterRef="" value="" rule="lessThan"/>
</ByValueCondition>
</Condition>
<Condition name="criteria_RunningRedLightTest" delay="0" conditionEdge="rising">
<ByValueCondition>
<ParameterCondition parameterRef="" value="" rule="lessThan"/>
</ByValueCondition>
</Condition>
<Condition name="criteria_WrongLaneTest" delay="0" conditionEdge="rising">
<ByValueCondition>
<ParameterCondition parameterRef="" value="" rule="lessThan"/>
</ByValueCondition>
</Condition>
<Condition name="criteria_OnSidewalkTest" delay="0" conditionEdge="rising">
<ByValueCondition>
<ParameterCondition parameterRef="" value="" rule="lessThan"/>
</ByValueCondition>
</Condition>
<Condition name="criteria_KeepLaneTest" delay="0" conditionEdge="rising">
<ByValueCondition>
<ParameterCondition parameterRef="" value="" rule="lessThan"/>
</ByValueCondition>
</Condition>
<Condition name="criteria_CollisionTest" delay="0" conditionEdge="rising">
<ByValueCondition>
<ParameterCondition parameterRef="" value="" rule="lessThan"/>
</ByValueCondition>
</Condition>
<Condition name="criteria_DrivenDistanceTest" delay="0" conditionEdge="rising">
<ByValueCondition>
<ParameterCondition parameterRef="distance_success" value="100" rule="lessThan"/>
</ByValueCondition>
</Condition>
</ConditionGroup>
</StopTrigger>
</Storyboard>
</OpenSCENARIO>
``` | Here is the result:
```
<?xml version="1.0" ?>
<OpenSCENARIO>
<FileHeader revMajor="1" revMinor="0" date="2020-03-24T12:00:00" description="CARLA:LaneChangeSimple" author=""/>
<ParameterDeclarations/>
<CatalogLocations/>
<RoadNetwork>
<LogicFile filepath="Town04"/>
<SceneGraphFile filepath=""/>
</RoadNetwork>
<Entities>
<ScenarioObject name="hero">
<Vehicle name="vehicle.tesla.model3" vehicleCategory="car">
<ParameterDeclarations/>
<Performance maxSpeed="69.444" maxAcceleration="200" maxDeceleration="10.0"/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2.1" length="4.5" height="1.8"/>
</BoundingBox>
<Axles>
<FrontAxle maxSteering="0.5" wheelDiameter="0.6" trackWidth="1.8" positionX="3.1" positionZ="0.3"/>
<RearAxle maxSteering="0.0" wheelDiameter="0.6" trackWidth="1.8" positionX="0.0" positionZ="0.3"/>
</Axles>
<Properties>
<Property name="type" value="ego_vehicle"/>
</Properties>
</Vehicle>
</ScenarioObject>
<ScenarioObject name="adversary">
<Vehicle name="vehicle.lincoln.mkz_2017" vehicleCategory="car">
<ParameterDeclarations/>
<Performance maxSpeed="69.444" maxAcceleration="200" maxDeceleration="10.0"/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2.1" length="4.5" height="1.8"/>
</BoundingBox>
<Axles>
<FrontAxle maxSteering="0.5" wheelDiameter="0.6" trackWidth="1.8" positionX="3.1" positionZ="0.3"/>
<RearAxle maxSteering="0.0" wheelDiameter="0.6" trackWidth="1.8" positionX="0.0" positionZ="0.3"/>
</Axles>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Vehicle>
</ScenarioObject>
<ScenarioObject name="standing">
<Vehicle name="vehicle.volkswagen.t2" vehicleCategory="car">
<ParameterDeclarations/>
<Performance maxSpeed="69.444" maxAcceleration="200" maxDeceleration="10.0"/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2.1" length="4.5" height="1.8"/>
</BoundingBox>
<Axles>
<FrontAxle maxSteering="0.5" wheelDiameter="0.6" trackWidth="1.8" positionX="3.1" positionZ="0.3"/>
<RearAxle maxSteering="0.0" wheelDiameter="0.6" 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_24098">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_close_to_hero_24101">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_close_to_hero_24102">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_w_transform_24107">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_w_transform_24110">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_w_transform_24113">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
</Entities>
<Storyboard>
<Init>
<Actions>
<GlobalAction>
<EnvironmentAction>
<Environment name="Environment1">
<TimeOfDay animation="false" dateTime="2019-06-25T12:00:00"/>
<Weather cloudState="free">
<Sun intensity="0.85" azimuth="0" elevation="1.31"/>
<Fog visualRange="100000.0"/>
<Precipitation precipitationType="dry" intensity="0.0"/>
</Weather>
<RoadCondition frictionScaleFactor="1.0"/>
</Environment>
</EnvironmentAction>
</GlobalAction>
<Private entityRef="hero">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-9.4" y="-152.8" z="0.5" h="1.57079632679"/>
</Position>
</TeleportAction>
</PrivateAction>
<PrivateAction>
<ControllerAction>
<AssignControllerAction>
<Controller name="HeroAgent">
<Properties>
<Property name="module" value="external_control"/>
</Properties>
</Controller>
</AssignControllerAction>
<OverrideControllerValueAction>
<Throttle value="0" active="false"/>
<Brake value="0" active="false"/>
<Clutch value="0" active="false"/>
<ParkingBrake value="0" active="false"/>
<SteeringWheel value="0" active="false"/>
<Gear number="0" active="false"/>
</OverrideControllerValueAction>
</ControllerAction>
</PrivateAction>
</Private>
<Private entityRef="adversary">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-9.4" y="-71.0" z="0.5" h="1.57079632679"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="standing">
<PrivateAction>
<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_24098">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-6.955868244171143" y="-63.737525939941406" z="0.033822592347860336"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_close_to_hero_24101">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-7.791660785675049" y="-139.15711975097656" z="0.0014286803780123591"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_close_to_hero_24102">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-20.184186935424805" y="-143.37098693847656" z="0.0014286803780123591"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_w_transform_24107">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-95.12162780761719" y="92.43637084960938" z="0.5"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_w_transform_24110">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-44.25010299682617" y="68.89396667480469" z="0.5"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_w_transform_24113">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-31.473838806152344" y="49.5799674987793" z="0.5"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
</Actions>
</Init>
<Story name="MyStory">
<Act name="Behavior">
<ManeuverGroup maximumExecutionCount="1" name="ManeuverSequence">
<Actors selectTriggeringEntities="false">
<EntityRef entityRef="adversary"/>
</Actors>
<Maneuver name="LaneChangeSimpleManeuver">
<Event name="AdversaryAccelerates" priority="overwrite">
<Action name="AdversaryAccelerates">
<PrivateAction>
<LongitudinalAction>
<SpeedAction>
<SpeedActionDynamics dynamicsShape="step" value="50" dynamicsDimension="distance"/>
<SpeedActionTarget>
<AbsoluteTargetSpeed value="5.0"/>
</SpeedActionTarget>
</SpeedAction>
</LongitudinalAction>
</PrivateAction>
</Action>
<StartTrigger>
<ConditionGroup>
<Condition name="StartCondition" delay="0" conditionEdge="rising">
<ByEntityCondition>
<TriggeringEntities triggeringEntitiesRule="any">
<EntityRef entityRef="hero"/>
</TriggeringEntities>
<EntityCondition>
<RelativeDistanceCondition entityRef="adversary" relativeDistanceType="cartesianDistance" value="40.0" freespace="false" rule="lessThan"/>
</EntityCondition>
</ByEntityCondition>
</Condition>
</ConditionGroup>
</StartTrigger>
</Event>
<Event name="AdversaryChangesLane" priority="overwrite">
<Action name="AdversaryChangesLane">
<PrivateAction>
<LateralAction>
<LaneChangeAction>
<LaneChangeActionDynamics dynamicsShape="linear" value="25" dynamicsDimension="distance"/>
<LaneChangeTarget>
<RelativeTargetLane entityRef="adversary" value="-1"/>
</LaneChangeTarget>
</LaneChangeAction>
</LateralAction>
</PrivateAction>
</Action>
<StartTrigger>
<ConditionGroup>
<Condition name="AfterAdversaryAccelerates" delay="0" conditionEdge="rising">
<ByValueCondition>
<StoryboardElementStateCondition storyboardElementType="action" storyboardElementRef="AdversaryAccelerates" state="completeState"/>
</ByValueCondition>
</Condition>
</ConditionGroup>
</StartTrigger>
</Event>
</Maneuver>
</ManeuverGroup>
<StartTrigger>
<ConditionGroup>
<Condition name="OverallStartCondition" delay="0" conditionEdge="rising">
<ByEntityCondition>
<TriggeringEntities triggeringEntitiesRule="any">
<EntityRef entityRef="hero"/>
</TriggeringEntities>
<EntityCondition>
<TraveledDistanceCondition value="1.0"/>
</EntityCondition>
</ByEntityCondition>
</Condition>
<Condition name="StartTime" delay="0" conditionEdge="rising">
<ByValueCondition>
<SimulationTimeCondition value="0" rule="equalTo"/>
</ByValueCondition>
</Condition>
</ConditionGroup>
</StartTrigger>
<StopTrigger>
<ConditionGroup>
<Condition name="EndCondition" delay="0" conditionEdge="rising">
<ByEntityCondition>
<TriggeringEntities triggeringEntitiesRule="any">
<EntityRef entityRef="hero"/>
</TriggeringEntities>
<EntityCondition>
<TraveledDistanceCondition value="200.0"/>
</EntityCondition>
</ByEntityCondition>
</Condition>
</ConditionGroup>
</StopTrigger>
</Act>
</Story>
<StopTrigger>
<ConditionGroup>
<Condition name="criteria_RunningStopTest" delay="0" conditionEdge="rising">
<ByValueCondition>
<ParameterCondition parameterRef="" value="" rule="lessThan"/>
</ByValueCondition>
</Condition>
<Condition name="criteria_RunningRedLightTest" delay="0" conditionEdge="rising">
<ByValueCondition>
<ParameterCondition parameterRef="" value="" rule="lessThan"/>
</ByValueCondition>
</Condition>
<Condition name="criteria_WrongLaneTest" delay="0" conditionEdge="rising">
<ByValueCondition>
<ParameterCondition parameterRef="" value="" rule="lessThan"/>
</ByValueCondition>
</Condition>
<Condition name="criteria_OnSidewalkTest" delay="0" conditionEdge="rising">
<ByValueCondition>
<ParameterCondition parameterRef="" value="" rule="lessThan"/>
</ByValueCondition>
</Condition>
<Condition name="criteria_KeepLaneTest" delay="0" conditionEdge="rising">
<ByValueCondition>
<ParameterCondition parameterRef="" value="" rule="lessThan"/>
</ByValueCondition>
</Condition>
<Condition name="criteria_CollisionTest" delay="0" conditionEdge="rising">
<ByValueCondition>
<ParameterCondition parameterRef="" value="" rule="lessThan"/>
</ByValueCondition>
</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 (-92.66, -55.82, 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_292">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_close_to_adversary_293">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_w_transform_294">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_close_to_hero_295">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
</Entities>
<Storyboard>
<Init>
<Actions>
<GlobalAction>
<EnvironmentAction>
<Environment name="Environment1">
<TimeOfDay animation="false" dateTime="2019-06-25T12:00:00"/>
<Weather cloudState="free">
<Sun intensity="0.85" azimuth="0" elevation="1.31"/>
<Fog visualRange="100000.0"/>
<Precipitation precipitationType="dry" intensity="0.0"/>
</Weather>
<RoadCondition frictionScaleFactor="1.0"/>
</Environment>
</EnvironmentAction>
</GlobalAction>
<Private entityRef="hero">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-9.4" y="-152.8" z="0.5" h="1.57079632679"/>
</Position>
</TeleportAction>
</PrivateAction>
<PrivateAction>
<ControllerAction>
<AssignControllerAction>
<Controller name="HeroAgent">
<Properties>
<Property name="module" value="external_control"/>
</Properties>
</Controller>
</AssignControllerAction>
<OverrideControllerValueAction>
<Throttle value="0" active="false"/>
<Brake value="0" active="false"/>
<Clutch value="0" active="false"/>
<ParkingBrake value="0" active="false"/>
<SteeringWheel value="0" active="false"/>
<Gear number="0" active="false"/>
</OverrideControllerValueAction>
</ControllerAction>
</PrivateAction>
</Private>
<Private entityRef="adversary">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-9.4" y="-71.0" z="0.5" h="1.57079632679"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="standing">
<PrivateAction>
<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_292">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-5.0224995613098145" y="-65.57102966308594" z="0.03379401937127113"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_close_to_adversary_293">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-13.868118286132812" y="-72.73777770996094" z="0.033805083483457565"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_w_transform_294">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-39.000267028808594" y="92.36901092529297" z="0.5"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_close_to_hero_295">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-12.389073371887207" y="-154.97373962402344" 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_292">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_close_to_adversary_293">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_w_transform_294">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_close_to_hero_295">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_w_transform_296">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
</Entities>
<Storyboard>
<Init>
<Actions>
<GlobalAction>
<EnvironmentAction>
<Environment name="Environment1">
<TimeOfDay animation="false" dateTime="2019-06-25T12:00:00"/>
<Weather cloudState="free">
<Sun intensity="0.85" azimuth="0" elevation="1.31"/>
<Fog visualRange="100000.0"/>
<Precipitation precipitationType="dry" intensity="0.0"/>
</Weather>
<RoadCondition frictionScaleFactor="1.0"/>
</Environment>
</EnvironmentAction>
</GlobalAction>
<Private entityRef="hero">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-9.4" y="-152.8" z="0.5" h="1.57079632679"/>
</Position>
</TeleportAction>
</PrivateAction>
<PrivateAction>
<ControllerAction>
<AssignControllerAction>
<Controller name="HeroAgent">
<Properties>
<Property name="module" value="external_control"/>
</Properties>
</Controller>
</AssignControllerAction>
<OverrideControllerValueAction>
<Throttle value="0" active="false"/>
<Brake value="0" active="false"/>
<Clutch value="0" active="false"/>
<ParkingBrake value="0" active="false"/>
<SteeringWheel value="0" active="false"/>
<Gear number="0" active="false"/>
</OverrideControllerValueAction>
</ControllerAction>
</PrivateAction>
</Private>
<Private entityRef="adversary">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-9.4" y="-71.0" z="0.5" h="1.57079632679"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="standing">
<PrivateAction>
<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_292">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-5.0224995613098145" y="-65.57102966308594" z="0.03379401937127113"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_close_to_adversary_293">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-13.868118286132812" y="-72.73777770996094" z="0.033805083483457565"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_w_transform_294">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-39.000267028808594" y="92.36901092529297" z="0.5"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_close_to_hero_295">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-12.389073371887207" y="-154.97373962402344" z="0.0014286803780123591"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_w_transform_296">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-92.658203125" y="-55.81779861450195" z="0.5"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
</Actions>
</Init>
<Story name="MyStory">
<Act name="Behavior">
<ManeuverGroup maximumExecutionCount="1" name="ManeuverSequence">
<Actors selectTriggeringEntities="false">
<EntityRef entityRef="adversary"/>
</Actors>
<Maneuver name="LaneChangeSimpleManeuver">
<Event name="AdversaryAccelerates" priority="overwrite">
<Action name="AdversaryAccelerates">
<PrivateAction>
<LongitudinalAction>
<SpeedAction>
<SpeedActionDynamics dynamicsShape="step" value="50" dynamicsDimension="distance"/>
<SpeedActionTarget>
<AbsoluteTargetSpeed value="5.0"/>
</SpeedActionTarget>
</SpeedAction>
</LongitudinalAction>
</PrivateAction>
</Action>
<StartTrigger>
<ConditionGroup>
<Condition name="StartCondition" delay="0" conditionEdge="rising">
<ByEntityCondition>
<TriggeringEntities triggeringEntitiesRule="any">
<EntityRef entityRef="hero"/>
</TriggeringEntities>
<EntityCondition>
<RelativeDistanceCondition entityRef="adversary" relativeDistanceType="cartesianDistance" value="40.0" freespace="false" rule="lessThan"/>
</EntityCondition>
</ByEntityCondition>
</Condition>
</ConditionGroup>
</StartTrigger>
</Event>
<Event name="AdversaryChangesLane" priority="overwrite">
<Action name="AdversaryChangesLane">
<PrivateAction>
<LateralAction>
<LaneChangeAction>
<LaneChangeActionDynamics dynamicsShape="linear" value="25" dynamicsDimension="distance"/>
<LaneChangeTarget>
<RelativeTargetLane entityRef="adversary" value="-1"/>
</LaneChangeTarget>
</LaneChangeAction>
</LateralAction>
</PrivateAction>
</Action>
<StartTrigger>
<ConditionGroup>
<Condition name="AfterAdversaryAccelerates" delay="0" conditionEdge="rising">
<ByValueCondition>
<StoryboardElementStateCondition storyboardElementType="action" storyboardElementRef="AdversaryAccelerates" state="completeState"/>
</ByValueCondition>
</Condition>
</ConditionGroup>
</StartTrigger>
</Event>
</Maneuver>
</ManeuverGroup>
<StartTrigger>
<ConditionGroup>
<Condition name="OverallStartCondition" delay="0" conditionEdge="rising">
<ByEntityCondition>
<TriggeringEntities triggeringEntitiesRule="any">
<EntityRef entityRef="hero"/>
</TriggeringEntities>
<EntityCondition>
<TraveledDistanceCondition value="1.0"/>
</EntityCondition>
</ByEntityCondition>
</Condition>
<Condition name="StartTime" delay="0" conditionEdge="rising">
<ByValueCondition>
<SimulationTimeCondition value="0" rule="equalTo"/>
</ByValueCondition>
</Condition>
</ConditionGroup>
</StartTrigger>
<StopTrigger>
<ConditionGroup>
<Condition name="EndCondition" delay="0" conditionEdge="rising">
<ByEntityCondition>
<TriggeringEntities triggeringEntitiesRule="any">
<EntityRef entityRef="hero"/>
</TriggeringEntities>
<EntityCondition>
<TraveledDistanceCondition value="200.0"/>
</EntityCondition>
</ByEntityCondition>
</Condition>
</ConditionGroup>
</StopTrigger>
</Act>
</Story>
<StopTrigger>
<ConditionGroup>
<Condition name="criteria_RunningStopTest" delay="0" conditionEdge="rising">
<ByValueCondition>
<ParameterCondition parameterRef="" value="" rule="lessThan"/>
</ByValueCondition>
</Condition>
<Condition name="criteria_RunningRedLightTest" delay="0" conditionEdge="rising">
<ByValueCondition>
<ParameterCondition parameterRef="" value="" rule="lessThan"/>
</ByValueCondition>
</Condition>
<Condition name="criteria_WrongLaneTest" delay="0" conditionEdge="rising">
<ByValueCondition>
<ParameterCondition parameterRef="" value="" rule="lessThan"/>
</ByValueCondition>
</Condition>
<Condition name="criteria_OnSidewalkTest" delay="0" conditionEdge="rising">
<ByValueCondition>
<ParameterCondition parameterRef="" value="" rule="lessThan"/>
</ByValueCondition>
</Condition>
<Condition name="criteria_KeepLaneTest" delay="0" conditionEdge="rising">
<ByValueCondition>
<ParameterCondition parameterRef="" value="" rule="lessThan"/>
</ByValueCondition>
</Condition>
<Condition name="criteria_CollisionTest" delay="0" conditionEdge="rising">
<ByValueCondition>
<ParameterCondition parameterRef="" value="" rule="lessThan"/>
</ByValueCondition>
</Condition>
<Condition name="criteria_DrivenDistanceTest" delay="0" conditionEdge="rising">
<ByValueCondition>
<ParameterCondition parameterRef="distance_success" value="100" rule="lessThan"/>
</ByValueCondition>
</Condition>
</ConditionGroup>
</StopTrigger>
</Storyboard>
</OpenSCENARIO>
``` |
i would like to lead you to add pedestrian close to hero?
```
<?xml version="1.0" ?>
<OpenSCENARIO>
<FileHeader revMajor="1" revMinor="0" date="2020-03-24T12:00:00" description="CARLA:LaneChangeSimple" author=""/>
<ParameterDeclarations/>
<CatalogLocations/>
<RoadNetwork>
<LogicFile filepath="Town04"/>
<SceneGraphFile filepath=""/>
</RoadNetwork>
<Entities>
<ScenarioObject name="hero">
<Vehicle name="vehicle.tesla.model3" vehicleCategory="car">
<ParameterDeclarations/>
<Performance maxSpeed="69.444" maxAcceleration="200" maxDeceleration="10.0"/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2.1" length="4.5" height="1.8"/>
</BoundingBox>
<Axles>
<FrontAxle maxSteering="0.5" wheelDiameter="0.6" trackWidth="1.8" positionX="3.1" positionZ="0.3"/>
<RearAxle maxSteering="0.0" wheelDiameter="0.6" trackWidth="1.8" positionX="0.0" positionZ="0.3"/>
</Axles>
<Properties>
<Property name="type" value="ego_vehicle"/>
</Properties>
</Vehicle>
</ScenarioObject>
<ScenarioObject name="adversary">
<Vehicle name="vehicle.lincoln.mkz_2017" vehicleCategory="car">
<ParameterDeclarations/>
<Performance maxSpeed="69.444" maxAcceleration="200" maxDeceleration="10.0"/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2.1" length="4.5" height="1.8"/>
</BoundingBox>
<Axles>
<FrontAxle maxSteering="0.5" wheelDiameter="0.6" trackWidth="1.8" positionX="3.1" positionZ="0.3"/>
<RearAxle maxSteering="0.0" wheelDiameter="0.6" trackWidth="1.8" positionX="0.0" positionZ="0.3"/>
</Axles>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Vehicle>
</ScenarioObject>
<ScenarioObject name="standing">
<Vehicle name="vehicle.volkswagen.t2" vehicleCategory="car">
<ParameterDeclarations/>
<Performance maxSpeed="69.444" maxAcceleration="200" maxDeceleration="10.0"/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2.1" length="4.5" height="1.8"/>
</BoundingBox>
<Axles>
<FrontAxle maxSteering="0.5" wheelDiameter="0.6" trackWidth="1.8" positionX="3.1" positionZ="0.3"/>
<RearAxle maxSteering="0.0" wheelDiameter="0.6" trackWidth="1.8" positionX="0.0" positionZ="0.3"/>
</Axles>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Vehicle>
</ScenarioObject>
<ScenarioObject name="pedestrian_close_to_adversary_7749">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_w_transform_7750">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_close_to_hero_7752">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_close_to_adversary_7753">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_w_transform_7754">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_w_transform_7755">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_close_to_standing_7756">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_w_transform_7757">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_close_to_adversary_7758">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_close_to_standing_7759">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_close_to_hero_7760">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_w_transform_7761">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_close_to_hero_7762">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_w_transform_7763">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_w_transform_7764">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_w_transform_7765">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
</Entities>
<Storyboard>
<Init>
<Actions>
<GlobalAction>
<EnvironmentAction>
<Environment name="Environment1">
<TimeOfDay animation="false" dateTime="2019-06-25T12:00:00"/>
<Weather cloudState="free">
<Sun intensity="0.85" azimuth="0" elevation="1.31"/>
<Fog visualRange="100000.0"/>
<Precipitation precipitationType="dry" intensity="0.0"/>
</Weather>
<RoadCondition frictionScaleFactor="1.0"/>
</Environment>
</EnvironmentAction>
</GlobalAction>
<Private entityRef="hero">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-9.4" y="-152.8" z="0.5" h="1.57079632679"/>
</Position>
</TeleportAction>
</PrivateAction>
<PrivateAction>
<ControllerAction>
<AssignControllerAction>
<Controller name="HeroAgent">
<Properties>
<Property name="module" value="external_control"/>
</Properties>
</Controller>
</AssignControllerAction>
<OverrideControllerValueAction>
<Throttle value="0" active="false"/>
<Brake value="0" active="false"/>
<Clutch value="0" active="false"/>
<ParkingBrake value="0" active="false"/>
<SteeringWheel value="0" active="false"/>
<Gear number="0" active="false"/>
</OverrideControllerValueAction>
</ControllerAction>
</PrivateAction>
</Private>
<Private entityRef="adversary">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-9.4" y="-71.0" z="0.5" h="1.57079632679"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="standing">
<PrivateAction>
<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_7749">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="0.47519651055336" y="-77.9356460571289" z="0.03378868103027344"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_w_transform_7750">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="46.70326232910156" y="66.54341125488281" z="0.5"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_close_to_hero_7752">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-13.533163070678711" y="-147.33453369140625" z="0.0014286803780123591"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_close_to_adversary_7753">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-6.024298191070557" y="-72.51648712158203" z="0.03381359204649925"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_w_transform_7754">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="45.63162612915039" y="0.5770393013954163" z="0.5"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_w_transform_7755">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="90.05448150634766" y="9.254094123840332" z="0.5"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_close_to_standing_7756">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-9.729605674743652" y="31.362125396728516" z="0.0031167983543127775"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_w_transform_7757">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-29.336389541625977" y="-20.100608825683594" z="0.5"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_close_to_adversary_7758">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-10.144925117492676" y="-71.21495056152344" z="0.033773038536310196"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_close_to_standing_7759">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-1.0777747631072998" y="32.250125885009766" z="0.003048591548576951"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_close_to_hero_7760">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-10.770211219787598" y="-159.7975311279297" z="0.0014286803780123591"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_w_transform_7761">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-99.46524810791016" y="27.31493377685547" z="0.5"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_close_to_hero_7762">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-15.851669311523438" y="-172.78541564941406" z="0.0014286803780123591"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_w_transform_7763">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-45.21443176269531" y="41.603519439697266" z="0.5"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_w_transform_7764">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-95.88646697998047" y="-83.2137451171875" z="0.5"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_w_transform_7765">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="42.0660285949707" y="74.07134246826172" z="0.5"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
</Actions>
</Init>
<Story name="MyStory">
<Act name="Behavior">
<ManeuverGroup maximumExecutionCount="1" name="ManeuverSequence">
<Actors selectTriggeringEntities="false">
<EntityRef entityRef="adversary"/>
</Actors>
<Maneuver name="LaneChangeSimpleManeuver">
<Event name="AdversaryAccelerates" priority="overwrite">
<Action name="AdversaryAccelerates">
<PrivateAction>
<LongitudinalAction>
<SpeedAction>
<SpeedActionDynamics dynamicsShape="step" value="50" dynamicsDimension="distance"/>
<SpeedActionTarget>
<AbsoluteTargetSpeed value="5.0"/>
</SpeedActionTarget>
</SpeedAction>
</LongitudinalAction>
</PrivateAction>
</Action>
<StartTrigger>
<ConditionGroup>
<Condition name="StartCondition" delay="0" conditionEdge="rising">
<ByEntityCondition>
<TriggeringEntities triggeringEntitiesRule="any">
<EntityRef entityRef="hero"/>
</TriggeringEntities>
<EntityCondition>
<RelativeDistanceCondition entityRef="adversary" relativeDistanceType="cartesianDistance" value="40.0" freespace="false" rule="lessThan"/>
</EntityCondition>
</ByEntityCondition>
</Condition>
</ConditionGroup>
</StartTrigger>
</Event>
<Event name="AdversaryChangesLane" priority="overwrite">
<Action name="AdversaryChangesLane">
<PrivateAction>
<LateralAction>
<LaneChangeAction>
<LaneChangeActionDynamics dynamicsShape="linear" value="25" dynamicsDimension="distance"/>
<LaneChangeTarget>
<RelativeTargetLane entityRef="adversary" value="-1"/>
</LaneChangeTarget>
</LaneChangeAction>
</LateralAction>
</PrivateAction>
</Action>
<StartTrigger>
<ConditionGroup>
<Condition name="AfterAdversaryAccelerates" delay="0" conditionEdge="rising">
<ByValueCondition>
<StoryboardElementStateCondition storyboardElementType="action" storyboardElementRef="AdversaryAccelerates" state="completeState"/>
</ByValueCondition>
</Condition>
</ConditionGroup>
</StartTrigger>
</Event>
</Maneuver>
</ManeuverGroup>
<StartTrigger>
<ConditionGroup>
<Condition name="OverallStartCondition" delay="0" conditionEdge="rising">
<ByEntityCondition>
<TriggeringEntities triggeringEntitiesRule="any">
<EntityRef entityRef="hero"/>
</TriggeringEntities>
<EntityCondition>
<TraveledDistanceCondition value="1.0"/>
</EntityCondition>
</ByEntityCondition>
</Condition>
<Condition name="StartTime" delay="0" conditionEdge="rising">
<ByValueCondition>
<SimulationTimeCondition value="0" rule="equalTo"/>
</ByValueCondition>
</Condition>
</ConditionGroup>
</StartTrigger>
<StopTrigger>
<ConditionGroup>
<Condition name="EndCondition" delay="0" conditionEdge="rising">
<ByEntityCondition>
<TriggeringEntities triggeringEntitiesRule="any">
<EntityRef entityRef="hero"/>
</TriggeringEntities>
<EntityCondition>
<TraveledDistanceCondition value="200.0"/>
</EntityCondition>
</ByEntityCondition>
</Condition>
</ConditionGroup>
</StopTrigger>
</Act>
</Story>
<StopTrigger>
<ConditionGroup>
<Condition name="criteria_RunningStopTest" delay="0" conditionEdge="rising">
<ByValueCondition>
<ParameterCondition parameterRef="" value="" rule="lessThan"/>
</ByValueCondition>
</Condition>
<Condition name="criteria_RunningRedLightTest" delay="0" conditionEdge="rising">
<ByValueCondition>
<ParameterCondition parameterRef="" value="" rule="lessThan"/>
</ByValueCondition>
</Condition>
<Condition name="criteria_WrongLaneTest" delay="0" conditionEdge="rising">
<ByValueCondition>
<ParameterCondition parameterRef="" value="" rule="lessThan"/>
</ByValueCondition>
</Condition>
<Condition name="criteria_OnSidewalkTest" delay="0" conditionEdge="rising">
<ByValueCondition>
<ParameterCondition parameterRef="" value="" rule="lessThan"/>
</ByValueCondition>
</Condition>
<Condition name="criteria_KeepLaneTest" delay="0" conditionEdge="rising">
<ByValueCondition>
<ParameterCondition parameterRef="" value="" rule="lessThan"/>
</ByValueCondition>
</Condition>
<Condition name="criteria_CollisionTest" delay="0" conditionEdge="rising">
<ByValueCondition>
<ParameterCondition parameterRef="" value="" rule="lessThan"/>
</ByValueCondition>
</Condition>
<Condition name="criteria_DrivenDistanceTest" delay="0" conditionEdge="rising">
<ByValueCondition>
<ParameterCondition parameterRef="distance_success" value="100" rule="lessThan"/>
</ByValueCondition>
</Condition>
</ConditionGroup>
</StopTrigger>
</Storyboard>
</OpenSCENARIO>
``` | Here is the result:
```
<?xml version="1.0" ?>
<OpenSCENARIO>
<FileHeader revMajor="1" revMinor="0" date="2020-03-24T12:00:00" description="CARLA:LaneChangeSimple" author=""/>
<ParameterDeclarations/>
<CatalogLocations/>
<RoadNetwork>
<LogicFile filepath="Town04"/>
<SceneGraphFile filepath=""/>
</RoadNetwork>
<Entities>
<ScenarioObject name="hero">
<Vehicle name="vehicle.tesla.model3" vehicleCategory="car">
<ParameterDeclarations/>
<Performance maxSpeed="69.444" maxAcceleration="200" maxDeceleration="10.0"/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2.1" length="4.5" height="1.8"/>
</BoundingBox>
<Axles>
<FrontAxle maxSteering="0.5" wheelDiameter="0.6" trackWidth="1.8" positionX="3.1" positionZ="0.3"/>
<RearAxle maxSteering="0.0" wheelDiameter="0.6" trackWidth="1.8" positionX="0.0" positionZ="0.3"/>
</Axles>
<Properties>
<Property name="type" value="ego_vehicle"/>
</Properties>
</Vehicle>
</ScenarioObject>
<ScenarioObject name="adversary">
<Vehicle name="vehicle.lincoln.mkz_2017" vehicleCategory="car">
<ParameterDeclarations/>
<Performance maxSpeed="69.444" maxAcceleration="200" maxDeceleration="10.0"/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2.1" length="4.5" height="1.8"/>
</BoundingBox>
<Axles>
<FrontAxle maxSteering="0.5" wheelDiameter="0.6" trackWidth="1.8" positionX="3.1" positionZ="0.3"/>
<RearAxle maxSteering="0.0" wheelDiameter="0.6" trackWidth="1.8" positionX="0.0" positionZ="0.3"/>
</Axles>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Vehicle>
</ScenarioObject>
<ScenarioObject name="standing">
<Vehicle name="vehicle.volkswagen.t2" vehicleCategory="car">
<ParameterDeclarations/>
<Performance maxSpeed="69.444" maxAcceleration="200" maxDeceleration="10.0"/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2.1" length="4.5" height="1.8"/>
</BoundingBox>
<Axles>
<FrontAxle maxSteering="0.5" wheelDiameter="0.6" trackWidth="1.8" positionX="3.1" positionZ="0.3"/>
<RearAxle maxSteering="0.0" wheelDiameter="0.6" 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_7749">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_w_transform_7750">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_close_to_hero_7752">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_close_to_adversary_7753">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_w_transform_7754">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_w_transform_7755">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_close_to_standing_7756">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_w_transform_7757">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_close_to_adversary_7758">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_close_to_standing_7759">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_close_to_hero_7760">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_w_transform_7761">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_close_to_hero_7762">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_w_transform_7763">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_w_transform_7764">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_w_transform_7765">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_close_to_hero_7766">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
</Entities>
<Storyboard>
<Init>
<Actions>
<GlobalAction>
<EnvironmentAction>
<Environment name="Environment1">
<TimeOfDay animation="false" dateTime="2019-06-25T12:00:00"/>
<Weather cloudState="free">
<Sun intensity="0.85" azimuth="0" elevation="1.31"/>
<Fog visualRange="100000.0"/>
<Precipitation precipitationType="dry" intensity="0.0"/>
</Weather>
<RoadCondition frictionScaleFactor="1.0"/>
</Environment>
</EnvironmentAction>
</GlobalAction>
<Private entityRef="hero">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-9.4" y="-152.8" z="0.5" h="1.57079632679"/>
</Position>
</TeleportAction>
</PrivateAction>
<PrivateAction>
<ControllerAction>
<AssignControllerAction>
<Controller name="HeroAgent">
<Properties>
<Property name="module" value="external_control"/>
</Properties>
</Controller>
</AssignControllerAction>
<OverrideControllerValueAction>
<Throttle value="0" active="false"/>
<Brake value="0" active="false"/>
<Clutch value="0" active="false"/>
<ParkingBrake value="0" active="false"/>
<SteeringWheel value="0" active="false"/>
<Gear number="0" active="false"/>
</OverrideControllerValueAction>
</ControllerAction>
</PrivateAction>
</Private>
<Private entityRef="adversary">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-9.4" y="-71.0" z="0.5" h="1.57079632679"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="standing">
<PrivateAction>
<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_7749">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="0.47519651055336" y="-77.9356460571289" z="0.03378868103027344"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_w_transform_7750">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="46.70326232910156" y="66.54341125488281" z="0.5"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_close_to_hero_7752">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-13.533163070678711" y="-147.33453369140625" z="0.0014286803780123591"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_close_to_adversary_7753">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-6.024298191070557" y="-72.51648712158203" z="0.03381359204649925"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_w_transform_7754">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="45.63162612915039" y="0.5770393013954163" z="0.5"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_w_transform_7755">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="90.05448150634766" y="9.254094123840332" z="0.5"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_close_to_standing_7756">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-9.729605674743652" y="31.362125396728516" z="0.0031167983543127775"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_w_transform_7757">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-29.336389541625977" y="-20.100608825683594" z="0.5"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_close_to_adversary_7758">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-10.144925117492676" y="-71.21495056152344" z="0.033773038536310196"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_close_to_standing_7759">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-1.0777747631072998" y="32.250125885009766" z="0.003048591548576951"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_close_to_hero_7760">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-10.770211219787598" y="-159.7975311279297" z="0.0014286803780123591"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_w_transform_7761">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-99.46524810791016" y="27.31493377685547" z="0.5"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_close_to_hero_7762">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-15.851669311523438" y="-172.78541564941406" z="0.0014286803780123591"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_w_transform_7763">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-45.21443176269531" y="41.603519439697266" z="0.5"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_w_transform_7764">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-95.88646697998047" y="-83.2137451171875" z="0.5"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_w_transform_7765">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="42.0660285949707" y="74.07134246826172" z="0.5"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_close_to_hero_7766">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-4.02928352355957" y="-148.4402313232422" 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 display add pedestrian close to hero?
```
<?xml version="1.0" ?>
<OpenSCENARIO>
<FileHeader revMajor="1" revMinor="0" date="2020-03-24T12:00:00" description="CARLA:LaneChangeSimple" author=""/>
<ParameterDeclarations/>
<CatalogLocations/>
<RoadNetwork>
<LogicFile filepath="Town04"/>
<SceneGraphFile filepath=""/>
</RoadNetwork>
<Entities>
<ScenarioObject name="hero">
<Vehicle name="vehicle.tesla.model3" vehicleCategory="car">
<ParameterDeclarations/>
<Performance maxSpeed="69.444" maxAcceleration="200" maxDeceleration="10.0"/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2.1" length="4.5" height="1.8"/>
</BoundingBox>
<Axles>
<FrontAxle maxSteering="0.5" wheelDiameter="0.6" trackWidth="1.8" positionX="3.1" positionZ="0.3"/>
<RearAxle maxSteering="0.0" wheelDiameter="0.6" trackWidth="1.8" positionX="0.0" positionZ="0.3"/>
</Axles>
<Properties>
<Property name="type" value="ego_vehicle"/>
</Properties>
</Vehicle>
</ScenarioObject>
<ScenarioObject name="adversary">
<Vehicle name="vehicle.lincoln.mkz_2017" vehicleCategory="car">
<ParameterDeclarations/>
<Performance maxSpeed="69.444" maxAcceleration="200" maxDeceleration="10.0"/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2.1" length="4.5" height="1.8"/>
</BoundingBox>
<Axles>
<FrontAxle maxSteering="0.5" wheelDiameter="0.6" trackWidth="1.8" positionX="3.1" positionZ="0.3"/>
<RearAxle maxSteering="0.0" wheelDiameter="0.6" trackWidth="1.8" positionX="0.0" positionZ="0.3"/>
</Axles>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Vehicle>
</ScenarioObject>
<ScenarioObject name="standing">
<Vehicle name="vehicle.volkswagen.t2" vehicleCategory="car">
<ParameterDeclarations/>
<Performance maxSpeed="69.444" maxAcceleration="200" maxDeceleration="10.0"/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2.1" length="4.5" height="1.8"/>
</BoundingBox>
<Axles>
<FrontAxle maxSteering="0.5" wheelDiameter="0.6" trackWidth="1.8" positionX="3.1" positionZ="0.3"/>
<RearAxle maxSteering="0.0" wheelDiameter="0.6" trackWidth="1.8" positionX="0.0" positionZ="0.3"/>
</Axles>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Vehicle>
</ScenarioObject>
<ScenarioObject name="pedestrian_close_to_adversary_19789">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_close_to_standing_19790">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_w_transform_19791">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_w_transform_19792">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_w_transform_19793">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_close_to_adversary_19794">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_close_to_hero_19795">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_close_to_adversary_19796">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_w_transform_19797">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_w_transform_19798">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_close_to_standing_19799">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
</Entities>
<Storyboard>
<Init>
<Actions>
<GlobalAction>
<EnvironmentAction>
<Environment name="Environment1">
<TimeOfDay animation="false" dateTime="2019-06-25T12:00:00"/>
<Weather cloudState="free">
<Sun intensity="0.85" azimuth="0" elevation="1.31"/>
<Fog visualRange="100000.0"/>
<Precipitation precipitationType="dry" intensity="0.0"/>
</Weather>
<RoadCondition frictionScaleFactor="1.0"/>
</Environment>
</EnvironmentAction>
</GlobalAction>
<Private entityRef="hero">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-9.4" y="-152.8" z="0.5" h="1.57079632679"/>
</Position>
</TeleportAction>
</PrivateAction>
<PrivateAction>
<ControllerAction>
<AssignControllerAction>
<Controller name="HeroAgent">
<Properties>
<Property name="module" value="external_control"/>
</Properties>
</Controller>
</AssignControllerAction>
<OverrideControllerValueAction>
<Throttle value="0" active="false"/>
<Brake value="0" active="false"/>
<Clutch value="0" active="false"/>
<ParkingBrake value="0" active="false"/>
<SteeringWheel value="0" active="false"/>
<Gear number="0" active="false"/>
</OverrideControllerValueAction>
</ControllerAction>
</PrivateAction>
</Private>
<Private entityRef="adversary">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-9.4" y="-71.0" z="0.5" h="1.57079632679"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="standing">
<PrivateAction>
<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_19789">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-6.917176246643066" y="-66.74205017089844" z="0.03378333896398544"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_close_to_standing_19790">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-2.047700881958008" y="34.04743194580078" z="0.0030403898563236"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_w_transform_19791">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-90.62625885009766" y="-56.756404876708984" z="0.5"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_w_transform_19792">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-70.77427673339844" y="82.33393096923828" z="0.5"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_w_transform_19793">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="14.456741333007812" y="-94.23458099365234" z="0.5"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_close_to_adversary_19794">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="1.9132709503173828" y="-79.22947692871094" z="0.03378600999712944"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_close_to_hero_19795">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-12.017549514770508" y="-146.96961975097656" z="0.0014286803780123591"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_close_to_adversary_19796">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-5.652997016906738" y="-64.62544250488281" z="0.03379043564200401"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_w_transform_19797">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="29.378084182739258" y="50.866172790527344" z="0.5"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_w_transform_19798">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="19.1149845123291" y="-35.81334686279297" z="0.5"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_close_to_standing_19799">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-6.624373435974121" y="38.24460220336914" z="0.0030654906295239925"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
</Actions>
</Init>
<Story name="MyStory">
<Act name="Behavior">
<ManeuverGroup maximumExecutionCount="1" name="ManeuverSequence">
<Actors selectTriggeringEntities="false">
<EntityRef entityRef="adversary"/>
</Actors>
<Maneuver name="LaneChangeSimpleManeuver">
<Event name="AdversaryAccelerates" priority="overwrite">
<Action name="AdversaryAccelerates">
<PrivateAction>
<LongitudinalAction>
<SpeedAction>
<SpeedActionDynamics dynamicsShape="step" value="50" dynamicsDimension="distance"/>
<SpeedActionTarget>
<AbsoluteTargetSpeed value="5.0"/>
</SpeedActionTarget>
</SpeedAction>
</LongitudinalAction>
</PrivateAction>
</Action>
<StartTrigger>
<ConditionGroup>
<Condition name="StartCondition" delay="0" conditionEdge="rising">
<ByEntityCondition>
<TriggeringEntities triggeringEntitiesRule="any">
<EntityRef entityRef="hero"/>
</TriggeringEntities>
<EntityCondition>
<RelativeDistanceCondition entityRef="adversary" relativeDistanceType="cartesianDistance" value="40.0" freespace="false" rule="lessThan"/>
</EntityCondition>
</ByEntityCondition>
</Condition>
</ConditionGroup>
</StartTrigger>
</Event>
<Event name="AdversaryChangesLane" priority="overwrite">
<Action name="AdversaryChangesLane">
<PrivateAction>
<LateralAction>
<LaneChangeAction>
<LaneChangeActionDynamics dynamicsShape="linear" value="25" dynamicsDimension="distance"/>
<LaneChangeTarget>
<RelativeTargetLane entityRef="adversary" value="-1"/>
</LaneChangeTarget>
</LaneChangeAction>
</LateralAction>
</PrivateAction>
</Action>
<StartTrigger>
<ConditionGroup>
<Condition name="AfterAdversaryAccelerates" delay="0" conditionEdge="rising">
<ByValueCondition>
<StoryboardElementStateCondition storyboardElementType="action" storyboardElementRef="AdversaryAccelerates" state="completeState"/>
</ByValueCondition>
</Condition>
</ConditionGroup>
</StartTrigger>
</Event>
</Maneuver>
</ManeuverGroup>
<StartTrigger>
<ConditionGroup>
<Condition name="OverallStartCondition" delay="0" conditionEdge="rising">
<ByEntityCondition>
<TriggeringEntities triggeringEntitiesRule="any">
<EntityRef entityRef="hero"/>
</TriggeringEntities>
<EntityCondition>
<TraveledDistanceCondition value="1.0"/>
</EntityCondition>
</ByEntityCondition>
</Condition>
<Condition name="StartTime" delay="0" conditionEdge="rising">
<ByValueCondition>
<SimulationTimeCondition value="0" rule="equalTo"/>
</ByValueCondition>
</Condition>
</ConditionGroup>
</StartTrigger>
<StopTrigger>
<ConditionGroup>
<Condition name="EndCondition" delay="0" conditionEdge="rising">
<ByEntityCondition>
<TriggeringEntities triggeringEntitiesRule="any">
<EntityRef entityRef="hero"/>
</TriggeringEntities>
<EntityCondition>
<TraveledDistanceCondition value="200.0"/>
</EntityCondition>
</ByEntityCondition>
</Condition>
</ConditionGroup>
</StopTrigger>
</Act>
</Story>
<StopTrigger>
<ConditionGroup>
<Condition name="criteria_RunningStopTest" delay="0" conditionEdge="rising">
<ByValueCondition>
<ParameterCondition parameterRef="" value="" rule="lessThan"/>
</ByValueCondition>
</Condition>
<Condition name="criteria_RunningRedLightTest" delay="0" conditionEdge="rising">
<ByValueCondition>
<ParameterCondition parameterRef="" value="" rule="lessThan"/>
</ByValueCondition>
</Condition>
<Condition name="criteria_WrongLaneTest" delay="0" conditionEdge="rising">
<ByValueCondition>
<ParameterCondition parameterRef="" value="" rule="lessThan"/>
</ByValueCondition>
</Condition>
<Condition name="criteria_OnSidewalkTest" delay="0" conditionEdge="rising">
<ByValueCondition>
<ParameterCondition parameterRef="" value="" rule="lessThan"/>
</ByValueCondition>
</Condition>
<Condition name="criteria_KeepLaneTest" delay="0" conditionEdge="rising">
<ByValueCondition>
<ParameterCondition parameterRef="" value="" rule="lessThan"/>
</ByValueCondition>
</Condition>
<Condition name="criteria_CollisionTest" delay="0" conditionEdge="rising">
<ByValueCondition>
<ParameterCondition parameterRef="" value="" rule="lessThan"/>
</ByValueCondition>
</Condition>
<Condition name="criteria_DrivenDistanceTest" delay="0" conditionEdge="rising">
<ByValueCondition>
<ParameterCondition parameterRef="distance_success" value="100" rule="lessThan"/>
</ByValueCondition>
</Condition>
</ConditionGroup>
</StopTrigger>
</Storyboard>
</OpenSCENARIO>
``` | Here is the result:
```
<?xml version="1.0" ?>
<OpenSCENARIO>
<FileHeader revMajor="1" revMinor="0" date="2020-03-24T12:00:00" description="CARLA:LaneChangeSimple" author=""/>
<ParameterDeclarations/>
<CatalogLocations/>
<RoadNetwork>
<LogicFile filepath="Town04"/>
<SceneGraphFile filepath=""/>
</RoadNetwork>
<Entities>
<ScenarioObject name="hero">
<Vehicle name="vehicle.tesla.model3" vehicleCategory="car">
<ParameterDeclarations/>
<Performance maxSpeed="69.444" maxAcceleration="200" maxDeceleration="10.0"/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2.1" length="4.5" height="1.8"/>
</BoundingBox>
<Axles>
<FrontAxle maxSteering="0.5" wheelDiameter="0.6" trackWidth="1.8" positionX="3.1" positionZ="0.3"/>
<RearAxle maxSteering="0.0" wheelDiameter="0.6" trackWidth="1.8" positionX="0.0" positionZ="0.3"/>
</Axles>
<Properties>
<Property name="type" value="ego_vehicle"/>
</Properties>
</Vehicle>
</ScenarioObject>
<ScenarioObject name="adversary">
<Vehicle name="vehicle.lincoln.mkz_2017" vehicleCategory="car">
<ParameterDeclarations/>
<Performance maxSpeed="69.444" maxAcceleration="200" maxDeceleration="10.0"/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2.1" length="4.5" height="1.8"/>
</BoundingBox>
<Axles>
<FrontAxle maxSteering="0.5" wheelDiameter="0.6" trackWidth="1.8" positionX="3.1" positionZ="0.3"/>
<RearAxle maxSteering="0.0" wheelDiameter="0.6" trackWidth="1.8" positionX="0.0" positionZ="0.3"/>
</Axles>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Vehicle>
</ScenarioObject>
<ScenarioObject name="standing">
<Vehicle name="vehicle.volkswagen.t2" vehicleCategory="car">
<ParameterDeclarations/>
<Performance maxSpeed="69.444" maxAcceleration="200" maxDeceleration="10.0"/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2.1" length="4.5" height="1.8"/>
</BoundingBox>
<Axles>
<FrontAxle maxSteering="0.5" wheelDiameter="0.6" trackWidth="1.8" positionX="3.1" positionZ="0.3"/>
<RearAxle maxSteering="0.0" wheelDiameter="0.6" 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_19789">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_close_to_standing_19790">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_w_transform_19791">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_w_transform_19792">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_w_transform_19793">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_close_to_adversary_19794">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_close_to_hero_19795">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_close_to_adversary_19796">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_w_transform_19797">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_w_transform_19798">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_close_to_standing_19799">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_close_to_hero_19800">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
</Entities>
<Storyboard>
<Init>
<Actions>
<GlobalAction>
<EnvironmentAction>
<Environment name="Environment1">
<TimeOfDay animation="false" dateTime="2019-06-25T12:00:00"/>
<Weather cloudState="free">
<Sun intensity="0.85" azimuth="0" elevation="1.31"/>
<Fog visualRange="100000.0"/>
<Precipitation precipitationType="dry" intensity="0.0"/>
</Weather>
<RoadCondition frictionScaleFactor="1.0"/>
</Environment>
</EnvironmentAction>
</GlobalAction>
<Private entityRef="hero">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-9.4" y="-152.8" z="0.5" h="1.57079632679"/>
</Position>
</TeleportAction>
</PrivateAction>
<PrivateAction>
<ControllerAction>
<AssignControllerAction>
<Controller name="HeroAgent">
<Properties>
<Property name="module" value="external_control"/>
</Properties>
</Controller>
</AssignControllerAction>
<OverrideControllerValueAction>
<Throttle value="0" active="false"/>
<Brake value="0" active="false"/>
<Clutch value="0" active="false"/>
<ParkingBrake value="0" active="false"/>
<SteeringWheel value="0" active="false"/>
<Gear number="0" active="false"/>
</OverrideControllerValueAction>
</ControllerAction>
</PrivateAction>
</Private>
<Private entityRef="adversary">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-9.4" y="-71.0" z="0.5" h="1.57079632679"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="standing">
<PrivateAction>
<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_19789">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-6.917176246643066" y="-66.74205017089844" z="0.03378333896398544"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_close_to_standing_19790">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-2.047700881958008" y="34.04743194580078" z="0.0030403898563236"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_w_transform_19791">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-90.62625885009766" y="-56.756404876708984" z="0.5"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_w_transform_19792">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-70.77427673339844" y="82.33393096923828" z="0.5"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_w_transform_19793">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="14.456741333007812" y="-94.23458099365234" z="0.5"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_close_to_adversary_19794">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="1.9132709503173828" y="-79.22947692871094" z="0.03378600999712944"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_close_to_hero_19795">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-12.017549514770508" y="-146.96961975097656" z="0.0014286803780123591"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_close_to_adversary_19796">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-5.652997016906738" y="-64.62544250488281" z="0.03379043564200401"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_w_transform_19797">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="29.378084182739258" y="50.866172790527344" z="0.5"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_w_transform_19798">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="19.1149845123291" y="-35.81334686279297" z="0.5"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_close_to_standing_19799">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-6.624373435974121" y="38.24460220336914" z="0.0030654906295239925"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_close_to_hero_19800">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-10.127462387084961" y="-164.67906188964844" 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 actor named pedestrian_w_transform_18477?
```
<?xml version="1.0" ?>
<OpenSCENARIO>
<FileHeader revMajor="1" revMinor="0" date="2020-03-24T12:00:00" description="CARLA:LaneChangeSimple" author=""/>
<ParameterDeclarations/>
<CatalogLocations/>
<RoadNetwork>
<LogicFile filepath="Town04"/>
<SceneGraphFile filepath=""/>
</RoadNetwork>
<Entities>
<ScenarioObject name="hero">
<Vehicle name="vehicle.tesla.model3" vehicleCategory="car">
<ParameterDeclarations/>
<Performance maxSpeed="69.444" maxAcceleration="200" maxDeceleration="10.0"/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2.1" length="4.5" height="1.8"/>
</BoundingBox>
<Axles>
<FrontAxle maxSteering="0.5" wheelDiameter="0.6" trackWidth="1.8" positionX="3.1" positionZ="0.3"/>
<RearAxle maxSteering="0.0" wheelDiameter="0.6" trackWidth="1.8" positionX="0.0" positionZ="0.3"/>
</Axles>
<Properties>
<Property name="type" value="ego_vehicle"/>
</Properties>
</Vehicle>
</ScenarioObject>
<ScenarioObject name="adversary">
<Vehicle name="vehicle.lincoln.mkz_2017" vehicleCategory="car">
<ParameterDeclarations/>
<Performance maxSpeed="69.444" maxAcceleration="200" maxDeceleration="10.0"/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2.1" length="4.5" height="1.8"/>
</BoundingBox>
<Axles>
<FrontAxle maxSteering="0.5" wheelDiameter="0.6" trackWidth="1.8" positionX="3.1" positionZ="0.3"/>
<RearAxle maxSteering="0.0" wheelDiameter="0.6" trackWidth="1.8" positionX="0.0" positionZ="0.3"/>
</Axles>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Vehicle>
</ScenarioObject>
<ScenarioObject name="standing">
<Vehicle name="vehicle.volkswagen.t2" vehicleCategory="car">
<ParameterDeclarations/>
<Performance maxSpeed="69.444" maxAcceleration="200" maxDeceleration="10.0"/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2.1" length="4.5" height="1.8"/>
</BoundingBox>
<Axles>
<FrontAxle maxSteering="0.5" wheelDiameter="0.6" trackWidth="1.8" positionX="3.1" positionZ="0.3"/>
<RearAxle maxSteering="0.0" wheelDiameter="0.6" 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_18464">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_close_to_standing_18465">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_close_to_standing_18466">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_close_to_standing_18467">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_close_to_hero_18468">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_w_transform_18469">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_close_to_adversary_18470">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_close_to_standing_18472">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_close_to_hero_18473">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_w_transform_18474">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_w_transform_18475">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_w_transform_18477">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_close_to_adversary_18478">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_w_transform_18479">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_w_transform_18480">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_close_to_adversary_18481">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_close_to_hero_18482">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
</Entities>
<Storyboard>
<Init>
<Actions>
<GlobalAction>
<EnvironmentAction>
<Environment name="Environment1">
<TimeOfDay animation="false" dateTime="2019-06-25T12:00:00"/>
<Weather cloudState="free">
<Sun intensity="0.85" azimuth="0" elevation="1.31"/>
<Fog visualRange="100000.0"/>
<Precipitation precipitationType="dry" intensity="0.0"/>
</Weather>
<RoadCondition frictionScaleFactor="1.0"/>
</Environment>
</EnvironmentAction>
</GlobalAction>
<Private entityRef="hero">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-9.4" y="-152.8" z="0.5" h="1.57079632679"/>
</Position>
</TeleportAction>
</PrivateAction>
<PrivateAction>
<ControllerAction>
<AssignControllerAction>
<Controller name="HeroAgent">
<Properties>
<Property name="module" value="external_control"/>
</Properties>
</Controller>
</AssignControllerAction>
<OverrideControllerValueAction>
<Throttle value="0" active="false"/>
<Brake value="0" active="false"/>
<Clutch value="0" active="false"/>
<ParkingBrake value="0" active="false"/>
<SteeringWheel value="0" active="false"/>
<Gear number="0" active="false"/>
</OverrideControllerValueAction>
</ControllerAction>
</PrivateAction>
</Private>
<Private entityRef="adversary">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-9.4" y="-71.0" z="0.5" h="1.57079632679"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="standing">
<PrivateAction>
<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_18464">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-10.882213592529297" y="31.06772232055664" z="0.003044242737814784"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_close_to_standing_18465">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-7.871545791625977" y="34.3230094909668" z="0.0030191040132194757"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_close_to_standing_18466">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-15.539199829101562" y="24.48508071899414" z="0.003038597060367465"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_close_to_standing_18467">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-9.610895156860352" y="25.105457305908203" z="0.0030507659539580345"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_close_to_hero_18468">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-6.130465507507324" y="-143.88014221191406" z="0.0014286803780123591"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_w_transform_18469">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="55.268863677978516" y="-36.17616653442383" z="0.5"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_close_to_adversary_18470">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-17.10236358642578" y="-70.62523651123047" z="0.033800847828388214"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_close_to_standing_18472">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-12.075430870056152" y="19.866836547851562" z="0.003062667790800333"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_close_to_hero_18473">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-23.698469161987305" y="-150.03765869140625" z="0.0014286803780123591"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_w_transform_18474">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="24.519861221313477" y="97.69828796386719" z="0.5"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_w_transform_18475">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-54.50517272949219" y="-23.714317321777344" z="0.5"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_w_transform_18477">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-52.88197326660156" y="87.15055084228516" z="0.5"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_close_to_adversary_18478">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-9.316100120544434" y="-77.09749603271484" z="0.033818319439888"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_w_transform_18479">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="18.50895881652832" y="15.576845169067383" z="0.5"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_w_transform_18480">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-88.43024444580078" y="-83.47098541259766" z="0.5"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_close_to_adversary_18481">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-17.808317184448242" y="-65.24730682373047" z="0.033831022679805756"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_close_to_hero_18482">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-2.108095169067383" y="-148.8850555419922" 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_18464">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_close_to_standing_18465">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_close_to_standing_18466">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_close_to_standing_18467">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_close_to_hero_18468">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_w_transform_18469">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_close_to_adversary_18470">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_close_to_standing_18472">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_close_to_hero_18473">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_w_transform_18474">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_w_transform_18475">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_close_to_adversary_18478">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_w_transform_18479">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_w_transform_18480">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_close_to_adversary_18481">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_close_to_hero_18482">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
</Entities>
<Storyboard>
<Init>
<Actions>
<GlobalAction>
<EnvironmentAction>
<Environment name="Environment1">
<TimeOfDay animation="false" dateTime="2019-06-25T12:00:00"/>
<Weather cloudState="free">
<Sun intensity="0.85" azimuth="0" elevation="1.31"/>
<Fog visualRange="100000.0"/>
<Precipitation precipitationType="dry" intensity="0.0"/>
</Weather>
<RoadCondition frictionScaleFactor="1.0"/>
</Environment>
</EnvironmentAction>
</GlobalAction>
<Private entityRef="hero">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-9.4" y="-152.8" z="0.5" h="1.57079632679"/>
</Position>
</TeleportAction>
</PrivateAction>
<PrivateAction>
<ControllerAction>
<AssignControllerAction>
<Controller name="HeroAgent">
<Properties>
<Property name="module" value="external_control"/>
</Properties>
</Controller>
</AssignControllerAction>
<OverrideControllerValueAction>
<Throttle value="0" active="false"/>
<Brake value="0" active="false"/>
<Clutch value="0" active="false"/>
<ParkingBrake value="0" active="false"/>
<SteeringWheel value="0" active="false"/>
<Gear number="0" active="false"/>
</OverrideControllerValueAction>
</ControllerAction>
</PrivateAction>
</Private>
<Private entityRef="adversary">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-9.4" y="-71.0" z="0.5" h="1.57079632679"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="standing">
<PrivateAction>
<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_18464">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-10.882213592529297" y="31.06772232055664" z="0.003044242737814784"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_close_to_standing_18465">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-7.871545791625977" y="34.3230094909668" z="0.0030191040132194757"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_close_to_standing_18466">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-15.539199829101562" y="24.48508071899414" z="0.003038597060367465"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_close_to_standing_18467">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-9.610895156860352" y="25.105457305908203" z="0.0030507659539580345"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_close_to_hero_18468">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-6.130465507507324" y="-143.88014221191406" z="0.0014286803780123591"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_w_transform_18469">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="55.268863677978516" y="-36.17616653442383" z="0.5"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_close_to_adversary_18470">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-17.10236358642578" y="-70.62523651123047" z="0.033800847828388214"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_close_to_standing_18472">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-12.075430870056152" y="19.866836547851562" z="0.003062667790800333"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_close_to_hero_18473">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-23.698469161987305" y="-150.03765869140625" z="0.0014286803780123591"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_w_transform_18474">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="24.519861221313477" y="97.69828796386719" z="0.5"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_w_transform_18475">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-54.50517272949219" y="-23.714317321777344" z="0.5"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_close_to_adversary_18478">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-9.316100120544434" y="-77.09749603271484" z="0.033818319439888"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_w_transform_18479">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="18.50895881652832" y="15.576845169067383" z="0.5"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_w_transform_18480">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-88.43024444580078" y="-83.47098541259766" z="0.5"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_close_to_adversary_18481">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-17.808317184448242" y="-65.24730682373047" z="0.033831022679805756"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_close_to_hero_18482">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-2.108095169067383" y="-148.8850555419922" z="0.0014286803780123591"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
</Actions>
</Init>
<Story name="MyStory">
<Act name="Behavior">
<ManeuverGroup maximumExecutionCount="1" name="ManeuverSequence">
<Actors selectTriggeringEntities="false">
<EntityRef entityRef="adversary"/>
</Actors>
<Maneuver name="LaneChangeSimpleManeuver">
<Event name="AdversaryAccelerates" priority="overwrite">
<Action name="AdversaryAccelerates">
<PrivateAction>
<LongitudinalAction>
<SpeedAction>
<SpeedActionDynamics dynamicsShape="step" value="50" dynamicsDimension="distance"/>
<SpeedActionTarget>
<AbsoluteTargetSpeed value="5.0"/>
</SpeedActionTarget>
</SpeedAction>
</LongitudinalAction>
</PrivateAction>
</Action>
<StartTrigger>
<ConditionGroup>
<Condition name="StartCondition" delay="0" conditionEdge="rising">
<ByEntityCondition>
<TriggeringEntities triggeringEntitiesRule="any">
<EntityRef entityRef="hero"/>
</TriggeringEntities>
<EntityCondition>
<RelativeDistanceCondition entityRef="adversary" relativeDistanceType="cartesianDistance" value="40.0" freespace="false" rule="lessThan"/>
</EntityCondition>
</ByEntityCondition>
</Condition>
</ConditionGroup>
</StartTrigger>
</Event>
<Event name="AdversaryChangesLane" priority="overwrite">
<Action name="AdversaryChangesLane">
<PrivateAction>
<LateralAction>
<LaneChangeAction>
<LaneChangeActionDynamics dynamicsShape="linear" value="25" dynamicsDimension="distance"/>
<LaneChangeTarget>
<RelativeTargetLane entityRef="adversary" value="-1"/>
</LaneChangeTarget>
</LaneChangeAction>
</LateralAction>
</PrivateAction>
</Action>
<StartTrigger>
<ConditionGroup>
<Condition name="AfterAdversaryAccelerates" delay="0" conditionEdge="rising">
<ByValueCondition>
<StoryboardElementStateCondition storyboardElementType="action" storyboardElementRef="AdversaryAccelerates" state="completeState"/>
</ByValueCondition>
</Condition>
</ConditionGroup>
</StartTrigger>
</Event>
</Maneuver>
</ManeuverGroup>
<StartTrigger>
<ConditionGroup>
<Condition name="OverallStartCondition" delay="0" conditionEdge="rising">
<ByEntityCondition>
<TriggeringEntities triggeringEntitiesRule="any">
<EntityRef entityRef="hero"/>
</TriggeringEntities>
<EntityCondition>
<TraveledDistanceCondition value="1.0"/>
</EntityCondition>
</ByEntityCondition>
</Condition>
<Condition name="StartTime" delay="0" conditionEdge="rising">
<ByValueCondition>
<SimulationTimeCondition value="0" rule="equalTo"/>
</ByValueCondition>
</Condition>
</ConditionGroup>
</StartTrigger>
<StopTrigger>
<ConditionGroup>
<Condition name="EndCondition" delay="0" conditionEdge="rising">
<ByEntityCondition>
<TriggeringEntities triggeringEntitiesRule="any">
<EntityRef entityRef="hero"/>
</TriggeringEntities>
<EntityCondition>
<TraveledDistanceCondition value="200.0"/>
</EntityCondition>
</ByEntityCondition>
</Condition>
</ConditionGroup>
</StopTrigger>
</Act>
</Story>
<StopTrigger>
<ConditionGroup>
<Condition name="criteria_RunningStopTest" delay="0" conditionEdge="rising">
<ByValueCondition>
<ParameterCondition parameterRef="" value="" rule="lessThan"/>
</ByValueCondition>
</Condition>
<Condition name="criteria_RunningRedLightTest" delay="0" conditionEdge="rising">
<ByValueCondition>
<ParameterCondition parameterRef="" value="" rule="lessThan"/>
</ByValueCondition>
</Condition>
<Condition name="criteria_WrongLaneTest" delay="0" conditionEdge="rising">
<ByValueCondition>
<ParameterCondition parameterRef="" value="" rule="lessThan"/>
</ByValueCondition>
</Condition>
<Condition name="criteria_OnSidewalkTest" delay="0" conditionEdge="rising">
<ByValueCondition>
<ParameterCondition parameterRef="" value="" rule="lessThan"/>
</ByValueCondition>
</Condition>
<Condition name="criteria_KeepLaneTest" delay="0" conditionEdge="rising">
<ByValueCondition>
<ParameterCondition parameterRef="" value="" rule="lessThan"/>
</ByValueCondition>
</Condition>
<Condition name="criteria_CollisionTest" delay="0" conditionEdge="rising">
<ByValueCondition>
<ParameterCondition parameterRef="" value="" rule="lessThan"/>
</ByValueCondition>
</Condition>
<Condition name="criteria_DrivenDistanceTest" delay="0" conditionEdge="rising">
<ByValueCondition>
<ParameterCondition parameterRef="distance_success" value="100" rule="lessThan"/>
</ByValueCondition>
</Condition>
</ConditionGroup>
</StopTrigger>
</Storyboard>
</OpenSCENARIO>
``` |
i would like to order you to add pedestrian close to hero?
```
<?xml version="1.0" ?>
<OpenSCENARIO>
<FileHeader revMajor="1" revMinor="0" date="2020-03-24T12:00:00" description="CARLA:LaneChangeSimple" author=""/>
<ParameterDeclarations/>
<CatalogLocations/>
<RoadNetwork>
<LogicFile filepath="Town04"/>
<SceneGraphFile filepath=""/>
</RoadNetwork>
<Entities>
<ScenarioObject name="hero">
<Vehicle name="vehicle.tesla.model3" vehicleCategory="car">
<ParameterDeclarations/>
<Performance maxSpeed="69.444" maxAcceleration="200" maxDeceleration="10.0"/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2.1" length="4.5" height="1.8"/>
</BoundingBox>
<Axles>
<FrontAxle maxSteering="0.5" wheelDiameter="0.6" trackWidth="1.8" positionX="3.1" positionZ="0.3"/>
<RearAxle maxSteering="0.0" wheelDiameter="0.6" trackWidth="1.8" positionX="0.0" positionZ="0.3"/>
</Axles>
<Properties>
<Property name="type" value="ego_vehicle"/>
</Properties>
</Vehicle>
</ScenarioObject>
<ScenarioObject name="adversary">
<Vehicle name="vehicle.lincoln.mkz_2017" vehicleCategory="car">
<ParameterDeclarations/>
<Performance maxSpeed="69.444" maxAcceleration="200" maxDeceleration="10.0"/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2.1" length="4.5" height="1.8"/>
</BoundingBox>
<Axles>
<FrontAxle maxSteering="0.5" wheelDiameter="0.6" trackWidth="1.8" positionX="3.1" positionZ="0.3"/>
<RearAxle maxSteering="0.0" wheelDiameter="0.6" trackWidth="1.8" positionX="0.0" positionZ="0.3"/>
</Axles>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Vehicle>
</ScenarioObject>
<ScenarioObject name="standing">
<Vehicle name="vehicle.volkswagen.t2" vehicleCategory="car">
<ParameterDeclarations/>
<Performance maxSpeed="69.444" maxAcceleration="200" maxDeceleration="10.0"/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2.1" length="4.5" height="1.8"/>
</BoundingBox>
<Axles>
<FrontAxle maxSteering="0.5" wheelDiameter="0.6" trackWidth="1.8" positionX="3.1" positionZ="0.3"/>
<RearAxle maxSteering="0.0" wheelDiameter="0.6" trackWidth="1.8" positionX="0.0" positionZ="0.3"/>
</Axles>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Vehicle>
</ScenarioObject>
<ScenarioObject name="pedestrian_close_to_standing_13922">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_close_to_standing_13923">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_w_transform_13924">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_close_to_standing_13925">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_close_to_hero_13926">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_close_to_adversary_13927">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_w_transform_13928">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_w_transform_13929">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
</Entities>
<Storyboard>
<Init>
<Actions>
<GlobalAction>
<EnvironmentAction>
<Environment name="Environment1">
<TimeOfDay animation="false" dateTime="2019-06-25T12:00:00"/>
<Weather cloudState="free">
<Sun intensity="0.85" azimuth="0" elevation="1.31"/>
<Fog visualRange="100000.0"/>
<Precipitation precipitationType="dry" intensity="0.0"/>
</Weather>
<RoadCondition frictionScaleFactor="1.0"/>
</Environment>
</EnvironmentAction>
</GlobalAction>
<Private entityRef="hero">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-9.4" y="-152.8" z="0.5" h="1.57079632679"/>
</Position>
</TeleportAction>
</PrivateAction>
<PrivateAction>
<ControllerAction>
<AssignControllerAction>
<Controller name="HeroAgent">
<Properties>
<Property name="module" value="external_control"/>
</Properties>
</Controller>
</AssignControllerAction>
<OverrideControllerValueAction>
<Throttle value="0" active="false"/>
<Brake value="0" active="false"/>
<Clutch value="0" active="false"/>
<ParkingBrake value="0" active="false"/>
<SteeringWheel value="0" active="false"/>
<Gear number="0" active="false"/>
</OverrideControllerValueAction>
</ControllerAction>
</PrivateAction>
</Private>
<Private entityRef="adversary">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-9.4" y="-71.0" z="0.5" h="1.57079632679"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="standing">
<PrivateAction>
<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_13922">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-5.070389747619629" y="15.806245803833008" z="0.0030619811732321978"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_close_to_standing_13923">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-4.2569427490234375" y="22.337980270385742" z="0.003072547959163785"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_w_transform_13924">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="62.86676788330078" y="29.23318862915039" z="0.5"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_close_to_standing_13925">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-10.786271095275879" y="22.38013458251953" z="0.0030262756627053022"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_close_to_hero_13926">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="8.436240196228027" y="-157.36936950683594" z="0.0014286803780123591"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_close_to_adversary_13927">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-1.404118537902832" y="-73.01374816894531" z="0.03379615768790245"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_w_transform_13928">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-81.13279724121094" y="86.0781478881836" z="0.5"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_w_transform_13929">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="13.389727592468262" y="-88.92147827148438" z="0.5"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
</Actions>
</Init>
<Story name="MyStory">
<Act name="Behavior">
<ManeuverGroup maximumExecutionCount="1" name="ManeuverSequence">
<Actors selectTriggeringEntities="false">
<EntityRef entityRef="adversary"/>
</Actors>
<Maneuver name="LaneChangeSimpleManeuver">
<Event name="AdversaryAccelerates" priority="overwrite">
<Action name="AdversaryAccelerates">
<PrivateAction>
<LongitudinalAction>
<SpeedAction>
<SpeedActionDynamics dynamicsShape="step" value="50" dynamicsDimension="distance"/>
<SpeedActionTarget>
<AbsoluteTargetSpeed value="5.0"/>
</SpeedActionTarget>
</SpeedAction>
</LongitudinalAction>
</PrivateAction>
</Action>
<StartTrigger>
<ConditionGroup>
<Condition name="StartCondition" delay="0" conditionEdge="rising">
<ByEntityCondition>
<TriggeringEntities triggeringEntitiesRule="any">
<EntityRef entityRef="hero"/>
</TriggeringEntities>
<EntityCondition>
<RelativeDistanceCondition entityRef="adversary" relativeDistanceType="cartesianDistance" value="40.0" freespace="false" rule="lessThan"/>
</EntityCondition>
</ByEntityCondition>
</Condition>
</ConditionGroup>
</StartTrigger>
</Event>
<Event name="AdversaryChangesLane" priority="overwrite">
<Action name="AdversaryChangesLane">
<PrivateAction>
<LateralAction>
<LaneChangeAction>
<LaneChangeActionDynamics dynamicsShape="linear" value="25" dynamicsDimension="distance"/>
<LaneChangeTarget>
<RelativeTargetLane entityRef="adversary" value="-1"/>
</LaneChangeTarget>
</LaneChangeAction>
</LateralAction>
</PrivateAction>
</Action>
<StartTrigger>
<ConditionGroup>
<Condition name="AfterAdversaryAccelerates" delay="0" conditionEdge="rising">
<ByValueCondition>
<StoryboardElementStateCondition storyboardElementType="action" storyboardElementRef="AdversaryAccelerates" state="completeState"/>
</ByValueCondition>
</Condition>
</ConditionGroup>
</StartTrigger>
</Event>
</Maneuver>
</ManeuverGroup>
<StartTrigger>
<ConditionGroup>
<Condition name="OverallStartCondition" delay="0" conditionEdge="rising">
<ByEntityCondition>
<TriggeringEntities triggeringEntitiesRule="any">
<EntityRef entityRef="hero"/>
</TriggeringEntities>
<EntityCondition>
<TraveledDistanceCondition value="1.0"/>
</EntityCondition>
</ByEntityCondition>
</Condition>
<Condition name="StartTime" delay="0" conditionEdge="rising">
<ByValueCondition>
<SimulationTimeCondition value="0" rule="equalTo"/>
</ByValueCondition>
</Condition>
</ConditionGroup>
</StartTrigger>
<StopTrigger>
<ConditionGroup>
<Condition name="EndCondition" delay="0" conditionEdge="rising">
<ByEntityCondition>
<TriggeringEntities triggeringEntitiesRule="any">
<EntityRef entityRef="hero"/>
</TriggeringEntities>
<EntityCondition>
<TraveledDistanceCondition value="200.0"/>
</EntityCondition>
</ByEntityCondition>
</Condition>
</ConditionGroup>
</StopTrigger>
</Act>
</Story>
<StopTrigger>
<ConditionGroup>
<Condition name="criteria_RunningStopTest" delay="0" conditionEdge="rising">
<ByValueCondition>
<ParameterCondition parameterRef="" value="" rule="lessThan"/>
</ByValueCondition>
</Condition>
<Condition name="criteria_RunningRedLightTest" delay="0" conditionEdge="rising">
<ByValueCondition>
<ParameterCondition parameterRef="" value="" rule="lessThan"/>
</ByValueCondition>
</Condition>
<Condition name="criteria_WrongLaneTest" delay="0" conditionEdge="rising">
<ByValueCondition>
<ParameterCondition parameterRef="" value="" rule="lessThan"/>
</ByValueCondition>
</Condition>
<Condition name="criteria_OnSidewalkTest" delay="0" conditionEdge="rising">
<ByValueCondition>
<ParameterCondition parameterRef="" value="" rule="lessThan"/>
</ByValueCondition>
</Condition>
<Condition name="criteria_KeepLaneTest" delay="0" conditionEdge="rising">
<ByValueCondition>
<ParameterCondition parameterRef="" value="" rule="lessThan"/>
</ByValueCondition>
</Condition>
<Condition name="criteria_CollisionTest" delay="0" conditionEdge="rising">
<ByValueCondition>
<ParameterCondition parameterRef="" value="" rule="lessThan"/>
</ByValueCondition>
</Condition>
<Condition name="criteria_DrivenDistanceTest" delay="0" conditionEdge="rising">
<ByValueCondition>
<ParameterCondition parameterRef="distance_success" value="100" rule="lessThan"/>
</ByValueCondition>
</Condition>
</ConditionGroup>
</StopTrigger>
</Storyboard>
</OpenSCENARIO>
``` | Here is the result:
```
<?xml version="1.0" ?>
<OpenSCENARIO>
<FileHeader revMajor="1" revMinor="0" date="2020-03-24T12:00:00" description="CARLA:LaneChangeSimple" author=""/>
<ParameterDeclarations/>
<CatalogLocations/>
<RoadNetwork>
<LogicFile filepath="Town04"/>
<SceneGraphFile filepath=""/>
</RoadNetwork>
<Entities>
<ScenarioObject name="hero">
<Vehicle name="vehicle.tesla.model3" vehicleCategory="car">
<ParameterDeclarations/>
<Performance maxSpeed="69.444" maxAcceleration="200" maxDeceleration="10.0"/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2.1" length="4.5" height="1.8"/>
</BoundingBox>
<Axles>
<FrontAxle maxSteering="0.5" wheelDiameter="0.6" trackWidth="1.8" positionX="3.1" positionZ="0.3"/>
<RearAxle maxSteering="0.0" wheelDiameter="0.6" trackWidth="1.8" positionX="0.0" positionZ="0.3"/>
</Axles>
<Properties>
<Property name="type" value="ego_vehicle"/>
</Properties>
</Vehicle>
</ScenarioObject>
<ScenarioObject name="adversary">
<Vehicle name="vehicle.lincoln.mkz_2017" vehicleCategory="car">
<ParameterDeclarations/>
<Performance maxSpeed="69.444" maxAcceleration="200" maxDeceleration="10.0"/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2.1" length="4.5" height="1.8"/>
</BoundingBox>
<Axles>
<FrontAxle maxSteering="0.5" wheelDiameter="0.6" trackWidth="1.8" positionX="3.1" positionZ="0.3"/>
<RearAxle maxSteering="0.0" wheelDiameter="0.6" trackWidth="1.8" positionX="0.0" positionZ="0.3"/>
</Axles>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Vehicle>
</ScenarioObject>
<ScenarioObject name="standing">
<Vehicle name="vehicle.volkswagen.t2" vehicleCategory="car">
<ParameterDeclarations/>
<Performance maxSpeed="69.444" maxAcceleration="200" maxDeceleration="10.0"/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2.1" length="4.5" height="1.8"/>
</BoundingBox>
<Axles>
<FrontAxle maxSteering="0.5" wheelDiameter="0.6" trackWidth="1.8" positionX="3.1" positionZ="0.3"/>
<RearAxle maxSteering="0.0" wheelDiameter="0.6" 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_13922">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_close_to_standing_13923">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_w_transform_13924">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_close_to_standing_13925">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_close_to_hero_13926">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_close_to_adversary_13927">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_w_transform_13928">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_w_transform_13929">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_close_to_hero_13930">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
</Entities>
<Storyboard>
<Init>
<Actions>
<GlobalAction>
<EnvironmentAction>
<Environment name="Environment1">
<TimeOfDay animation="false" dateTime="2019-06-25T12:00:00"/>
<Weather cloudState="free">
<Sun intensity="0.85" azimuth="0" elevation="1.31"/>
<Fog visualRange="100000.0"/>
<Precipitation precipitationType="dry" intensity="0.0"/>
</Weather>
<RoadCondition frictionScaleFactor="1.0"/>
</Environment>
</EnvironmentAction>
</GlobalAction>
<Private entityRef="hero">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-9.4" y="-152.8" z="0.5" h="1.57079632679"/>
</Position>
</TeleportAction>
</PrivateAction>
<PrivateAction>
<ControllerAction>
<AssignControllerAction>
<Controller name="HeroAgent">
<Properties>
<Property name="module" value="external_control"/>
</Properties>
</Controller>
</AssignControllerAction>
<OverrideControllerValueAction>
<Throttle value="0" active="false"/>
<Brake value="0" active="false"/>
<Clutch value="0" active="false"/>
<ParkingBrake value="0" active="false"/>
<SteeringWheel value="0" active="false"/>
<Gear number="0" active="false"/>
</OverrideControllerValueAction>
</ControllerAction>
</PrivateAction>
</Private>
<Private entityRef="adversary">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-9.4" y="-71.0" z="0.5" h="1.57079632679"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="standing">
<PrivateAction>
<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_13922">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-5.070389747619629" y="15.806245803833008" z="0.0030619811732321978"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_close_to_standing_13923">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-4.2569427490234375" y="22.337980270385742" z="0.003072547959163785"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_w_transform_13924">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="62.86676788330078" y="29.23318862915039" z="0.5"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_close_to_standing_13925">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-10.786271095275879" y="22.38013458251953" z="0.0030262756627053022"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_close_to_hero_13926">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="8.436240196228027" y="-157.36936950683594" z="0.0014286803780123591"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_close_to_adversary_13927">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-1.404118537902832" y="-73.01374816894531" z="0.03379615768790245"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_w_transform_13928">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-81.13279724121094" y="86.0781478881836" z="0.5"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_w_transform_13929">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="13.389727592468262" y="-88.92147827148438" z="0.5"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_close_to_hero_13930">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-2.0190184116363525" y="-156.45838928222656" z="0.0014286803780123591"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
</Actions>
</Init>
<Story name="MyStory">
<Act name="Behavior">
<ManeuverGroup maximumExecutionCount="1" name="ManeuverSequence">
<Actors selectTriggeringEntities="false">
<EntityRef entityRef="adversary"/>
</Actors>
<Maneuver name="LaneChangeSimpleManeuver">
<Event name="AdversaryAccelerates" priority="overwrite">
<Action name="AdversaryAccelerates">
<PrivateAction>
<LongitudinalAction>
<SpeedAction>
<SpeedActionDynamics dynamicsShape="step" value="50" dynamicsDimension="distance"/>
<SpeedActionTarget>
<AbsoluteTargetSpeed value="5.0"/>
</SpeedActionTarget>
</SpeedAction>
</LongitudinalAction>
</PrivateAction>
</Action>
<StartTrigger>
<ConditionGroup>
<Condition name="StartCondition" delay="0" conditionEdge="rising">
<ByEntityCondition>
<TriggeringEntities triggeringEntitiesRule="any">
<EntityRef entityRef="hero"/>
</TriggeringEntities>
<EntityCondition>
<RelativeDistanceCondition entityRef="adversary" relativeDistanceType="cartesianDistance" value="40.0" freespace="false" rule="lessThan"/>
</EntityCondition>
</ByEntityCondition>
</Condition>
</ConditionGroup>
</StartTrigger>
</Event>
<Event name="AdversaryChangesLane" priority="overwrite">
<Action name="AdversaryChangesLane">
<PrivateAction>
<LateralAction>
<LaneChangeAction>
<LaneChangeActionDynamics dynamicsShape="linear" value="25" dynamicsDimension="distance"/>
<LaneChangeTarget>
<RelativeTargetLane entityRef="adversary" value="-1"/>
</LaneChangeTarget>
</LaneChangeAction>
</LateralAction>
</PrivateAction>
</Action>
<StartTrigger>
<ConditionGroup>
<Condition name="AfterAdversaryAccelerates" delay="0" conditionEdge="rising">
<ByValueCondition>
<StoryboardElementStateCondition storyboardElementType="action" storyboardElementRef="AdversaryAccelerates" state="completeState"/>
</ByValueCondition>
</Condition>
</ConditionGroup>
</StartTrigger>
</Event>
</Maneuver>
</ManeuverGroup>
<StartTrigger>
<ConditionGroup>
<Condition name="OverallStartCondition" delay="0" conditionEdge="rising">
<ByEntityCondition>
<TriggeringEntities triggeringEntitiesRule="any">
<EntityRef entityRef="hero"/>
</TriggeringEntities>
<EntityCondition>
<TraveledDistanceCondition value="1.0"/>
</EntityCondition>
</ByEntityCondition>
</Condition>
<Condition name="StartTime" delay="0" conditionEdge="rising">
<ByValueCondition>
<SimulationTimeCondition value="0" rule="equalTo"/>
</ByValueCondition>
</Condition>
</ConditionGroup>
</StartTrigger>
<StopTrigger>
<ConditionGroup>
<Condition name="EndCondition" delay="0" conditionEdge="rising">
<ByEntityCondition>
<TriggeringEntities triggeringEntitiesRule="any">
<EntityRef entityRef="hero"/>
</TriggeringEntities>
<EntityCondition>
<TraveledDistanceCondition value="200.0"/>
</EntityCondition>
</ByEntityCondition>
</Condition>
</ConditionGroup>
</StopTrigger>
</Act>
</Story>
<StopTrigger>
<ConditionGroup>
<Condition name="criteria_RunningStopTest" delay="0" conditionEdge="rising">
<ByValueCondition>
<ParameterCondition parameterRef="" value="" rule="lessThan"/>
</ByValueCondition>
</Condition>
<Condition name="criteria_RunningRedLightTest" delay="0" conditionEdge="rising">
<ByValueCondition>
<ParameterCondition parameterRef="" value="" rule="lessThan"/>
</ByValueCondition>
</Condition>
<Condition name="criteria_WrongLaneTest" delay="0" conditionEdge="rising">
<ByValueCondition>
<ParameterCondition parameterRef="" value="" rule="lessThan"/>
</ByValueCondition>
</Condition>
<Condition name="criteria_OnSidewalkTest" delay="0" conditionEdge="rising">
<ByValueCondition>
<ParameterCondition parameterRef="" value="" rule="lessThan"/>
</ByValueCondition>
</Condition>
<Condition name="criteria_KeepLaneTest" delay="0" conditionEdge="rising">
<ByValueCondition>
<ParameterCondition parameterRef="" value="" rule="lessThan"/>
</ByValueCondition>
</Condition>
<Condition name="criteria_CollisionTest" delay="0" conditionEdge="rising">
<ByValueCondition>
<ParameterCondition parameterRef="" value="" rule="lessThan"/>
</ByValueCondition>
</Condition>
<Condition name="criteria_DrivenDistanceTest" delay="0" conditionEdge="rising">
<ByValueCondition>
<ParameterCondition parameterRef="distance_success" value="100" rule="lessThan"/>
</ByValueCondition>
</Condition>
</ConditionGroup>
</StopTrigger>
</Storyboard>
</OpenSCENARIO>
``` |
i would like to tell you to add pedestrian at location (-80.2, 60.36, 0.5)?
```
<?xml version="1.0" ?>
<OpenSCENARIO>
<FileHeader revMajor="1" revMinor="0" date="2020-03-24T12:00:00" description="CARLA:LaneChangeSimple" author=""/>
<ParameterDeclarations/>
<CatalogLocations/>
<RoadNetwork>
<LogicFile filepath="Town04"/>
<SceneGraphFile filepath=""/>
</RoadNetwork>
<Entities>
<ScenarioObject name="hero">
<Vehicle name="vehicle.tesla.model3" vehicleCategory="car">
<ParameterDeclarations/>
<Performance maxSpeed="69.444" maxAcceleration="200" maxDeceleration="10.0"/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2.1" length="4.5" height="1.8"/>
</BoundingBox>
<Axles>
<FrontAxle maxSteering="0.5" wheelDiameter="0.6" trackWidth="1.8" positionX="3.1" positionZ="0.3"/>
<RearAxle maxSteering="0.0" wheelDiameter="0.6" trackWidth="1.8" positionX="0.0" positionZ="0.3"/>
</Axles>
<Properties>
<Property name="type" value="ego_vehicle"/>
</Properties>
</Vehicle>
</ScenarioObject>
<ScenarioObject name="adversary">
<Vehicle name="vehicle.lincoln.mkz_2017" vehicleCategory="car">
<ParameterDeclarations/>
<Performance maxSpeed="69.444" maxAcceleration="200" maxDeceleration="10.0"/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2.1" length="4.5" height="1.8"/>
</BoundingBox>
<Axles>
<FrontAxle maxSteering="0.5" wheelDiameter="0.6" trackWidth="1.8" positionX="3.1" positionZ="0.3"/>
<RearAxle maxSteering="0.0" wheelDiameter="0.6" trackWidth="1.8" positionX="0.0" positionZ="0.3"/>
</Axles>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Vehicle>
</ScenarioObject>
<ScenarioObject name="standing">
<Vehicle name="vehicle.volkswagen.t2" vehicleCategory="car">
<ParameterDeclarations/>
<Performance maxSpeed="69.444" maxAcceleration="200" maxDeceleration="10.0"/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2.1" length="4.5" height="1.8"/>
</BoundingBox>
<Axles>
<FrontAxle maxSteering="0.5" wheelDiameter="0.6" trackWidth="1.8" positionX="3.1" positionZ="0.3"/>
<RearAxle maxSteering="0.0" wheelDiameter="0.6" trackWidth="1.8" positionX="0.0" positionZ="0.3"/>
</Axles>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Vehicle>
</ScenarioObject>
<ScenarioObject name="pedestrian_close_to_standing_3395">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_close_to_standing_3396">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_w_transform_3397">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_w_transform_3398">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_close_to_standing_3399">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_w_transform_3400">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
</Entities>
<Storyboard>
<Init>
<Actions>
<GlobalAction>
<EnvironmentAction>
<Environment name="Environment1">
<TimeOfDay animation="false" dateTime="2019-06-25T12:00:00"/>
<Weather cloudState="free">
<Sun intensity="0.85" azimuth="0" elevation="1.31"/>
<Fog visualRange="100000.0"/>
<Precipitation precipitationType="dry" intensity="0.0"/>
</Weather>
<RoadCondition frictionScaleFactor="1.0"/>
</Environment>
</EnvironmentAction>
</GlobalAction>
<Private entityRef="hero">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-9.4" y="-152.8" z="0.5" h="1.57079632679"/>
</Position>
</TeleportAction>
</PrivateAction>
<PrivateAction>
<ControllerAction>
<AssignControllerAction>
<Controller name="HeroAgent">
<Properties>
<Property name="module" value="external_control"/>
</Properties>
</Controller>
</AssignControllerAction>
<OverrideControllerValueAction>
<Throttle value="0" active="false"/>
<Brake value="0" active="false"/>
<Clutch value="0" active="false"/>
<ParkingBrake value="0" active="false"/>
<SteeringWheel value="0" active="false"/>
<Gear number="0" active="false"/>
</OverrideControllerValueAction>
</ControllerAction>
</PrivateAction>
</Private>
<Private entityRef="adversary">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-9.4" y="-71.0" z="0.5" h="1.57079632679"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="standing">
<PrivateAction>
<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_3395">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-2.9544057846069336" y="22.293724060058594" z="0.003061485243961215"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_close_to_standing_3396">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-10.510574340820312" y="36.57973098754883" z="0.0030527496710419655"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_w_transform_3397">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-15.940906524658203" y="86.82952880859375" z="0.5"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_w_transform_3398">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-49.635406494140625" y="-38.774227142333984" z="0.5"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_close_to_standing_3399">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-4.6042914390563965" y="23.664230346679688" z="0.0030240630730986595"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_w_transform_3400">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="2.3640291690826416" y="83.0601577758789" z="0.5"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
</Actions>
</Init>
<Story name="MyStory">
<Act name="Behavior">
<ManeuverGroup maximumExecutionCount="1" name="ManeuverSequence">
<Actors selectTriggeringEntities="false">
<EntityRef entityRef="adversary"/>
</Actors>
<Maneuver name="LaneChangeSimpleManeuver">
<Event name="AdversaryAccelerates" priority="overwrite">
<Action name="AdversaryAccelerates">
<PrivateAction>
<LongitudinalAction>
<SpeedAction>
<SpeedActionDynamics dynamicsShape="step" value="50" dynamicsDimension="distance"/>
<SpeedActionTarget>
<AbsoluteTargetSpeed value="5.0"/>
</SpeedActionTarget>
</SpeedAction>
</LongitudinalAction>
</PrivateAction>
</Action>
<StartTrigger>
<ConditionGroup>
<Condition name="StartCondition" delay="0" conditionEdge="rising">
<ByEntityCondition>
<TriggeringEntities triggeringEntitiesRule="any">
<EntityRef entityRef="hero"/>
</TriggeringEntities>
<EntityCondition>
<RelativeDistanceCondition entityRef="adversary" relativeDistanceType="cartesianDistance" value="40.0" freespace="false" rule="lessThan"/>
</EntityCondition>
</ByEntityCondition>
</Condition>
</ConditionGroup>
</StartTrigger>
</Event>
<Event name="AdversaryChangesLane" priority="overwrite">
<Action name="AdversaryChangesLane">
<PrivateAction>
<LateralAction>
<LaneChangeAction>
<LaneChangeActionDynamics dynamicsShape="linear" value="25" dynamicsDimension="distance"/>
<LaneChangeTarget>
<RelativeTargetLane entityRef="adversary" value="-1"/>
</LaneChangeTarget>
</LaneChangeAction>
</LateralAction>
</PrivateAction>
</Action>
<StartTrigger>
<ConditionGroup>
<Condition name="AfterAdversaryAccelerates" delay="0" conditionEdge="rising">
<ByValueCondition>
<StoryboardElementStateCondition storyboardElementType="action" storyboardElementRef="AdversaryAccelerates" state="completeState"/>
</ByValueCondition>
</Condition>
</ConditionGroup>
</StartTrigger>
</Event>
</Maneuver>
</ManeuverGroup>
<StartTrigger>
<ConditionGroup>
<Condition name="OverallStartCondition" delay="0" conditionEdge="rising">
<ByEntityCondition>
<TriggeringEntities triggeringEntitiesRule="any">
<EntityRef entityRef="hero"/>
</TriggeringEntities>
<EntityCondition>
<TraveledDistanceCondition value="1.0"/>
</EntityCondition>
</ByEntityCondition>
</Condition>
<Condition name="StartTime" delay="0" conditionEdge="rising">
<ByValueCondition>
<SimulationTimeCondition value="0" rule="equalTo"/>
</ByValueCondition>
</Condition>
</ConditionGroup>
</StartTrigger>
<StopTrigger>
<ConditionGroup>
<Condition name="EndCondition" delay="0" conditionEdge="rising">
<ByEntityCondition>
<TriggeringEntities triggeringEntitiesRule="any">
<EntityRef entityRef="hero"/>
</TriggeringEntities>
<EntityCondition>
<TraveledDistanceCondition value="200.0"/>
</EntityCondition>
</ByEntityCondition>
</Condition>
</ConditionGroup>
</StopTrigger>
</Act>
</Story>
<StopTrigger>
<ConditionGroup>
<Condition name="criteria_RunningStopTest" delay="0" conditionEdge="rising">
<ByValueCondition>
<ParameterCondition parameterRef="" value="" rule="lessThan"/>
</ByValueCondition>
</Condition>
<Condition name="criteria_RunningRedLightTest" delay="0" conditionEdge="rising">
<ByValueCondition>
<ParameterCondition parameterRef="" value="" rule="lessThan"/>
</ByValueCondition>
</Condition>
<Condition name="criteria_WrongLaneTest" delay="0" conditionEdge="rising">
<ByValueCondition>
<ParameterCondition parameterRef="" value="" rule="lessThan"/>
</ByValueCondition>
</Condition>
<Condition name="criteria_OnSidewalkTest" delay="0" conditionEdge="rising">
<ByValueCondition>
<ParameterCondition parameterRef="" value="" rule="lessThan"/>
</ByValueCondition>
</Condition>
<Condition name="criteria_KeepLaneTest" delay="0" conditionEdge="rising">
<ByValueCondition>
<ParameterCondition parameterRef="" value="" rule="lessThan"/>
</ByValueCondition>
</Condition>
<Condition name="criteria_CollisionTest" delay="0" conditionEdge="rising">
<ByValueCondition>
<ParameterCondition parameterRef="" value="" rule="lessThan"/>
</ByValueCondition>
</Condition>
<Condition name="criteria_DrivenDistanceTest" delay="0" conditionEdge="rising">
<ByValueCondition>
<ParameterCondition parameterRef="distance_success" value="100" rule="lessThan"/>
</ByValueCondition>
</Condition>
</ConditionGroup>
</StopTrigger>
</Storyboard>
</OpenSCENARIO>
``` | Here is the result:
```
<?xml version="1.0" ?>
<OpenSCENARIO>
<FileHeader revMajor="1" revMinor="0" date="2020-03-24T12:00:00" description="CARLA:LaneChangeSimple" author=""/>
<ParameterDeclarations/>
<CatalogLocations/>
<RoadNetwork>
<LogicFile filepath="Town04"/>
<SceneGraphFile filepath=""/>
</RoadNetwork>
<Entities>
<ScenarioObject name="hero">
<Vehicle name="vehicle.tesla.model3" vehicleCategory="car">
<ParameterDeclarations/>
<Performance maxSpeed="69.444" maxAcceleration="200" maxDeceleration="10.0"/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2.1" length="4.5" height="1.8"/>
</BoundingBox>
<Axles>
<FrontAxle maxSteering="0.5" wheelDiameter="0.6" trackWidth="1.8" positionX="3.1" positionZ="0.3"/>
<RearAxle maxSteering="0.0" wheelDiameter="0.6" trackWidth="1.8" positionX="0.0" positionZ="0.3"/>
</Axles>
<Properties>
<Property name="type" value="ego_vehicle"/>
</Properties>
</Vehicle>
</ScenarioObject>
<ScenarioObject name="adversary">
<Vehicle name="vehicle.lincoln.mkz_2017" vehicleCategory="car">
<ParameterDeclarations/>
<Performance maxSpeed="69.444" maxAcceleration="200" maxDeceleration="10.0"/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2.1" length="4.5" height="1.8"/>
</BoundingBox>
<Axles>
<FrontAxle maxSteering="0.5" wheelDiameter="0.6" trackWidth="1.8" positionX="3.1" positionZ="0.3"/>
<RearAxle maxSteering="0.0" wheelDiameter="0.6" trackWidth="1.8" positionX="0.0" positionZ="0.3"/>
</Axles>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Vehicle>
</ScenarioObject>
<ScenarioObject name="standing">
<Vehicle name="vehicle.volkswagen.t2" vehicleCategory="car">
<ParameterDeclarations/>
<Performance maxSpeed="69.444" maxAcceleration="200" maxDeceleration="10.0"/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2.1" length="4.5" height="1.8"/>
</BoundingBox>
<Axles>
<FrontAxle maxSteering="0.5" wheelDiameter="0.6" trackWidth="1.8" positionX="3.1" positionZ="0.3"/>
<RearAxle maxSteering="0.0" wheelDiameter="0.6" 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_3395">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_close_to_standing_3396">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_w_transform_3397">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_w_transform_3398">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_close_to_standing_3399">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_w_transform_3400">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_w_transform_3401">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
</Entities>
<Storyboard>
<Init>
<Actions>
<GlobalAction>
<EnvironmentAction>
<Environment name="Environment1">
<TimeOfDay animation="false" dateTime="2019-06-25T12:00:00"/>
<Weather cloudState="free">
<Sun intensity="0.85" azimuth="0" elevation="1.31"/>
<Fog visualRange="100000.0"/>
<Precipitation precipitationType="dry" intensity="0.0"/>
</Weather>
<RoadCondition frictionScaleFactor="1.0"/>
</Environment>
</EnvironmentAction>
</GlobalAction>
<Private entityRef="hero">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-9.4" y="-152.8" z="0.5" h="1.57079632679"/>
</Position>
</TeleportAction>
</PrivateAction>
<PrivateAction>
<ControllerAction>
<AssignControllerAction>
<Controller name="HeroAgent">
<Properties>
<Property name="module" value="external_control"/>
</Properties>
</Controller>
</AssignControllerAction>
<OverrideControllerValueAction>
<Throttle value="0" active="false"/>
<Brake value="0" active="false"/>
<Clutch value="0" active="false"/>
<ParkingBrake value="0" active="false"/>
<SteeringWheel value="0" active="false"/>
<Gear number="0" active="false"/>
</OverrideControllerValueAction>
</ControllerAction>
</PrivateAction>
</Private>
<Private entityRef="adversary">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-9.4" y="-71.0" z="0.5" h="1.57079632679"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="standing">
<PrivateAction>
<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_3395">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-2.9544057846069336" y="22.293724060058594" z="0.003061485243961215"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_close_to_standing_3396">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-10.510574340820312" y="36.57973098754883" z="0.0030527496710419655"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_w_transform_3397">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-15.940906524658203" y="86.82952880859375" z="0.5"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_w_transform_3398">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-49.635406494140625" y="-38.774227142333984" z="0.5"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_close_to_standing_3399">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-4.6042914390563965" y="23.664230346679688" z="0.0030240630730986595"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_w_transform_3400">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="2.3640291690826416" y="83.0601577758789" z="0.5"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_w_transform_3401">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-80.19900512695312" y="60.36294937133789" z="0.5"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
</Actions>
</Init>
<Story name="MyStory">
<Act name="Behavior">
<ManeuverGroup maximumExecutionCount="1" name="ManeuverSequence">
<Actors selectTriggeringEntities="false">
<EntityRef entityRef="adversary"/>
</Actors>
<Maneuver name="LaneChangeSimpleManeuver">
<Event name="AdversaryAccelerates" priority="overwrite">
<Action name="AdversaryAccelerates">
<PrivateAction>
<LongitudinalAction>
<SpeedAction>
<SpeedActionDynamics dynamicsShape="step" value="50" dynamicsDimension="distance"/>
<SpeedActionTarget>
<AbsoluteTargetSpeed value="5.0"/>
</SpeedActionTarget>
</SpeedAction>
</LongitudinalAction>
</PrivateAction>
</Action>
<StartTrigger>
<ConditionGroup>
<Condition name="StartCondition" delay="0" conditionEdge="rising">
<ByEntityCondition>
<TriggeringEntities triggeringEntitiesRule="any">
<EntityRef entityRef="hero"/>
</TriggeringEntities>
<EntityCondition>
<RelativeDistanceCondition entityRef="adversary" relativeDistanceType="cartesianDistance" value="40.0" freespace="false" rule="lessThan"/>
</EntityCondition>
</ByEntityCondition>
</Condition>
</ConditionGroup>
</StartTrigger>
</Event>
<Event name="AdversaryChangesLane" priority="overwrite">
<Action name="AdversaryChangesLane">
<PrivateAction>
<LateralAction>
<LaneChangeAction>
<LaneChangeActionDynamics dynamicsShape="linear" value="25" dynamicsDimension="distance"/>
<LaneChangeTarget>
<RelativeTargetLane entityRef="adversary" value="-1"/>
</LaneChangeTarget>
</LaneChangeAction>
</LateralAction>
</PrivateAction>
</Action>
<StartTrigger>
<ConditionGroup>
<Condition name="AfterAdversaryAccelerates" delay="0" conditionEdge="rising">
<ByValueCondition>
<StoryboardElementStateCondition storyboardElementType="action" storyboardElementRef="AdversaryAccelerates" state="completeState"/>
</ByValueCondition>
</Condition>
</ConditionGroup>
</StartTrigger>
</Event>
</Maneuver>
</ManeuverGroup>
<StartTrigger>
<ConditionGroup>
<Condition name="OverallStartCondition" delay="0" conditionEdge="rising">
<ByEntityCondition>
<TriggeringEntities triggeringEntitiesRule="any">
<EntityRef entityRef="hero"/>
</TriggeringEntities>
<EntityCondition>
<TraveledDistanceCondition value="1.0"/>
</EntityCondition>
</ByEntityCondition>
</Condition>
<Condition name="StartTime" delay="0" conditionEdge="rising">
<ByValueCondition>
<SimulationTimeCondition value="0" rule="equalTo"/>
</ByValueCondition>
</Condition>
</ConditionGroup>
</StartTrigger>
<StopTrigger>
<ConditionGroup>
<Condition name="EndCondition" delay="0" conditionEdge="rising">
<ByEntityCondition>
<TriggeringEntities triggeringEntitiesRule="any">
<EntityRef entityRef="hero"/>
</TriggeringEntities>
<EntityCondition>
<TraveledDistanceCondition value="200.0"/>
</EntityCondition>
</ByEntityCondition>
</Condition>
</ConditionGroup>
</StopTrigger>
</Act>
</Story>
<StopTrigger>
<ConditionGroup>
<Condition name="criteria_RunningStopTest" delay="0" conditionEdge="rising">
<ByValueCondition>
<ParameterCondition parameterRef="" value="" rule="lessThan"/>
</ByValueCondition>
</Condition>
<Condition name="criteria_RunningRedLightTest" delay="0" conditionEdge="rising">
<ByValueCondition>
<ParameterCondition parameterRef="" value="" rule="lessThan"/>
</ByValueCondition>
</Condition>
<Condition name="criteria_WrongLaneTest" delay="0" conditionEdge="rising">
<ByValueCondition>
<ParameterCondition parameterRef="" value="" rule="lessThan"/>
</ByValueCondition>
</Condition>
<Condition name="criteria_OnSidewalkTest" delay="0" conditionEdge="rising">
<ByValueCondition>
<ParameterCondition parameterRef="" value="" rule="lessThan"/>
</ByValueCondition>
</Condition>
<Condition name="criteria_KeepLaneTest" delay="0" conditionEdge="rising">
<ByValueCondition>
<ParameterCondition parameterRef="" value="" rule="lessThan"/>
</ByValueCondition>
</Condition>
<Condition name="criteria_CollisionTest" delay="0" conditionEdge="rising">
<ByValueCondition>
<ParameterCondition parameterRef="" value="" rule="lessThan"/>
</ByValueCondition>
</Condition>
<Condition name="criteria_DrivenDistanceTest" delay="0" conditionEdge="rising">
<ByValueCondition>
<ParameterCondition parameterRef="distance_success" value="100" rule="lessThan"/>
</ByValueCondition>
</Condition>
</ConditionGroup>
</StopTrigger>
</Storyboard>
</OpenSCENARIO>
``` |
could you add pedestrian close to adversary?
```
<?xml version="1.0" ?>
<OpenSCENARIO>
<FileHeader revMajor="1" revMinor="0" date="2020-03-24T12:00:00" description="CARLA:LaneChangeSimple" author=""/>
<ParameterDeclarations/>
<CatalogLocations/>
<RoadNetwork>
<LogicFile filepath="Town04"/>
<SceneGraphFile filepath=""/>
</RoadNetwork>
<Entities>
<ScenarioObject name="hero">
<Vehicle name="vehicle.tesla.model3" vehicleCategory="car">
<ParameterDeclarations/>
<Performance maxSpeed="69.444" maxAcceleration="200" maxDeceleration="10.0"/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2.1" length="4.5" height="1.8"/>
</BoundingBox>
<Axles>
<FrontAxle maxSteering="0.5" wheelDiameter="0.6" trackWidth="1.8" positionX="3.1" positionZ="0.3"/>
<RearAxle maxSteering="0.0" wheelDiameter="0.6" trackWidth="1.8" positionX="0.0" positionZ="0.3"/>
</Axles>
<Properties>
<Property name="type" value="ego_vehicle"/>
</Properties>
</Vehicle>
</ScenarioObject>
<ScenarioObject name="adversary">
<Vehicle name="vehicle.lincoln.mkz_2017" vehicleCategory="car">
<ParameterDeclarations/>
<Performance maxSpeed="69.444" maxAcceleration="200" maxDeceleration="10.0"/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2.1" length="4.5" height="1.8"/>
</BoundingBox>
<Axles>
<FrontAxle maxSteering="0.5" wheelDiameter="0.6" trackWidth="1.8" positionX="3.1" positionZ="0.3"/>
<RearAxle maxSteering="0.0" wheelDiameter="0.6" trackWidth="1.8" positionX="0.0" positionZ="0.3"/>
</Axles>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Vehicle>
</ScenarioObject>
<ScenarioObject name="standing">
<Vehicle name="vehicle.volkswagen.t2" vehicleCategory="car">
<ParameterDeclarations/>
<Performance maxSpeed="69.444" maxAcceleration="200" maxDeceleration="10.0"/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2.1" length="4.5" height="1.8"/>
</BoundingBox>
<Axles>
<FrontAxle maxSteering="0.5" wheelDiameter="0.6" trackWidth="1.8" positionX="3.1" positionZ="0.3"/>
<RearAxle maxSteering="0.0" wheelDiameter="0.6" trackWidth="1.8" positionX="0.0" positionZ="0.3"/>
</Axles>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Vehicle>
</ScenarioObject>
<ScenarioObject name="pedestrian_close_to_standing_13114">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_close_to_standing_13115">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_w_transform_13116">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_w_transform_13117">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_w_transform_13118">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
</Entities>
<Storyboard>
<Init>
<Actions>
<GlobalAction>
<EnvironmentAction>
<Environment name="Environment1">
<TimeOfDay animation="false" dateTime="2019-06-25T12:00:00"/>
<Weather cloudState="free">
<Sun intensity="0.85" azimuth="0" elevation="1.31"/>
<Fog visualRange="100000.0"/>
<Precipitation precipitationType="dry" intensity="0.0"/>
</Weather>
<RoadCondition frictionScaleFactor="1.0"/>
</Environment>
</EnvironmentAction>
</GlobalAction>
<Private entityRef="hero">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-9.4" y="-152.8" z="0.5" h="1.57079632679"/>
</Position>
</TeleportAction>
</PrivateAction>
<PrivateAction>
<ControllerAction>
<AssignControllerAction>
<Controller name="HeroAgent">
<Properties>
<Property name="module" value="external_control"/>
</Properties>
</Controller>
</AssignControllerAction>
<OverrideControllerValueAction>
<Throttle value="0" active="false"/>
<Brake value="0" active="false"/>
<Clutch value="0" active="false"/>
<ParkingBrake value="0" active="false"/>
<SteeringWheel value="0" active="false"/>
<Gear number="0" active="false"/>
</OverrideControllerValueAction>
</ControllerAction>
</PrivateAction>
</Private>
<Private entityRef="adversary">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-9.4" y="-71.0" z="0.5" h="1.57079632679"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="standing">
<PrivateAction>
<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_13114">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-9.851951599121094" y="34.04798126220703" z="0.0030370329041033983"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_close_to_standing_13115">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-5.7196269035339355" y="36.1973876953125" z="0.0030583953484892845"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_w_transform_13116">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="95.38030242919922" y="12.833283424377441" z="0.5"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_w_transform_13117">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="16.116207122802734" y="89.57093048095703" z="0.5"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_w_transform_13118">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-53.199581146240234" y="83.21324157714844" z="0.5"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
</Actions>
</Init>
<Story name="MyStory">
<Act name="Behavior">
<ManeuverGroup maximumExecutionCount="1" name="ManeuverSequence">
<Actors selectTriggeringEntities="false">
<EntityRef entityRef="adversary"/>
</Actors>
<Maneuver name="LaneChangeSimpleManeuver">
<Event name="AdversaryAccelerates" priority="overwrite">
<Action name="AdversaryAccelerates">
<PrivateAction>
<LongitudinalAction>
<SpeedAction>
<SpeedActionDynamics dynamicsShape="step" value="50" dynamicsDimension="distance"/>
<SpeedActionTarget>
<AbsoluteTargetSpeed value="5.0"/>
</SpeedActionTarget>
</SpeedAction>
</LongitudinalAction>
</PrivateAction>
</Action>
<StartTrigger>
<ConditionGroup>
<Condition name="StartCondition" delay="0" conditionEdge="rising">
<ByEntityCondition>
<TriggeringEntities triggeringEntitiesRule="any">
<EntityRef entityRef="hero"/>
</TriggeringEntities>
<EntityCondition>
<RelativeDistanceCondition entityRef="adversary" relativeDistanceType="cartesianDistance" value="40.0" freespace="false" rule="lessThan"/>
</EntityCondition>
</ByEntityCondition>
</Condition>
</ConditionGroup>
</StartTrigger>
</Event>
<Event name="AdversaryChangesLane" priority="overwrite">
<Action name="AdversaryChangesLane">
<PrivateAction>
<LateralAction>
<LaneChangeAction>
<LaneChangeActionDynamics dynamicsShape="linear" value="25" dynamicsDimension="distance"/>
<LaneChangeTarget>
<RelativeTargetLane entityRef="adversary" value="-1"/>
</LaneChangeTarget>
</LaneChangeAction>
</LateralAction>
</PrivateAction>
</Action>
<StartTrigger>
<ConditionGroup>
<Condition name="AfterAdversaryAccelerates" delay="0" conditionEdge="rising">
<ByValueCondition>
<StoryboardElementStateCondition storyboardElementType="action" storyboardElementRef="AdversaryAccelerates" state="completeState"/>
</ByValueCondition>
</Condition>
</ConditionGroup>
</StartTrigger>
</Event>
</Maneuver>
</ManeuverGroup>
<StartTrigger>
<ConditionGroup>
<Condition name="OverallStartCondition" delay="0" conditionEdge="rising">
<ByEntityCondition>
<TriggeringEntities triggeringEntitiesRule="any">
<EntityRef entityRef="hero"/>
</TriggeringEntities>
<EntityCondition>
<TraveledDistanceCondition value="1.0"/>
</EntityCondition>
</ByEntityCondition>
</Condition>
<Condition name="StartTime" delay="0" conditionEdge="rising">
<ByValueCondition>
<SimulationTimeCondition value="0" rule="equalTo"/>
</ByValueCondition>
</Condition>
</ConditionGroup>
</StartTrigger>
<StopTrigger>
<ConditionGroup>
<Condition name="EndCondition" delay="0" conditionEdge="rising">
<ByEntityCondition>
<TriggeringEntities triggeringEntitiesRule="any">
<EntityRef entityRef="hero"/>
</TriggeringEntities>
<EntityCondition>
<TraveledDistanceCondition value="200.0"/>
</EntityCondition>
</ByEntityCondition>
</Condition>
</ConditionGroup>
</StopTrigger>
</Act>
</Story>
<StopTrigger>
<ConditionGroup>
<Condition name="criteria_RunningStopTest" delay="0" conditionEdge="rising">
<ByValueCondition>
<ParameterCondition parameterRef="" value="" rule="lessThan"/>
</ByValueCondition>
</Condition>
<Condition name="criteria_RunningRedLightTest" delay="0" conditionEdge="rising">
<ByValueCondition>
<ParameterCondition parameterRef="" value="" rule="lessThan"/>
</ByValueCondition>
</Condition>
<Condition name="criteria_WrongLaneTest" delay="0" conditionEdge="rising">
<ByValueCondition>
<ParameterCondition parameterRef="" value="" rule="lessThan"/>
</ByValueCondition>
</Condition>
<Condition name="criteria_OnSidewalkTest" delay="0" conditionEdge="rising">
<ByValueCondition>
<ParameterCondition parameterRef="" value="" rule="lessThan"/>
</ByValueCondition>
</Condition>
<Condition name="criteria_KeepLaneTest" delay="0" conditionEdge="rising">
<ByValueCondition>
<ParameterCondition parameterRef="" value="" rule="lessThan"/>
</ByValueCondition>
</Condition>
<Condition name="criteria_CollisionTest" delay="0" conditionEdge="rising">
<ByValueCondition>
<ParameterCondition parameterRef="" value="" rule="lessThan"/>
</ByValueCondition>
</Condition>
<Condition name="criteria_DrivenDistanceTest" delay="0" conditionEdge="rising">
<ByValueCondition>
<ParameterCondition parameterRef="distance_success" value="100" rule="lessThan"/>
</ByValueCondition>
</Condition>
</ConditionGroup>
</StopTrigger>
</Storyboard>
</OpenSCENARIO>
``` | Here is the result:
```
<?xml version="1.0" ?>
<OpenSCENARIO>
<FileHeader revMajor="1" revMinor="0" date="2020-03-24T12:00:00" description="CARLA:LaneChangeSimple" author=""/>
<ParameterDeclarations/>
<CatalogLocations/>
<RoadNetwork>
<LogicFile filepath="Town04"/>
<SceneGraphFile filepath=""/>
</RoadNetwork>
<Entities>
<ScenarioObject name="hero">
<Vehicle name="vehicle.tesla.model3" vehicleCategory="car">
<ParameterDeclarations/>
<Performance maxSpeed="69.444" maxAcceleration="200" maxDeceleration="10.0"/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2.1" length="4.5" height="1.8"/>
</BoundingBox>
<Axles>
<FrontAxle maxSteering="0.5" wheelDiameter="0.6" trackWidth="1.8" positionX="3.1" positionZ="0.3"/>
<RearAxle maxSteering="0.0" wheelDiameter="0.6" trackWidth="1.8" positionX="0.0" positionZ="0.3"/>
</Axles>
<Properties>
<Property name="type" value="ego_vehicle"/>
</Properties>
</Vehicle>
</ScenarioObject>
<ScenarioObject name="adversary">
<Vehicle name="vehicle.lincoln.mkz_2017" vehicleCategory="car">
<ParameterDeclarations/>
<Performance maxSpeed="69.444" maxAcceleration="200" maxDeceleration="10.0"/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2.1" length="4.5" height="1.8"/>
</BoundingBox>
<Axles>
<FrontAxle maxSteering="0.5" wheelDiameter="0.6" trackWidth="1.8" positionX="3.1" positionZ="0.3"/>
<RearAxle maxSteering="0.0" wheelDiameter="0.6" trackWidth="1.8" positionX="0.0" positionZ="0.3"/>
</Axles>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Vehicle>
</ScenarioObject>
<ScenarioObject name="standing">
<Vehicle name="vehicle.volkswagen.t2" vehicleCategory="car">
<ParameterDeclarations/>
<Performance maxSpeed="69.444" maxAcceleration="200" maxDeceleration="10.0"/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2.1" length="4.5" height="1.8"/>
</BoundingBox>
<Axles>
<FrontAxle maxSteering="0.5" wheelDiameter="0.6" trackWidth="1.8" positionX="3.1" positionZ="0.3"/>
<RearAxle maxSteering="0.0" wheelDiameter="0.6" 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_13114">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_close_to_standing_13115">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_w_transform_13116">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_w_transform_13117">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_w_transform_13118">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_close_to_adversary_13119">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
</Entities>
<Storyboard>
<Init>
<Actions>
<GlobalAction>
<EnvironmentAction>
<Environment name="Environment1">
<TimeOfDay animation="false" dateTime="2019-06-25T12:00:00"/>
<Weather cloudState="free">
<Sun intensity="0.85" azimuth="0" elevation="1.31"/>
<Fog visualRange="100000.0"/>
<Precipitation precipitationType="dry" intensity="0.0"/>
</Weather>
<RoadCondition frictionScaleFactor="1.0"/>
</Environment>
</EnvironmentAction>
</GlobalAction>
<Private entityRef="hero">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-9.4" y="-152.8" z="0.5" h="1.57079632679"/>
</Position>
</TeleportAction>
</PrivateAction>
<PrivateAction>
<ControllerAction>
<AssignControllerAction>
<Controller name="HeroAgent">
<Properties>
<Property name="module" value="external_control"/>
</Properties>
</Controller>
</AssignControllerAction>
<OverrideControllerValueAction>
<Throttle value="0" active="false"/>
<Brake value="0" active="false"/>
<Clutch value="0" active="false"/>
<ParkingBrake value="0" active="false"/>
<SteeringWheel value="0" active="false"/>
<Gear number="0" active="false"/>
</OverrideControllerValueAction>
</ControllerAction>
</PrivateAction>
</Private>
<Private entityRef="adversary">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-9.4" y="-71.0" z="0.5" h="1.57079632679"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="standing">
<PrivateAction>
<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_13114">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-9.851951599121094" y="34.04798126220703" z="0.0030370329041033983"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_close_to_standing_13115">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-5.7196269035339355" y="36.1973876953125" z="0.0030583953484892845"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_w_transform_13116">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="95.38030242919922" y="12.833283424377441" z="0.5"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_w_transform_13117">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="16.116207122802734" y="89.57093048095703" z="0.5"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_w_transform_13118">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-53.199581146240234" y="83.21324157714844" z="0.5"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_close_to_adversary_13119">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-3.24061918258667" y="-77.76701354980469" z="0.03376457095146179"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
</Actions>
</Init>
<Story name="MyStory">
<Act name="Behavior">
<ManeuverGroup maximumExecutionCount="1" name="ManeuverSequence">
<Actors selectTriggeringEntities="false">
<EntityRef entityRef="adversary"/>
</Actors>
<Maneuver name="LaneChangeSimpleManeuver">
<Event name="AdversaryAccelerates" priority="overwrite">
<Action name="AdversaryAccelerates">
<PrivateAction>
<LongitudinalAction>
<SpeedAction>
<SpeedActionDynamics dynamicsShape="step" value="50" dynamicsDimension="distance"/>
<SpeedActionTarget>
<AbsoluteTargetSpeed value="5.0"/>
</SpeedActionTarget>
</SpeedAction>
</LongitudinalAction>
</PrivateAction>
</Action>
<StartTrigger>
<ConditionGroup>
<Condition name="StartCondition" delay="0" conditionEdge="rising">
<ByEntityCondition>
<TriggeringEntities triggeringEntitiesRule="any">
<EntityRef entityRef="hero"/>
</TriggeringEntities>
<EntityCondition>
<RelativeDistanceCondition entityRef="adversary" relativeDistanceType="cartesianDistance" value="40.0" freespace="false" rule="lessThan"/>
</EntityCondition>
</ByEntityCondition>
</Condition>
</ConditionGroup>
</StartTrigger>
</Event>
<Event name="AdversaryChangesLane" priority="overwrite">
<Action name="AdversaryChangesLane">
<PrivateAction>
<LateralAction>
<LaneChangeAction>
<LaneChangeActionDynamics dynamicsShape="linear" value="25" dynamicsDimension="distance"/>
<LaneChangeTarget>
<RelativeTargetLane entityRef="adversary" value="-1"/>
</LaneChangeTarget>
</LaneChangeAction>
</LateralAction>
</PrivateAction>
</Action>
<StartTrigger>
<ConditionGroup>
<Condition name="AfterAdversaryAccelerates" delay="0" conditionEdge="rising">
<ByValueCondition>
<StoryboardElementStateCondition storyboardElementType="action" storyboardElementRef="AdversaryAccelerates" state="completeState"/>
</ByValueCondition>
</Condition>
</ConditionGroup>
</StartTrigger>
</Event>
</Maneuver>
</ManeuverGroup>
<StartTrigger>
<ConditionGroup>
<Condition name="OverallStartCondition" delay="0" conditionEdge="rising">
<ByEntityCondition>
<TriggeringEntities triggeringEntitiesRule="any">
<EntityRef entityRef="hero"/>
</TriggeringEntities>
<EntityCondition>
<TraveledDistanceCondition value="1.0"/>
</EntityCondition>
</ByEntityCondition>
</Condition>
<Condition name="StartTime" delay="0" conditionEdge="rising">
<ByValueCondition>
<SimulationTimeCondition value="0" rule="equalTo"/>
</ByValueCondition>
</Condition>
</ConditionGroup>
</StartTrigger>
<StopTrigger>
<ConditionGroup>
<Condition name="EndCondition" delay="0" conditionEdge="rising">
<ByEntityCondition>
<TriggeringEntities triggeringEntitiesRule="any">
<EntityRef entityRef="hero"/>
</TriggeringEntities>
<EntityCondition>
<TraveledDistanceCondition value="200.0"/>
</EntityCondition>
</ByEntityCondition>
</Condition>
</ConditionGroup>
</StopTrigger>
</Act>
</Story>
<StopTrigger>
<ConditionGroup>
<Condition name="criteria_RunningStopTest" delay="0" conditionEdge="rising">
<ByValueCondition>
<ParameterCondition parameterRef="" value="" rule="lessThan"/>
</ByValueCondition>
</Condition>
<Condition name="criteria_RunningRedLightTest" delay="0" conditionEdge="rising">
<ByValueCondition>
<ParameterCondition parameterRef="" value="" rule="lessThan"/>
</ByValueCondition>
</Condition>
<Condition name="criteria_WrongLaneTest" delay="0" conditionEdge="rising">
<ByValueCondition>
<ParameterCondition parameterRef="" value="" rule="lessThan"/>
</ByValueCondition>
</Condition>
<Condition name="criteria_OnSidewalkTest" delay="0" conditionEdge="rising">
<ByValueCondition>
<ParameterCondition parameterRef="" value="" rule="lessThan"/>
</ByValueCondition>
</Condition>
<Condition name="criteria_KeepLaneTest" delay="0" conditionEdge="rising">
<ByValueCondition>
<ParameterCondition parameterRef="" value="" rule="lessThan"/>
</ByValueCondition>
</Condition>
<Condition name="criteria_CollisionTest" delay="0" conditionEdge="rising">
<ByValueCondition>
<ParameterCondition parameterRef="" value="" rule="lessThan"/>
</ByValueCondition>
</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_14203">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
</Entities>
<Storyboard>
<Init>
<Actions>
<GlobalAction>
<EnvironmentAction>
<Environment name="Environment1">
<TimeOfDay animation="false" dateTime="2019-06-25T12:00:00"/>
<Weather cloudState="free">
<Sun intensity="0.85" azimuth="0" elevation="1.31"/>
<Fog visualRange="100000.0"/>
<Precipitation precipitationType="dry" intensity="0.0"/>
</Weather>
<RoadCondition frictionScaleFactor="1.0"/>
</Environment>
</EnvironmentAction>
</GlobalAction>
<Private entityRef="hero">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-9.4" y="-152.8" z="0.5" h="1.57079632679"/>
</Position>
</TeleportAction>
</PrivateAction>
<PrivateAction>
<ControllerAction>
<AssignControllerAction>
<Controller name="HeroAgent">
<Properties>
<Property name="module" value="external_control"/>
</Properties>
</Controller>
</AssignControllerAction>
<OverrideControllerValueAction>
<Throttle value="0" active="false"/>
<Brake value="0" active="false"/>
<Clutch value="0" active="false"/>
<ParkingBrake value="0" active="false"/>
<SteeringWheel value="0" active="false"/>
<Gear number="0" active="false"/>
</OverrideControllerValueAction>
</ControllerAction>
</PrivateAction>
</Private>
<Private entityRef="adversary">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-9.4" y="-71.0" z="0.5" h="1.57079632679"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="standing">
<PrivateAction>
<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_14203">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-17.005582809448242" y="25.35657501220703" z="0.003059501526877284"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
</Actions>
</Init>
<Story name="MyStory">
<Act name="Behavior">
<ManeuverGroup maximumExecutionCount="1" name="ManeuverSequence">
<Actors selectTriggeringEntities="false">
<EntityRef entityRef="adversary"/>
</Actors>
<Maneuver name="LaneChangeSimpleManeuver">
<Event name="AdversaryAccelerates" priority="overwrite">
<Action name="AdversaryAccelerates">
<PrivateAction>
<LongitudinalAction>
<SpeedAction>
<SpeedActionDynamics dynamicsShape="step" value="50" dynamicsDimension="distance"/>
<SpeedActionTarget>
<AbsoluteTargetSpeed value="5.0"/>
</SpeedActionTarget>
</SpeedAction>
</LongitudinalAction>
</PrivateAction>
</Action>
<StartTrigger>
<ConditionGroup>
<Condition name="StartCondition" delay="0" conditionEdge="rising">
<ByEntityCondition>
<TriggeringEntities triggeringEntitiesRule="any">
<EntityRef entityRef="hero"/>
</TriggeringEntities>
<EntityCondition>
<RelativeDistanceCondition entityRef="adversary" relativeDistanceType="cartesianDistance" value="40.0" freespace="false" rule="lessThan"/>
</EntityCondition>
</ByEntityCondition>
</Condition>
</ConditionGroup>
</StartTrigger>
</Event>
<Event name="AdversaryChangesLane" priority="overwrite">
<Action name="AdversaryChangesLane">
<PrivateAction>
<LateralAction>
<LaneChangeAction>
<LaneChangeActionDynamics dynamicsShape="linear" value="25" dynamicsDimension="distance"/>
<LaneChangeTarget>
<RelativeTargetLane entityRef="adversary" value="-1"/>
</LaneChangeTarget>
</LaneChangeAction>
</LateralAction>
</PrivateAction>
</Action>
<StartTrigger>
<ConditionGroup>
<Condition name="AfterAdversaryAccelerates" delay="0" conditionEdge="rising">
<ByValueCondition>
<StoryboardElementStateCondition storyboardElementType="action" storyboardElementRef="AdversaryAccelerates" state="completeState"/>
</ByValueCondition>
</Condition>
</ConditionGroup>
</StartTrigger>
</Event>
</Maneuver>
</ManeuverGroup>
<StartTrigger>
<ConditionGroup>
<Condition name="OverallStartCondition" delay="0" conditionEdge="rising">
<ByEntityCondition>
<TriggeringEntities triggeringEntitiesRule="any">
<EntityRef entityRef="hero"/>
</TriggeringEntities>
<EntityCondition>
<TraveledDistanceCondition value="1.0"/>
</EntityCondition>
</ByEntityCondition>
</Condition>
<Condition name="StartTime" delay="0" conditionEdge="rising">
<ByValueCondition>
<SimulationTimeCondition value="0" rule="equalTo"/>
</ByValueCondition>
</Condition>
</ConditionGroup>
</StartTrigger>
<StopTrigger>
<ConditionGroup>
<Condition name="EndCondition" delay="0" conditionEdge="rising">
<ByEntityCondition>
<TriggeringEntities triggeringEntitiesRule="any">
<EntityRef entityRef="hero"/>
</TriggeringEntities>
<EntityCondition>
<TraveledDistanceCondition value="200.0"/>
</EntityCondition>
</ByEntityCondition>
</Condition>
</ConditionGroup>
</StopTrigger>
</Act>
</Story>
<StopTrigger>
<ConditionGroup>
<Condition name="criteria_RunningStopTest" delay="0" conditionEdge="rising">
<ByValueCondition>
<ParameterCondition parameterRef="" value="" rule="lessThan"/>
</ByValueCondition>
</Condition>
<Condition name="criteria_RunningRedLightTest" delay="0" conditionEdge="rising">
<ByValueCondition>
<ParameterCondition parameterRef="" value="" rule="lessThan"/>
</ByValueCondition>
</Condition>
<Condition name="criteria_WrongLaneTest" delay="0" conditionEdge="rising">
<ByValueCondition>
<ParameterCondition parameterRef="" value="" rule="lessThan"/>
</ByValueCondition>
</Condition>
<Condition name="criteria_OnSidewalkTest" delay="0" conditionEdge="rising">
<ByValueCondition>
<ParameterCondition parameterRef="" value="" rule="lessThan"/>
</ByValueCondition>
</Condition>
<Condition name="criteria_KeepLaneTest" delay="0" conditionEdge="rising">
<ByValueCondition>
<ParameterCondition parameterRef="" value="" rule="lessThan"/>
</ByValueCondition>
</Condition>
<Condition name="criteria_CollisionTest" delay="0" conditionEdge="rising">
<ByValueCondition>
<ParameterCondition parameterRef="" value="" rule="lessThan"/>
</ByValueCondition>
</Condition>
<Condition name="criteria_DrivenDistanceTest" delay="0" conditionEdge="rising">
<ByValueCondition>
<ParameterCondition parameterRef="distance_success" value="100" rule="lessThan"/>
</ByValueCondition>
</Condition>
</ConditionGroup>
</StopTrigger>
</Storyboard>
</OpenSCENARIO>
``` |
i would like you to demonstrate add pedestrian close to hero?
```
<?xml version="1.0" ?>
<OpenSCENARIO>
<FileHeader revMajor="1" revMinor="0" date="2020-03-24T12:00:00" description="CARLA:LaneChangeSimple" author=""/>
<ParameterDeclarations/>
<CatalogLocations/>
<RoadNetwork>
<LogicFile filepath="Town04"/>
<SceneGraphFile filepath=""/>
</RoadNetwork>
<Entities>
<ScenarioObject name="hero">
<Vehicle name="vehicle.tesla.model3" vehicleCategory="car">
<ParameterDeclarations/>
<Performance maxSpeed="69.444" maxAcceleration="200" maxDeceleration="10.0"/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2.1" length="4.5" height="1.8"/>
</BoundingBox>
<Axles>
<FrontAxle maxSteering="0.5" wheelDiameter="0.6" trackWidth="1.8" positionX="3.1" positionZ="0.3"/>
<RearAxle maxSteering="0.0" wheelDiameter="0.6" trackWidth="1.8" positionX="0.0" positionZ="0.3"/>
</Axles>
<Properties>
<Property name="type" value="ego_vehicle"/>
</Properties>
</Vehicle>
</ScenarioObject>
<ScenarioObject name="adversary">
<Vehicle name="vehicle.lincoln.mkz_2017" vehicleCategory="car">
<ParameterDeclarations/>
<Performance maxSpeed="69.444" maxAcceleration="200" maxDeceleration="10.0"/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2.1" length="4.5" height="1.8"/>
</BoundingBox>
<Axles>
<FrontAxle maxSteering="0.5" wheelDiameter="0.6" trackWidth="1.8" positionX="3.1" positionZ="0.3"/>
<RearAxle maxSteering="0.0" wheelDiameter="0.6" trackWidth="1.8" positionX="0.0" positionZ="0.3"/>
</Axles>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Vehicle>
</ScenarioObject>
<ScenarioObject name="standing">
<Vehicle name="vehicle.volkswagen.t2" vehicleCategory="car">
<ParameterDeclarations/>
<Performance maxSpeed="69.444" maxAcceleration="200" maxDeceleration="10.0"/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2.1" length="4.5" height="1.8"/>
</BoundingBox>
<Axles>
<FrontAxle maxSteering="0.5" wheelDiameter="0.6" trackWidth="1.8" positionX="3.1" positionZ="0.3"/>
<RearAxle maxSteering="0.0" wheelDiameter="0.6" trackWidth="1.8" positionX="0.0" positionZ="0.3"/>
</Axles>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Vehicle>
</ScenarioObject>
<ScenarioObject name="pedestrian_close_to_standing_20686">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_close_to_hero_20687">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_close_to_standing_20688">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_w_transform_20689">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_close_to_standing_20690">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_close_to_hero_20691">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_w_transform_20692">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_w_transform_20693">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_close_to_adversary_20694">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_close_to_adversary_20695">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_close_to_hero_20696">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_close_to_hero_20697">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_w_transform_20698">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_close_to_standing_20699">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
</Entities>
<Storyboard>
<Init>
<Actions>
<GlobalAction>
<EnvironmentAction>
<Environment name="Environment1">
<TimeOfDay animation="false" dateTime="2019-06-25T12:00:00"/>
<Weather cloudState="free">
<Sun intensity="0.85" azimuth="0" elevation="1.31"/>
<Fog visualRange="100000.0"/>
<Precipitation precipitationType="dry" intensity="0.0"/>
</Weather>
<RoadCondition frictionScaleFactor="1.0"/>
</Environment>
</EnvironmentAction>
</GlobalAction>
<Private entityRef="hero">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-9.4" y="-152.8" z="0.5" h="1.57079632679"/>
</Position>
</TeleportAction>
</PrivateAction>
<PrivateAction>
<ControllerAction>
<AssignControllerAction>
<Controller name="HeroAgent">
<Properties>
<Property name="module" value="external_control"/>
</Properties>
</Controller>
</AssignControllerAction>
<OverrideControllerValueAction>
<Throttle value="0" active="false"/>
<Brake value="0" active="false"/>
<Clutch value="0" active="false"/>
<ParkingBrake value="0" active="false"/>
<SteeringWheel value="0" active="false"/>
<Gear number="0" active="false"/>
</OverrideControllerValueAction>
</ControllerAction>
</PrivateAction>
</Private>
<Private entityRef="adversary">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-9.4" y="-71.0" z="0.5" h="1.57079632679"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="standing">
<PrivateAction>
<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_20686">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-17.75336456298828" y="23.637514114379883" z="0.003048210171982646"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_close_to_hero_20687">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-6.35483980178833" y="-159.2867889404297" z="0.0014286803780123591"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_close_to_standing_20688">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-2.5572822093963623" y="31.6200008392334" z="0.003060569753870368"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_w_transform_20689">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-40.495723724365234" y="26.888723373413086" z="0.5"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_close_to_standing_20690">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-6.684743404388428" y="32.7998161315918" z="0.003073577769100666"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_close_to_hero_20691">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="5.059541702270508" y="-170.71917724609375" z="0.0014286803780123591"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_w_transform_20692">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-49.86698913574219" y="85.57665252685547" z="0.5"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_w_transform_20693">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="81.9110107421875" y="-72.23184204101562" z="0.5"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_close_to_adversary_20694">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-3.029839515686035" y="-65.54183959960938" z="0.033862724900245667"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_close_to_adversary_20695">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-12.881763458251953" y="-69.15001678466797" z="0.033810537308454514"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_close_to_hero_20696">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-0.25339555740356445" y="-151.81161499023438" z="0.0014286803780123591"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_close_to_hero_20697">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-12.971267700195312" y="-148.9170684814453" z="0.0014286803780123591"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_w_transform_20698">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-59.56850051879883" y="61.56167221069336" z="0.5"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_close_to_standing_20699">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-5.962338447570801" y="37.158172607421875" z="0.0030624771025031805"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
</Actions>
</Init>
<Story name="MyStory">
<Act name="Behavior">
<ManeuverGroup maximumExecutionCount="1" name="ManeuverSequence">
<Actors selectTriggeringEntities="false">
<EntityRef entityRef="adversary"/>
</Actors>
<Maneuver name="LaneChangeSimpleManeuver">
<Event name="AdversaryAccelerates" priority="overwrite">
<Action name="AdversaryAccelerates">
<PrivateAction>
<LongitudinalAction>
<SpeedAction>
<SpeedActionDynamics dynamicsShape="step" value="50" dynamicsDimension="distance"/>
<SpeedActionTarget>
<AbsoluteTargetSpeed value="5.0"/>
</SpeedActionTarget>
</SpeedAction>
</LongitudinalAction>
</PrivateAction>
</Action>
<StartTrigger>
<ConditionGroup>
<Condition name="StartCondition" delay="0" conditionEdge="rising">
<ByEntityCondition>
<TriggeringEntities triggeringEntitiesRule="any">
<EntityRef entityRef="hero"/>
</TriggeringEntities>
<EntityCondition>
<RelativeDistanceCondition entityRef="adversary" relativeDistanceType="cartesianDistance" value="40.0" freespace="false" rule="lessThan"/>
</EntityCondition>
</ByEntityCondition>
</Condition>
</ConditionGroup>
</StartTrigger>
</Event>
<Event name="AdversaryChangesLane" priority="overwrite">
<Action name="AdversaryChangesLane">
<PrivateAction>
<LateralAction>
<LaneChangeAction>
<LaneChangeActionDynamics dynamicsShape="linear" value="25" dynamicsDimension="distance"/>
<LaneChangeTarget>
<RelativeTargetLane entityRef="adversary" value="-1"/>
</LaneChangeTarget>
</LaneChangeAction>
</LateralAction>
</PrivateAction>
</Action>
<StartTrigger>
<ConditionGroup>
<Condition name="AfterAdversaryAccelerates" delay="0" conditionEdge="rising">
<ByValueCondition>
<StoryboardElementStateCondition storyboardElementType="action" storyboardElementRef="AdversaryAccelerates" state="completeState"/>
</ByValueCondition>
</Condition>
</ConditionGroup>
</StartTrigger>
</Event>
</Maneuver>
</ManeuverGroup>
<StartTrigger>
<ConditionGroup>
<Condition name="OverallStartCondition" delay="0" conditionEdge="rising">
<ByEntityCondition>
<TriggeringEntities triggeringEntitiesRule="any">
<EntityRef entityRef="hero"/>
</TriggeringEntities>
<EntityCondition>
<TraveledDistanceCondition value="1.0"/>
</EntityCondition>
</ByEntityCondition>
</Condition>
<Condition name="StartTime" delay="0" conditionEdge="rising">
<ByValueCondition>
<SimulationTimeCondition value="0" rule="equalTo"/>
</ByValueCondition>
</Condition>
</ConditionGroup>
</StartTrigger>
<StopTrigger>
<ConditionGroup>
<Condition name="EndCondition" delay="0" conditionEdge="rising">
<ByEntityCondition>
<TriggeringEntities triggeringEntitiesRule="any">
<EntityRef entityRef="hero"/>
</TriggeringEntities>
<EntityCondition>
<TraveledDistanceCondition value="200.0"/>
</EntityCondition>
</ByEntityCondition>
</Condition>
</ConditionGroup>
</StopTrigger>
</Act>
</Story>
<StopTrigger>
<ConditionGroup>
<Condition name="criteria_RunningStopTest" delay="0" conditionEdge="rising">
<ByValueCondition>
<ParameterCondition parameterRef="" value="" rule="lessThan"/>
</ByValueCondition>
</Condition>
<Condition name="criteria_RunningRedLightTest" delay="0" conditionEdge="rising">
<ByValueCondition>
<ParameterCondition parameterRef="" value="" rule="lessThan"/>
</ByValueCondition>
</Condition>
<Condition name="criteria_WrongLaneTest" delay="0" conditionEdge="rising">
<ByValueCondition>
<ParameterCondition parameterRef="" value="" rule="lessThan"/>
</ByValueCondition>
</Condition>
<Condition name="criteria_OnSidewalkTest" delay="0" conditionEdge="rising">
<ByValueCondition>
<ParameterCondition parameterRef="" value="" rule="lessThan"/>
</ByValueCondition>
</Condition>
<Condition name="criteria_KeepLaneTest" delay="0" conditionEdge="rising">
<ByValueCondition>
<ParameterCondition parameterRef="" value="" rule="lessThan"/>
</ByValueCondition>
</Condition>
<Condition name="criteria_CollisionTest" delay="0" conditionEdge="rising">
<ByValueCondition>
<ParameterCondition parameterRef="" value="" rule="lessThan"/>
</ByValueCondition>
</Condition>
<Condition name="criteria_DrivenDistanceTest" delay="0" conditionEdge="rising">
<ByValueCondition>
<ParameterCondition parameterRef="distance_success" value="100" rule="lessThan"/>
</ByValueCondition>
</Condition>
</ConditionGroup>
</StopTrigger>
</Storyboard>
</OpenSCENARIO>
``` | Here is the result:
```
<?xml version="1.0" ?>
<OpenSCENARIO>
<FileHeader revMajor="1" revMinor="0" date="2020-03-24T12:00:00" description="CARLA:LaneChangeSimple" author=""/>
<ParameterDeclarations/>
<CatalogLocations/>
<RoadNetwork>
<LogicFile filepath="Town04"/>
<SceneGraphFile filepath=""/>
</RoadNetwork>
<Entities>
<ScenarioObject name="hero">
<Vehicle name="vehicle.tesla.model3" vehicleCategory="car">
<ParameterDeclarations/>
<Performance maxSpeed="69.444" maxAcceleration="200" maxDeceleration="10.0"/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2.1" length="4.5" height="1.8"/>
</BoundingBox>
<Axles>
<FrontAxle maxSteering="0.5" wheelDiameter="0.6" trackWidth="1.8" positionX="3.1" positionZ="0.3"/>
<RearAxle maxSteering="0.0" wheelDiameter="0.6" trackWidth="1.8" positionX="0.0" positionZ="0.3"/>
</Axles>
<Properties>
<Property name="type" value="ego_vehicle"/>
</Properties>
</Vehicle>
</ScenarioObject>
<ScenarioObject name="adversary">
<Vehicle name="vehicle.lincoln.mkz_2017" vehicleCategory="car">
<ParameterDeclarations/>
<Performance maxSpeed="69.444" maxAcceleration="200" maxDeceleration="10.0"/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2.1" length="4.5" height="1.8"/>
</BoundingBox>
<Axles>
<FrontAxle maxSteering="0.5" wheelDiameter="0.6" trackWidth="1.8" positionX="3.1" positionZ="0.3"/>
<RearAxle maxSteering="0.0" wheelDiameter="0.6" trackWidth="1.8" positionX="0.0" positionZ="0.3"/>
</Axles>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Vehicle>
</ScenarioObject>
<ScenarioObject name="standing">
<Vehicle name="vehicle.volkswagen.t2" vehicleCategory="car">
<ParameterDeclarations/>
<Performance maxSpeed="69.444" maxAcceleration="200" maxDeceleration="10.0"/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2.1" length="4.5" height="1.8"/>
</BoundingBox>
<Axles>
<FrontAxle maxSteering="0.5" wheelDiameter="0.6" trackWidth="1.8" positionX="3.1" positionZ="0.3"/>
<RearAxle maxSteering="0.0" wheelDiameter="0.6" 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_20686">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_close_to_hero_20687">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_close_to_standing_20688">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_w_transform_20689">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_close_to_standing_20690">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_close_to_hero_20691">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_w_transform_20692">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_w_transform_20693">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_close_to_adversary_20694">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_close_to_adversary_20695">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_close_to_hero_20696">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_close_to_hero_20697">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_w_transform_20698">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_close_to_standing_20699">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_close_to_hero_20701">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
</Entities>
<Storyboard>
<Init>
<Actions>
<GlobalAction>
<EnvironmentAction>
<Environment name="Environment1">
<TimeOfDay animation="false" dateTime="2019-06-25T12:00:00"/>
<Weather cloudState="free">
<Sun intensity="0.85" azimuth="0" elevation="1.31"/>
<Fog visualRange="100000.0"/>
<Precipitation precipitationType="dry" intensity="0.0"/>
</Weather>
<RoadCondition frictionScaleFactor="1.0"/>
</Environment>
</EnvironmentAction>
</GlobalAction>
<Private entityRef="hero">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-9.4" y="-152.8" z="0.5" h="1.57079632679"/>
</Position>
</TeleportAction>
</PrivateAction>
<PrivateAction>
<ControllerAction>
<AssignControllerAction>
<Controller name="HeroAgent">
<Properties>
<Property name="module" value="external_control"/>
</Properties>
</Controller>
</AssignControllerAction>
<OverrideControllerValueAction>
<Throttle value="0" active="false"/>
<Brake value="0" active="false"/>
<Clutch value="0" active="false"/>
<ParkingBrake value="0" active="false"/>
<SteeringWheel value="0" active="false"/>
<Gear number="0" active="false"/>
</OverrideControllerValueAction>
</ControllerAction>
</PrivateAction>
</Private>
<Private entityRef="adversary">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-9.4" y="-71.0" z="0.5" h="1.57079632679"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="standing">
<PrivateAction>
<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_20686">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-17.75336456298828" y="23.637514114379883" z="0.003048210171982646"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_close_to_hero_20687">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-6.35483980178833" y="-159.2867889404297" z="0.0014286803780123591"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_close_to_standing_20688">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-2.5572822093963623" y="31.6200008392334" z="0.003060569753870368"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_w_transform_20689">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-40.495723724365234" y="26.888723373413086" z="0.5"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_close_to_standing_20690">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-6.684743404388428" y="32.7998161315918" z="0.003073577769100666"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_close_to_hero_20691">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="5.059541702270508" y="-170.71917724609375" z="0.0014286803780123591"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_w_transform_20692">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-49.86698913574219" y="85.57665252685547" z="0.5"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_w_transform_20693">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="81.9110107421875" y="-72.23184204101562" z="0.5"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_close_to_adversary_20694">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-3.029839515686035" y="-65.54183959960938" z="0.033862724900245667"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_close_to_adversary_20695">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-12.881763458251953" y="-69.15001678466797" z="0.033810537308454514"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_close_to_hero_20696">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-0.25339555740356445" y="-151.81161499023438" z="0.0014286803780123591"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_close_to_hero_20697">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-12.971267700195312" y="-148.9170684814453" z="0.0014286803780123591"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_w_transform_20698">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-59.56850051879883" y="61.56167221069336" z="0.5"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_close_to_standing_20699">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-5.962338447570801" y="37.158172607421875" z="0.0030624771025031805"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_close_to_hero_20701">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-12.627164840698242" y="-157.4925079345703" 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 (0.14, -51.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_12309">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_w_transform_12310">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_w_transform_12311">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_w_transform_12312">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_close_to_hero_12313">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_w_transform_12314">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_close_to_standing_12315">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_close_to_adversary_12316">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_w_transform_12317">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_close_to_standing_12318">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_w_transform_12319">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_w_transform_12320">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_close_to_adversary_12321">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_w_transform_12322">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_close_to_adversary_12323">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_close_to_adversary_12324">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
</Entities>
<Storyboard>
<Init>
<Actions>
<GlobalAction>
<EnvironmentAction>
<Environment name="Environment1">
<TimeOfDay animation="false" dateTime="2019-06-25T12:00:00"/>
<Weather cloudState="free">
<Sun intensity="0.85" azimuth="0" elevation="1.31"/>
<Fog visualRange="100000.0"/>
<Precipitation precipitationType="dry" intensity="0.0"/>
</Weather>
<RoadCondition frictionScaleFactor="1.0"/>
</Environment>
</EnvironmentAction>
</GlobalAction>
<Private entityRef="hero">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-9.4" y="-152.8" z="0.5" h="1.57079632679"/>
</Position>
</TeleportAction>
</PrivateAction>
<PrivateAction>
<ControllerAction>
<AssignControllerAction>
<Controller name="HeroAgent">
<Properties>
<Property name="module" value="external_control"/>
</Properties>
</Controller>
</AssignControllerAction>
<OverrideControllerValueAction>
<Throttle value="0" active="false"/>
<Brake value="0" active="false"/>
<Clutch value="0" active="false"/>
<ParkingBrake value="0" active="false"/>
<SteeringWheel value="0" active="false"/>
<Gear number="0" active="false"/>
</OverrideControllerValueAction>
</ControllerAction>
</PrivateAction>
</Private>
<Private entityRef="adversary">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-9.4" y="-71.0" z="0.5" h="1.57079632679"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="standing">
<PrivateAction>
<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_12309">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-2.9796855449676514" y="-77.53208923339844" z="0.03377830609679222"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_w_transform_12310">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="23.988906860351562" y="-80.64181518554688" z="0.5"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_w_transform_12311">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="65.30929565429688" y="35.12125778198242" z="0.5"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_w_transform_12312">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-42.2765007019043" y="-82.54412841796875" z="0.5"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_close_to_hero_12313">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-5.670828819274902" y="-147.65077209472656" z="0.0014286803780123591"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_w_transform_12314">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-84.01750946044922" y="-3.120130777359009" z="0.5"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_close_to_standing_12315">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-7.902141571044922" y="26.442440032958984" z="0.003017272800207138"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_close_to_adversary_12316">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-8.98892593383789" y="-68.4377212524414" z="0.03385024890303612"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_w_transform_12317">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-5.6627349853515625" y="-17.61698341369629" z="0.5"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_close_to_standing_12318">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-9.33292007446289" y="19.9648494720459" z="0.003074722131714225"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_w_transform_12319">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-38.517452239990234" y="-10.097885131835938" z="0.5"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_w_transform_12320">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="54.47614288330078" y="78.01517486572266" z="0.5"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_close_to_adversary_12321">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-15.74671745300293" y="-70.52147674560547" z="0.03378482908010483"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_w_transform_12322">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="44.29047775268555" y="-10.081473350524902" z="0.5"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_close_to_adversary_12323">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-12.727815628051758" y="-75.65933990478516" z="0.03378688916563988"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_close_to_adversary_12324">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-9.709909439086914" y="-76.73088073730469" z="0.03384658694267273"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
</Actions>
</Init>
<Story name="MyStory">
<Act name="Behavior">
<ManeuverGroup maximumExecutionCount="1" name="ManeuverSequence">
<Actors selectTriggeringEntities="false">
<EntityRef entityRef="adversary"/>
</Actors>
<Maneuver name="LaneChangeSimpleManeuver">
<Event name="AdversaryAccelerates" priority="overwrite">
<Action name="AdversaryAccelerates">
<PrivateAction>
<LongitudinalAction>
<SpeedAction>
<SpeedActionDynamics dynamicsShape="step" value="50" dynamicsDimension="distance"/>
<SpeedActionTarget>
<AbsoluteTargetSpeed value="5.0"/>
</SpeedActionTarget>
</SpeedAction>
</LongitudinalAction>
</PrivateAction>
</Action>
<StartTrigger>
<ConditionGroup>
<Condition name="StartCondition" delay="0" conditionEdge="rising">
<ByEntityCondition>
<TriggeringEntities triggeringEntitiesRule="any">
<EntityRef entityRef="hero"/>
</TriggeringEntities>
<EntityCondition>
<RelativeDistanceCondition entityRef="adversary" relativeDistanceType="cartesianDistance" value="40.0" freespace="false" rule="lessThan"/>
</EntityCondition>
</ByEntityCondition>
</Condition>
</ConditionGroup>
</StartTrigger>
</Event>
<Event name="AdversaryChangesLane" priority="overwrite">
<Action name="AdversaryChangesLane">
<PrivateAction>
<LateralAction>
<LaneChangeAction>
<LaneChangeActionDynamics dynamicsShape="linear" value="25" dynamicsDimension="distance"/>
<LaneChangeTarget>
<RelativeTargetLane entityRef="adversary" value="-1"/>
</LaneChangeTarget>
</LaneChangeAction>
</LateralAction>
</PrivateAction>
</Action>
<StartTrigger>
<ConditionGroup>
<Condition name="AfterAdversaryAccelerates" delay="0" conditionEdge="rising">
<ByValueCondition>
<StoryboardElementStateCondition storyboardElementType="action" storyboardElementRef="AdversaryAccelerates" state="completeState"/>
</ByValueCondition>
</Condition>
</ConditionGroup>
</StartTrigger>
</Event>
</Maneuver>
</ManeuverGroup>
<StartTrigger>
<ConditionGroup>
<Condition name="OverallStartCondition" delay="0" conditionEdge="rising">
<ByEntityCondition>
<TriggeringEntities triggeringEntitiesRule="any">
<EntityRef entityRef="hero"/>
</TriggeringEntities>
<EntityCondition>
<TraveledDistanceCondition value="1.0"/>
</EntityCondition>
</ByEntityCondition>
</Condition>
<Condition name="StartTime" delay="0" conditionEdge="rising">
<ByValueCondition>
<SimulationTimeCondition value="0" rule="equalTo"/>
</ByValueCondition>
</Condition>
</ConditionGroup>
</StartTrigger>
<StopTrigger>
<ConditionGroup>
<Condition name="EndCondition" delay="0" conditionEdge="rising">
<ByEntityCondition>
<TriggeringEntities triggeringEntitiesRule="any">
<EntityRef entityRef="hero"/>
</TriggeringEntities>
<EntityCondition>
<TraveledDistanceCondition value="200.0"/>
</EntityCondition>
</ByEntityCondition>
</Condition>
</ConditionGroup>
</StopTrigger>
</Act>
</Story>
<StopTrigger>
<ConditionGroup>
<Condition name="criteria_RunningStopTest" delay="0" conditionEdge="rising">
<ByValueCondition>
<ParameterCondition parameterRef="" value="" rule="lessThan"/>
</ByValueCondition>
</Condition>
<Condition name="criteria_RunningRedLightTest" delay="0" conditionEdge="rising">
<ByValueCondition>
<ParameterCondition parameterRef="" value="" rule="lessThan"/>
</ByValueCondition>
</Condition>
<Condition name="criteria_WrongLaneTest" delay="0" conditionEdge="rising">
<ByValueCondition>
<ParameterCondition parameterRef="" value="" rule="lessThan"/>
</ByValueCondition>
</Condition>
<Condition name="criteria_OnSidewalkTest" delay="0" conditionEdge="rising">
<ByValueCondition>
<ParameterCondition parameterRef="" value="" rule="lessThan"/>
</ByValueCondition>
</Condition>
<Condition name="criteria_KeepLaneTest" delay="0" conditionEdge="rising">
<ByValueCondition>
<ParameterCondition parameterRef="" value="" rule="lessThan"/>
</ByValueCondition>
</Condition>
<Condition name="criteria_CollisionTest" delay="0" conditionEdge="rising">
<ByValueCondition>
<ParameterCondition parameterRef="" value="" rule="lessThan"/>
</ByValueCondition>
</Condition>
<Condition name="criteria_DrivenDistanceTest" delay="0" conditionEdge="rising">
<ByValueCondition>
<ParameterCondition parameterRef="distance_success" value="100" rule="lessThan"/>
</ByValueCondition>
</Condition>
</ConditionGroup>
</StopTrigger>
</Storyboard>
</OpenSCENARIO>
``` | Here is the result:
```
<?xml version="1.0" ?>
<OpenSCENARIO>
<FileHeader revMajor="1" revMinor="0" date="2020-03-24T12:00:00" description="CARLA:LaneChangeSimple" author=""/>
<ParameterDeclarations/>
<CatalogLocations/>
<RoadNetwork>
<LogicFile filepath="Town04"/>
<SceneGraphFile filepath=""/>
</RoadNetwork>
<Entities>
<ScenarioObject name="hero">
<Vehicle name="vehicle.tesla.model3" vehicleCategory="car">
<ParameterDeclarations/>
<Performance maxSpeed="69.444" maxAcceleration="200" maxDeceleration="10.0"/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2.1" length="4.5" height="1.8"/>
</BoundingBox>
<Axles>
<FrontAxle maxSteering="0.5" wheelDiameter="0.6" trackWidth="1.8" positionX="3.1" positionZ="0.3"/>
<RearAxle maxSteering="0.0" wheelDiameter="0.6" trackWidth="1.8" positionX="0.0" positionZ="0.3"/>
</Axles>
<Properties>
<Property name="type" value="ego_vehicle"/>
</Properties>
</Vehicle>
</ScenarioObject>
<ScenarioObject name="adversary">
<Vehicle name="vehicle.lincoln.mkz_2017" vehicleCategory="car">
<ParameterDeclarations/>
<Performance maxSpeed="69.444" maxAcceleration="200" maxDeceleration="10.0"/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2.1" length="4.5" height="1.8"/>
</BoundingBox>
<Axles>
<FrontAxle maxSteering="0.5" wheelDiameter="0.6" trackWidth="1.8" positionX="3.1" positionZ="0.3"/>
<RearAxle maxSteering="0.0" wheelDiameter="0.6" trackWidth="1.8" positionX="0.0" positionZ="0.3"/>
</Axles>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Vehicle>
</ScenarioObject>
<ScenarioObject name="standing">
<Vehicle name="vehicle.volkswagen.t2" vehicleCategory="car">
<ParameterDeclarations/>
<Performance maxSpeed="69.444" maxAcceleration="200" maxDeceleration="10.0"/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2.1" length="4.5" height="1.8"/>
</BoundingBox>
<Axles>
<FrontAxle maxSteering="0.5" wheelDiameter="0.6" trackWidth="1.8" positionX="3.1" positionZ="0.3"/>
<RearAxle maxSteering="0.0" wheelDiameter="0.6" 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_12309">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_w_transform_12310">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_w_transform_12311">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_w_transform_12312">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_close_to_hero_12313">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_w_transform_12314">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_close_to_standing_12315">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_close_to_adversary_12316">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_w_transform_12317">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_close_to_standing_12318">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_w_transform_12319">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_w_transform_12320">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_close_to_adversary_12321">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_w_transform_12322">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_close_to_adversary_12323">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_close_to_adversary_12324">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_w_transform_12325">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
</Entities>
<Storyboard>
<Init>
<Actions>
<GlobalAction>
<EnvironmentAction>
<Environment name="Environment1">
<TimeOfDay animation="false" dateTime="2019-06-25T12:00:00"/>
<Weather cloudState="free">
<Sun intensity="0.85" azimuth="0" elevation="1.31"/>
<Fog visualRange="100000.0"/>
<Precipitation precipitationType="dry" intensity="0.0"/>
</Weather>
<RoadCondition frictionScaleFactor="1.0"/>
</Environment>
</EnvironmentAction>
</GlobalAction>
<Private entityRef="hero">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-9.4" y="-152.8" z="0.5" h="1.57079632679"/>
</Position>
</TeleportAction>
</PrivateAction>
<PrivateAction>
<ControllerAction>
<AssignControllerAction>
<Controller name="HeroAgent">
<Properties>
<Property name="module" value="external_control"/>
</Properties>
</Controller>
</AssignControllerAction>
<OverrideControllerValueAction>
<Throttle value="0" active="false"/>
<Brake value="0" active="false"/>
<Clutch value="0" active="false"/>
<ParkingBrake value="0" active="false"/>
<SteeringWheel value="0" active="false"/>
<Gear number="0" active="false"/>
</OverrideControllerValueAction>
</ControllerAction>
</PrivateAction>
</Private>
<Private entityRef="adversary">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-9.4" y="-71.0" z="0.5" h="1.57079632679"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="standing">
<PrivateAction>
<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_12309">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-2.9796855449676514" y="-77.53208923339844" z="0.03377830609679222"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_w_transform_12310">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="23.988906860351562" y="-80.64181518554688" z="0.5"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_w_transform_12311">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="65.30929565429688" y="35.12125778198242" z="0.5"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_w_transform_12312">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-42.2765007019043" y="-82.54412841796875" z="0.5"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_close_to_hero_12313">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-5.670828819274902" y="-147.65077209472656" z="0.0014286803780123591"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_w_transform_12314">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-84.01750946044922" y="-3.120130777359009" z="0.5"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_close_to_standing_12315">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-7.902141571044922" y="26.442440032958984" z="0.003017272800207138"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_close_to_adversary_12316">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-8.98892593383789" y="-68.4377212524414" z="0.03385024890303612"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_w_transform_12317">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-5.6627349853515625" y="-17.61698341369629" z="0.5"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_close_to_standing_12318">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-9.33292007446289" y="19.9648494720459" z="0.003074722131714225"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_w_transform_12319">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-38.517452239990234" y="-10.097885131835938" z="0.5"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_w_transform_12320">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="54.47614288330078" y="78.01517486572266" z="0.5"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_close_to_adversary_12321">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-15.74671745300293" y="-70.52147674560547" z="0.03378482908010483"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_w_transform_12322">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="44.29047775268555" y="-10.081473350524902" z="0.5"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_close_to_adversary_12323">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-12.727815628051758" y="-75.65933990478516" z="0.03378688916563988"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_close_to_adversary_12324">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-9.709909439086914" y="-76.73088073730469" z="0.03384658694267273"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_w_transform_12325">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="0.14306765794754028" y="-51.73384475708008" z="0.5"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
</Actions>
</Init>
<Story name="MyStory">
<Act name="Behavior">
<ManeuverGroup maximumExecutionCount="1" name="ManeuverSequence">
<Actors selectTriggeringEntities="false">
<EntityRef entityRef="adversary"/>
</Actors>
<Maneuver name="LaneChangeSimpleManeuver">
<Event name="AdversaryAccelerates" priority="overwrite">
<Action name="AdversaryAccelerates">
<PrivateAction>
<LongitudinalAction>
<SpeedAction>
<SpeedActionDynamics dynamicsShape="step" value="50" dynamicsDimension="distance"/>
<SpeedActionTarget>
<AbsoluteTargetSpeed value="5.0"/>
</SpeedActionTarget>
</SpeedAction>
</LongitudinalAction>
</PrivateAction>
</Action>
<StartTrigger>
<ConditionGroup>
<Condition name="StartCondition" delay="0" conditionEdge="rising">
<ByEntityCondition>
<TriggeringEntities triggeringEntitiesRule="any">
<EntityRef entityRef="hero"/>
</TriggeringEntities>
<EntityCondition>
<RelativeDistanceCondition entityRef="adversary" relativeDistanceType="cartesianDistance" value="40.0" freespace="false" rule="lessThan"/>
</EntityCondition>
</ByEntityCondition>
</Condition>
</ConditionGroup>
</StartTrigger>
</Event>
<Event name="AdversaryChangesLane" priority="overwrite">
<Action name="AdversaryChangesLane">
<PrivateAction>
<LateralAction>
<LaneChangeAction>
<LaneChangeActionDynamics dynamicsShape="linear" value="25" dynamicsDimension="distance"/>
<LaneChangeTarget>
<RelativeTargetLane entityRef="adversary" value="-1"/>
</LaneChangeTarget>
</LaneChangeAction>
</LateralAction>
</PrivateAction>
</Action>
<StartTrigger>
<ConditionGroup>
<Condition name="AfterAdversaryAccelerates" delay="0" conditionEdge="rising">
<ByValueCondition>
<StoryboardElementStateCondition storyboardElementType="action" storyboardElementRef="AdversaryAccelerates" state="completeState"/>
</ByValueCondition>
</Condition>
</ConditionGroup>
</StartTrigger>
</Event>
</Maneuver>
</ManeuverGroup>
<StartTrigger>
<ConditionGroup>
<Condition name="OverallStartCondition" delay="0" conditionEdge="rising">
<ByEntityCondition>
<TriggeringEntities triggeringEntitiesRule="any">
<EntityRef entityRef="hero"/>
</TriggeringEntities>
<EntityCondition>
<TraveledDistanceCondition value="1.0"/>
</EntityCondition>
</ByEntityCondition>
</Condition>
<Condition name="StartTime" delay="0" conditionEdge="rising">
<ByValueCondition>
<SimulationTimeCondition value="0" rule="equalTo"/>
</ByValueCondition>
</Condition>
</ConditionGroup>
</StartTrigger>
<StopTrigger>
<ConditionGroup>
<Condition name="EndCondition" delay="0" conditionEdge="rising">
<ByEntityCondition>
<TriggeringEntities triggeringEntitiesRule="any">
<EntityRef entityRef="hero"/>
</TriggeringEntities>
<EntityCondition>
<TraveledDistanceCondition value="200.0"/>
</EntityCondition>
</ByEntityCondition>
</Condition>
</ConditionGroup>
</StopTrigger>
</Act>
</Story>
<StopTrigger>
<ConditionGroup>
<Condition name="criteria_RunningStopTest" delay="0" conditionEdge="rising">
<ByValueCondition>
<ParameterCondition parameterRef="" value="" rule="lessThan"/>
</ByValueCondition>
</Condition>
<Condition name="criteria_RunningRedLightTest" delay="0" conditionEdge="rising">
<ByValueCondition>
<ParameterCondition parameterRef="" value="" rule="lessThan"/>
</ByValueCondition>
</Condition>
<Condition name="criteria_WrongLaneTest" delay="0" conditionEdge="rising">
<ByValueCondition>
<ParameterCondition parameterRef="" value="" rule="lessThan"/>
</ByValueCondition>
</Condition>
<Condition name="criteria_OnSidewalkTest" delay="0" conditionEdge="rising">
<ByValueCondition>
<ParameterCondition parameterRef="" value="" rule="lessThan"/>
</ByValueCondition>
</Condition>
<Condition name="criteria_KeepLaneTest" delay="0" conditionEdge="rising">
<ByValueCondition>
<ParameterCondition parameterRef="" value="" rule="lessThan"/>
</ByValueCondition>
</Condition>
<Condition name="criteria_CollisionTest" delay="0" conditionEdge="rising">
<ByValueCondition>
<ParameterCondition parameterRef="" value="" rule="lessThan"/>
</ByValueCondition>
</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 (95.95, -79.59, 0.5)?
```
<?xml version="1.0" ?>
<OpenSCENARIO>
<FileHeader revMajor="1" revMinor="0" date="2020-03-24T12:00:00" description="CARLA:LaneChangeSimple" author=""/>
<ParameterDeclarations/>
<CatalogLocations/>
<RoadNetwork>
<LogicFile filepath="Town04"/>
<SceneGraphFile filepath=""/>
</RoadNetwork>
<Entities>
<ScenarioObject name="hero">
<Vehicle name="vehicle.tesla.model3" vehicleCategory="car">
<ParameterDeclarations/>
<Performance maxSpeed="69.444" maxAcceleration="200" maxDeceleration="10.0"/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2.1" length="4.5" height="1.8"/>
</BoundingBox>
<Axles>
<FrontAxle maxSteering="0.5" wheelDiameter="0.6" trackWidth="1.8" positionX="3.1" positionZ="0.3"/>
<RearAxle maxSteering="0.0" wheelDiameter="0.6" trackWidth="1.8" positionX="0.0" positionZ="0.3"/>
</Axles>
<Properties>
<Property name="type" value="ego_vehicle"/>
</Properties>
</Vehicle>
</ScenarioObject>
<ScenarioObject name="adversary">
<Vehicle name="vehicle.lincoln.mkz_2017" vehicleCategory="car">
<ParameterDeclarations/>
<Performance maxSpeed="69.444" maxAcceleration="200" maxDeceleration="10.0"/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2.1" length="4.5" height="1.8"/>
</BoundingBox>
<Axles>
<FrontAxle maxSteering="0.5" wheelDiameter="0.6" trackWidth="1.8" positionX="3.1" positionZ="0.3"/>
<RearAxle maxSteering="0.0" wheelDiameter="0.6" trackWidth="1.8" positionX="0.0" positionZ="0.3"/>
</Axles>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Vehicle>
</ScenarioObject>
<ScenarioObject name="standing">
<Vehicle name="vehicle.volkswagen.t2" vehicleCategory="car">
<ParameterDeclarations/>
<Performance maxSpeed="69.444" maxAcceleration="200" maxDeceleration="10.0"/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2.1" length="4.5" height="1.8"/>
</BoundingBox>
<Axles>
<FrontAxle maxSteering="0.5" wheelDiameter="0.6" trackWidth="1.8" positionX="3.1" positionZ="0.3"/>
<RearAxle maxSteering="0.0" wheelDiameter="0.6" trackWidth="1.8" positionX="0.0" positionZ="0.3"/>
</Axles>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Vehicle>
</ScenarioObject>
<ScenarioObject name="pedestrian_close_to_standing_2780">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_close_to_standing_2781">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_close_to_standing_2782">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_w_transform_2783">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_w_transform_2784">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
</Entities>
<Storyboard>
<Init>
<Actions>
<GlobalAction>
<EnvironmentAction>
<Environment name="Environment1">
<TimeOfDay animation="false" dateTime="2019-06-25T12:00:00"/>
<Weather cloudState="free">
<Sun intensity="0.85" azimuth="0" elevation="1.31"/>
<Fog visualRange="100000.0"/>
<Precipitation precipitationType="dry" intensity="0.0"/>
</Weather>
<RoadCondition frictionScaleFactor="1.0"/>
</Environment>
</EnvironmentAction>
</GlobalAction>
<Private entityRef="hero">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-9.4" y="-152.8" z="0.5" h="1.57079632679"/>
</Position>
</TeleportAction>
</PrivateAction>
<PrivateAction>
<ControllerAction>
<AssignControllerAction>
<Controller name="HeroAgent">
<Properties>
<Property name="module" value="external_control"/>
</Properties>
</Controller>
</AssignControllerAction>
<OverrideControllerValueAction>
<Throttle value="0" active="false"/>
<Brake value="0" active="false"/>
<Clutch value="0" active="false"/>
<ParkingBrake value="0" active="false"/>
<SteeringWheel value="0" active="false"/>
<Gear number="0" active="false"/>
</OverrideControllerValueAction>
</ControllerAction>
</PrivateAction>
</Private>
<Private entityRef="adversary">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-9.4" y="-71.0" z="0.5" h="1.57079632679"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="standing">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-8.2" y="29.2" z="0.5" h="1.57079632679"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_close_to_standing_2780">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-1.3619611263275146" y="35.250274658203125" z="0.0030813217163085938"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_close_to_standing_2781">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-2.1111042499542236" y="38.107662200927734" z="0.0030756378546357155"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_close_to_standing_2782">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="1.4521645307540894" y="24.03856086730957" z="0.00307464599609375"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_w_transform_2783">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="98.38850402832031" y="46.947532653808594" z="0.5"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_w_transform_2784">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="77.59014892578125" y="-37.208927154541016" z="0.5"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
</Actions>
</Init>
<Story name="MyStory">
<Act name="Behavior">
<ManeuverGroup maximumExecutionCount="1" name="ManeuverSequence">
<Actors selectTriggeringEntities="false">
<EntityRef entityRef="adversary"/>
</Actors>
<Maneuver name="LaneChangeSimpleManeuver">
<Event name="AdversaryAccelerates" priority="overwrite">
<Action name="AdversaryAccelerates">
<PrivateAction>
<LongitudinalAction>
<SpeedAction>
<SpeedActionDynamics dynamicsShape="step" value="50" dynamicsDimension="distance"/>
<SpeedActionTarget>
<AbsoluteTargetSpeed value="5.0"/>
</SpeedActionTarget>
</SpeedAction>
</LongitudinalAction>
</PrivateAction>
</Action>
<StartTrigger>
<ConditionGroup>
<Condition name="StartCondition" delay="0" conditionEdge="rising">
<ByEntityCondition>
<TriggeringEntities triggeringEntitiesRule="any">
<EntityRef entityRef="hero"/>
</TriggeringEntities>
<EntityCondition>
<RelativeDistanceCondition entityRef="adversary" relativeDistanceType="cartesianDistance" value="40.0" freespace="false" rule="lessThan"/>
</EntityCondition>
</ByEntityCondition>
</Condition>
</ConditionGroup>
</StartTrigger>
</Event>
<Event name="AdversaryChangesLane" priority="overwrite">
<Action name="AdversaryChangesLane">
<PrivateAction>
<LateralAction>
<LaneChangeAction>
<LaneChangeActionDynamics dynamicsShape="linear" value="25" dynamicsDimension="distance"/>
<LaneChangeTarget>
<RelativeTargetLane entityRef="adversary" value="-1"/>
</LaneChangeTarget>
</LaneChangeAction>
</LateralAction>
</PrivateAction>
</Action>
<StartTrigger>
<ConditionGroup>
<Condition name="AfterAdversaryAccelerates" delay="0" conditionEdge="rising">
<ByValueCondition>
<StoryboardElementStateCondition storyboardElementType="action" storyboardElementRef="AdversaryAccelerates" state="completeState"/>
</ByValueCondition>
</Condition>
</ConditionGroup>
</StartTrigger>
</Event>
</Maneuver>
</ManeuverGroup>
<StartTrigger>
<ConditionGroup>
<Condition name="OverallStartCondition" delay="0" conditionEdge="rising">
<ByEntityCondition>
<TriggeringEntities triggeringEntitiesRule="any">
<EntityRef entityRef="hero"/>
</TriggeringEntities>
<EntityCondition>
<TraveledDistanceCondition value="1.0"/>
</EntityCondition>
</ByEntityCondition>
</Condition>
<Condition name="StartTime" delay="0" conditionEdge="rising">
<ByValueCondition>
<SimulationTimeCondition value="0" rule="equalTo"/>
</ByValueCondition>
</Condition>
</ConditionGroup>
</StartTrigger>
<StopTrigger>
<ConditionGroup>
<Condition name="EndCondition" delay="0" conditionEdge="rising">
<ByEntityCondition>
<TriggeringEntities triggeringEntitiesRule="any">
<EntityRef entityRef="hero"/>
</TriggeringEntities>
<EntityCondition>
<TraveledDistanceCondition value="200.0"/>
</EntityCondition>
</ByEntityCondition>
</Condition>
</ConditionGroup>
</StopTrigger>
</Act>
</Story>
<StopTrigger>
<ConditionGroup>
<Condition name="criteria_RunningStopTest" delay="0" conditionEdge="rising">
<ByValueCondition>
<ParameterCondition parameterRef="" value="" rule="lessThan"/>
</ByValueCondition>
</Condition>
<Condition name="criteria_RunningRedLightTest" delay="0" conditionEdge="rising">
<ByValueCondition>
<ParameterCondition parameterRef="" value="" rule="lessThan"/>
</ByValueCondition>
</Condition>
<Condition name="criteria_WrongLaneTest" delay="0" conditionEdge="rising">
<ByValueCondition>
<ParameterCondition parameterRef="" value="" rule="lessThan"/>
</ByValueCondition>
</Condition>
<Condition name="criteria_OnSidewalkTest" delay="0" conditionEdge="rising">
<ByValueCondition>
<ParameterCondition parameterRef="" value="" rule="lessThan"/>
</ByValueCondition>
</Condition>
<Condition name="criteria_KeepLaneTest" delay="0" conditionEdge="rising">
<ByValueCondition>
<ParameterCondition parameterRef="" value="" rule="lessThan"/>
</ByValueCondition>
</Condition>
<Condition name="criteria_CollisionTest" delay="0" conditionEdge="rising">
<ByValueCondition>
<ParameterCondition parameterRef="" value="" rule="lessThan"/>
</ByValueCondition>
</Condition>
<Condition name="criteria_DrivenDistanceTest" delay="0" conditionEdge="rising">
<ByValueCondition>
<ParameterCondition parameterRef="distance_success" value="100" rule="lessThan"/>
</ByValueCondition>
</Condition>
</ConditionGroup>
</StopTrigger>
</Storyboard>
</OpenSCENARIO>
``` | Here is the result:
```
<?xml version="1.0" ?>
<OpenSCENARIO>
<FileHeader revMajor="1" revMinor="0" date="2020-03-24T12:00:00" description="CARLA:LaneChangeSimple" author=""/>
<ParameterDeclarations/>
<CatalogLocations/>
<RoadNetwork>
<LogicFile filepath="Town04"/>
<SceneGraphFile filepath=""/>
</RoadNetwork>
<Entities>
<ScenarioObject name="hero">
<Vehicle name="vehicle.tesla.model3" vehicleCategory="car">
<ParameterDeclarations/>
<Performance maxSpeed="69.444" maxAcceleration="200" maxDeceleration="10.0"/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2.1" length="4.5" height="1.8"/>
</BoundingBox>
<Axles>
<FrontAxle maxSteering="0.5" wheelDiameter="0.6" trackWidth="1.8" positionX="3.1" positionZ="0.3"/>
<RearAxle maxSteering="0.0" wheelDiameter="0.6" trackWidth="1.8" positionX="0.0" positionZ="0.3"/>
</Axles>
<Properties>
<Property name="type" value="ego_vehicle"/>
</Properties>
</Vehicle>
</ScenarioObject>
<ScenarioObject name="adversary">
<Vehicle name="vehicle.lincoln.mkz_2017" vehicleCategory="car">
<ParameterDeclarations/>
<Performance maxSpeed="69.444" maxAcceleration="200" maxDeceleration="10.0"/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2.1" length="4.5" height="1.8"/>
</BoundingBox>
<Axles>
<FrontAxle maxSteering="0.5" wheelDiameter="0.6" trackWidth="1.8" positionX="3.1" positionZ="0.3"/>
<RearAxle maxSteering="0.0" wheelDiameter="0.6" trackWidth="1.8" positionX="0.0" positionZ="0.3"/>
</Axles>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Vehicle>
</ScenarioObject>
<ScenarioObject name="standing">
<Vehicle name="vehicle.volkswagen.t2" vehicleCategory="car">
<ParameterDeclarations/>
<Performance maxSpeed="69.444" maxAcceleration="200" maxDeceleration="10.0"/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2.1" length="4.5" height="1.8"/>
</BoundingBox>
<Axles>
<FrontAxle maxSteering="0.5" wheelDiameter="0.6" trackWidth="1.8" positionX="3.1" positionZ="0.3"/>
<RearAxle maxSteering="0.0" wheelDiameter="0.6" trackWidth="1.8" positionX="0.0" positionZ="0.3"/>
</Axles>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Vehicle>
</ScenarioObject>
<ScenarioObject name="pedestrian_close_to_standing_2780">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_close_to_standing_2781">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_close_to_standing_2782">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_w_transform_2783">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_w_transform_2784">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_w_transform_2785">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
</Entities>
<Storyboard>
<Init>
<Actions>
<GlobalAction>
<EnvironmentAction>
<Environment name="Environment1">
<TimeOfDay animation="false" dateTime="2019-06-25T12:00:00"/>
<Weather cloudState="free">
<Sun intensity="0.85" azimuth="0" elevation="1.31"/>
<Fog visualRange="100000.0"/>
<Precipitation precipitationType="dry" intensity="0.0"/>
</Weather>
<RoadCondition frictionScaleFactor="1.0"/>
</Environment>
</EnvironmentAction>
</GlobalAction>
<Private entityRef="hero">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-9.4" y="-152.8" z="0.5" h="1.57079632679"/>
</Position>
</TeleportAction>
</PrivateAction>
<PrivateAction>
<ControllerAction>
<AssignControllerAction>
<Controller name="HeroAgent">
<Properties>
<Property name="module" value="external_control"/>
</Properties>
</Controller>
</AssignControllerAction>
<OverrideControllerValueAction>
<Throttle value="0" active="false"/>
<Brake value="0" active="false"/>
<Clutch value="0" active="false"/>
<ParkingBrake value="0" active="false"/>
<SteeringWheel value="0" active="false"/>
<Gear number="0" active="false"/>
</OverrideControllerValueAction>
</ControllerAction>
</PrivateAction>
</Private>
<Private entityRef="adversary">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-9.4" y="-71.0" z="0.5" h="1.57079632679"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="standing">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-8.2" y="29.2" z="0.5" h="1.57079632679"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_close_to_standing_2780">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-1.3619611263275146" y="35.250274658203125" z="0.0030813217163085938"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_close_to_standing_2781">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-2.1111042499542236" y="38.107662200927734" z="0.0030756378546357155"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_close_to_standing_2782">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="1.4521645307540894" y="24.03856086730957" z="0.00307464599609375"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_w_transform_2783">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="98.38850402832031" y="46.947532653808594" z="0.5"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_w_transform_2784">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="77.59014892578125" y="-37.208927154541016" z="0.5"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_w_transform_2785">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="95.95013427734375" y="-79.58586883544922" z="0.5"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
</Actions>
</Init>
<Story name="MyStory">
<Act name="Behavior">
<ManeuverGroup maximumExecutionCount="1" name="ManeuverSequence">
<Actors selectTriggeringEntities="false">
<EntityRef entityRef="adversary"/>
</Actors>
<Maneuver name="LaneChangeSimpleManeuver">
<Event name="AdversaryAccelerates" priority="overwrite">
<Action name="AdversaryAccelerates">
<PrivateAction>
<LongitudinalAction>
<SpeedAction>
<SpeedActionDynamics dynamicsShape="step" value="50" dynamicsDimension="distance"/>
<SpeedActionTarget>
<AbsoluteTargetSpeed value="5.0"/>
</SpeedActionTarget>
</SpeedAction>
</LongitudinalAction>
</PrivateAction>
</Action>
<StartTrigger>
<ConditionGroup>
<Condition name="StartCondition" delay="0" conditionEdge="rising">
<ByEntityCondition>
<TriggeringEntities triggeringEntitiesRule="any">
<EntityRef entityRef="hero"/>
</TriggeringEntities>
<EntityCondition>
<RelativeDistanceCondition entityRef="adversary" relativeDistanceType="cartesianDistance" value="40.0" freespace="false" rule="lessThan"/>
</EntityCondition>
</ByEntityCondition>
</Condition>
</ConditionGroup>
</StartTrigger>
</Event>
<Event name="AdversaryChangesLane" priority="overwrite">
<Action name="AdversaryChangesLane">
<PrivateAction>
<LateralAction>
<LaneChangeAction>
<LaneChangeActionDynamics dynamicsShape="linear" value="25" dynamicsDimension="distance"/>
<LaneChangeTarget>
<RelativeTargetLane entityRef="adversary" value="-1"/>
</LaneChangeTarget>
</LaneChangeAction>
</LateralAction>
</PrivateAction>
</Action>
<StartTrigger>
<ConditionGroup>
<Condition name="AfterAdversaryAccelerates" delay="0" conditionEdge="rising">
<ByValueCondition>
<StoryboardElementStateCondition storyboardElementType="action" storyboardElementRef="AdversaryAccelerates" state="completeState"/>
</ByValueCondition>
</Condition>
</ConditionGroup>
</StartTrigger>
</Event>
</Maneuver>
</ManeuverGroup>
<StartTrigger>
<ConditionGroup>
<Condition name="OverallStartCondition" delay="0" conditionEdge="rising">
<ByEntityCondition>
<TriggeringEntities triggeringEntitiesRule="any">
<EntityRef entityRef="hero"/>
</TriggeringEntities>
<EntityCondition>
<TraveledDistanceCondition value="1.0"/>
</EntityCondition>
</ByEntityCondition>
</Condition>
<Condition name="StartTime" delay="0" conditionEdge="rising">
<ByValueCondition>
<SimulationTimeCondition value="0" rule="equalTo"/>
</ByValueCondition>
</Condition>
</ConditionGroup>
</StartTrigger>
<StopTrigger>
<ConditionGroup>
<Condition name="EndCondition" delay="0" conditionEdge="rising">
<ByEntityCondition>
<TriggeringEntities triggeringEntitiesRule="any">
<EntityRef entityRef="hero"/>
</TriggeringEntities>
<EntityCondition>
<TraveledDistanceCondition value="200.0"/>
</EntityCondition>
</ByEntityCondition>
</Condition>
</ConditionGroup>
</StopTrigger>
</Act>
</Story>
<StopTrigger>
<ConditionGroup>
<Condition name="criteria_RunningStopTest" delay="0" conditionEdge="rising">
<ByValueCondition>
<ParameterCondition parameterRef="" value="" rule="lessThan"/>
</ByValueCondition>
</Condition>
<Condition name="criteria_RunningRedLightTest" delay="0" conditionEdge="rising">
<ByValueCondition>
<ParameterCondition parameterRef="" value="" rule="lessThan"/>
</ByValueCondition>
</Condition>
<Condition name="criteria_WrongLaneTest" delay="0" conditionEdge="rising">
<ByValueCondition>
<ParameterCondition parameterRef="" value="" rule="lessThan"/>
</ByValueCondition>
</Condition>
<Condition name="criteria_OnSidewalkTest" delay="0" conditionEdge="rising">
<ByValueCondition>
<ParameterCondition parameterRef="" value="" rule="lessThan"/>
</ByValueCondition>
</Condition>
<Condition name="criteria_KeepLaneTest" delay="0" conditionEdge="rising">
<ByValueCondition>
<ParameterCondition parameterRef="" value="" rule="lessThan"/>
</ByValueCondition>
</Condition>
<Condition name="criteria_CollisionTest" delay="0" conditionEdge="rising">
<ByValueCondition>
<ParameterCondition parameterRef="" value="" rule="lessThan"/>
</ByValueCondition>
</Condition>
<Condition name="criteria_DrivenDistanceTest" delay="0" conditionEdge="rising">
<ByValueCondition>
<ParameterCondition parameterRef="distance_success" value="100" rule="lessThan"/>
</ByValueCondition>
</Condition>
</ConditionGroup>
</StopTrigger>
</Storyboard>
</OpenSCENARIO>
``` |
i would like you to add pedestrian at location (68.26, -52.91, 0.5)?
```
<?xml version="1.0" ?>
<OpenSCENARIO>
<FileHeader revMajor="1" revMinor="0" date="2020-03-24T12:00:00" description="CARLA:LaneChangeSimple" author=""/>
<ParameterDeclarations/>
<CatalogLocations/>
<RoadNetwork>
<LogicFile filepath="Town04"/>
<SceneGraphFile filepath=""/>
</RoadNetwork>
<Entities>
<ScenarioObject name="hero">
<Vehicle name="vehicle.tesla.model3" vehicleCategory="car">
<ParameterDeclarations/>
<Performance maxSpeed="69.444" maxAcceleration="200" maxDeceleration="10.0"/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2.1" length="4.5" height="1.8"/>
</BoundingBox>
<Axles>
<FrontAxle maxSteering="0.5" wheelDiameter="0.6" trackWidth="1.8" positionX="3.1" positionZ="0.3"/>
<RearAxle maxSteering="0.0" wheelDiameter="0.6" trackWidth="1.8" positionX="0.0" positionZ="0.3"/>
</Axles>
<Properties>
<Property name="type" value="ego_vehicle"/>
</Properties>
</Vehicle>
</ScenarioObject>
<ScenarioObject name="adversary">
<Vehicle name="vehicle.lincoln.mkz_2017" vehicleCategory="car">
<ParameterDeclarations/>
<Performance maxSpeed="69.444" maxAcceleration="200" maxDeceleration="10.0"/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2.1" length="4.5" height="1.8"/>
</BoundingBox>
<Axles>
<FrontAxle maxSteering="0.5" wheelDiameter="0.6" trackWidth="1.8" positionX="3.1" positionZ="0.3"/>
<RearAxle maxSteering="0.0" wheelDiameter="0.6" trackWidth="1.8" positionX="0.0" positionZ="0.3"/>
</Axles>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Vehicle>
</ScenarioObject>
<ScenarioObject name="standing">
<Vehicle name="vehicle.volkswagen.t2" vehicleCategory="car">
<ParameterDeclarations/>
<Performance maxSpeed="69.444" maxAcceleration="200" maxDeceleration="10.0"/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2.1" length="4.5" height="1.8"/>
</BoundingBox>
<Axles>
<FrontAxle maxSteering="0.5" wheelDiameter="0.6" trackWidth="1.8" positionX="3.1" positionZ="0.3"/>
<RearAxle maxSteering="0.0" wheelDiameter="0.6" trackWidth="1.8" positionX="0.0" positionZ="0.3"/>
</Axles>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Vehicle>
</ScenarioObject>
<ScenarioObject name="pedestrian_close_to_adversary_17271">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_w_transform_17272">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_w_transform_17273">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_w_transform_17274">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_close_to_standing_17275">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_w_transform_17276">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_w_transform_17277">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_close_to_standing_17278">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
</Entities>
<Storyboard>
<Init>
<Actions>
<GlobalAction>
<EnvironmentAction>
<Environment name="Environment1">
<TimeOfDay animation="false" dateTime="2019-06-25T12:00:00"/>
<Weather cloudState="free">
<Sun intensity="0.85" azimuth="0" elevation="1.31"/>
<Fog visualRange="100000.0"/>
<Precipitation precipitationType="dry" intensity="0.0"/>
</Weather>
<RoadCondition frictionScaleFactor="1.0"/>
</Environment>
</EnvironmentAction>
</GlobalAction>
<Private entityRef="hero">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-9.4" y="-152.8" z="0.5" h="1.57079632679"/>
</Position>
</TeleportAction>
</PrivateAction>
<PrivateAction>
<ControllerAction>
<AssignControllerAction>
<Controller name="HeroAgent">
<Properties>
<Property name="module" value="external_control"/>
</Properties>
</Controller>
</AssignControllerAction>
<OverrideControllerValueAction>
<Throttle value="0" active="false"/>
<Brake value="0" active="false"/>
<Clutch value="0" active="false"/>
<ParkingBrake value="0" active="false"/>
<SteeringWheel value="0" active="false"/>
<Gear number="0" active="false"/>
</OverrideControllerValueAction>
</ControllerAction>
</PrivateAction>
</Private>
<Private entityRef="adversary">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-9.4" y="-71.0" z="0.5" h="1.57079632679"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="standing">
<PrivateAction>
<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_17271">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-10.318907737731934" y="-68.12696838378906" z="0.033811796456575394"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_w_transform_17272">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="67.54133605957031" y="-49.01876449584961" z="0.5"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_w_transform_17273">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="7.913931846618652" y="-20.661609649658203" z="0.5"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_w_transform_17274">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="81.25282287597656" y="53.45902633666992" z="0.5"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_close_to_standing_17275">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-11.63155746459961" y="25.53487777709961" z="0.003059997456148267"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_w_transform_17276">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-91.13948059082031" y="67.5703125" z="0.5"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_w_transform_17277">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="93.91929626464844" y="-42.70182800292969" z="0.5"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_close_to_standing_17278">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-17.241716384887695" y="33.519344329833984" z="0.003087348770350218"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
</Actions>
</Init>
<Story name="MyStory">
<Act name="Behavior">
<ManeuverGroup maximumExecutionCount="1" name="ManeuverSequence">
<Actors selectTriggeringEntities="false">
<EntityRef entityRef="adversary"/>
</Actors>
<Maneuver name="LaneChangeSimpleManeuver">
<Event name="AdversaryAccelerates" priority="overwrite">
<Action name="AdversaryAccelerates">
<PrivateAction>
<LongitudinalAction>
<SpeedAction>
<SpeedActionDynamics dynamicsShape="step" value="50" dynamicsDimension="distance"/>
<SpeedActionTarget>
<AbsoluteTargetSpeed value="5.0"/>
</SpeedActionTarget>
</SpeedAction>
</LongitudinalAction>
</PrivateAction>
</Action>
<StartTrigger>
<ConditionGroup>
<Condition name="StartCondition" delay="0" conditionEdge="rising">
<ByEntityCondition>
<TriggeringEntities triggeringEntitiesRule="any">
<EntityRef entityRef="hero"/>
</TriggeringEntities>
<EntityCondition>
<RelativeDistanceCondition entityRef="adversary" relativeDistanceType="cartesianDistance" value="40.0" freespace="false" rule="lessThan"/>
</EntityCondition>
</ByEntityCondition>
</Condition>
</ConditionGroup>
</StartTrigger>
</Event>
<Event name="AdversaryChangesLane" priority="overwrite">
<Action name="AdversaryChangesLane">
<PrivateAction>
<LateralAction>
<LaneChangeAction>
<LaneChangeActionDynamics dynamicsShape="linear" value="25" dynamicsDimension="distance"/>
<LaneChangeTarget>
<RelativeTargetLane entityRef="adversary" value="-1"/>
</LaneChangeTarget>
</LaneChangeAction>
</LateralAction>
</PrivateAction>
</Action>
<StartTrigger>
<ConditionGroup>
<Condition name="AfterAdversaryAccelerates" delay="0" conditionEdge="rising">
<ByValueCondition>
<StoryboardElementStateCondition storyboardElementType="action" storyboardElementRef="AdversaryAccelerates" state="completeState"/>
</ByValueCondition>
</Condition>
</ConditionGroup>
</StartTrigger>
</Event>
</Maneuver>
</ManeuverGroup>
<StartTrigger>
<ConditionGroup>
<Condition name="OverallStartCondition" delay="0" conditionEdge="rising">
<ByEntityCondition>
<TriggeringEntities triggeringEntitiesRule="any">
<EntityRef entityRef="hero"/>
</TriggeringEntities>
<EntityCondition>
<TraveledDistanceCondition value="1.0"/>
</EntityCondition>
</ByEntityCondition>
</Condition>
<Condition name="StartTime" delay="0" conditionEdge="rising">
<ByValueCondition>
<SimulationTimeCondition value="0" rule="equalTo"/>
</ByValueCondition>
</Condition>
</ConditionGroup>
</StartTrigger>
<StopTrigger>
<ConditionGroup>
<Condition name="EndCondition" delay="0" conditionEdge="rising">
<ByEntityCondition>
<TriggeringEntities triggeringEntitiesRule="any">
<EntityRef entityRef="hero"/>
</TriggeringEntities>
<EntityCondition>
<TraveledDistanceCondition value="200.0"/>
</EntityCondition>
</ByEntityCondition>
</Condition>
</ConditionGroup>
</StopTrigger>
</Act>
</Story>
<StopTrigger>
<ConditionGroup>
<Condition name="criteria_RunningStopTest" delay="0" conditionEdge="rising">
<ByValueCondition>
<ParameterCondition parameterRef="" value="" rule="lessThan"/>
</ByValueCondition>
</Condition>
<Condition name="criteria_RunningRedLightTest" delay="0" conditionEdge="rising">
<ByValueCondition>
<ParameterCondition parameterRef="" value="" rule="lessThan"/>
</ByValueCondition>
</Condition>
<Condition name="criteria_WrongLaneTest" delay="0" conditionEdge="rising">
<ByValueCondition>
<ParameterCondition parameterRef="" value="" rule="lessThan"/>
</ByValueCondition>
</Condition>
<Condition name="criteria_OnSidewalkTest" delay="0" conditionEdge="rising">
<ByValueCondition>
<ParameterCondition parameterRef="" value="" rule="lessThan"/>
</ByValueCondition>
</Condition>
<Condition name="criteria_KeepLaneTest" delay="0" conditionEdge="rising">
<ByValueCondition>
<ParameterCondition parameterRef="" value="" rule="lessThan"/>
</ByValueCondition>
</Condition>
<Condition name="criteria_CollisionTest" delay="0" conditionEdge="rising">
<ByValueCondition>
<ParameterCondition parameterRef="" value="" rule="lessThan"/>
</ByValueCondition>
</Condition>
<Condition name="criteria_DrivenDistanceTest" delay="0" conditionEdge="rising">
<ByValueCondition>
<ParameterCondition parameterRef="distance_success" value="100" rule="lessThan"/>
</ByValueCondition>
</Condition>
</ConditionGroup>
</StopTrigger>
</Storyboard>
</OpenSCENARIO>
``` | Here is the result:
```
<?xml version="1.0" ?>
<OpenSCENARIO>
<FileHeader revMajor="1" revMinor="0" date="2020-03-24T12:00:00" description="CARLA:LaneChangeSimple" author=""/>
<ParameterDeclarations/>
<CatalogLocations/>
<RoadNetwork>
<LogicFile filepath="Town04"/>
<SceneGraphFile filepath=""/>
</RoadNetwork>
<Entities>
<ScenarioObject name="hero">
<Vehicle name="vehicle.tesla.model3" vehicleCategory="car">
<ParameterDeclarations/>
<Performance maxSpeed="69.444" maxAcceleration="200" maxDeceleration="10.0"/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2.1" length="4.5" height="1.8"/>
</BoundingBox>
<Axles>
<FrontAxle maxSteering="0.5" wheelDiameter="0.6" trackWidth="1.8" positionX="3.1" positionZ="0.3"/>
<RearAxle maxSteering="0.0" wheelDiameter="0.6" trackWidth="1.8" positionX="0.0" positionZ="0.3"/>
</Axles>
<Properties>
<Property name="type" value="ego_vehicle"/>
</Properties>
</Vehicle>
</ScenarioObject>
<ScenarioObject name="adversary">
<Vehicle name="vehicle.lincoln.mkz_2017" vehicleCategory="car">
<ParameterDeclarations/>
<Performance maxSpeed="69.444" maxAcceleration="200" maxDeceleration="10.0"/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2.1" length="4.5" height="1.8"/>
</BoundingBox>
<Axles>
<FrontAxle maxSteering="0.5" wheelDiameter="0.6" trackWidth="1.8" positionX="3.1" positionZ="0.3"/>
<RearAxle maxSteering="0.0" wheelDiameter="0.6" trackWidth="1.8" positionX="0.0" positionZ="0.3"/>
</Axles>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Vehicle>
</ScenarioObject>
<ScenarioObject name="standing">
<Vehicle name="vehicle.volkswagen.t2" vehicleCategory="car">
<ParameterDeclarations/>
<Performance maxSpeed="69.444" maxAcceleration="200" maxDeceleration="10.0"/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2.1" length="4.5" height="1.8"/>
</BoundingBox>
<Axles>
<FrontAxle maxSteering="0.5" wheelDiameter="0.6" trackWidth="1.8" positionX="3.1" positionZ="0.3"/>
<RearAxle maxSteering="0.0" wheelDiameter="0.6" 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_17271">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_w_transform_17272">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_w_transform_17273">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_w_transform_17274">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_close_to_standing_17275">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_w_transform_17276">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_w_transform_17277">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_close_to_standing_17278">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_w_transform_17281">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
</Entities>
<Storyboard>
<Init>
<Actions>
<GlobalAction>
<EnvironmentAction>
<Environment name="Environment1">
<TimeOfDay animation="false" dateTime="2019-06-25T12:00:00"/>
<Weather cloudState="free">
<Sun intensity="0.85" azimuth="0" elevation="1.31"/>
<Fog visualRange="100000.0"/>
<Precipitation precipitationType="dry" intensity="0.0"/>
</Weather>
<RoadCondition frictionScaleFactor="1.0"/>
</Environment>
</EnvironmentAction>
</GlobalAction>
<Private entityRef="hero">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-9.4" y="-152.8" z="0.5" h="1.57079632679"/>
</Position>
</TeleportAction>
</PrivateAction>
<PrivateAction>
<ControllerAction>
<AssignControllerAction>
<Controller name="HeroAgent">
<Properties>
<Property name="module" value="external_control"/>
</Properties>
</Controller>
</AssignControllerAction>
<OverrideControllerValueAction>
<Throttle value="0" active="false"/>
<Brake value="0" active="false"/>
<Clutch value="0" active="false"/>
<ParkingBrake value="0" active="false"/>
<SteeringWheel value="0" active="false"/>
<Gear number="0" active="false"/>
</OverrideControllerValueAction>
</ControllerAction>
</PrivateAction>
</Private>
<Private entityRef="adversary">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-9.4" y="-71.0" z="0.5" h="1.57079632679"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="standing">
<PrivateAction>
<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_17271">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-10.318907737731934" y="-68.12696838378906" z="0.033811796456575394"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_w_transform_17272">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="67.54133605957031" y="-49.01876449584961" z="0.5"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_w_transform_17273">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="7.913931846618652" y="-20.661609649658203" z="0.5"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_w_transform_17274">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="81.25282287597656" y="53.45902633666992" z="0.5"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_close_to_standing_17275">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-11.63155746459961" y="25.53487777709961" z="0.003059997456148267"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_w_transform_17276">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-91.13948059082031" y="67.5703125" z="0.5"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_w_transform_17277">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="93.91929626464844" y="-42.70182800292969" z="0.5"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_close_to_standing_17278">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-17.241716384887695" y="33.519344329833984" z="0.003087348770350218"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_w_transform_17281">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="68.25821685791016" y="-52.91069030761719" z="0.5"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
</Actions>
</Init>
<Story name="MyStory">
<Act name="Behavior">
<ManeuverGroup maximumExecutionCount="1" name="ManeuverSequence">
<Actors selectTriggeringEntities="false">
<EntityRef entityRef="adversary"/>
</Actors>
<Maneuver name="LaneChangeSimpleManeuver">
<Event name="AdversaryAccelerates" priority="overwrite">
<Action name="AdversaryAccelerates">
<PrivateAction>
<LongitudinalAction>
<SpeedAction>
<SpeedActionDynamics dynamicsShape="step" value="50" dynamicsDimension="distance"/>
<SpeedActionTarget>
<AbsoluteTargetSpeed value="5.0"/>
</SpeedActionTarget>
</SpeedAction>
</LongitudinalAction>
</PrivateAction>
</Action>
<StartTrigger>
<ConditionGroup>
<Condition name="StartCondition" delay="0" conditionEdge="rising">
<ByEntityCondition>
<TriggeringEntities triggeringEntitiesRule="any">
<EntityRef entityRef="hero"/>
</TriggeringEntities>
<EntityCondition>
<RelativeDistanceCondition entityRef="adversary" relativeDistanceType="cartesianDistance" value="40.0" freespace="false" rule="lessThan"/>
</EntityCondition>
</ByEntityCondition>
</Condition>
</ConditionGroup>
</StartTrigger>
</Event>
<Event name="AdversaryChangesLane" priority="overwrite">
<Action name="AdversaryChangesLane">
<PrivateAction>
<LateralAction>
<LaneChangeAction>
<LaneChangeActionDynamics dynamicsShape="linear" value="25" dynamicsDimension="distance"/>
<LaneChangeTarget>
<RelativeTargetLane entityRef="adversary" value="-1"/>
</LaneChangeTarget>
</LaneChangeAction>
</LateralAction>
</PrivateAction>
</Action>
<StartTrigger>
<ConditionGroup>
<Condition name="AfterAdversaryAccelerates" delay="0" conditionEdge="rising">
<ByValueCondition>
<StoryboardElementStateCondition storyboardElementType="action" storyboardElementRef="AdversaryAccelerates" state="completeState"/>
</ByValueCondition>
</Condition>
</ConditionGroup>
</StartTrigger>
</Event>
</Maneuver>
</ManeuverGroup>
<StartTrigger>
<ConditionGroup>
<Condition name="OverallStartCondition" delay="0" conditionEdge="rising">
<ByEntityCondition>
<TriggeringEntities triggeringEntitiesRule="any">
<EntityRef entityRef="hero"/>
</TriggeringEntities>
<EntityCondition>
<TraveledDistanceCondition value="1.0"/>
</EntityCondition>
</ByEntityCondition>
</Condition>
<Condition name="StartTime" delay="0" conditionEdge="rising">
<ByValueCondition>
<SimulationTimeCondition value="0" rule="equalTo"/>
</ByValueCondition>
</Condition>
</ConditionGroup>
</StartTrigger>
<StopTrigger>
<ConditionGroup>
<Condition name="EndCondition" delay="0" conditionEdge="rising">
<ByEntityCondition>
<TriggeringEntities triggeringEntitiesRule="any">
<EntityRef entityRef="hero"/>
</TriggeringEntities>
<EntityCondition>
<TraveledDistanceCondition value="200.0"/>
</EntityCondition>
</ByEntityCondition>
</Condition>
</ConditionGroup>
</StopTrigger>
</Act>
</Story>
<StopTrigger>
<ConditionGroup>
<Condition name="criteria_RunningStopTest" delay="0" conditionEdge="rising">
<ByValueCondition>
<ParameterCondition parameterRef="" value="" rule="lessThan"/>
</ByValueCondition>
</Condition>
<Condition name="criteria_RunningRedLightTest" delay="0" conditionEdge="rising">
<ByValueCondition>
<ParameterCondition parameterRef="" value="" rule="lessThan"/>
</ByValueCondition>
</Condition>
<Condition name="criteria_WrongLaneTest" delay="0" conditionEdge="rising">
<ByValueCondition>
<ParameterCondition parameterRef="" value="" rule="lessThan"/>
</ByValueCondition>
</Condition>
<Condition name="criteria_OnSidewalkTest" delay="0" conditionEdge="rising">
<ByValueCondition>
<ParameterCondition parameterRef="" value="" rule="lessThan"/>
</ByValueCondition>
</Condition>
<Condition name="criteria_KeepLaneTest" delay="0" conditionEdge="rising">
<ByValueCondition>
<ParameterCondition parameterRef="" value="" rule="lessThan"/>
</ByValueCondition>
</Condition>
<Condition name="criteria_CollisionTest" delay="0" conditionEdge="rising">
<ByValueCondition>
<ParameterCondition parameterRef="" value="" rule="lessThan"/>
</ByValueCondition>
</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_standing_21501">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_close_to_hero_21502">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_close_to_hero_21503">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_w_transform_21504">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_w_transform_21505">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
</Entities>
<Storyboard>
<Init>
<Actions>
<GlobalAction>
<EnvironmentAction>
<Environment name="Environment1">
<TimeOfDay animation="false" dateTime="2019-06-25T12:00:00"/>
<Weather cloudState="free">
<Sun intensity="0.85" azimuth="0" elevation="1.31"/>
<Fog visualRange="100000.0"/>
<Precipitation precipitationType="dry" intensity="0.0"/>
</Weather>
<RoadCondition frictionScaleFactor="1.0"/>
</Environment>
</EnvironmentAction>
</GlobalAction>
<Private entityRef="hero">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-9.4" y="-152.8" z="0.5" h="1.57079632679"/>
</Position>
</TeleportAction>
</PrivateAction>
<PrivateAction>
<ControllerAction>
<AssignControllerAction>
<Controller name="HeroAgent">
<Properties>
<Property name="module" value="external_control"/>
</Properties>
</Controller>
</AssignControllerAction>
<OverrideControllerValueAction>
<Throttle value="0" active="false"/>
<Brake value="0" active="false"/>
<Clutch value="0" active="false"/>
<ParkingBrake value="0" active="false"/>
<SteeringWheel value="0" active="false"/>
<Gear number="0" active="false"/>
</OverrideControllerValueAction>
</ControllerAction>
</PrivateAction>
</Private>
<Private entityRef="adversary">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-9.4" y="-71.0" z="0.5" h="1.57079632679"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="standing">
<PrivateAction>
<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_21501">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-16.73058319091797" y="31.7911376953125" z="0.0030158995650708675"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_close_to_hero_21502">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="0.3488163650035858" y="-160.11158752441406" z="0.0014286803780123591"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_close_to_hero_21503">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-15.195939064025879" y="-156.30165100097656" z="0.0014286803780123591"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_w_transform_21504">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="38.684730529785156" y="33.69966506958008" z="0.5"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_w_transform_21505">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="97.24606323242188" y="42.202308654785156" z="0.5"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
</Actions>
</Init>
<Story name="MyStory">
<Act name="Behavior">
<ManeuverGroup maximumExecutionCount="1" name="ManeuverSequence">
<Actors selectTriggeringEntities="false">
<EntityRef entityRef="adversary"/>
</Actors>
<Maneuver name="LaneChangeSimpleManeuver">
<Event name="AdversaryAccelerates" priority="overwrite">
<Action name="AdversaryAccelerates">
<PrivateAction>
<LongitudinalAction>
<SpeedAction>
<SpeedActionDynamics dynamicsShape="step" value="50" dynamicsDimension="distance"/>
<SpeedActionTarget>
<AbsoluteTargetSpeed value="5.0"/>
</SpeedActionTarget>
</SpeedAction>
</LongitudinalAction>
</PrivateAction>
</Action>
<StartTrigger>
<ConditionGroup>
<Condition name="StartCondition" delay="0" conditionEdge="rising">
<ByEntityCondition>
<TriggeringEntities triggeringEntitiesRule="any">
<EntityRef entityRef="hero"/>
</TriggeringEntities>
<EntityCondition>
<RelativeDistanceCondition entityRef="adversary" relativeDistanceType="cartesianDistance" value="40.0" freespace="false" rule="lessThan"/>
</EntityCondition>
</ByEntityCondition>
</Condition>
</ConditionGroup>
</StartTrigger>
</Event>
<Event name="AdversaryChangesLane" priority="overwrite">
<Action name="AdversaryChangesLane">
<PrivateAction>
<LateralAction>
<LaneChangeAction>
<LaneChangeActionDynamics dynamicsShape="linear" value="25" dynamicsDimension="distance"/>
<LaneChangeTarget>
<RelativeTargetLane entityRef="adversary" value="-1"/>
</LaneChangeTarget>
</LaneChangeAction>
</LateralAction>
</PrivateAction>
</Action>
<StartTrigger>
<ConditionGroup>
<Condition name="AfterAdversaryAccelerates" delay="0" conditionEdge="rising">
<ByValueCondition>
<StoryboardElementStateCondition storyboardElementType="action" storyboardElementRef="AdversaryAccelerates" state="completeState"/>
</ByValueCondition>
</Condition>
</ConditionGroup>
</StartTrigger>
</Event>
</Maneuver>
</ManeuverGroup>
<StartTrigger>
<ConditionGroup>
<Condition name="OverallStartCondition" delay="0" conditionEdge="rising">
<ByEntityCondition>
<TriggeringEntities triggeringEntitiesRule="any">
<EntityRef entityRef="hero"/>
</TriggeringEntities>
<EntityCondition>
<TraveledDistanceCondition value="1.0"/>
</EntityCondition>
</ByEntityCondition>
</Condition>
<Condition name="StartTime" delay="0" conditionEdge="rising">
<ByValueCondition>
<SimulationTimeCondition value="0" rule="equalTo"/>
</ByValueCondition>
</Condition>
</ConditionGroup>
</StartTrigger>
<StopTrigger>
<ConditionGroup>
<Condition name="EndCondition" delay="0" conditionEdge="rising">
<ByEntityCondition>
<TriggeringEntities triggeringEntitiesRule="any">
<EntityRef entityRef="hero"/>
</TriggeringEntities>
<EntityCondition>
<TraveledDistanceCondition value="200.0"/>
</EntityCondition>
</ByEntityCondition>
</Condition>
</ConditionGroup>
</StopTrigger>
</Act>
</Story>
<StopTrigger>
<ConditionGroup>
<Condition name="criteria_RunningStopTest" delay="0" conditionEdge="rising">
<ByValueCondition>
<ParameterCondition parameterRef="" value="" rule="lessThan"/>
</ByValueCondition>
</Condition>
<Condition name="criteria_RunningRedLightTest" delay="0" conditionEdge="rising">
<ByValueCondition>
<ParameterCondition parameterRef="" value="" rule="lessThan"/>
</ByValueCondition>
</Condition>
<Condition name="criteria_WrongLaneTest" delay="0" conditionEdge="rising">
<ByValueCondition>
<ParameterCondition parameterRef="" value="" rule="lessThan"/>
</ByValueCondition>
</Condition>
<Condition name="criteria_OnSidewalkTest" delay="0" conditionEdge="rising">
<ByValueCondition>
<ParameterCondition parameterRef="" value="" rule="lessThan"/>
</ByValueCondition>
</Condition>
<Condition name="criteria_KeepLaneTest" delay="0" conditionEdge="rising">
<ByValueCondition>
<ParameterCondition parameterRef="" value="" rule="lessThan"/>
</ByValueCondition>
</Condition>
<Condition name="criteria_CollisionTest" delay="0" conditionEdge="rising">
<ByValueCondition>
<ParameterCondition parameterRef="" value="" rule="lessThan"/>
</ByValueCondition>
</Condition>
<Condition name="criteria_DrivenDistanceTest" delay="0" conditionEdge="rising">
<ByValueCondition>
<ParameterCondition parameterRef="distance_success" value="100" rule="lessThan"/>
</ByValueCondition>
</Condition>
</ConditionGroup>
</StopTrigger>
</Storyboard>
</OpenSCENARIO>
``` | Here is the result:
```
<?xml version="1.0" ?>
<OpenSCENARIO>
<FileHeader revMajor="1" revMinor="0" date="2020-03-24T12:00:00" description="CARLA:LaneChangeSimple" author=""/>
<ParameterDeclarations/>
<CatalogLocations/>
<RoadNetwork>
<LogicFile filepath="Town04"/>
<SceneGraphFile filepath=""/>
</RoadNetwork>
<Entities>
<ScenarioObject name="hero">
<Vehicle name="vehicle.tesla.model3" vehicleCategory="car">
<ParameterDeclarations/>
<Performance maxSpeed="69.444" maxAcceleration="200" maxDeceleration="10.0"/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2.1" length="4.5" height="1.8"/>
</BoundingBox>
<Axles>
<FrontAxle maxSteering="0.5" wheelDiameter="0.6" trackWidth="1.8" positionX="3.1" positionZ="0.3"/>
<RearAxle maxSteering="0.0" wheelDiameter="0.6" trackWidth="1.8" positionX="0.0" positionZ="0.3"/>
</Axles>
<Properties>
<Property name="type" value="ego_vehicle"/>
</Properties>
</Vehicle>
</ScenarioObject>
<ScenarioObject name="adversary">
<Vehicle name="vehicle.lincoln.mkz_2017" vehicleCategory="car">
<ParameterDeclarations/>
<Performance maxSpeed="69.444" maxAcceleration="200" maxDeceleration="10.0"/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2.1" length="4.5" height="1.8"/>
</BoundingBox>
<Axles>
<FrontAxle maxSteering="0.5" wheelDiameter="0.6" trackWidth="1.8" positionX="3.1" positionZ="0.3"/>
<RearAxle maxSteering="0.0" wheelDiameter="0.6" trackWidth="1.8" positionX="0.0" positionZ="0.3"/>
</Axles>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Vehicle>
</ScenarioObject>
<ScenarioObject name="standing">
<Vehicle name="vehicle.volkswagen.t2" vehicleCategory="car">
<ParameterDeclarations/>
<Performance maxSpeed="69.444" maxAcceleration="200" maxDeceleration="10.0"/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2.1" length="4.5" height="1.8"/>
</BoundingBox>
<Axles>
<FrontAxle maxSteering="0.5" wheelDiameter="0.6" trackWidth="1.8" positionX="3.1" positionZ="0.3"/>
<RearAxle maxSteering="0.0" wheelDiameter="0.6" 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_21501">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_close_to_hero_21502">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_close_to_hero_21503">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_w_transform_21504">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_w_transform_21505">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_close_to_hero_21506">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
</Entities>
<Storyboard>
<Init>
<Actions>
<GlobalAction>
<EnvironmentAction>
<Environment name="Environment1">
<TimeOfDay animation="false" dateTime="2019-06-25T12:00:00"/>
<Weather cloudState="free">
<Sun intensity="0.85" azimuth="0" elevation="1.31"/>
<Fog visualRange="100000.0"/>
<Precipitation precipitationType="dry" intensity="0.0"/>
</Weather>
<RoadCondition frictionScaleFactor="1.0"/>
</Environment>
</EnvironmentAction>
</GlobalAction>
<Private entityRef="hero">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-9.4" y="-152.8" z="0.5" h="1.57079632679"/>
</Position>
</TeleportAction>
</PrivateAction>
<PrivateAction>
<ControllerAction>
<AssignControllerAction>
<Controller name="HeroAgent">
<Properties>
<Property name="module" value="external_control"/>
</Properties>
</Controller>
</AssignControllerAction>
<OverrideControllerValueAction>
<Throttle value="0" active="false"/>
<Brake value="0" active="false"/>
<Clutch value="0" active="false"/>
<ParkingBrake value="0" active="false"/>
<SteeringWheel value="0" active="false"/>
<Gear number="0" active="false"/>
</OverrideControllerValueAction>
</ControllerAction>
</PrivateAction>
</Private>
<Private entityRef="adversary">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-9.4" y="-71.0" z="0.5" h="1.57079632679"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="standing">
<PrivateAction>
<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_21501">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-16.73058319091797" y="31.7911376953125" z="0.0030158995650708675"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_close_to_hero_21502">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="0.3488163650035858" y="-160.11158752441406" z="0.0014286803780123591"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_close_to_hero_21503">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-15.195939064025879" y="-156.30165100097656" z="0.0014286803780123591"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_w_transform_21504">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="38.684730529785156" y="33.69966506958008" z="0.5"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_w_transform_21505">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="97.24606323242188" y="42.202308654785156" z="0.5"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_close_to_hero_21506">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-5.441193103790283" y="-154.47943115234375" z="0.0014286803780123591"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
</Actions>
</Init>
<Story name="MyStory">
<Act name="Behavior">
<ManeuverGroup maximumExecutionCount="1" name="ManeuverSequence">
<Actors selectTriggeringEntities="false">
<EntityRef entityRef="adversary"/>
</Actors>
<Maneuver name="LaneChangeSimpleManeuver">
<Event name="AdversaryAccelerates" priority="overwrite">
<Action name="AdversaryAccelerates">
<PrivateAction>
<LongitudinalAction>
<SpeedAction>
<SpeedActionDynamics dynamicsShape="step" value="50" dynamicsDimension="distance"/>
<SpeedActionTarget>
<AbsoluteTargetSpeed value="5.0"/>
</SpeedActionTarget>
</SpeedAction>
</LongitudinalAction>
</PrivateAction>
</Action>
<StartTrigger>
<ConditionGroup>
<Condition name="StartCondition" delay="0" conditionEdge="rising">
<ByEntityCondition>
<TriggeringEntities triggeringEntitiesRule="any">
<EntityRef entityRef="hero"/>
</TriggeringEntities>
<EntityCondition>
<RelativeDistanceCondition entityRef="adversary" relativeDistanceType="cartesianDistance" value="40.0" freespace="false" rule="lessThan"/>
</EntityCondition>
</ByEntityCondition>
</Condition>
</ConditionGroup>
</StartTrigger>
</Event>
<Event name="AdversaryChangesLane" priority="overwrite">
<Action name="AdversaryChangesLane">
<PrivateAction>
<LateralAction>
<LaneChangeAction>
<LaneChangeActionDynamics dynamicsShape="linear" value="25" dynamicsDimension="distance"/>
<LaneChangeTarget>
<RelativeTargetLane entityRef="adversary" value="-1"/>
</LaneChangeTarget>
</LaneChangeAction>
</LateralAction>
</PrivateAction>
</Action>
<StartTrigger>
<ConditionGroup>
<Condition name="AfterAdversaryAccelerates" delay="0" conditionEdge="rising">
<ByValueCondition>
<StoryboardElementStateCondition storyboardElementType="action" storyboardElementRef="AdversaryAccelerates" state="completeState"/>
</ByValueCondition>
</Condition>
</ConditionGroup>
</StartTrigger>
</Event>
</Maneuver>
</ManeuverGroup>
<StartTrigger>
<ConditionGroup>
<Condition name="OverallStartCondition" delay="0" conditionEdge="rising">
<ByEntityCondition>
<TriggeringEntities triggeringEntitiesRule="any">
<EntityRef entityRef="hero"/>
</TriggeringEntities>
<EntityCondition>
<TraveledDistanceCondition value="1.0"/>
</EntityCondition>
</ByEntityCondition>
</Condition>
<Condition name="StartTime" delay="0" conditionEdge="rising">
<ByValueCondition>
<SimulationTimeCondition value="0" rule="equalTo"/>
</ByValueCondition>
</Condition>
</ConditionGroup>
</StartTrigger>
<StopTrigger>
<ConditionGroup>
<Condition name="EndCondition" delay="0" conditionEdge="rising">
<ByEntityCondition>
<TriggeringEntities triggeringEntitiesRule="any">
<EntityRef entityRef="hero"/>
</TriggeringEntities>
<EntityCondition>
<TraveledDistanceCondition value="200.0"/>
</EntityCondition>
</ByEntityCondition>
</Condition>
</ConditionGroup>
</StopTrigger>
</Act>
</Story>
<StopTrigger>
<ConditionGroup>
<Condition name="criteria_RunningStopTest" delay="0" conditionEdge="rising">
<ByValueCondition>
<ParameterCondition parameterRef="" value="" rule="lessThan"/>
</ByValueCondition>
</Condition>
<Condition name="criteria_RunningRedLightTest" delay="0" conditionEdge="rising">
<ByValueCondition>
<ParameterCondition parameterRef="" value="" rule="lessThan"/>
</ByValueCondition>
</Condition>
<Condition name="criteria_WrongLaneTest" delay="0" conditionEdge="rising">
<ByValueCondition>
<ParameterCondition parameterRef="" value="" rule="lessThan"/>
</ByValueCondition>
</Condition>
<Condition name="criteria_OnSidewalkTest" delay="0" conditionEdge="rising">
<ByValueCondition>
<ParameterCondition parameterRef="" value="" rule="lessThan"/>
</ByValueCondition>
</Condition>
<Condition name="criteria_KeepLaneTest" delay="0" conditionEdge="rising">
<ByValueCondition>
<ParameterCondition parameterRef="" value="" rule="lessThan"/>
</ByValueCondition>
</Condition>
<Condition name="criteria_CollisionTest" delay="0" conditionEdge="rising">
<ByValueCondition>
<ParameterCondition parameterRef="" value="" rule="lessThan"/>
</ByValueCondition>
</Condition>
<Condition name="criteria_DrivenDistanceTest" delay="0" conditionEdge="rising">
<ByValueCondition>
<ParameterCondition parameterRef="distance_success" value="100" rule="lessThan"/>
</ByValueCondition>
</Condition>
</ConditionGroup>
</StopTrigger>
</Storyboard>
</OpenSCENARIO>
``` |
i want you to add pedestrian 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_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>
``` | Here is the result:
```
<?xml version="1.0" ?>
<OpenSCENARIO>
<FileHeader revMajor="1" revMinor="0" date="2020-03-24T12:00:00" description="CARLA:LaneChangeSimple" author=""/>
<ParameterDeclarations/>
<CatalogLocations/>
<RoadNetwork>
<LogicFile filepath="Town04"/>
<SceneGraphFile filepath=""/>
</RoadNetwork>
<Entities>
<ScenarioObject name="hero">
<Vehicle name="vehicle.tesla.model3" vehicleCategory="car">
<ParameterDeclarations/>
<Performance maxSpeed="69.444" maxAcceleration="200" maxDeceleration="10.0"/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2.1" length="4.5" height="1.8"/>
</BoundingBox>
<Axles>
<FrontAxle maxSteering="0.5" wheelDiameter="0.6" trackWidth="1.8" positionX="3.1" positionZ="0.3"/>
<RearAxle maxSteering="0.0" wheelDiameter="0.6" trackWidth="1.8" positionX="0.0" positionZ="0.3"/>
</Axles>
<Properties>
<Property name="type" value="ego_vehicle"/>
</Properties>
</Vehicle>
</ScenarioObject>
<ScenarioObject name="adversary">
<Vehicle name="vehicle.lincoln.mkz_2017" vehicleCategory="car">
<ParameterDeclarations/>
<Performance maxSpeed="69.444" maxAcceleration="200" maxDeceleration="10.0"/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2.1" length="4.5" height="1.8"/>
</BoundingBox>
<Axles>
<FrontAxle maxSteering="0.5" wheelDiameter="0.6" trackWidth="1.8" positionX="3.1" positionZ="0.3"/>
<RearAxle maxSteering="0.0" wheelDiameter="0.6" trackWidth="1.8" positionX="0.0" positionZ="0.3"/>
</Axles>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Vehicle>
</ScenarioObject>
<ScenarioObject name="standing">
<Vehicle name="vehicle.volkswagen.t2" vehicleCategory="car">
<ParameterDeclarations/>
<Performance maxSpeed="69.444" maxAcceleration="200" maxDeceleration="10.0"/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2.1" length="4.5" height="1.8"/>
</BoundingBox>
<Axles>
<FrontAxle maxSteering="0.5" wheelDiameter="0.6" trackWidth="1.8" positionX="3.1" positionZ="0.3"/>
<RearAxle maxSteering="0.0" wheelDiameter="0.6" 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>
<ScenarioObject name="pedestrian_close_to_hero_19851">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
</Entities>
<Storyboard>
<Init>
<Actions>
<GlobalAction>
<EnvironmentAction>
<Environment name="Environment1">
<TimeOfDay animation="false" dateTime="2019-06-25T12:00:00"/>
<Weather cloudState="free">
<Sun intensity="0.85" azimuth="0" elevation="1.31"/>
<Fog visualRange="100000.0"/>
<Precipitation precipitationType="dry" intensity="0.0"/>
</Weather>
<RoadCondition frictionScaleFactor="1.0"/>
</Environment>
</EnvironmentAction>
</GlobalAction>
<Private entityRef="hero">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-9.4" y="-152.8" z="0.5" h="1.57079632679"/>
</Position>
</TeleportAction>
</PrivateAction>
<PrivateAction>
<ControllerAction>
<AssignControllerAction>
<Controller name="HeroAgent">
<Properties>
<Property name="module" value="external_control"/>
</Properties>
</Controller>
</AssignControllerAction>
<OverrideControllerValueAction>
<Throttle value="0" active="false"/>
<Brake value="0" active="false"/>
<Clutch value="0" active="false"/>
<ParkingBrake value="0" active="false"/>
<SteeringWheel value="0" active="false"/>
<Gear number="0" active="false"/>
</OverrideControllerValueAction>
</ControllerAction>
</PrivateAction>
</Private>
<Private entityRef="adversary">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-9.4" y="-71.0" z="0.5" h="1.57079632679"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="standing">
<PrivateAction>
<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>
<Private entityRef="pedestrian_close_to_hero_19851">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-5.4407525062561035" y="-162.60794067382812" 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 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_1954">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_close_to_adversary_1955">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_close_to_hero_1956">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_w_transform_1957">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_w_transform_1958">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
</Entities>
<Storyboard>
<Init>
<Actions>
<GlobalAction>
<EnvironmentAction>
<Environment name="Environment1">
<TimeOfDay animation="false" dateTime="2019-06-25T12:00:00"/>
<Weather cloudState="free">
<Sun intensity="0.85" azimuth="0" elevation="1.31"/>
<Fog visualRange="100000.0"/>
<Precipitation precipitationType="dry" intensity="0.0"/>
</Weather>
<RoadCondition frictionScaleFactor="1.0"/>
</Environment>
</EnvironmentAction>
</GlobalAction>
<Private entityRef="hero">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-9.4" y="-152.8" z="0.5" h="1.57079632679"/>
</Position>
</TeleportAction>
</PrivateAction>
<PrivateAction>
<ControllerAction>
<AssignControllerAction>
<Controller name="HeroAgent">
<Properties>
<Property name="module" value="external_control"/>
</Properties>
</Controller>
</AssignControllerAction>
<OverrideControllerValueAction>
<Throttle value="0" active="false"/>
<Brake value="0" active="false"/>
<Clutch value="0" active="false"/>
<ParkingBrake value="0" active="false"/>
<SteeringWheel value="0" active="false"/>
<Gear number="0" active="false"/>
</OverrideControllerValueAction>
</ControllerAction>
</PrivateAction>
</Private>
<Private entityRef="adversary">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-9.4" y="-71.0" z="0.5" h="1.57079632679"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="standing">
<PrivateAction>
<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_1954">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-16.308523178100586" y="20.397092819213867" z="0.003069457830861211"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_close_to_adversary_1955">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-12.462401390075684" y="-73.64517211914062" z="0.033828772604465485"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_close_to_hero_1956">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-13.74247932434082" y="-154.872314453125" z="0.0014286803780123591"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_w_transform_1957">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="40.227882385253906" y="-86.75244903564453" z="0.5"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_w_transform_1958">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-48.256690979003906" y="41.34136962890625" z="0.5"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
</Actions>
</Init>
<Story name="MyStory">
<Act name="Behavior">
<ManeuverGroup maximumExecutionCount="1" name="ManeuverSequence">
<Actors selectTriggeringEntities="false">
<EntityRef entityRef="adversary"/>
</Actors>
<Maneuver name="LaneChangeSimpleManeuver">
<Event name="AdversaryAccelerates" priority="overwrite">
<Action name="AdversaryAccelerates">
<PrivateAction>
<LongitudinalAction>
<SpeedAction>
<SpeedActionDynamics dynamicsShape="step" value="50" dynamicsDimension="distance"/>
<SpeedActionTarget>
<AbsoluteTargetSpeed value="5.0"/>
</SpeedActionTarget>
</SpeedAction>
</LongitudinalAction>
</PrivateAction>
</Action>
<StartTrigger>
<ConditionGroup>
<Condition name="StartCondition" delay="0" conditionEdge="rising">
<ByEntityCondition>
<TriggeringEntities triggeringEntitiesRule="any">
<EntityRef entityRef="hero"/>
</TriggeringEntities>
<EntityCondition>
<RelativeDistanceCondition entityRef="adversary" relativeDistanceType="cartesianDistance" value="40.0" freespace="false" rule="lessThan"/>
</EntityCondition>
</ByEntityCondition>
</Condition>
</ConditionGroup>
</StartTrigger>
</Event>
<Event name="AdversaryChangesLane" priority="overwrite">
<Action name="AdversaryChangesLane">
<PrivateAction>
<LateralAction>
<LaneChangeAction>
<LaneChangeActionDynamics dynamicsShape="linear" value="25" dynamicsDimension="distance"/>
<LaneChangeTarget>
<RelativeTargetLane entityRef="adversary" value="-1"/>
</LaneChangeTarget>
</LaneChangeAction>
</LateralAction>
</PrivateAction>
</Action>
<StartTrigger>
<ConditionGroup>
<Condition name="AfterAdversaryAccelerates" delay="0" conditionEdge="rising">
<ByValueCondition>
<StoryboardElementStateCondition storyboardElementType="action" storyboardElementRef="AdversaryAccelerates" state="completeState"/>
</ByValueCondition>
</Condition>
</ConditionGroup>
</StartTrigger>
</Event>
</Maneuver>
</ManeuverGroup>
<StartTrigger>
<ConditionGroup>
<Condition name="OverallStartCondition" delay="0" conditionEdge="rising">
<ByEntityCondition>
<TriggeringEntities triggeringEntitiesRule="any">
<EntityRef entityRef="hero"/>
</TriggeringEntities>
<EntityCondition>
<TraveledDistanceCondition value="1.0"/>
</EntityCondition>
</ByEntityCondition>
</Condition>
<Condition name="StartTime" delay="0" conditionEdge="rising">
<ByValueCondition>
<SimulationTimeCondition value="0" rule="equalTo"/>
</ByValueCondition>
</Condition>
</ConditionGroup>
</StartTrigger>
<StopTrigger>
<ConditionGroup>
<Condition name="EndCondition" delay="0" conditionEdge="rising">
<ByEntityCondition>
<TriggeringEntities triggeringEntitiesRule="any">
<EntityRef entityRef="hero"/>
</TriggeringEntities>
<EntityCondition>
<TraveledDistanceCondition value="200.0"/>
</EntityCondition>
</ByEntityCondition>
</Condition>
</ConditionGroup>
</StopTrigger>
</Act>
</Story>
<StopTrigger>
<ConditionGroup>
<Condition name="criteria_RunningStopTest" delay="0" conditionEdge="rising">
<ByValueCondition>
<ParameterCondition parameterRef="" value="" rule="lessThan"/>
</ByValueCondition>
</Condition>
<Condition name="criteria_RunningRedLightTest" delay="0" conditionEdge="rising">
<ByValueCondition>
<ParameterCondition parameterRef="" value="" rule="lessThan"/>
</ByValueCondition>
</Condition>
<Condition name="criteria_WrongLaneTest" delay="0" conditionEdge="rising">
<ByValueCondition>
<ParameterCondition parameterRef="" value="" rule="lessThan"/>
</ByValueCondition>
</Condition>
<Condition name="criteria_OnSidewalkTest" delay="0" conditionEdge="rising">
<ByValueCondition>
<ParameterCondition parameterRef="" value="" rule="lessThan"/>
</ByValueCondition>
</Condition>
<Condition name="criteria_KeepLaneTest" delay="0" conditionEdge="rising">
<ByValueCondition>
<ParameterCondition parameterRef="" value="" rule="lessThan"/>
</ByValueCondition>
</Condition>
<Condition name="criteria_CollisionTest" delay="0" conditionEdge="rising">
<ByValueCondition>
<ParameterCondition parameterRef="" value="" rule="lessThan"/>
</ByValueCondition>
</Condition>
<Condition name="criteria_DrivenDistanceTest" delay="0" conditionEdge="rising">
<ByValueCondition>
<ParameterCondition parameterRef="distance_success" value="100" rule="lessThan"/>
</ByValueCondition>
</Condition>
</ConditionGroup>
</StopTrigger>
</Storyboard>
</OpenSCENARIO>
``` | Here is the result:
```
<?xml version="1.0" ?>
<OpenSCENARIO>
<FileHeader revMajor="1" revMinor="0" date="2020-03-24T12:00:00" description="CARLA:LaneChangeSimple" author=""/>
<ParameterDeclarations/>
<CatalogLocations/>
<RoadNetwork>
<LogicFile filepath="Town04"/>
<SceneGraphFile filepath=""/>
</RoadNetwork>
<Entities>
<ScenarioObject name="hero">
<Vehicle name="vehicle.tesla.model3" vehicleCategory="car">
<ParameterDeclarations/>
<Performance maxSpeed="69.444" maxAcceleration="200" maxDeceleration="10.0"/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2.1" length="4.5" height="1.8"/>
</BoundingBox>
<Axles>
<FrontAxle maxSteering="0.5" wheelDiameter="0.6" trackWidth="1.8" positionX="3.1" positionZ="0.3"/>
<RearAxle maxSteering="0.0" wheelDiameter="0.6" trackWidth="1.8" positionX="0.0" positionZ="0.3"/>
</Axles>
<Properties>
<Property name="type" value="ego_vehicle"/>
</Properties>
</Vehicle>
</ScenarioObject>
<ScenarioObject name="adversary">
<Vehicle name="vehicle.lincoln.mkz_2017" vehicleCategory="car">
<ParameterDeclarations/>
<Performance maxSpeed="69.444" maxAcceleration="200" maxDeceleration="10.0"/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2.1" length="4.5" height="1.8"/>
</BoundingBox>
<Axles>
<FrontAxle maxSteering="0.5" wheelDiameter="0.6" trackWidth="1.8" positionX="3.1" positionZ="0.3"/>
<RearAxle maxSteering="0.0" wheelDiameter="0.6" trackWidth="1.8" positionX="0.0" positionZ="0.3"/>
</Axles>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Vehicle>
</ScenarioObject>
<ScenarioObject name="standing">
<Vehicle name="vehicle.volkswagen.t2" vehicleCategory="car">
<ParameterDeclarations/>
<Performance maxSpeed="69.444" maxAcceleration="200" maxDeceleration="10.0"/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2.1" length="4.5" height="1.8"/>
</BoundingBox>
<Axles>
<FrontAxle maxSteering="0.5" wheelDiameter="0.6" trackWidth="1.8" positionX="3.1" positionZ="0.3"/>
<RearAxle maxSteering="0.0" wheelDiameter="0.6" 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_1954">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_close_to_adversary_1955">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_close_to_hero_1956">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_w_transform_1957">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_w_transform_1958">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_close_to_adversary_1959">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
</Entities>
<Storyboard>
<Init>
<Actions>
<GlobalAction>
<EnvironmentAction>
<Environment name="Environment1">
<TimeOfDay animation="false" dateTime="2019-06-25T12:00:00"/>
<Weather cloudState="free">
<Sun intensity="0.85" azimuth="0" elevation="1.31"/>
<Fog visualRange="100000.0"/>
<Precipitation precipitationType="dry" intensity="0.0"/>
</Weather>
<RoadCondition frictionScaleFactor="1.0"/>
</Environment>
</EnvironmentAction>
</GlobalAction>
<Private entityRef="hero">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-9.4" y="-152.8" z="0.5" h="1.57079632679"/>
</Position>
</TeleportAction>
</PrivateAction>
<PrivateAction>
<ControllerAction>
<AssignControllerAction>
<Controller name="HeroAgent">
<Properties>
<Property name="module" value="external_control"/>
</Properties>
</Controller>
</AssignControllerAction>
<OverrideControllerValueAction>
<Throttle value="0" active="false"/>
<Brake value="0" active="false"/>
<Clutch value="0" active="false"/>
<ParkingBrake value="0" active="false"/>
<SteeringWheel value="0" active="false"/>
<Gear number="0" active="false"/>
</OverrideControllerValueAction>
</ControllerAction>
</PrivateAction>
</Private>
<Private entityRef="adversary">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-9.4" y="-71.0" z="0.5" h="1.57079632679"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="standing">
<PrivateAction>
<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_1954">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-16.308523178100586" y="20.397092819213867" z="0.003069457830861211"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_close_to_adversary_1955">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-12.462401390075684" y="-73.64517211914062" z="0.033828772604465485"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_close_to_hero_1956">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-13.74247932434082" y="-154.872314453125" z="0.0014286803780123591"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_w_transform_1957">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="40.227882385253906" y="-86.75244903564453" z="0.5"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_w_transform_1958">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-48.256690979003906" y="41.34136962890625" z="0.5"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_close_to_adversary_1959">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="12.260147094726562" y="-74.86502838134766" z="0.03385990113019943"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
</Actions>
</Init>
<Story name="MyStory">
<Act name="Behavior">
<ManeuverGroup maximumExecutionCount="1" name="ManeuverSequence">
<Actors selectTriggeringEntities="false">
<EntityRef entityRef="adversary"/>
</Actors>
<Maneuver name="LaneChangeSimpleManeuver">
<Event name="AdversaryAccelerates" priority="overwrite">
<Action name="AdversaryAccelerates">
<PrivateAction>
<LongitudinalAction>
<SpeedAction>
<SpeedActionDynamics dynamicsShape="step" value="50" dynamicsDimension="distance"/>
<SpeedActionTarget>
<AbsoluteTargetSpeed value="5.0"/>
</SpeedActionTarget>
</SpeedAction>
</LongitudinalAction>
</PrivateAction>
</Action>
<StartTrigger>
<ConditionGroup>
<Condition name="StartCondition" delay="0" conditionEdge="rising">
<ByEntityCondition>
<TriggeringEntities triggeringEntitiesRule="any">
<EntityRef entityRef="hero"/>
</TriggeringEntities>
<EntityCondition>
<RelativeDistanceCondition entityRef="adversary" relativeDistanceType="cartesianDistance" value="40.0" freespace="false" rule="lessThan"/>
</EntityCondition>
</ByEntityCondition>
</Condition>
</ConditionGroup>
</StartTrigger>
</Event>
<Event name="AdversaryChangesLane" priority="overwrite">
<Action name="AdversaryChangesLane">
<PrivateAction>
<LateralAction>
<LaneChangeAction>
<LaneChangeActionDynamics dynamicsShape="linear" value="25" dynamicsDimension="distance"/>
<LaneChangeTarget>
<RelativeTargetLane entityRef="adversary" value="-1"/>
</LaneChangeTarget>
</LaneChangeAction>
</LateralAction>
</PrivateAction>
</Action>
<StartTrigger>
<ConditionGroup>
<Condition name="AfterAdversaryAccelerates" delay="0" conditionEdge="rising">
<ByValueCondition>
<StoryboardElementStateCondition storyboardElementType="action" storyboardElementRef="AdversaryAccelerates" state="completeState"/>
</ByValueCondition>
</Condition>
</ConditionGroup>
</StartTrigger>
</Event>
</Maneuver>
</ManeuverGroup>
<StartTrigger>
<ConditionGroup>
<Condition name="OverallStartCondition" delay="0" conditionEdge="rising">
<ByEntityCondition>
<TriggeringEntities triggeringEntitiesRule="any">
<EntityRef entityRef="hero"/>
</TriggeringEntities>
<EntityCondition>
<TraveledDistanceCondition value="1.0"/>
</EntityCondition>
</ByEntityCondition>
</Condition>
<Condition name="StartTime" delay="0" conditionEdge="rising">
<ByValueCondition>
<SimulationTimeCondition value="0" rule="equalTo"/>
</ByValueCondition>
</Condition>
</ConditionGroup>
</StartTrigger>
<StopTrigger>
<ConditionGroup>
<Condition name="EndCondition" delay="0" conditionEdge="rising">
<ByEntityCondition>
<TriggeringEntities triggeringEntitiesRule="any">
<EntityRef entityRef="hero"/>
</TriggeringEntities>
<EntityCondition>
<TraveledDistanceCondition value="200.0"/>
</EntityCondition>
</ByEntityCondition>
</Condition>
</ConditionGroup>
</StopTrigger>
</Act>
</Story>
<StopTrigger>
<ConditionGroup>
<Condition name="criteria_RunningStopTest" delay="0" conditionEdge="rising">
<ByValueCondition>
<ParameterCondition parameterRef="" value="" rule="lessThan"/>
</ByValueCondition>
</Condition>
<Condition name="criteria_RunningRedLightTest" delay="0" conditionEdge="rising">
<ByValueCondition>
<ParameterCondition parameterRef="" value="" rule="lessThan"/>
</ByValueCondition>
</Condition>
<Condition name="criteria_WrongLaneTest" delay="0" conditionEdge="rising">
<ByValueCondition>
<ParameterCondition parameterRef="" value="" rule="lessThan"/>
</ByValueCondition>
</Condition>
<Condition name="criteria_OnSidewalkTest" delay="0" conditionEdge="rising">
<ByValueCondition>
<ParameterCondition parameterRef="" value="" rule="lessThan"/>
</ByValueCondition>
</Condition>
<Condition name="criteria_KeepLaneTest" delay="0" conditionEdge="rising">
<ByValueCondition>
<ParameterCondition parameterRef="" value="" rule="lessThan"/>
</ByValueCondition>
</Condition>
<Condition name="criteria_CollisionTest" delay="0" conditionEdge="rising">
<ByValueCondition>
<ParameterCondition parameterRef="" value="" rule="lessThan"/>
</ByValueCondition>
</Condition>
<Condition name="criteria_DrivenDistanceTest" delay="0" conditionEdge="rising">
<ByValueCondition>
<ParameterCondition parameterRef="distance_success" value="100" rule="lessThan"/>
</ByValueCondition>
</Condition>
</ConditionGroup>
</StopTrigger>
</Storyboard>
</OpenSCENARIO>
``` |
i want you to add pedestrian close to hero?
```
<?xml version="1.0" ?>
<OpenSCENARIO>
<FileHeader revMajor="1" revMinor="0" date="2020-03-24T12:00:00" description="CARLA:LaneChangeSimple" author=""/>
<ParameterDeclarations/>
<CatalogLocations/>
<RoadNetwork>
<LogicFile filepath="Town04"/>
<SceneGraphFile filepath=""/>
</RoadNetwork>
<Entities>
<ScenarioObject name="hero">
<Vehicle name="vehicle.tesla.model3" vehicleCategory="car">
<ParameterDeclarations/>
<Performance maxSpeed="69.444" maxAcceleration="200" maxDeceleration="10.0"/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2.1" length="4.5" height="1.8"/>
</BoundingBox>
<Axles>
<FrontAxle maxSteering="0.5" wheelDiameter="0.6" trackWidth="1.8" positionX="3.1" positionZ="0.3"/>
<RearAxle maxSteering="0.0" wheelDiameter="0.6" trackWidth="1.8" positionX="0.0" positionZ="0.3"/>
</Axles>
<Properties>
<Property name="type" value="ego_vehicle"/>
</Properties>
</Vehicle>
</ScenarioObject>
<ScenarioObject name="adversary">
<Vehicle name="vehicle.lincoln.mkz_2017" vehicleCategory="car">
<ParameterDeclarations/>
<Performance maxSpeed="69.444" maxAcceleration="200" maxDeceleration="10.0"/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2.1" length="4.5" height="1.8"/>
</BoundingBox>
<Axles>
<FrontAxle maxSteering="0.5" wheelDiameter="0.6" trackWidth="1.8" positionX="3.1" positionZ="0.3"/>
<RearAxle maxSteering="0.0" wheelDiameter="0.6" trackWidth="1.8" positionX="0.0" positionZ="0.3"/>
</Axles>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Vehicle>
</ScenarioObject>
<ScenarioObject name="standing">
<Vehicle name="vehicle.volkswagen.t2" vehicleCategory="car">
<ParameterDeclarations/>
<Performance maxSpeed="69.444" maxAcceleration="200" maxDeceleration="10.0"/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2.1" length="4.5" height="1.8"/>
</BoundingBox>
<Axles>
<FrontAxle maxSteering="0.5" wheelDiameter="0.6" trackWidth="1.8" positionX="3.1" positionZ="0.3"/>
<RearAxle maxSteering="0.0" wheelDiameter="0.6" trackWidth="1.8" positionX="0.0" positionZ="0.3"/>
</Axles>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Vehicle>
</ScenarioObject>
<ScenarioObject name="pedestrian_close_to_hero_21730">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_close_to_standing_21731">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_close_to_adversary_21732">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_w_transform_21733">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_close_to_hero_21734">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_close_to_adversary_21735">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
</Entities>
<Storyboard>
<Init>
<Actions>
<GlobalAction>
<EnvironmentAction>
<Environment name="Environment1">
<TimeOfDay animation="false" dateTime="2019-06-25T12:00:00"/>
<Weather cloudState="free">
<Sun intensity="0.85" azimuth="0" elevation="1.31"/>
<Fog visualRange="100000.0"/>
<Precipitation precipitationType="dry" intensity="0.0"/>
</Weather>
<RoadCondition frictionScaleFactor="1.0"/>
</Environment>
</EnvironmentAction>
</GlobalAction>
<Private entityRef="hero">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-9.4" y="-152.8" z="0.5" h="1.57079632679"/>
</Position>
</TeleportAction>
</PrivateAction>
<PrivateAction>
<ControllerAction>
<AssignControllerAction>
<Controller name="HeroAgent">
<Properties>
<Property name="module" value="external_control"/>
</Properties>
</Controller>
</AssignControllerAction>
<OverrideControllerValueAction>
<Throttle value="0" active="false"/>
<Brake value="0" active="false"/>
<Clutch value="0" active="false"/>
<ParkingBrake value="0" active="false"/>
<SteeringWheel value="0" active="false"/>
<Gear number="0" active="false"/>
</OverrideControllerValueAction>
</ControllerAction>
</PrivateAction>
</Private>
<Private entityRef="adversary">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-9.4" y="-71.0" z="0.5" h="1.57079632679"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="standing">
<PrivateAction>
<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_21730">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-16.87571144104004" y="-152.3560028076172" z="0.0014286803780123591"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_close_to_standing_21731">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-9.876855850219727" y="37.57133102416992" z="0.003001632634550333"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_close_to_adversary_21732">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="1.5094547271728516" y="-67.4935073852539" z="0.03379783406853676"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_w_transform_21733">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="79.60298156738281" y="-15.800093650817871" z="0.5"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_close_to_hero_21734">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-7.933455944061279" y="-157.5098114013672" z="0.0014286803780123591"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_close_to_adversary_21735">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-12.233050346374512" y="-75.14735412597656" z="0.033752668648958206"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
</Actions>
</Init>
<Story name="MyStory">
<Act name="Behavior">
<ManeuverGroup maximumExecutionCount="1" name="ManeuverSequence">
<Actors selectTriggeringEntities="false">
<EntityRef entityRef="adversary"/>
</Actors>
<Maneuver name="LaneChangeSimpleManeuver">
<Event name="AdversaryAccelerates" priority="overwrite">
<Action name="AdversaryAccelerates">
<PrivateAction>
<LongitudinalAction>
<SpeedAction>
<SpeedActionDynamics dynamicsShape="step" value="50" dynamicsDimension="distance"/>
<SpeedActionTarget>
<AbsoluteTargetSpeed value="5.0"/>
</SpeedActionTarget>
</SpeedAction>
</LongitudinalAction>
</PrivateAction>
</Action>
<StartTrigger>
<ConditionGroup>
<Condition name="StartCondition" delay="0" conditionEdge="rising">
<ByEntityCondition>
<TriggeringEntities triggeringEntitiesRule="any">
<EntityRef entityRef="hero"/>
</TriggeringEntities>
<EntityCondition>
<RelativeDistanceCondition entityRef="adversary" relativeDistanceType="cartesianDistance" value="40.0" freespace="false" rule="lessThan"/>
</EntityCondition>
</ByEntityCondition>
</Condition>
</ConditionGroup>
</StartTrigger>
</Event>
<Event name="AdversaryChangesLane" priority="overwrite">
<Action name="AdversaryChangesLane">
<PrivateAction>
<LateralAction>
<LaneChangeAction>
<LaneChangeActionDynamics dynamicsShape="linear" value="25" dynamicsDimension="distance"/>
<LaneChangeTarget>
<RelativeTargetLane entityRef="adversary" value="-1"/>
</LaneChangeTarget>
</LaneChangeAction>
</LateralAction>
</PrivateAction>
</Action>
<StartTrigger>
<ConditionGroup>
<Condition name="AfterAdversaryAccelerates" delay="0" conditionEdge="rising">
<ByValueCondition>
<StoryboardElementStateCondition storyboardElementType="action" storyboardElementRef="AdversaryAccelerates" state="completeState"/>
</ByValueCondition>
</Condition>
</ConditionGroup>
</StartTrigger>
</Event>
</Maneuver>
</ManeuverGroup>
<StartTrigger>
<ConditionGroup>
<Condition name="OverallStartCondition" delay="0" conditionEdge="rising">
<ByEntityCondition>
<TriggeringEntities triggeringEntitiesRule="any">
<EntityRef entityRef="hero"/>
</TriggeringEntities>
<EntityCondition>
<TraveledDistanceCondition value="1.0"/>
</EntityCondition>
</ByEntityCondition>
</Condition>
<Condition name="StartTime" delay="0" conditionEdge="rising">
<ByValueCondition>
<SimulationTimeCondition value="0" rule="equalTo"/>
</ByValueCondition>
</Condition>
</ConditionGroup>
</StartTrigger>
<StopTrigger>
<ConditionGroup>
<Condition name="EndCondition" delay="0" conditionEdge="rising">
<ByEntityCondition>
<TriggeringEntities triggeringEntitiesRule="any">
<EntityRef entityRef="hero"/>
</TriggeringEntities>
<EntityCondition>
<TraveledDistanceCondition value="200.0"/>
</EntityCondition>
</ByEntityCondition>
</Condition>
</ConditionGroup>
</StopTrigger>
</Act>
</Story>
<StopTrigger>
<ConditionGroup>
<Condition name="criteria_RunningStopTest" delay="0" conditionEdge="rising">
<ByValueCondition>
<ParameterCondition parameterRef="" value="" rule="lessThan"/>
</ByValueCondition>
</Condition>
<Condition name="criteria_RunningRedLightTest" delay="0" conditionEdge="rising">
<ByValueCondition>
<ParameterCondition parameterRef="" value="" rule="lessThan"/>
</ByValueCondition>
</Condition>
<Condition name="criteria_WrongLaneTest" delay="0" conditionEdge="rising">
<ByValueCondition>
<ParameterCondition parameterRef="" value="" rule="lessThan"/>
</ByValueCondition>
</Condition>
<Condition name="criteria_OnSidewalkTest" delay="0" conditionEdge="rising">
<ByValueCondition>
<ParameterCondition parameterRef="" value="" rule="lessThan"/>
</ByValueCondition>
</Condition>
<Condition name="criteria_KeepLaneTest" delay="0" conditionEdge="rising">
<ByValueCondition>
<ParameterCondition parameterRef="" value="" rule="lessThan"/>
</ByValueCondition>
</Condition>
<Condition name="criteria_CollisionTest" delay="0" conditionEdge="rising">
<ByValueCondition>
<ParameterCondition parameterRef="" value="" rule="lessThan"/>
</ByValueCondition>
</Condition>
<Condition name="criteria_DrivenDistanceTest" delay="0" conditionEdge="rising">
<ByValueCondition>
<ParameterCondition parameterRef="distance_success" value="100" rule="lessThan"/>
</ByValueCondition>
</Condition>
</ConditionGroup>
</StopTrigger>
</Storyboard>
</OpenSCENARIO>
``` | Here is the result:
```
<?xml version="1.0" ?>
<OpenSCENARIO>
<FileHeader revMajor="1" revMinor="0" date="2020-03-24T12:00:00" description="CARLA:LaneChangeSimple" author=""/>
<ParameterDeclarations/>
<CatalogLocations/>
<RoadNetwork>
<LogicFile filepath="Town04"/>
<SceneGraphFile filepath=""/>
</RoadNetwork>
<Entities>
<ScenarioObject name="hero">
<Vehicle name="vehicle.tesla.model3" vehicleCategory="car">
<ParameterDeclarations/>
<Performance maxSpeed="69.444" maxAcceleration="200" maxDeceleration="10.0"/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2.1" length="4.5" height="1.8"/>
</BoundingBox>
<Axles>
<FrontAxle maxSteering="0.5" wheelDiameter="0.6" trackWidth="1.8" positionX="3.1" positionZ="0.3"/>
<RearAxle maxSteering="0.0" wheelDiameter="0.6" trackWidth="1.8" positionX="0.0" positionZ="0.3"/>
</Axles>
<Properties>
<Property name="type" value="ego_vehicle"/>
</Properties>
</Vehicle>
</ScenarioObject>
<ScenarioObject name="adversary">
<Vehicle name="vehicle.lincoln.mkz_2017" vehicleCategory="car">
<ParameterDeclarations/>
<Performance maxSpeed="69.444" maxAcceleration="200" maxDeceleration="10.0"/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2.1" length="4.5" height="1.8"/>
</BoundingBox>
<Axles>
<FrontAxle maxSteering="0.5" wheelDiameter="0.6" trackWidth="1.8" positionX="3.1" positionZ="0.3"/>
<RearAxle maxSteering="0.0" wheelDiameter="0.6" trackWidth="1.8" positionX="0.0" positionZ="0.3"/>
</Axles>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Vehicle>
</ScenarioObject>
<ScenarioObject name="standing">
<Vehicle name="vehicle.volkswagen.t2" vehicleCategory="car">
<ParameterDeclarations/>
<Performance maxSpeed="69.444" maxAcceleration="200" maxDeceleration="10.0"/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2.1" length="4.5" height="1.8"/>
</BoundingBox>
<Axles>
<FrontAxle maxSteering="0.5" wheelDiameter="0.6" trackWidth="1.8" positionX="3.1" positionZ="0.3"/>
<RearAxle maxSteering="0.0" wheelDiameter="0.6" 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_21730">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_close_to_standing_21731">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_close_to_adversary_21732">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_w_transform_21733">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_close_to_hero_21734">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_close_to_adversary_21735">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_close_to_hero_21736">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
</Entities>
<Storyboard>
<Init>
<Actions>
<GlobalAction>
<EnvironmentAction>
<Environment name="Environment1">
<TimeOfDay animation="false" dateTime="2019-06-25T12:00:00"/>
<Weather cloudState="free">
<Sun intensity="0.85" azimuth="0" elevation="1.31"/>
<Fog visualRange="100000.0"/>
<Precipitation precipitationType="dry" intensity="0.0"/>
</Weather>
<RoadCondition frictionScaleFactor="1.0"/>
</Environment>
</EnvironmentAction>
</GlobalAction>
<Private entityRef="hero">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-9.4" y="-152.8" z="0.5" h="1.57079632679"/>
</Position>
</TeleportAction>
</PrivateAction>
<PrivateAction>
<ControllerAction>
<AssignControllerAction>
<Controller name="HeroAgent">
<Properties>
<Property name="module" value="external_control"/>
</Properties>
</Controller>
</AssignControllerAction>
<OverrideControllerValueAction>
<Throttle value="0" active="false"/>
<Brake value="0" active="false"/>
<Clutch value="0" active="false"/>
<ParkingBrake value="0" active="false"/>
<SteeringWheel value="0" active="false"/>
<Gear number="0" active="false"/>
</OverrideControllerValueAction>
</ControllerAction>
</PrivateAction>
</Private>
<Private entityRef="adversary">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-9.4" y="-71.0" z="0.5" h="1.57079632679"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="standing">
<PrivateAction>
<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_21730">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-16.87571144104004" y="-152.3560028076172" z="0.0014286803780123591"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_close_to_standing_21731">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-9.876855850219727" y="37.57133102416992" z="0.003001632634550333"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_close_to_adversary_21732">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="1.5094547271728516" y="-67.4935073852539" z="0.03379783406853676"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_w_transform_21733">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="79.60298156738281" y="-15.800093650817871" z="0.5"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_close_to_hero_21734">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-7.933455944061279" y="-157.5098114013672" z="0.0014286803780123591"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_close_to_adversary_21735">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-12.233050346374512" y="-75.14735412597656" z="0.033752668648958206"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_close_to_hero_21736">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-12.172679901123047" y="-157.55252075195312" 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 (9.9, -31.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_adversary_11481">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
</Entities>
<Storyboard>
<Init>
<Actions>
<GlobalAction>
<EnvironmentAction>
<Environment name="Environment1">
<TimeOfDay animation="false" dateTime="2019-06-25T12:00:00"/>
<Weather cloudState="free">
<Sun intensity="0.85" azimuth="0" elevation="1.31"/>
<Fog visualRange="100000.0"/>
<Precipitation precipitationType="dry" intensity="0.0"/>
</Weather>
<RoadCondition frictionScaleFactor="1.0"/>
</Environment>
</EnvironmentAction>
</GlobalAction>
<Private entityRef="hero">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-9.4" y="-152.8" z="0.5" h="1.57079632679"/>
</Position>
</TeleportAction>
</PrivateAction>
<PrivateAction>
<ControllerAction>
<AssignControllerAction>
<Controller name="HeroAgent">
<Properties>
<Property name="module" value="external_control"/>
</Properties>
</Controller>
</AssignControllerAction>
<OverrideControllerValueAction>
<Throttle value="0" active="false"/>
<Brake value="0" active="false"/>
<Clutch value="0" active="false"/>
<ParkingBrake value="0" active="false"/>
<SteeringWheel value="0" active="false"/>
<Gear number="0" active="false"/>
</OverrideControllerValueAction>
</ControllerAction>
</PrivateAction>
</Private>
<Private entityRef="adversary">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-9.4" y="-71.0" z="0.5" h="1.57079632679"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="standing">
<PrivateAction>
<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_11481">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-19.068889617919922" y="-76.25273895263672" z="0.03380062058568001"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
</Actions>
</Init>
<Story name="MyStory">
<Act name="Behavior">
<ManeuverGroup maximumExecutionCount="1" name="ManeuverSequence">
<Actors selectTriggeringEntities="false">
<EntityRef entityRef="adversary"/>
</Actors>
<Maneuver name="LaneChangeSimpleManeuver">
<Event name="AdversaryAccelerates" priority="overwrite">
<Action name="AdversaryAccelerates">
<PrivateAction>
<LongitudinalAction>
<SpeedAction>
<SpeedActionDynamics dynamicsShape="step" value="50" dynamicsDimension="distance"/>
<SpeedActionTarget>
<AbsoluteTargetSpeed value="5.0"/>
</SpeedActionTarget>
</SpeedAction>
</LongitudinalAction>
</PrivateAction>
</Action>
<StartTrigger>
<ConditionGroup>
<Condition name="StartCondition" delay="0" conditionEdge="rising">
<ByEntityCondition>
<TriggeringEntities triggeringEntitiesRule="any">
<EntityRef entityRef="hero"/>
</TriggeringEntities>
<EntityCondition>
<RelativeDistanceCondition entityRef="adversary" relativeDistanceType="cartesianDistance" value="40.0" freespace="false" rule="lessThan"/>
</EntityCondition>
</ByEntityCondition>
</Condition>
</ConditionGroup>
</StartTrigger>
</Event>
<Event name="AdversaryChangesLane" priority="overwrite">
<Action name="AdversaryChangesLane">
<PrivateAction>
<LateralAction>
<LaneChangeAction>
<LaneChangeActionDynamics dynamicsShape="linear" value="25" dynamicsDimension="distance"/>
<LaneChangeTarget>
<RelativeTargetLane entityRef="adversary" value="-1"/>
</LaneChangeTarget>
</LaneChangeAction>
</LateralAction>
</PrivateAction>
</Action>
<StartTrigger>
<ConditionGroup>
<Condition name="AfterAdversaryAccelerates" delay="0" conditionEdge="rising">
<ByValueCondition>
<StoryboardElementStateCondition storyboardElementType="action" storyboardElementRef="AdversaryAccelerates" state="completeState"/>
</ByValueCondition>
</Condition>
</ConditionGroup>
</StartTrigger>
</Event>
</Maneuver>
</ManeuverGroup>
<StartTrigger>
<ConditionGroup>
<Condition name="OverallStartCondition" delay="0" conditionEdge="rising">
<ByEntityCondition>
<TriggeringEntities triggeringEntitiesRule="any">
<EntityRef entityRef="hero"/>
</TriggeringEntities>
<EntityCondition>
<TraveledDistanceCondition value="1.0"/>
</EntityCondition>
</ByEntityCondition>
</Condition>
<Condition name="StartTime" delay="0" conditionEdge="rising">
<ByValueCondition>
<SimulationTimeCondition value="0" rule="equalTo"/>
</ByValueCondition>
</Condition>
</ConditionGroup>
</StartTrigger>
<StopTrigger>
<ConditionGroup>
<Condition name="EndCondition" delay="0" conditionEdge="rising">
<ByEntityCondition>
<TriggeringEntities triggeringEntitiesRule="any">
<EntityRef entityRef="hero"/>
</TriggeringEntities>
<EntityCondition>
<TraveledDistanceCondition value="200.0"/>
</EntityCondition>
</ByEntityCondition>
</Condition>
</ConditionGroup>
</StopTrigger>
</Act>
</Story>
<StopTrigger>
<ConditionGroup>
<Condition name="criteria_RunningStopTest" delay="0" conditionEdge="rising">
<ByValueCondition>
<ParameterCondition parameterRef="" value="" rule="lessThan"/>
</ByValueCondition>
</Condition>
<Condition name="criteria_RunningRedLightTest" delay="0" conditionEdge="rising">
<ByValueCondition>
<ParameterCondition parameterRef="" value="" rule="lessThan"/>
</ByValueCondition>
</Condition>
<Condition name="criteria_WrongLaneTest" delay="0" conditionEdge="rising">
<ByValueCondition>
<ParameterCondition parameterRef="" value="" rule="lessThan"/>
</ByValueCondition>
</Condition>
<Condition name="criteria_OnSidewalkTest" delay="0" conditionEdge="rising">
<ByValueCondition>
<ParameterCondition parameterRef="" value="" rule="lessThan"/>
</ByValueCondition>
</Condition>
<Condition name="criteria_KeepLaneTest" delay="0" conditionEdge="rising">
<ByValueCondition>
<ParameterCondition parameterRef="" value="" rule="lessThan"/>
</ByValueCondition>
</Condition>
<Condition name="criteria_CollisionTest" delay="0" conditionEdge="rising">
<ByValueCondition>
<ParameterCondition parameterRef="" value="" rule="lessThan"/>
</ByValueCondition>
</Condition>
<Condition name="criteria_DrivenDistanceTest" delay="0" conditionEdge="rising">
<ByValueCondition>
<ParameterCondition parameterRef="distance_success" value="100" rule="lessThan"/>
</ByValueCondition>
</Condition>
</ConditionGroup>
</StopTrigger>
</Storyboard>
</OpenSCENARIO>
``` | Here is the result:
```
<?xml version="1.0" ?>
<OpenSCENARIO>
<FileHeader revMajor="1" revMinor="0" date="2020-03-24T12:00:00" description="CARLA:LaneChangeSimple" author=""/>
<ParameterDeclarations/>
<CatalogLocations/>
<RoadNetwork>
<LogicFile filepath="Town04"/>
<SceneGraphFile filepath=""/>
</RoadNetwork>
<Entities>
<ScenarioObject name="hero">
<Vehicle name="vehicle.tesla.model3" vehicleCategory="car">
<ParameterDeclarations/>
<Performance maxSpeed="69.444" maxAcceleration="200" maxDeceleration="10.0"/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2.1" length="4.5" height="1.8"/>
</BoundingBox>
<Axles>
<FrontAxle maxSteering="0.5" wheelDiameter="0.6" trackWidth="1.8" positionX="3.1" positionZ="0.3"/>
<RearAxle maxSteering="0.0" wheelDiameter="0.6" trackWidth="1.8" positionX="0.0" positionZ="0.3"/>
</Axles>
<Properties>
<Property name="type" value="ego_vehicle"/>
</Properties>
</Vehicle>
</ScenarioObject>
<ScenarioObject name="adversary">
<Vehicle name="vehicle.lincoln.mkz_2017" vehicleCategory="car">
<ParameterDeclarations/>
<Performance maxSpeed="69.444" maxAcceleration="200" maxDeceleration="10.0"/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2.1" length="4.5" height="1.8"/>
</BoundingBox>
<Axles>
<FrontAxle maxSteering="0.5" wheelDiameter="0.6" trackWidth="1.8" positionX="3.1" positionZ="0.3"/>
<RearAxle maxSteering="0.0" wheelDiameter="0.6" trackWidth="1.8" positionX="0.0" positionZ="0.3"/>
</Axles>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Vehicle>
</ScenarioObject>
<ScenarioObject name="standing">
<Vehicle name="vehicle.volkswagen.t2" vehicleCategory="car">
<ParameterDeclarations/>
<Performance maxSpeed="69.444" maxAcceleration="200" maxDeceleration="10.0"/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2.1" length="4.5" height="1.8"/>
</BoundingBox>
<Axles>
<FrontAxle maxSteering="0.5" wheelDiameter="0.6" trackWidth="1.8" positionX="3.1" positionZ="0.3"/>
<RearAxle maxSteering="0.0" wheelDiameter="0.6" 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_11481">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_w_transform_11482">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
</Entities>
<Storyboard>
<Init>
<Actions>
<GlobalAction>
<EnvironmentAction>
<Environment name="Environment1">
<TimeOfDay animation="false" dateTime="2019-06-25T12:00:00"/>
<Weather cloudState="free">
<Sun intensity="0.85" azimuth="0" elevation="1.31"/>
<Fog visualRange="100000.0"/>
<Precipitation precipitationType="dry" intensity="0.0"/>
</Weather>
<RoadCondition frictionScaleFactor="1.0"/>
</Environment>
</EnvironmentAction>
</GlobalAction>
<Private entityRef="hero">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-9.4" y="-152.8" z="0.5" h="1.57079632679"/>
</Position>
</TeleportAction>
</PrivateAction>
<PrivateAction>
<ControllerAction>
<AssignControllerAction>
<Controller name="HeroAgent">
<Properties>
<Property name="module" value="external_control"/>
</Properties>
</Controller>
</AssignControllerAction>
<OverrideControllerValueAction>
<Throttle value="0" active="false"/>
<Brake value="0" active="false"/>
<Clutch value="0" active="false"/>
<ParkingBrake value="0" active="false"/>
<SteeringWheel value="0" active="false"/>
<Gear number="0" active="false"/>
</OverrideControllerValueAction>
</ControllerAction>
</PrivateAction>
</Private>
<Private entityRef="adversary">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-9.4" y="-71.0" z="0.5" h="1.57079632679"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="standing">
<PrivateAction>
<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_11481">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-19.068889617919922" y="-76.25273895263672" z="0.03380062058568001"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_w_transform_11482">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="9.895007133483887" y="-31.018756866455078" z="0.5"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
</Actions>
</Init>
<Story name="MyStory">
<Act name="Behavior">
<ManeuverGroup maximumExecutionCount="1" name="ManeuverSequence">
<Actors selectTriggeringEntities="false">
<EntityRef entityRef="adversary"/>
</Actors>
<Maneuver name="LaneChangeSimpleManeuver">
<Event name="AdversaryAccelerates" priority="overwrite">
<Action name="AdversaryAccelerates">
<PrivateAction>
<LongitudinalAction>
<SpeedAction>
<SpeedActionDynamics dynamicsShape="step" value="50" dynamicsDimension="distance"/>
<SpeedActionTarget>
<AbsoluteTargetSpeed value="5.0"/>
</SpeedActionTarget>
</SpeedAction>
</LongitudinalAction>
</PrivateAction>
</Action>
<StartTrigger>
<ConditionGroup>
<Condition name="StartCondition" delay="0" conditionEdge="rising">
<ByEntityCondition>
<TriggeringEntities triggeringEntitiesRule="any">
<EntityRef entityRef="hero"/>
</TriggeringEntities>
<EntityCondition>
<RelativeDistanceCondition entityRef="adversary" relativeDistanceType="cartesianDistance" value="40.0" freespace="false" rule="lessThan"/>
</EntityCondition>
</ByEntityCondition>
</Condition>
</ConditionGroup>
</StartTrigger>
</Event>
<Event name="AdversaryChangesLane" priority="overwrite">
<Action name="AdversaryChangesLane">
<PrivateAction>
<LateralAction>
<LaneChangeAction>
<LaneChangeActionDynamics dynamicsShape="linear" value="25" dynamicsDimension="distance"/>
<LaneChangeTarget>
<RelativeTargetLane entityRef="adversary" value="-1"/>
</LaneChangeTarget>
</LaneChangeAction>
</LateralAction>
</PrivateAction>
</Action>
<StartTrigger>
<ConditionGroup>
<Condition name="AfterAdversaryAccelerates" delay="0" conditionEdge="rising">
<ByValueCondition>
<StoryboardElementStateCondition storyboardElementType="action" storyboardElementRef="AdversaryAccelerates" state="completeState"/>
</ByValueCondition>
</Condition>
</ConditionGroup>
</StartTrigger>
</Event>
</Maneuver>
</ManeuverGroup>
<StartTrigger>
<ConditionGroup>
<Condition name="OverallStartCondition" delay="0" conditionEdge="rising">
<ByEntityCondition>
<TriggeringEntities triggeringEntitiesRule="any">
<EntityRef entityRef="hero"/>
</TriggeringEntities>
<EntityCondition>
<TraveledDistanceCondition value="1.0"/>
</EntityCondition>
</ByEntityCondition>
</Condition>
<Condition name="StartTime" delay="0" conditionEdge="rising">
<ByValueCondition>
<SimulationTimeCondition value="0" rule="equalTo"/>
</ByValueCondition>
</Condition>
</ConditionGroup>
</StartTrigger>
<StopTrigger>
<ConditionGroup>
<Condition name="EndCondition" delay="0" conditionEdge="rising">
<ByEntityCondition>
<TriggeringEntities triggeringEntitiesRule="any">
<EntityRef entityRef="hero"/>
</TriggeringEntities>
<EntityCondition>
<TraveledDistanceCondition value="200.0"/>
</EntityCondition>
</ByEntityCondition>
</Condition>
</ConditionGroup>
</StopTrigger>
</Act>
</Story>
<StopTrigger>
<ConditionGroup>
<Condition name="criteria_RunningStopTest" delay="0" conditionEdge="rising">
<ByValueCondition>
<ParameterCondition parameterRef="" value="" rule="lessThan"/>
</ByValueCondition>
</Condition>
<Condition name="criteria_RunningRedLightTest" delay="0" conditionEdge="rising">
<ByValueCondition>
<ParameterCondition parameterRef="" value="" rule="lessThan"/>
</ByValueCondition>
</Condition>
<Condition name="criteria_WrongLaneTest" delay="0" conditionEdge="rising">
<ByValueCondition>
<ParameterCondition parameterRef="" value="" rule="lessThan"/>
</ByValueCondition>
</Condition>
<Condition name="criteria_OnSidewalkTest" delay="0" conditionEdge="rising">
<ByValueCondition>
<ParameterCondition parameterRef="" value="" rule="lessThan"/>
</ByValueCondition>
</Condition>
<Condition name="criteria_KeepLaneTest" delay="0" conditionEdge="rising">
<ByValueCondition>
<ParameterCondition parameterRef="" value="" rule="lessThan"/>
</ByValueCondition>
</Condition>
<Condition name="criteria_CollisionTest" delay="0" conditionEdge="rising">
<ByValueCondition>
<ParameterCondition parameterRef="" value="" rule="lessThan"/>
</ByValueCondition>
</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 (-82.62, 19.72, 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>
</Entities>
<Storyboard>
<Init>
<Actions>
<GlobalAction>
<EnvironmentAction>
<Environment name="Environment1">
<TimeOfDay animation="false" dateTime="2019-06-25T12:00:00"/>
<Weather cloudState="free">
<Sun intensity="0.85" azimuth="0" elevation="1.31"/>
<Fog visualRange="100000.0"/>
<Precipitation precipitationType="dry" intensity="0.0"/>
</Weather>
<RoadCondition frictionScaleFactor="1.0"/>
</Environment>
</EnvironmentAction>
</GlobalAction>
<Private entityRef="hero">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-9.4" y="-152.8" z="0.5" h="1.57079632679"/>
</Position>
</TeleportAction>
</PrivateAction>
<PrivateAction>
<ControllerAction>
<AssignControllerAction>
<Controller name="HeroAgent">
<Properties>
<Property name="module" value="external_control"/>
</Properties>
</Controller>
</AssignControllerAction>
<OverrideControllerValueAction>
<Throttle value="0" active="false"/>
<Brake value="0" active="false"/>
<Clutch value="0" active="false"/>
<ParkingBrake value="0" active="false"/>
<SteeringWheel value="0" active="false"/>
<Gear number="0" active="false"/>
</OverrideControllerValueAction>
</ControllerAction>
</PrivateAction>
</Private>
<Private entityRef="adversary">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-9.4" y="-71.0" z="0.5" h="1.57079632679"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="standing">
<PrivateAction>
<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>
</Actions>
</Init>
<Story name="MyStory">
<Act name="Behavior">
<ManeuverGroup maximumExecutionCount="1" name="ManeuverSequence">
<Actors selectTriggeringEntities="false">
<EntityRef entityRef="adversary"/>
</Actors>
<Maneuver name="LaneChangeSimpleManeuver">
<Event name="AdversaryAccelerates" priority="overwrite">
<Action name="AdversaryAccelerates">
<PrivateAction>
<LongitudinalAction>
<SpeedAction>
<SpeedActionDynamics dynamicsShape="step" value="50" dynamicsDimension="distance"/>
<SpeedActionTarget>
<AbsoluteTargetSpeed value="5.0"/>
</SpeedActionTarget>
</SpeedAction>
</LongitudinalAction>
</PrivateAction>
</Action>
<StartTrigger>
<ConditionGroup>
<Condition name="StartCondition" delay="0" conditionEdge="rising">
<ByEntityCondition>
<TriggeringEntities triggeringEntitiesRule="any">
<EntityRef entityRef="hero"/>
</TriggeringEntities>
<EntityCondition>
<RelativeDistanceCondition entityRef="adversary" relativeDistanceType="cartesianDistance" value="40.0" freespace="false" rule="lessThan"/>
</EntityCondition>
</ByEntityCondition>
</Condition>
</ConditionGroup>
</StartTrigger>
</Event>
<Event name="AdversaryChangesLane" priority="overwrite">
<Action name="AdversaryChangesLane">
<PrivateAction>
<LateralAction>
<LaneChangeAction>
<LaneChangeActionDynamics dynamicsShape="linear" value="25" dynamicsDimension="distance"/>
<LaneChangeTarget>
<RelativeTargetLane entityRef="adversary" value="-1"/>
</LaneChangeTarget>
</LaneChangeAction>
</LateralAction>
</PrivateAction>
</Action>
<StartTrigger>
<ConditionGroup>
<Condition name="AfterAdversaryAccelerates" delay="0" conditionEdge="rising">
<ByValueCondition>
<StoryboardElementStateCondition storyboardElementType="action" storyboardElementRef="AdversaryAccelerates" state="completeState"/>
</ByValueCondition>
</Condition>
</ConditionGroup>
</StartTrigger>
</Event>
</Maneuver>
</ManeuverGroup>
<StartTrigger>
<ConditionGroup>
<Condition name="OverallStartCondition" delay="0" conditionEdge="rising">
<ByEntityCondition>
<TriggeringEntities triggeringEntitiesRule="any">
<EntityRef entityRef="hero"/>
</TriggeringEntities>
<EntityCondition>
<TraveledDistanceCondition value="1.0"/>
</EntityCondition>
</ByEntityCondition>
</Condition>
<Condition name="StartTime" delay="0" conditionEdge="rising">
<ByValueCondition>
<SimulationTimeCondition value="0" rule="equalTo"/>
</ByValueCondition>
</Condition>
</ConditionGroup>
</StartTrigger>
<StopTrigger>
<ConditionGroup>
<Condition name="EndCondition" delay="0" conditionEdge="rising">
<ByEntityCondition>
<TriggeringEntities triggeringEntitiesRule="any">
<EntityRef entityRef="hero"/>
</TriggeringEntities>
<EntityCondition>
<TraveledDistanceCondition value="200.0"/>
</EntityCondition>
</ByEntityCondition>
</Condition>
</ConditionGroup>
</StopTrigger>
</Act>
</Story>
<StopTrigger>
<ConditionGroup>
<Condition name="criteria_RunningStopTest" delay="0" conditionEdge="rising">
<ByValueCondition>
<ParameterCondition parameterRef="" value="" rule="lessThan"/>
</ByValueCondition>
</Condition>
<Condition name="criteria_RunningRedLightTest" delay="0" conditionEdge="rising">
<ByValueCondition>
<ParameterCondition parameterRef="" value="" rule="lessThan"/>
</ByValueCondition>
</Condition>
<Condition name="criteria_WrongLaneTest" delay="0" conditionEdge="rising">
<ByValueCondition>
<ParameterCondition parameterRef="" value="" rule="lessThan"/>
</ByValueCondition>
</Condition>
<Condition name="criteria_OnSidewalkTest" delay="0" conditionEdge="rising">
<ByValueCondition>
<ParameterCondition parameterRef="" value="" rule="lessThan"/>
</ByValueCondition>
</Condition>
<Condition name="criteria_KeepLaneTest" delay="0" conditionEdge="rising">
<ByValueCondition>
<ParameterCondition parameterRef="" value="" rule="lessThan"/>
</ByValueCondition>
</Condition>
<Condition name="criteria_CollisionTest" delay="0" conditionEdge="rising">
<ByValueCondition>
<ParameterCondition parameterRef="" value="" rule="lessThan"/>
</ByValueCondition>
</Condition>
<Condition name="criteria_DrivenDistanceTest" delay="0" conditionEdge="rising">
<ByValueCondition>
<ParameterCondition parameterRef="distance_success" value="100" rule="lessThan"/>
</ByValueCondition>
</Condition>
</ConditionGroup>
</StopTrigger>
</Storyboard>
</OpenSCENARIO>
``` | Here is the result:
```
<?xml version="1.0" ?>
<OpenSCENARIO>
<FileHeader revMajor="1" revMinor="0" date="2020-03-24T12:00:00" description="CARLA:LaneChangeSimple" author=""/>
<ParameterDeclarations/>
<CatalogLocations/>
<RoadNetwork>
<LogicFile filepath="Town04"/>
<SceneGraphFile filepath=""/>
</RoadNetwork>
<Entities>
<ScenarioObject name="hero">
<Vehicle name="vehicle.tesla.model3" vehicleCategory="car">
<ParameterDeclarations/>
<Performance maxSpeed="69.444" maxAcceleration="200" maxDeceleration="10.0"/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2.1" length="4.5" height="1.8"/>
</BoundingBox>
<Axles>
<FrontAxle maxSteering="0.5" wheelDiameter="0.6" trackWidth="1.8" positionX="3.1" positionZ="0.3"/>
<RearAxle maxSteering="0.0" wheelDiameter="0.6" trackWidth="1.8" positionX="0.0" positionZ="0.3"/>
</Axles>
<Properties>
<Property name="type" value="ego_vehicle"/>
</Properties>
</Vehicle>
</ScenarioObject>
<ScenarioObject name="adversary">
<Vehicle name="vehicle.lincoln.mkz_2017" vehicleCategory="car">
<ParameterDeclarations/>
<Performance maxSpeed="69.444" maxAcceleration="200" maxDeceleration="10.0"/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2.1" length="4.5" height="1.8"/>
</BoundingBox>
<Axles>
<FrontAxle maxSteering="0.5" wheelDiameter="0.6" trackWidth="1.8" positionX="3.1" positionZ="0.3"/>
<RearAxle maxSteering="0.0" wheelDiameter="0.6" trackWidth="1.8" positionX="0.0" positionZ="0.3"/>
</Axles>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Vehicle>
</ScenarioObject>
<ScenarioObject name="standing">
<Vehicle name="vehicle.volkswagen.t2" vehicleCategory="car">
<ParameterDeclarations/>
<Performance maxSpeed="69.444" maxAcceleration="200" maxDeceleration="10.0"/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2.1" length="4.5" height="1.8"/>
</BoundingBox>
<Axles>
<FrontAxle maxSteering="0.5" wheelDiameter="0.6" trackWidth="1.8" positionX="3.1" positionZ="0.3"/>
<RearAxle maxSteering="0.0" wheelDiameter="0.6" 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>
``` |
i would like to order you to add pedestrian close to adversary?
```
<?xml version="1.0" ?>
<OpenSCENARIO>
<FileHeader revMajor="1" revMinor="0" date="2020-03-24T12:00:00" description="CARLA:LaneChangeSimple" author=""/>
<ParameterDeclarations/>
<CatalogLocations/>
<RoadNetwork>
<LogicFile filepath="Town04"/>
<SceneGraphFile filepath=""/>
</RoadNetwork>
<Entities>
<ScenarioObject name="hero">
<Vehicle name="vehicle.tesla.model3" vehicleCategory="car">
<ParameterDeclarations/>
<Performance maxSpeed="69.444" maxAcceleration="200" maxDeceleration="10.0"/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2.1" length="4.5" height="1.8"/>
</BoundingBox>
<Axles>
<FrontAxle maxSteering="0.5" wheelDiameter="0.6" trackWidth="1.8" positionX="3.1" positionZ="0.3"/>
<RearAxle maxSteering="0.0" wheelDiameter="0.6" trackWidth="1.8" positionX="0.0" positionZ="0.3"/>
</Axles>
<Properties>
<Property name="type" value="ego_vehicle"/>
</Properties>
</Vehicle>
</ScenarioObject>
<ScenarioObject name="adversary">
<Vehicle name="vehicle.lincoln.mkz_2017" vehicleCategory="car">
<ParameterDeclarations/>
<Performance maxSpeed="69.444" maxAcceleration="200" maxDeceleration="10.0"/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2.1" length="4.5" height="1.8"/>
</BoundingBox>
<Axles>
<FrontAxle maxSteering="0.5" wheelDiameter="0.6" trackWidth="1.8" positionX="3.1" positionZ="0.3"/>
<RearAxle maxSteering="0.0" wheelDiameter="0.6" trackWidth="1.8" positionX="0.0" positionZ="0.3"/>
</Axles>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Vehicle>
</ScenarioObject>
<ScenarioObject name="standing">
<Vehicle name="vehicle.volkswagen.t2" vehicleCategory="car">
<ParameterDeclarations/>
<Performance maxSpeed="69.444" maxAcceleration="200" maxDeceleration="10.0"/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2.1" length="4.5" height="1.8"/>
</BoundingBox>
<Axles>
<FrontAxle maxSteering="0.5" wheelDiameter="0.6" trackWidth="1.8" positionX="3.1" positionZ="0.3"/>
<RearAxle maxSteering="0.0" wheelDiameter="0.6" trackWidth="1.8" positionX="0.0" positionZ="0.3"/>
</Axles>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Vehicle>
</ScenarioObject>
</Entities>
<Storyboard>
<Init>
<Actions>
<GlobalAction>
<EnvironmentAction>
<Environment name="Environment1">
<TimeOfDay animation="false" dateTime="2019-06-25T12:00:00"/>
<Weather cloudState="free">
<Sun intensity="0.85" azimuth="0" elevation="1.31"/>
<Fog visualRange="100000.0"/>
<Precipitation precipitationType="dry" intensity="0.0"/>
</Weather>
<RoadCondition frictionScaleFactor="1.0"/>
</Environment>
</EnvironmentAction>
</GlobalAction>
<Private entityRef="hero">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-9.4" y="-152.8" z="0.5" h="1.57079632679"/>
</Position>
</TeleportAction>
</PrivateAction>
<PrivateAction>
<ControllerAction>
<AssignControllerAction>
<Controller name="HeroAgent">
<Properties>
<Property name="module" value="external_control"/>
</Properties>
</Controller>
</AssignControllerAction>
<OverrideControllerValueAction>
<Throttle value="0" active="false"/>
<Brake value="0" active="false"/>
<Clutch value="0" active="false"/>
<ParkingBrake value="0" active="false"/>
<SteeringWheel value="0" active="false"/>
<Gear number="0" active="false"/>
</OverrideControllerValueAction>
</ControllerAction>
</PrivateAction>
</Private>
<Private entityRef="adversary">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-9.4" y="-71.0" z="0.5" h="1.57079632679"/>
</Position>
</TeleportAction>
</PrivateAction>
</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_14826">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
</Entities>
<Storyboard>
<Init>
<Actions>
<GlobalAction>
<EnvironmentAction>
<Environment name="Environment1">
<TimeOfDay animation="false" dateTime="2019-06-25T12:00:00"/>
<Weather cloudState="free">
<Sun intensity="0.85" azimuth="0" elevation="1.31"/>
<Fog visualRange="100000.0"/>
<Precipitation precipitationType="dry" intensity="0.0"/>
</Weather>
<RoadCondition frictionScaleFactor="1.0"/>
</Environment>
</EnvironmentAction>
</GlobalAction>
<Private entityRef="hero">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-9.4" y="-152.8" z="0.5" h="1.57079632679"/>
</Position>
</TeleportAction>
</PrivateAction>
<PrivateAction>
<ControllerAction>
<AssignControllerAction>
<Controller name="HeroAgent">
<Properties>
<Property name="module" value="external_control"/>
</Properties>
</Controller>
</AssignControllerAction>
<OverrideControllerValueAction>
<Throttle value="0" active="false"/>
<Brake value="0" active="false"/>
<Clutch value="0" active="false"/>
<ParkingBrake value="0" active="false"/>
<SteeringWheel value="0" active="false"/>
<Gear number="0" active="false"/>
</OverrideControllerValueAction>
</ControllerAction>
</PrivateAction>
</Private>
<Private entityRef="adversary">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-9.4" y="-71.0" z="0.5" h="1.57079632679"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="standing">
<PrivateAction>
<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_14826">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-2.105419397354126" y="-78.67179870605469" 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>
``` |
i would like to command you to add pedestrian at location (8.93, 81.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_16592">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_close_to_adversary_16593">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_close_to_standing_16594">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_close_to_hero_16596">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_close_to_standing_16597">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_close_to_hero_16598">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_close_to_adversary_16599">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
</Entities>
<Storyboard>
<Init>
<Actions>
<GlobalAction>
<EnvironmentAction>
<Environment name="Environment1">
<TimeOfDay animation="false" dateTime="2019-06-25T12:00:00"/>
<Weather cloudState="free">
<Sun intensity="0.85" azimuth="0" elevation="1.31"/>
<Fog visualRange="100000.0"/>
<Precipitation precipitationType="dry" intensity="0.0"/>
</Weather>
<RoadCondition frictionScaleFactor="1.0"/>
</Environment>
</EnvironmentAction>
</GlobalAction>
<Private entityRef="hero">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-9.4" y="-152.8" z="0.5" h="1.57079632679"/>
</Position>
</TeleportAction>
</PrivateAction>
<PrivateAction>
<ControllerAction>
<AssignControllerAction>
<Controller name="HeroAgent">
<Properties>
<Property name="module" value="external_control"/>
</Properties>
</Controller>
</AssignControllerAction>
<OverrideControllerValueAction>
<Throttle value="0" active="false"/>
<Brake value="0" active="false"/>
<Clutch value="0" active="false"/>
<ParkingBrake value="0" active="false"/>
<SteeringWheel value="0" active="false"/>
<Gear number="0" active="false"/>
</OverrideControllerValueAction>
</ControllerAction>
</PrivateAction>
</Private>
<Private entityRef="adversary">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-9.4" y="-71.0" z="0.5" h="1.57079632679"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="standing">
<PrivateAction>
<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_16592">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-16.504846572875977" y="-63.56646728515625" z="0.03378509357571602"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_close_to_adversary_16593">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="0.09516384452581406" y="-86.19791412353516" z="0.03376411274075508"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_close_to_standing_16594">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-4.460535526275635" y="31.85792350769043" z="0.0030636978335678577"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_close_to_hero_16596">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="1.0809987783432007" y="-147.3836669921875" z="0.0014286803780123591"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_close_to_standing_16597">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-10.098620414733887" y="35.58575439453125" z="0.003050689585506916"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_close_to_hero_16598">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-15.21331787109375" y="-162.55015563964844" z="0.0014286803780123591"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_close_to_adversary_16599">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-12.517925262451172" y="-71.86264038085938" z="0.033834151923656464"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
</Actions>
</Init>
<Story name="MyStory">
<Act name="Behavior">
<ManeuverGroup maximumExecutionCount="1" name="ManeuverSequence">
<Actors selectTriggeringEntities="false">
<EntityRef entityRef="adversary"/>
</Actors>
<Maneuver name="LaneChangeSimpleManeuver">
<Event name="AdversaryAccelerates" priority="overwrite">
<Action name="AdversaryAccelerates">
<PrivateAction>
<LongitudinalAction>
<SpeedAction>
<SpeedActionDynamics dynamicsShape="step" value="50" dynamicsDimension="distance"/>
<SpeedActionTarget>
<AbsoluteTargetSpeed value="5.0"/>
</SpeedActionTarget>
</SpeedAction>
</LongitudinalAction>
</PrivateAction>
</Action>
<StartTrigger>
<ConditionGroup>
<Condition name="StartCondition" delay="0" conditionEdge="rising">
<ByEntityCondition>
<TriggeringEntities triggeringEntitiesRule="any">
<EntityRef entityRef="hero"/>
</TriggeringEntities>
<EntityCondition>
<RelativeDistanceCondition entityRef="adversary" relativeDistanceType="cartesianDistance" value="40.0" freespace="false" rule="lessThan"/>
</EntityCondition>
</ByEntityCondition>
</Condition>
</ConditionGroup>
</StartTrigger>
</Event>
<Event name="AdversaryChangesLane" priority="overwrite">
<Action name="AdversaryChangesLane">
<PrivateAction>
<LateralAction>
<LaneChangeAction>
<LaneChangeActionDynamics dynamicsShape="linear" value="25" dynamicsDimension="distance"/>
<LaneChangeTarget>
<RelativeTargetLane entityRef="adversary" value="-1"/>
</LaneChangeTarget>
</LaneChangeAction>
</LateralAction>
</PrivateAction>
</Action>
<StartTrigger>
<ConditionGroup>
<Condition name="AfterAdversaryAccelerates" delay="0" conditionEdge="rising">
<ByValueCondition>
<StoryboardElementStateCondition storyboardElementType="action" storyboardElementRef="AdversaryAccelerates" state="completeState"/>
</ByValueCondition>
</Condition>
</ConditionGroup>
</StartTrigger>
</Event>
</Maneuver>
</ManeuverGroup>
<StartTrigger>
<ConditionGroup>
<Condition name="OverallStartCondition" delay="0" conditionEdge="rising">
<ByEntityCondition>
<TriggeringEntities triggeringEntitiesRule="any">
<EntityRef entityRef="hero"/>
</TriggeringEntities>
<EntityCondition>
<TraveledDistanceCondition value="1.0"/>
</EntityCondition>
</ByEntityCondition>
</Condition>
<Condition name="StartTime" delay="0" conditionEdge="rising">
<ByValueCondition>
<SimulationTimeCondition value="0" rule="equalTo"/>
</ByValueCondition>
</Condition>
</ConditionGroup>
</StartTrigger>
<StopTrigger>
<ConditionGroup>
<Condition name="EndCondition" delay="0" conditionEdge="rising">
<ByEntityCondition>
<TriggeringEntities triggeringEntitiesRule="any">
<EntityRef entityRef="hero"/>
</TriggeringEntities>
<EntityCondition>
<TraveledDistanceCondition value="200.0"/>
</EntityCondition>
</ByEntityCondition>
</Condition>
</ConditionGroup>
</StopTrigger>
</Act>
</Story>
<StopTrigger>
<ConditionGroup>
<Condition name="criteria_RunningStopTest" delay="0" conditionEdge="rising">
<ByValueCondition>
<ParameterCondition parameterRef="" value="" rule="lessThan"/>
</ByValueCondition>
</Condition>
<Condition name="criteria_RunningRedLightTest" delay="0" conditionEdge="rising">
<ByValueCondition>
<ParameterCondition parameterRef="" value="" rule="lessThan"/>
</ByValueCondition>
</Condition>
<Condition name="criteria_WrongLaneTest" delay="0" conditionEdge="rising">
<ByValueCondition>
<ParameterCondition parameterRef="" value="" rule="lessThan"/>
</ByValueCondition>
</Condition>
<Condition name="criteria_OnSidewalkTest" delay="0" conditionEdge="rising">
<ByValueCondition>
<ParameterCondition parameterRef="" value="" rule="lessThan"/>
</ByValueCondition>
</Condition>
<Condition name="criteria_KeepLaneTest" delay="0" conditionEdge="rising">
<ByValueCondition>
<ParameterCondition parameterRef="" value="" rule="lessThan"/>
</ByValueCondition>
</Condition>
<Condition name="criteria_CollisionTest" delay="0" conditionEdge="rising">
<ByValueCondition>
<ParameterCondition parameterRef="" value="" rule="lessThan"/>
</ByValueCondition>
</Condition>
<Condition name="criteria_DrivenDistanceTest" delay="0" conditionEdge="rising">
<ByValueCondition>
<ParameterCondition parameterRef="distance_success" value="100" rule="lessThan"/>
</ByValueCondition>
</Condition>
</ConditionGroup>
</StopTrigger>
</Storyboard>
</OpenSCENARIO>
``` | Here is the result:
```
<?xml version="1.0" ?>
<OpenSCENARIO>
<FileHeader revMajor="1" revMinor="0" date="2020-03-24T12:00:00" description="CARLA:LaneChangeSimple" author=""/>
<ParameterDeclarations/>
<CatalogLocations/>
<RoadNetwork>
<LogicFile filepath="Town04"/>
<SceneGraphFile filepath=""/>
</RoadNetwork>
<Entities>
<ScenarioObject name="hero">
<Vehicle name="vehicle.tesla.model3" vehicleCategory="car">
<ParameterDeclarations/>
<Performance maxSpeed="69.444" maxAcceleration="200" maxDeceleration="10.0"/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2.1" length="4.5" height="1.8"/>
</BoundingBox>
<Axles>
<FrontAxle maxSteering="0.5" wheelDiameter="0.6" trackWidth="1.8" positionX="3.1" positionZ="0.3"/>
<RearAxle maxSteering="0.0" wheelDiameter="0.6" trackWidth="1.8" positionX="0.0" positionZ="0.3"/>
</Axles>
<Properties>
<Property name="type" value="ego_vehicle"/>
</Properties>
</Vehicle>
</ScenarioObject>
<ScenarioObject name="adversary">
<Vehicle name="vehicle.lincoln.mkz_2017" vehicleCategory="car">
<ParameterDeclarations/>
<Performance maxSpeed="69.444" maxAcceleration="200" maxDeceleration="10.0"/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2.1" length="4.5" height="1.8"/>
</BoundingBox>
<Axles>
<FrontAxle maxSteering="0.5" wheelDiameter="0.6" trackWidth="1.8" positionX="3.1" positionZ="0.3"/>
<RearAxle maxSteering="0.0" wheelDiameter="0.6" trackWidth="1.8" positionX="0.0" positionZ="0.3"/>
</Axles>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Vehicle>
</ScenarioObject>
<ScenarioObject name="standing">
<Vehicle name="vehicle.volkswagen.t2" vehicleCategory="car">
<ParameterDeclarations/>
<Performance maxSpeed="69.444" maxAcceleration="200" maxDeceleration="10.0"/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2.1" length="4.5" height="1.8"/>
</BoundingBox>
<Axles>
<FrontAxle maxSteering="0.5" wheelDiameter="0.6" trackWidth="1.8" positionX="3.1" positionZ="0.3"/>
<RearAxle maxSteering="0.0" wheelDiameter="0.6" 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_16592">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_close_to_adversary_16593">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_close_to_standing_16594">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_close_to_hero_16596">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_close_to_standing_16597">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_close_to_hero_16598">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_close_to_adversary_16599">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_w_transform_16601">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
</Entities>
<Storyboard>
<Init>
<Actions>
<GlobalAction>
<EnvironmentAction>
<Environment name="Environment1">
<TimeOfDay animation="false" dateTime="2019-06-25T12:00:00"/>
<Weather cloudState="free">
<Sun intensity="0.85" azimuth="0" elevation="1.31"/>
<Fog visualRange="100000.0"/>
<Precipitation precipitationType="dry" intensity="0.0"/>
</Weather>
<RoadCondition frictionScaleFactor="1.0"/>
</Environment>
</EnvironmentAction>
</GlobalAction>
<Private entityRef="hero">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-9.4" y="-152.8" z="0.5" h="1.57079632679"/>
</Position>
</TeleportAction>
</PrivateAction>
<PrivateAction>
<ControllerAction>
<AssignControllerAction>
<Controller name="HeroAgent">
<Properties>
<Property name="module" value="external_control"/>
</Properties>
</Controller>
</AssignControllerAction>
<OverrideControllerValueAction>
<Throttle value="0" active="false"/>
<Brake value="0" active="false"/>
<Clutch value="0" active="false"/>
<ParkingBrake value="0" active="false"/>
<SteeringWheel value="0" active="false"/>
<Gear number="0" active="false"/>
</OverrideControllerValueAction>
</ControllerAction>
</PrivateAction>
</Private>
<Private entityRef="adversary">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-9.4" y="-71.0" z="0.5" h="1.57079632679"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="standing">
<PrivateAction>
<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_16592">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-16.504846572875977" y="-63.56646728515625" z="0.03378509357571602"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_close_to_adversary_16593">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="0.09516384452581406" y="-86.19791412353516" z="0.03376411274075508"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_close_to_standing_16594">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-4.460535526275635" y="31.85792350769043" z="0.0030636978335678577"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_close_to_hero_16596">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="1.0809987783432007" y="-147.3836669921875" z="0.0014286803780123591"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_close_to_standing_16597">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-10.098620414733887" y="35.58575439453125" z="0.003050689585506916"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_close_to_hero_16598">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-15.21331787109375" y="-162.55015563964844" z="0.0014286803780123591"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_close_to_adversary_16599">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-12.517925262451172" y="-71.86264038085938" z="0.033834151923656464"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_w_transform_16601">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="8.927778244018555" y="81.69200897216797" z="0.5"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
</Actions>
</Init>
<Story name="MyStory">
<Act name="Behavior">
<ManeuverGroup maximumExecutionCount="1" name="ManeuverSequence">
<Actors selectTriggeringEntities="false">
<EntityRef entityRef="adversary"/>
</Actors>
<Maneuver name="LaneChangeSimpleManeuver">
<Event name="AdversaryAccelerates" priority="overwrite">
<Action name="AdversaryAccelerates">
<PrivateAction>
<LongitudinalAction>
<SpeedAction>
<SpeedActionDynamics dynamicsShape="step" value="50" dynamicsDimension="distance"/>
<SpeedActionTarget>
<AbsoluteTargetSpeed value="5.0"/>
</SpeedActionTarget>
</SpeedAction>
</LongitudinalAction>
</PrivateAction>
</Action>
<StartTrigger>
<ConditionGroup>
<Condition name="StartCondition" delay="0" conditionEdge="rising">
<ByEntityCondition>
<TriggeringEntities triggeringEntitiesRule="any">
<EntityRef entityRef="hero"/>
</TriggeringEntities>
<EntityCondition>
<RelativeDistanceCondition entityRef="adversary" relativeDistanceType="cartesianDistance" value="40.0" freespace="false" rule="lessThan"/>
</EntityCondition>
</ByEntityCondition>
</Condition>
</ConditionGroup>
</StartTrigger>
</Event>
<Event name="AdversaryChangesLane" priority="overwrite">
<Action name="AdversaryChangesLane">
<PrivateAction>
<LateralAction>
<LaneChangeAction>
<LaneChangeActionDynamics dynamicsShape="linear" value="25" dynamicsDimension="distance"/>
<LaneChangeTarget>
<RelativeTargetLane entityRef="adversary" value="-1"/>
</LaneChangeTarget>
</LaneChangeAction>
</LateralAction>
</PrivateAction>
</Action>
<StartTrigger>
<ConditionGroup>
<Condition name="AfterAdversaryAccelerates" delay="0" conditionEdge="rising">
<ByValueCondition>
<StoryboardElementStateCondition storyboardElementType="action" storyboardElementRef="AdversaryAccelerates" state="completeState"/>
</ByValueCondition>
</Condition>
</ConditionGroup>
</StartTrigger>
</Event>
</Maneuver>
</ManeuverGroup>
<StartTrigger>
<ConditionGroup>
<Condition name="OverallStartCondition" delay="0" conditionEdge="rising">
<ByEntityCondition>
<TriggeringEntities triggeringEntitiesRule="any">
<EntityRef entityRef="hero"/>
</TriggeringEntities>
<EntityCondition>
<TraveledDistanceCondition value="1.0"/>
</EntityCondition>
</ByEntityCondition>
</Condition>
<Condition name="StartTime" delay="0" conditionEdge="rising">
<ByValueCondition>
<SimulationTimeCondition value="0" rule="equalTo"/>
</ByValueCondition>
</Condition>
</ConditionGroup>
</StartTrigger>
<StopTrigger>
<ConditionGroup>
<Condition name="EndCondition" delay="0" conditionEdge="rising">
<ByEntityCondition>
<TriggeringEntities triggeringEntitiesRule="any">
<EntityRef entityRef="hero"/>
</TriggeringEntities>
<EntityCondition>
<TraveledDistanceCondition value="200.0"/>
</EntityCondition>
</ByEntityCondition>
</Condition>
</ConditionGroup>
</StopTrigger>
</Act>
</Story>
<StopTrigger>
<ConditionGroup>
<Condition name="criteria_RunningStopTest" delay="0" conditionEdge="rising">
<ByValueCondition>
<ParameterCondition parameterRef="" value="" rule="lessThan"/>
</ByValueCondition>
</Condition>
<Condition name="criteria_RunningRedLightTest" delay="0" conditionEdge="rising">
<ByValueCondition>
<ParameterCondition parameterRef="" value="" rule="lessThan"/>
</ByValueCondition>
</Condition>
<Condition name="criteria_WrongLaneTest" delay="0" conditionEdge="rising">
<ByValueCondition>
<ParameterCondition parameterRef="" value="" rule="lessThan"/>
</ByValueCondition>
</Condition>
<Condition name="criteria_OnSidewalkTest" delay="0" conditionEdge="rising">
<ByValueCondition>
<ParameterCondition parameterRef="" value="" rule="lessThan"/>
</ByValueCondition>
</Condition>
<Condition name="criteria_KeepLaneTest" delay="0" conditionEdge="rising">
<ByValueCondition>
<ParameterCondition parameterRef="" value="" rule="lessThan"/>
</ByValueCondition>
</Condition>
<Condition name="criteria_CollisionTest" delay="0" conditionEdge="rising">
<ByValueCondition>
<ParameterCondition parameterRef="" value="" rule="lessThan"/>
</ByValueCondition>
</Condition>
<Condition name="criteria_DrivenDistanceTest" delay="0" conditionEdge="rising">
<ByValueCondition>
<ParameterCondition parameterRef="distance_success" value="100" rule="lessThan"/>
</ByValueCondition>
</Condition>
</ConditionGroup>
</StopTrigger>
</Storyboard>
</OpenSCENARIO>
``` |
i would like to guide you to add pedestrian at location (-29.48, -93.67, 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_11540">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_w_transform_11541">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_w_transform_11542">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_w_transform_11543">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_w_transform_11544">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_close_to_adversary_11545">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_close_to_standing_11546">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_w_transform_11547">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_w_transform_11548">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_close_to_hero_11549">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_close_to_adversary_11550">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_close_to_adversary_11551">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_w_transform_11552">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_w_transform_11553">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_w_transform_11554">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_close_to_adversary_11555">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_w_transform_11556">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_close_to_hero_11557">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_w_transform_11558">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_close_to_adversary_11559">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_close_to_standing_11561">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_close_to_standing_11563">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_close_to_adversary_11564">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_close_to_adversary_11565">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
</Entities>
<Storyboard>
<Init>
<Actions>
<GlobalAction>
<EnvironmentAction>
<Environment name="Environment1">
<TimeOfDay animation="false" dateTime="2019-06-25T12:00:00"/>
<Weather cloudState="free">
<Sun intensity="0.85" azimuth="0" elevation="1.31"/>
<Fog visualRange="100000.0"/>
<Precipitation precipitationType="dry" intensity="0.0"/>
</Weather>
<RoadCondition frictionScaleFactor="1.0"/>
</Environment>
</EnvironmentAction>
</GlobalAction>
<Private entityRef="hero">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-9.4" y="-152.8" z="0.5" h="1.57079632679"/>
</Position>
</TeleportAction>
</PrivateAction>
<PrivateAction>
<ControllerAction>
<AssignControllerAction>
<Controller name="HeroAgent">
<Properties>
<Property name="module" value="external_control"/>
</Properties>
</Controller>
</AssignControllerAction>
<OverrideControllerValueAction>
<Throttle value="0" active="false"/>
<Brake value="0" active="false"/>
<Clutch value="0" active="false"/>
<ParkingBrake value="0" active="false"/>
<SteeringWheel value="0" active="false"/>
<Gear number="0" active="false"/>
</OverrideControllerValueAction>
</ControllerAction>
</PrivateAction>
</Private>
<Private entityRef="adversary">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-9.4" y="-71.0" z="0.5" h="1.57079632679"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="standing">
<PrivateAction>
<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_11540">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-1.926169514656067" y="20.18172836303711" z="0.0031265639699995518"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_w_transform_11541">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="86.56839752197266" y="-71.73662567138672" z="0.5"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_w_transform_11542">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="39.8942756652832" y="40.39242935180664" z="0.5"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_w_transform_11543">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-93.2330322265625" y="27.149343490600586" z="0.5"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_w_transform_11544">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="63.52956771850586" y="-36.1561279296875" z="0.5"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_close_to_adversary_11545">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-18.404064178466797" y="-65.31594848632812" z="0.03378566727042198"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_close_to_standing_11546">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-11.904228210449219" y="34.17445373535156" z="0.0030473326332867146"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_w_transform_11547">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="34.41571044921875" y="-3.549365282058716" z="0.5"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_w_transform_11548">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="86.19023132324219" y="49.130706787109375" z="0.5"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_close_to_hero_11549">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-4.710757732391357" y="-160.5447235107422" z="0.0014286803780123591"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_close_to_adversary_11550">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-2.8430564403533936" y="-57.73014831542969" z="0.033742330968379974"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_close_to_adversary_11551">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="0.26989591121673584" y="-79.22074890136719" z="0.033776167780160904"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_w_transform_11552">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-66.28097534179688" y="63.432518005371094" z="0.5"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_w_transform_11553">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="66.92555236816406" y="84.03975677490234" z="0.5"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_w_transform_11554">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-10.450382232666016" y="3.3031387329101562" z="0.5"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_close_to_adversary_11555">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-7.142694473266602" y="-79.8985824584961" z="0.03377677872776985"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_w_transform_11556">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="78.59136199951172" y="95.37018585205078" z="0.5"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_close_to_hero_11557">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-5.629849433898926" y="-152.468017578125" z="0.0014286803780123591"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_w_transform_11558">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="11.5957612991333" y="-70.3376693725586" z="0.5"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_close_to_adversary_11559">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="0.14692248404026031" y="-71.41289520263672" z="0.033751677721738815"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_close_to_standing_11561">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-12.978615760803223" y="31.597116470336914" z="0.003034210065379739"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_close_to_standing_11563">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-7.065041542053223" y="22.114912033081055" z="0.0030364990234375"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_close_to_adversary_11564">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-10.962278366088867" y="-62.2000732421875" z="0.033778343349695206"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_close_to_adversary_11565">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-16.64276695251465" y="-71.78862762451172" z="0.03377651050686836"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
</Actions>
</Init>
<Story name="MyStory">
<Act name="Behavior">
<ManeuverGroup maximumExecutionCount="1" name="ManeuverSequence">
<Actors selectTriggeringEntities="false">
<EntityRef entityRef="adversary"/>
</Actors>
<Maneuver name="LaneChangeSimpleManeuver">
<Event name="AdversaryAccelerates" priority="overwrite">
<Action name="AdversaryAccelerates">
<PrivateAction>
<LongitudinalAction>
<SpeedAction>
<SpeedActionDynamics dynamicsShape="step" value="50" dynamicsDimension="distance"/>
<SpeedActionTarget>
<AbsoluteTargetSpeed value="5.0"/>
</SpeedActionTarget>
</SpeedAction>
</LongitudinalAction>
</PrivateAction>
</Action>
<StartTrigger>
<ConditionGroup>
<Condition name="StartCondition" delay="0" conditionEdge="rising">
<ByEntityCondition>
<TriggeringEntities triggeringEntitiesRule="any">
<EntityRef entityRef="hero"/>
</TriggeringEntities>
<EntityCondition>
<RelativeDistanceCondition entityRef="adversary" relativeDistanceType="cartesianDistance" value="40.0" freespace="false" rule="lessThan"/>
</EntityCondition>
</ByEntityCondition>
</Condition>
</ConditionGroup>
</StartTrigger>
</Event>
<Event name="AdversaryChangesLane" priority="overwrite">
<Action name="AdversaryChangesLane">
<PrivateAction>
<LateralAction>
<LaneChangeAction>
<LaneChangeActionDynamics dynamicsShape="linear" value="25" dynamicsDimension="distance"/>
<LaneChangeTarget>
<RelativeTargetLane entityRef="adversary" value="-1"/>
</LaneChangeTarget>
</LaneChangeAction>
</LateralAction>
</PrivateAction>
</Action>
<StartTrigger>
<ConditionGroup>
<Condition name="AfterAdversaryAccelerates" delay="0" conditionEdge="rising">
<ByValueCondition>
<StoryboardElementStateCondition storyboardElementType="action" storyboardElementRef="AdversaryAccelerates" state="completeState"/>
</ByValueCondition>
</Condition>
</ConditionGroup>
</StartTrigger>
</Event>
</Maneuver>
</ManeuverGroup>
<StartTrigger>
<ConditionGroup>
<Condition name="OverallStartCondition" delay="0" conditionEdge="rising">
<ByEntityCondition>
<TriggeringEntities triggeringEntitiesRule="any">
<EntityRef entityRef="hero"/>
</TriggeringEntities>
<EntityCondition>
<TraveledDistanceCondition value="1.0"/>
</EntityCondition>
</ByEntityCondition>
</Condition>
<Condition name="StartTime" delay="0" conditionEdge="rising">
<ByValueCondition>
<SimulationTimeCondition value="0" rule="equalTo"/>
</ByValueCondition>
</Condition>
</ConditionGroup>
</StartTrigger>
<StopTrigger>
<ConditionGroup>
<Condition name="EndCondition" delay="0" conditionEdge="rising">
<ByEntityCondition>
<TriggeringEntities triggeringEntitiesRule="any">
<EntityRef entityRef="hero"/>
</TriggeringEntities>
<EntityCondition>
<TraveledDistanceCondition value="200.0"/>
</EntityCondition>
</ByEntityCondition>
</Condition>
</ConditionGroup>
</StopTrigger>
</Act>
</Story>
<StopTrigger>
<ConditionGroup>
<Condition name="criteria_RunningStopTest" delay="0" conditionEdge="rising">
<ByValueCondition>
<ParameterCondition parameterRef="" value="" rule="lessThan"/>
</ByValueCondition>
</Condition>
<Condition name="criteria_RunningRedLightTest" delay="0" conditionEdge="rising">
<ByValueCondition>
<ParameterCondition parameterRef="" value="" rule="lessThan"/>
</ByValueCondition>
</Condition>
<Condition name="criteria_WrongLaneTest" delay="0" conditionEdge="rising">
<ByValueCondition>
<ParameterCondition parameterRef="" value="" rule="lessThan"/>
</ByValueCondition>
</Condition>
<Condition name="criteria_OnSidewalkTest" delay="0" conditionEdge="rising">
<ByValueCondition>
<ParameterCondition parameterRef="" value="" rule="lessThan"/>
</ByValueCondition>
</Condition>
<Condition name="criteria_KeepLaneTest" delay="0" conditionEdge="rising">
<ByValueCondition>
<ParameterCondition parameterRef="" value="" rule="lessThan"/>
</ByValueCondition>
</Condition>
<Condition name="criteria_CollisionTest" delay="0" conditionEdge="rising">
<ByValueCondition>
<ParameterCondition parameterRef="" value="" rule="lessThan"/>
</ByValueCondition>
</Condition>
<Condition name="criteria_DrivenDistanceTest" delay="0" conditionEdge="rising">
<ByValueCondition>
<ParameterCondition parameterRef="distance_success" value="100" rule="lessThan"/>
</ByValueCondition>
</Condition>
</ConditionGroup>
</StopTrigger>
</Storyboard>
</OpenSCENARIO>
``` | Here is the result:
```
<?xml version="1.0" ?>
<OpenSCENARIO>
<FileHeader revMajor="1" revMinor="0" date="2020-03-24T12:00:00" description="CARLA:LaneChangeSimple" author=""/>
<ParameterDeclarations/>
<CatalogLocations/>
<RoadNetwork>
<LogicFile filepath="Town04"/>
<SceneGraphFile filepath=""/>
</RoadNetwork>
<Entities>
<ScenarioObject name="hero">
<Vehicle name="vehicle.tesla.model3" vehicleCategory="car">
<ParameterDeclarations/>
<Performance maxSpeed="69.444" maxAcceleration="200" maxDeceleration="10.0"/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2.1" length="4.5" height="1.8"/>
</BoundingBox>
<Axles>
<FrontAxle maxSteering="0.5" wheelDiameter="0.6" trackWidth="1.8" positionX="3.1" positionZ="0.3"/>
<RearAxle maxSteering="0.0" wheelDiameter="0.6" trackWidth="1.8" positionX="0.0" positionZ="0.3"/>
</Axles>
<Properties>
<Property name="type" value="ego_vehicle"/>
</Properties>
</Vehicle>
</ScenarioObject>
<ScenarioObject name="adversary">
<Vehicle name="vehicle.lincoln.mkz_2017" vehicleCategory="car">
<ParameterDeclarations/>
<Performance maxSpeed="69.444" maxAcceleration="200" maxDeceleration="10.0"/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2.1" length="4.5" height="1.8"/>
</BoundingBox>
<Axles>
<FrontAxle maxSteering="0.5" wheelDiameter="0.6" trackWidth="1.8" positionX="3.1" positionZ="0.3"/>
<RearAxle maxSteering="0.0" wheelDiameter="0.6" trackWidth="1.8" positionX="0.0" positionZ="0.3"/>
</Axles>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Vehicle>
</ScenarioObject>
<ScenarioObject name="standing">
<Vehicle name="vehicle.volkswagen.t2" vehicleCategory="car">
<ParameterDeclarations/>
<Performance maxSpeed="69.444" maxAcceleration="200" maxDeceleration="10.0"/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2.1" length="4.5" height="1.8"/>
</BoundingBox>
<Axles>
<FrontAxle maxSteering="0.5" wheelDiameter="0.6" trackWidth="1.8" positionX="3.1" positionZ="0.3"/>
<RearAxle maxSteering="0.0" wheelDiameter="0.6" 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_11540">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_w_transform_11541">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_w_transform_11542">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_w_transform_11543">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_w_transform_11544">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_close_to_adversary_11545">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_close_to_standing_11546">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_w_transform_11547">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_w_transform_11548">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_close_to_hero_11549">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_close_to_adversary_11550">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_close_to_adversary_11551">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_w_transform_11552">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_w_transform_11553">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_w_transform_11554">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_close_to_adversary_11555">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_w_transform_11556">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_close_to_hero_11557">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_w_transform_11558">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_close_to_adversary_11559">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_close_to_standing_11561">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_close_to_standing_11563">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_close_to_adversary_11564">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_close_to_adversary_11565">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_w_transform_11566">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
</Entities>
<Storyboard>
<Init>
<Actions>
<GlobalAction>
<EnvironmentAction>
<Environment name="Environment1">
<TimeOfDay animation="false" dateTime="2019-06-25T12:00:00"/>
<Weather cloudState="free">
<Sun intensity="0.85" azimuth="0" elevation="1.31"/>
<Fog visualRange="100000.0"/>
<Precipitation precipitationType="dry" intensity="0.0"/>
</Weather>
<RoadCondition frictionScaleFactor="1.0"/>
</Environment>
</EnvironmentAction>
</GlobalAction>
<Private entityRef="hero">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-9.4" y="-152.8" z="0.5" h="1.57079632679"/>
</Position>
</TeleportAction>
</PrivateAction>
<PrivateAction>
<ControllerAction>
<AssignControllerAction>
<Controller name="HeroAgent">
<Properties>
<Property name="module" value="external_control"/>
</Properties>
</Controller>
</AssignControllerAction>
<OverrideControllerValueAction>
<Throttle value="0" active="false"/>
<Brake value="0" active="false"/>
<Clutch value="0" active="false"/>
<ParkingBrake value="0" active="false"/>
<SteeringWheel value="0" active="false"/>
<Gear number="0" active="false"/>
</OverrideControllerValueAction>
</ControllerAction>
</PrivateAction>
</Private>
<Private entityRef="adversary">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-9.4" y="-71.0" z="0.5" h="1.57079632679"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="standing">
<PrivateAction>
<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_11540">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-1.926169514656067" y="20.18172836303711" z="0.0031265639699995518"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_w_transform_11541">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="86.56839752197266" y="-71.73662567138672" z="0.5"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_w_transform_11542">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="39.8942756652832" y="40.39242935180664" z="0.5"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_w_transform_11543">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-93.2330322265625" y="27.149343490600586" z="0.5"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_w_transform_11544">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="63.52956771850586" y="-36.1561279296875" z="0.5"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_close_to_adversary_11545">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-18.404064178466797" y="-65.31594848632812" z="0.03378566727042198"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_close_to_standing_11546">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-11.904228210449219" y="34.17445373535156" z="0.0030473326332867146"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_w_transform_11547">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="34.41571044921875" y="-3.549365282058716" z="0.5"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_w_transform_11548">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="86.19023132324219" y="49.130706787109375" z="0.5"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_close_to_hero_11549">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-4.710757732391357" y="-160.5447235107422" z="0.0014286803780123591"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_close_to_adversary_11550">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-2.8430564403533936" y="-57.73014831542969" z="0.033742330968379974"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_close_to_adversary_11551">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="0.26989591121673584" y="-79.22074890136719" z="0.033776167780160904"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_w_transform_11552">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-66.28097534179688" y="63.432518005371094" z="0.5"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_w_transform_11553">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="66.92555236816406" y="84.03975677490234" z="0.5"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_w_transform_11554">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-10.450382232666016" y="3.3031387329101562" z="0.5"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_close_to_adversary_11555">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-7.142694473266602" y="-79.8985824584961" z="0.03377677872776985"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_w_transform_11556">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="78.59136199951172" y="95.37018585205078" z="0.5"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_close_to_hero_11557">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-5.629849433898926" y="-152.468017578125" z="0.0014286803780123591"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_w_transform_11558">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="11.5957612991333" y="-70.3376693725586" z="0.5"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_close_to_adversary_11559">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="0.14692248404026031" y="-71.41289520263672" z="0.033751677721738815"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_close_to_standing_11561">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-12.978615760803223" y="31.597116470336914" z="0.003034210065379739"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_close_to_standing_11563">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-7.065041542053223" y="22.114912033081055" z="0.0030364990234375"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_close_to_adversary_11564">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-10.962278366088867" y="-62.2000732421875" z="0.033778343349695206"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_close_to_adversary_11565">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-16.64276695251465" y="-71.78862762451172" z="0.03377651050686836"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_w_transform_11566">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-29.47504997253418" y="-93.6673812866211" z="0.5"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
</Actions>
</Init>
<Story name="MyStory">
<Act name="Behavior">
<ManeuverGroup maximumExecutionCount="1" name="ManeuverSequence">
<Actors selectTriggeringEntities="false">
<EntityRef entityRef="adversary"/>
</Actors>
<Maneuver name="LaneChangeSimpleManeuver">
<Event name="AdversaryAccelerates" priority="overwrite">
<Action name="AdversaryAccelerates">
<PrivateAction>
<LongitudinalAction>
<SpeedAction>
<SpeedActionDynamics dynamicsShape="step" value="50" dynamicsDimension="distance"/>
<SpeedActionTarget>
<AbsoluteTargetSpeed value="5.0"/>
</SpeedActionTarget>
</SpeedAction>
</LongitudinalAction>
</PrivateAction>
</Action>
<StartTrigger>
<ConditionGroup>
<Condition name="StartCondition" delay="0" conditionEdge="rising">
<ByEntityCondition>
<TriggeringEntities triggeringEntitiesRule="any">
<EntityRef entityRef="hero"/>
</TriggeringEntities>
<EntityCondition>
<RelativeDistanceCondition entityRef="adversary" relativeDistanceType="cartesianDistance" value="40.0" freespace="false" rule="lessThan"/>
</EntityCondition>
</ByEntityCondition>
</Condition>
</ConditionGroup>
</StartTrigger>
</Event>
<Event name="AdversaryChangesLane" priority="overwrite">
<Action name="AdversaryChangesLane">
<PrivateAction>
<LateralAction>
<LaneChangeAction>
<LaneChangeActionDynamics dynamicsShape="linear" value="25" dynamicsDimension="distance"/>
<LaneChangeTarget>
<RelativeTargetLane entityRef="adversary" value="-1"/>
</LaneChangeTarget>
</LaneChangeAction>
</LateralAction>
</PrivateAction>
</Action>
<StartTrigger>
<ConditionGroup>
<Condition name="AfterAdversaryAccelerates" delay="0" conditionEdge="rising">
<ByValueCondition>
<StoryboardElementStateCondition storyboardElementType="action" storyboardElementRef="AdversaryAccelerates" state="completeState"/>
</ByValueCondition>
</Condition>
</ConditionGroup>
</StartTrigger>
</Event>
</Maneuver>
</ManeuverGroup>
<StartTrigger>
<ConditionGroup>
<Condition name="OverallStartCondition" delay="0" conditionEdge="rising">
<ByEntityCondition>
<TriggeringEntities triggeringEntitiesRule="any">
<EntityRef entityRef="hero"/>
</TriggeringEntities>
<EntityCondition>
<TraveledDistanceCondition value="1.0"/>
</EntityCondition>
</ByEntityCondition>
</Condition>
<Condition name="StartTime" delay="0" conditionEdge="rising">
<ByValueCondition>
<SimulationTimeCondition value="0" rule="equalTo"/>
</ByValueCondition>
</Condition>
</ConditionGroup>
</StartTrigger>
<StopTrigger>
<ConditionGroup>
<Condition name="EndCondition" delay="0" conditionEdge="rising">
<ByEntityCondition>
<TriggeringEntities triggeringEntitiesRule="any">
<EntityRef entityRef="hero"/>
</TriggeringEntities>
<EntityCondition>
<TraveledDistanceCondition value="200.0"/>
</EntityCondition>
</ByEntityCondition>
</Condition>
</ConditionGroup>
</StopTrigger>
</Act>
</Story>
<StopTrigger>
<ConditionGroup>
<Condition name="criteria_RunningStopTest" delay="0" conditionEdge="rising">
<ByValueCondition>
<ParameterCondition parameterRef="" value="" rule="lessThan"/>
</ByValueCondition>
</Condition>
<Condition name="criteria_RunningRedLightTest" delay="0" conditionEdge="rising">
<ByValueCondition>
<ParameterCondition parameterRef="" value="" rule="lessThan"/>
</ByValueCondition>
</Condition>
<Condition name="criteria_WrongLaneTest" delay="0" conditionEdge="rising">
<ByValueCondition>
<ParameterCondition parameterRef="" value="" rule="lessThan"/>
</ByValueCondition>
</Condition>
<Condition name="criteria_OnSidewalkTest" delay="0" conditionEdge="rising">
<ByValueCondition>
<ParameterCondition parameterRef="" value="" rule="lessThan"/>
</ByValueCondition>
</Condition>
<Condition name="criteria_KeepLaneTest" delay="0" conditionEdge="rising">
<ByValueCondition>
<ParameterCondition parameterRef="" value="" rule="lessThan"/>
</ByValueCondition>
</Condition>
<Condition name="criteria_CollisionTest" delay="0" conditionEdge="rising">
<ByValueCondition>
<ParameterCondition parameterRef="" value="" rule="lessThan"/>
</ByValueCondition>
</Condition>
<Condition name="criteria_DrivenDistanceTest" delay="0" conditionEdge="rising">
<ByValueCondition>
<ParameterCondition parameterRef="distance_success" value="100" rule="lessThan"/>
</ByValueCondition>
</Condition>
</ConditionGroup>
</StopTrigger>
</Storyboard>
</OpenSCENARIO>
``` |
could you add pedestrian close to adversary?
```
<?xml version="1.0" ?>
<OpenSCENARIO>
<FileHeader revMajor="1" revMinor="0" date="2020-03-24T12:00:00" description="CARLA:LaneChangeSimple" author=""/>
<ParameterDeclarations/>
<CatalogLocations/>
<RoadNetwork>
<LogicFile filepath="Town04"/>
<SceneGraphFile filepath=""/>
</RoadNetwork>
<Entities>
<ScenarioObject name="hero">
<Vehicle name="vehicle.tesla.model3" vehicleCategory="car">
<ParameterDeclarations/>
<Performance maxSpeed="69.444" maxAcceleration="200" maxDeceleration="10.0"/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2.1" length="4.5" height="1.8"/>
</BoundingBox>
<Axles>
<FrontAxle maxSteering="0.5" wheelDiameter="0.6" trackWidth="1.8" positionX="3.1" positionZ="0.3"/>
<RearAxle maxSteering="0.0" wheelDiameter="0.6" trackWidth="1.8" positionX="0.0" positionZ="0.3"/>
</Axles>
<Properties>
<Property name="type" value="ego_vehicle"/>
</Properties>
</Vehicle>
</ScenarioObject>
<ScenarioObject name="adversary">
<Vehicle name="vehicle.lincoln.mkz_2017" vehicleCategory="car">
<ParameterDeclarations/>
<Performance maxSpeed="69.444" maxAcceleration="200" maxDeceleration="10.0"/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2.1" length="4.5" height="1.8"/>
</BoundingBox>
<Axles>
<FrontAxle maxSteering="0.5" wheelDiameter="0.6" trackWidth="1.8" positionX="3.1" positionZ="0.3"/>
<RearAxle maxSteering="0.0" wheelDiameter="0.6" trackWidth="1.8" positionX="0.0" positionZ="0.3"/>
</Axles>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Vehicle>
</ScenarioObject>
<ScenarioObject name="standing">
<Vehicle name="vehicle.volkswagen.t2" vehicleCategory="car">
<ParameterDeclarations/>
<Performance maxSpeed="69.444" maxAcceleration="200" maxDeceleration="10.0"/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2.1" length="4.5" height="1.8"/>
</BoundingBox>
<Axles>
<FrontAxle maxSteering="0.5" wheelDiameter="0.6" trackWidth="1.8" positionX="3.1" positionZ="0.3"/>
<RearAxle maxSteering="0.0" wheelDiameter="0.6" trackWidth="1.8" positionX="0.0" positionZ="0.3"/>
</Axles>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Vehicle>
</ScenarioObject>
<ScenarioObject name="pedestrian_close_to_hero_4353">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_close_to_adversary_4354">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_w_transform_4355">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
</Entities>
<Storyboard>
<Init>
<Actions>
<GlobalAction>
<EnvironmentAction>
<Environment name="Environment1">
<TimeOfDay animation="false" dateTime="2019-06-25T12:00:00"/>
<Weather cloudState="free">
<Sun intensity="0.85" azimuth="0" elevation="1.31"/>
<Fog visualRange="100000.0"/>
<Precipitation precipitationType="dry" intensity="0.0"/>
</Weather>
<RoadCondition frictionScaleFactor="1.0"/>
</Environment>
</EnvironmentAction>
</GlobalAction>
<Private entityRef="hero">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-9.4" y="-152.8" z="0.5" h="1.57079632679"/>
</Position>
</TeleportAction>
</PrivateAction>
<PrivateAction>
<ControllerAction>
<AssignControllerAction>
<Controller name="HeroAgent">
<Properties>
<Property name="module" value="external_control"/>
</Properties>
</Controller>
</AssignControllerAction>
<OverrideControllerValueAction>
<Throttle value="0" active="false"/>
<Brake value="0" active="false"/>
<Clutch value="0" active="false"/>
<ParkingBrake value="0" active="false"/>
<SteeringWheel value="0" active="false"/>
<Gear number="0" active="false"/>
</OverrideControllerValueAction>
</ControllerAction>
</PrivateAction>
</Private>
<Private entityRef="adversary">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-9.4" y="-71.0" z="0.5" h="1.57079632679"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="standing">
<PrivateAction>
<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_4353">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-13.007009506225586" y="-146.89427185058594" z="0.0014286803780123591"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_close_to_adversary_4354">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="3.8922388553619385" y="-79.34259796142578" z="0.033804357051849365"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_w_transform_4355">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="51.680503845214844" y="71.22472381591797" z="0.5"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
</Actions>
</Init>
<Story name="MyStory">
<Act name="Behavior">
<ManeuverGroup maximumExecutionCount="1" name="ManeuverSequence">
<Actors selectTriggeringEntities="false">
<EntityRef entityRef="adversary"/>
</Actors>
<Maneuver name="LaneChangeSimpleManeuver">
<Event name="AdversaryAccelerates" priority="overwrite">
<Action name="AdversaryAccelerates">
<PrivateAction>
<LongitudinalAction>
<SpeedAction>
<SpeedActionDynamics dynamicsShape="step" value="50" dynamicsDimension="distance"/>
<SpeedActionTarget>
<AbsoluteTargetSpeed value="5.0"/>
</SpeedActionTarget>
</SpeedAction>
</LongitudinalAction>
</PrivateAction>
</Action>
<StartTrigger>
<ConditionGroup>
<Condition name="StartCondition" delay="0" conditionEdge="rising">
<ByEntityCondition>
<TriggeringEntities triggeringEntitiesRule="any">
<EntityRef entityRef="hero"/>
</TriggeringEntities>
<EntityCondition>
<RelativeDistanceCondition entityRef="adversary" relativeDistanceType="cartesianDistance" value="40.0" freespace="false" rule="lessThan"/>
</EntityCondition>
</ByEntityCondition>
</Condition>
</ConditionGroup>
</StartTrigger>
</Event>
<Event name="AdversaryChangesLane" priority="overwrite">
<Action name="AdversaryChangesLane">
<PrivateAction>
<LateralAction>
<LaneChangeAction>
<LaneChangeActionDynamics dynamicsShape="linear" value="25" dynamicsDimension="distance"/>
<LaneChangeTarget>
<RelativeTargetLane entityRef="adversary" value="-1"/>
</LaneChangeTarget>
</LaneChangeAction>
</LateralAction>
</PrivateAction>
</Action>
<StartTrigger>
<ConditionGroup>
<Condition name="AfterAdversaryAccelerates" delay="0" conditionEdge="rising">
<ByValueCondition>
<StoryboardElementStateCondition storyboardElementType="action" storyboardElementRef="AdversaryAccelerates" state="completeState"/>
</ByValueCondition>
</Condition>
</ConditionGroup>
</StartTrigger>
</Event>
</Maneuver>
</ManeuverGroup>
<StartTrigger>
<ConditionGroup>
<Condition name="OverallStartCondition" delay="0" conditionEdge="rising">
<ByEntityCondition>
<TriggeringEntities triggeringEntitiesRule="any">
<EntityRef entityRef="hero"/>
</TriggeringEntities>
<EntityCondition>
<TraveledDistanceCondition value="1.0"/>
</EntityCondition>
</ByEntityCondition>
</Condition>
<Condition name="StartTime" delay="0" conditionEdge="rising">
<ByValueCondition>
<SimulationTimeCondition value="0" rule="equalTo"/>
</ByValueCondition>
</Condition>
</ConditionGroup>
</StartTrigger>
<StopTrigger>
<ConditionGroup>
<Condition name="EndCondition" delay="0" conditionEdge="rising">
<ByEntityCondition>
<TriggeringEntities triggeringEntitiesRule="any">
<EntityRef entityRef="hero"/>
</TriggeringEntities>
<EntityCondition>
<TraveledDistanceCondition value="200.0"/>
</EntityCondition>
</ByEntityCondition>
</Condition>
</ConditionGroup>
</StopTrigger>
</Act>
</Story>
<StopTrigger>
<ConditionGroup>
<Condition name="criteria_RunningStopTest" delay="0" conditionEdge="rising">
<ByValueCondition>
<ParameterCondition parameterRef="" value="" rule="lessThan"/>
</ByValueCondition>
</Condition>
<Condition name="criteria_RunningRedLightTest" delay="0" conditionEdge="rising">
<ByValueCondition>
<ParameterCondition parameterRef="" value="" rule="lessThan"/>
</ByValueCondition>
</Condition>
<Condition name="criteria_WrongLaneTest" delay="0" conditionEdge="rising">
<ByValueCondition>
<ParameterCondition parameterRef="" value="" rule="lessThan"/>
</ByValueCondition>
</Condition>
<Condition name="criteria_OnSidewalkTest" delay="0" conditionEdge="rising">
<ByValueCondition>
<ParameterCondition parameterRef="" value="" rule="lessThan"/>
</ByValueCondition>
</Condition>
<Condition name="criteria_KeepLaneTest" delay="0" conditionEdge="rising">
<ByValueCondition>
<ParameterCondition parameterRef="" value="" rule="lessThan"/>
</ByValueCondition>
</Condition>
<Condition name="criteria_CollisionTest" delay="0" conditionEdge="rising">
<ByValueCondition>
<ParameterCondition parameterRef="" value="" rule="lessThan"/>
</ByValueCondition>
</Condition>
<Condition name="criteria_DrivenDistanceTest" delay="0" conditionEdge="rising">
<ByValueCondition>
<ParameterCondition parameterRef="distance_success" value="100" rule="lessThan"/>
</ByValueCondition>
</Condition>
</ConditionGroup>
</StopTrigger>
</Storyboard>
</OpenSCENARIO>
``` | Here is the result:
```
<?xml version="1.0" ?>
<OpenSCENARIO>
<FileHeader revMajor="1" revMinor="0" date="2020-03-24T12:00:00" description="CARLA:LaneChangeSimple" author=""/>
<ParameterDeclarations/>
<CatalogLocations/>
<RoadNetwork>
<LogicFile filepath="Town04"/>
<SceneGraphFile filepath=""/>
</RoadNetwork>
<Entities>
<ScenarioObject name="hero">
<Vehicle name="vehicle.tesla.model3" vehicleCategory="car">
<ParameterDeclarations/>
<Performance maxSpeed="69.444" maxAcceleration="200" maxDeceleration="10.0"/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2.1" length="4.5" height="1.8"/>
</BoundingBox>
<Axles>
<FrontAxle maxSteering="0.5" wheelDiameter="0.6" trackWidth="1.8" positionX="3.1" positionZ="0.3"/>
<RearAxle maxSteering="0.0" wheelDiameter="0.6" trackWidth="1.8" positionX="0.0" positionZ="0.3"/>
</Axles>
<Properties>
<Property name="type" value="ego_vehicle"/>
</Properties>
</Vehicle>
</ScenarioObject>
<ScenarioObject name="adversary">
<Vehicle name="vehicle.lincoln.mkz_2017" vehicleCategory="car">
<ParameterDeclarations/>
<Performance maxSpeed="69.444" maxAcceleration="200" maxDeceleration="10.0"/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2.1" length="4.5" height="1.8"/>
</BoundingBox>
<Axles>
<FrontAxle maxSteering="0.5" wheelDiameter="0.6" trackWidth="1.8" positionX="3.1" positionZ="0.3"/>
<RearAxle maxSteering="0.0" wheelDiameter="0.6" trackWidth="1.8" positionX="0.0" positionZ="0.3"/>
</Axles>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Vehicle>
</ScenarioObject>
<ScenarioObject name="standing">
<Vehicle name="vehicle.volkswagen.t2" vehicleCategory="car">
<ParameterDeclarations/>
<Performance maxSpeed="69.444" maxAcceleration="200" maxDeceleration="10.0"/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2.1" length="4.5" height="1.8"/>
</BoundingBox>
<Axles>
<FrontAxle maxSteering="0.5" wheelDiameter="0.6" trackWidth="1.8" positionX="3.1" positionZ="0.3"/>
<RearAxle maxSteering="0.0" wheelDiameter="0.6" 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_4353">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_close_to_adversary_4354">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_w_transform_4355">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_close_to_adversary_4356">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
</Entities>
<Storyboard>
<Init>
<Actions>
<GlobalAction>
<EnvironmentAction>
<Environment name="Environment1">
<TimeOfDay animation="false" dateTime="2019-06-25T12:00:00"/>
<Weather cloudState="free">
<Sun intensity="0.85" azimuth="0" elevation="1.31"/>
<Fog visualRange="100000.0"/>
<Precipitation precipitationType="dry" intensity="0.0"/>
</Weather>
<RoadCondition frictionScaleFactor="1.0"/>
</Environment>
</EnvironmentAction>
</GlobalAction>
<Private entityRef="hero">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-9.4" y="-152.8" z="0.5" h="1.57079632679"/>
</Position>
</TeleportAction>
</PrivateAction>
<PrivateAction>
<ControllerAction>
<AssignControllerAction>
<Controller name="HeroAgent">
<Properties>
<Property name="module" value="external_control"/>
</Properties>
</Controller>
</AssignControllerAction>
<OverrideControllerValueAction>
<Throttle value="0" active="false"/>
<Brake value="0" active="false"/>
<Clutch value="0" active="false"/>
<ParkingBrake value="0" active="false"/>
<SteeringWheel value="0" active="false"/>
<Gear number="0" active="false"/>
</OverrideControllerValueAction>
</ControllerAction>
</PrivateAction>
</Private>
<Private entityRef="adversary">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-9.4" y="-71.0" z="0.5" h="1.57079632679"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="standing">
<PrivateAction>
<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_4353">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-13.007009506225586" y="-146.89427185058594" z="0.0014286803780123591"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_close_to_adversary_4354">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="3.8922388553619385" y="-79.34259796142578" z="0.033804357051849365"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_w_transform_4355">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="51.680503845214844" y="71.22472381591797" z="0.5"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_close_to_adversary_4356">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-12.634522438049316" y="-79.68333435058594" z="0.03376094624400139"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
</Actions>
</Init>
<Story name="MyStory">
<Act name="Behavior">
<ManeuverGroup maximumExecutionCount="1" name="ManeuverSequence">
<Actors selectTriggeringEntities="false">
<EntityRef entityRef="adversary"/>
</Actors>
<Maneuver name="LaneChangeSimpleManeuver">
<Event name="AdversaryAccelerates" priority="overwrite">
<Action name="AdversaryAccelerates">
<PrivateAction>
<LongitudinalAction>
<SpeedAction>
<SpeedActionDynamics dynamicsShape="step" value="50" dynamicsDimension="distance"/>
<SpeedActionTarget>
<AbsoluteTargetSpeed value="5.0"/>
</SpeedActionTarget>
</SpeedAction>
</LongitudinalAction>
</PrivateAction>
</Action>
<StartTrigger>
<ConditionGroup>
<Condition name="StartCondition" delay="0" conditionEdge="rising">
<ByEntityCondition>
<TriggeringEntities triggeringEntitiesRule="any">
<EntityRef entityRef="hero"/>
</TriggeringEntities>
<EntityCondition>
<RelativeDistanceCondition entityRef="adversary" relativeDistanceType="cartesianDistance" value="40.0" freespace="false" rule="lessThan"/>
</EntityCondition>
</ByEntityCondition>
</Condition>
</ConditionGroup>
</StartTrigger>
</Event>
<Event name="AdversaryChangesLane" priority="overwrite">
<Action name="AdversaryChangesLane">
<PrivateAction>
<LateralAction>
<LaneChangeAction>
<LaneChangeActionDynamics dynamicsShape="linear" value="25" dynamicsDimension="distance"/>
<LaneChangeTarget>
<RelativeTargetLane entityRef="adversary" value="-1"/>
</LaneChangeTarget>
</LaneChangeAction>
</LateralAction>
</PrivateAction>
</Action>
<StartTrigger>
<ConditionGroup>
<Condition name="AfterAdversaryAccelerates" delay="0" conditionEdge="rising">
<ByValueCondition>
<StoryboardElementStateCondition storyboardElementType="action" storyboardElementRef="AdversaryAccelerates" state="completeState"/>
</ByValueCondition>
</Condition>
</ConditionGroup>
</StartTrigger>
</Event>
</Maneuver>
</ManeuverGroup>
<StartTrigger>
<ConditionGroup>
<Condition name="OverallStartCondition" delay="0" conditionEdge="rising">
<ByEntityCondition>
<TriggeringEntities triggeringEntitiesRule="any">
<EntityRef entityRef="hero"/>
</TriggeringEntities>
<EntityCondition>
<TraveledDistanceCondition value="1.0"/>
</EntityCondition>
</ByEntityCondition>
</Condition>
<Condition name="StartTime" delay="0" conditionEdge="rising">
<ByValueCondition>
<SimulationTimeCondition value="0" rule="equalTo"/>
</ByValueCondition>
</Condition>
</ConditionGroup>
</StartTrigger>
<StopTrigger>
<ConditionGroup>
<Condition name="EndCondition" delay="0" conditionEdge="rising">
<ByEntityCondition>
<TriggeringEntities triggeringEntitiesRule="any">
<EntityRef entityRef="hero"/>
</TriggeringEntities>
<EntityCondition>
<TraveledDistanceCondition value="200.0"/>
</EntityCondition>
</ByEntityCondition>
</Condition>
</ConditionGroup>
</StopTrigger>
</Act>
</Story>
<StopTrigger>
<ConditionGroup>
<Condition name="criteria_RunningStopTest" delay="0" conditionEdge="rising">
<ByValueCondition>
<ParameterCondition parameterRef="" value="" rule="lessThan"/>
</ByValueCondition>
</Condition>
<Condition name="criteria_RunningRedLightTest" delay="0" conditionEdge="rising">
<ByValueCondition>
<ParameterCondition parameterRef="" value="" rule="lessThan"/>
</ByValueCondition>
</Condition>
<Condition name="criteria_WrongLaneTest" delay="0" conditionEdge="rising">
<ByValueCondition>
<ParameterCondition parameterRef="" value="" rule="lessThan"/>
</ByValueCondition>
</Condition>
<Condition name="criteria_OnSidewalkTest" delay="0" conditionEdge="rising">
<ByValueCondition>
<ParameterCondition parameterRef="" value="" rule="lessThan"/>
</ByValueCondition>
</Condition>
<Condition name="criteria_KeepLaneTest" delay="0" conditionEdge="rising">
<ByValueCondition>
<ParameterCondition parameterRef="" value="" rule="lessThan"/>
</ByValueCondition>
</Condition>
<Condition name="criteria_CollisionTest" delay="0" conditionEdge="rising">
<ByValueCondition>
<ParameterCondition parameterRef="" value="" rule="lessThan"/>
</ByValueCondition>
</Condition>
<Condition name="criteria_DrivenDistanceTest" delay="0" conditionEdge="rising">
<ByValueCondition>
<ParameterCondition parameterRef="distance_success" value="100" rule="lessThan"/>
</ByValueCondition>
</Condition>
</ConditionGroup>
</StopTrigger>
</Storyboard>
</OpenSCENARIO>
``` |
i need you to add pedestrian close to hero?
```
<?xml version="1.0" ?>
<OpenSCENARIO>
<FileHeader revMajor="1" revMinor="0" date="2020-03-24T12:00:00" description="CARLA:LaneChangeSimple" author=""/>
<ParameterDeclarations/>
<CatalogLocations/>
<RoadNetwork>
<LogicFile filepath="Town04"/>
<SceneGraphFile filepath=""/>
</RoadNetwork>
<Entities>
<ScenarioObject name="hero">
<Vehicle name="vehicle.tesla.model3" vehicleCategory="car">
<ParameterDeclarations/>
<Performance maxSpeed="69.444" maxAcceleration="200" maxDeceleration="10.0"/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2.1" length="4.5" height="1.8"/>
</BoundingBox>
<Axles>
<FrontAxle maxSteering="0.5" wheelDiameter="0.6" trackWidth="1.8" positionX="3.1" positionZ="0.3"/>
<RearAxle maxSteering="0.0" wheelDiameter="0.6" trackWidth="1.8" positionX="0.0" positionZ="0.3"/>
</Axles>
<Properties>
<Property name="type" value="ego_vehicle"/>
</Properties>
</Vehicle>
</ScenarioObject>
<ScenarioObject name="adversary">
<Vehicle name="vehicle.lincoln.mkz_2017" vehicleCategory="car">
<ParameterDeclarations/>
<Performance maxSpeed="69.444" maxAcceleration="200" maxDeceleration="10.0"/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2.1" length="4.5" height="1.8"/>
</BoundingBox>
<Axles>
<FrontAxle maxSteering="0.5" wheelDiameter="0.6" trackWidth="1.8" positionX="3.1" positionZ="0.3"/>
<RearAxle maxSteering="0.0" wheelDiameter="0.6" trackWidth="1.8" positionX="0.0" positionZ="0.3"/>
</Axles>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Vehicle>
</ScenarioObject>
<ScenarioObject name="standing">
<Vehicle name="vehicle.volkswagen.t2" vehicleCategory="car">
<ParameterDeclarations/>
<Performance maxSpeed="69.444" maxAcceleration="200" maxDeceleration="10.0"/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2.1" length="4.5" height="1.8"/>
</BoundingBox>
<Axles>
<FrontAxle maxSteering="0.5" wheelDiameter="0.6" trackWidth="1.8" positionX="3.1" positionZ="0.3"/>
<RearAxle maxSteering="0.0" wheelDiameter="0.6" trackWidth="1.8" positionX="0.0" positionZ="0.3"/>
</Axles>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Vehicle>
</ScenarioObject>
<ScenarioObject name="pedestrian_close_to_hero_15483">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_w_transform_15484">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_close_to_standing_15485">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
</Entities>
<Storyboard>
<Init>
<Actions>
<GlobalAction>
<EnvironmentAction>
<Environment name="Environment1">
<TimeOfDay animation="false" dateTime="2019-06-25T12:00:00"/>
<Weather cloudState="free">
<Sun intensity="0.85" azimuth="0" elevation="1.31"/>
<Fog visualRange="100000.0"/>
<Precipitation precipitationType="dry" intensity="0.0"/>
</Weather>
<RoadCondition frictionScaleFactor="1.0"/>
</Environment>
</EnvironmentAction>
</GlobalAction>
<Private entityRef="hero">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-9.4" y="-152.8" z="0.5" h="1.57079632679"/>
</Position>
</TeleportAction>
</PrivateAction>
<PrivateAction>
<ControllerAction>
<AssignControllerAction>
<Controller name="HeroAgent">
<Properties>
<Property name="module" value="external_control"/>
</Properties>
</Controller>
</AssignControllerAction>
<OverrideControllerValueAction>
<Throttle value="0" active="false"/>
<Brake value="0" active="false"/>
<Clutch value="0" active="false"/>
<ParkingBrake value="0" active="false"/>
<SteeringWheel value="0" active="false"/>
<Gear number="0" active="false"/>
</OverrideControllerValueAction>
</ControllerAction>
</PrivateAction>
</Private>
<Private entityRef="adversary">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-9.4" y="-71.0" z="0.5" h="1.57079632679"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="standing">
<PrivateAction>
<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_15483">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-9.460216522216797" y="-150.65679931640625" z="0.0014286803780123591"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_w_transform_15484">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="84.93443298339844" y="-74.8351058959961" z="0.5"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_close_to_standing_15485">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-1.6580787897109985" y="30.102933883666992" z="0.0030694198794662952"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
</Actions>
</Init>
<Story name="MyStory">
<Act name="Behavior">
<ManeuverGroup maximumExecutionCount="1" name="ManeuverSequence">
<Actors selectTriggeringEntities="false">
<EntityRef entityRef="adversary"/>
</Actors>
<Maneuver name="LaneChangeSimpleManeuver">
<Event name="AdversaryAccelerates" priority="overwrite">
<Action name="AdversaryAccelerates">
<PrivateAction>
<LongitudinalAction>
<SpeedAction>
<SpeedActionDynamics dynamicsShape="step" value="50" dynamicsDimension="distance"/>
<SpeedActionTarget>
<AbsoluteTargetSpeed value="5.0"/>
</SpeedActionTarget>
</SpeedAction>
</LongitudinalAction>
</PrivateAction>
</Action>
<StartTrigger>
<ConditionGroup>
<Condition name="StartCondition" delay="0" conditionEdge="rising">
<ByEntityCondition>
<TriggeringEntities triggeringEntitiesRule="any">
<EntityRef entityRef="hero"/>
</TriggeringEntities>
<EntityCondition>
<RelativeDistanceCondition entityRef="adversary" relativeDistanceType="cartesianDistance" value="40.0" freespace="false" rule="lessThan"/>
</EntityCondition>
</ByEntityCondition>
</Condition>
</ConditionGroup>
</StartTrigger>
</Event>
<Event name="AdversaryChangesLane" priority="overwrite">
<Action name="AdversaryChangesLane">
<PrivateAction>
<LateralAction>
<LaneChangeAction>
<LaneChangeActionDynamics dynamicsShape="linear" value="25" dynamicsDimension="distance"/>
<LaneChangeTarget>
<RelativeTargetLane entityRef="adversary" value="-1"/>
</LaneChangeTarget>
</LaneChangeAction>
</LateralAction>
</PrivateAction>
</Action>
<StartTrigger>
<ConditionGroup>
<Condition name="AfterAdversaryAccelerates" delay="0" conditionEdge="rising">
<ByValueCondition>
<StoryboardElementStateCondition storyboardElementType="action" storyboardElementRef="AdversaryAccelerates" state="completeState"/>
</ByValueCondition>
</Condition>
</ConditionGroup>
</StartTrigger>
</Event>
</Maneuver>
</ManeuverGroup>
<StartTrigger>
<ConditionGroup>
<Condition name="OverallStartCondition" delay="0" conditionEdge="rising">
<ByEntityCondition>
<TriggeringEntities triggeringEntitiesRule="any">
<EntityRef entityRef="hero"/>
</TriggeringEntities>
<EntityCondition>
<TraveledDistanceCondition value="1.0"/>
</EntityCondition>
</ByEntityCondition>
</Condition>
<Condition name="StartTime" delay="0" conditionEdge="rising">
<ByValueCondition>
<SimulationTimeCondition value="0" rule="equalTo"/>
</ByValueCondition>
</Condition>
</ConditionGroup>
</StartTrigger>
<StopTrigger>
<ConditionGroup>
<Condition name="EndCondition" delay="0" conditionEdge="rising">
<ByEntityCondition>
<TriggeringEntities triggeringEntitiesRule="any">
<EntityRef entityRef="hero"/>
</TriggeringEntities>
<EntityCondition>
<TraveledDistanceCondition value="200.0"/>
</EntityCondition>
</ByEntityCondition>
</Condition>
</ConditionGroup>
</StopTrigger>
</Act>
</Story>
<StopTrigger>
<ConditionGroup>
<Condition name="criteria_RunningStopTest" delay="0" conditionEdge="rising">
<ByValueCondition>
<ParameterCondition parameterRef="" value="" rule="lessThan"/>
</ByValueCondition>
</Condition>
<Condition name="criteria_RunningRedLightTest" delay="0" conditionEdge="rising">
<ByValueCondition>
<ParameterCondition parameterRef="" value="" rule="lessThan"/>
</ByValueCondition>
</Condition>
<Condition name="criteria_WrongLaneTest" delay="0" conditionEdge="rising">
<ByValueCondition>
<ParameterCondition parameterRef="" value="" rule="lessThan"/>
</ByValueCondition>
</Condition>
<Condition name="criteria_OnSidewalkTest" delay="0" conditionEdge="rising">
<ByValueCondition>
<ParameterCondition parameterRef="" value="" rule="lessThan"/>
</ByValueCondition>
</Condition>
<Condition name="criteria_KeepLaneTest" delay="0" conditionEdge="rising">
<ByValueCondition>
<ParameterCondition parameterRef="" value="" rule="lessThan"/>
</ByValueCondition>
</Condition>
<Condition name="criteria_CollisionTest" delay="0" conditionEdge="rising">
<ByValueCondition>
<ParameterCondition parameterRef="" value="" rule="lessThan"/>
</ByValueCondition>
</Condition>
<Condition name="criteria_DrivenDistanceTest" delay="0" conditionEdge="rising">
<ByValueCondition>
<ParameterCondition parameterRef="distance_success" value="100" rule="lessThan"/>
</ByValueCondition>
</Condition>
</ConditionGroup>
</StopTrigger>
</Storyboard>
</OpenSCENARIO>
``` | Here is the result:
```
<?xml version="1.0" ?>
<OpenSCENARIO>
<FileHeader revMajor="1" revMinor="0" date="2020-03-24T12:00:00" description="CARLA:LaneChangeSimple" author=""/>
<ParameterDeclarations/>
<CatalogLocations/>
<RoadNetwork>
<LogicFile filepath="Town04"/>
<SceneGraphFile filepath=""/>
</RoadNetwork>
<Entities>
<ScenarioObject name="hero">
<Vehicle name="vehicle.tesla.model3" vehicleCategory="car">
<ParameterDeclarations/>
<Performance maxSpeed="69.444" maxAcceleration="200" maxDeceleration="10.0"/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2.1" length="4.5" height="1.8"/>
</BoundingBox>
<Axles>
<FrontAxle maxSteering="0.5" wheelDiameter="0.6" trackWidth="1.8" positionX="3.1" positionZ="0.3"/>
<RearAxle maxSteering="0.0" wheelDiameter="0.6" trackWidth="1.8" positionX="0.0" positionZ="0.3"/>
</Axles>
<Properties>
<Property name="type" value="ego_vehicle"/>
</Properties>
</Vehicle>
</ScenarioObject>
<ScenarioObject name="adversary">
<Vehicle name="vehicle.lincoln.mkz_2017" vehicleCategory="car">
<ParameterDeclarations/>
<Performance maxSpeed="69.444" maxAcceleration="200" maxDeceleration="10.0"/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2.1" length="4.5" height="1.8"/>
</BoundingBox>
<Axles>
<FrontAxle maxSteering="0.5" wheelDiameter="0.6" trackWidth="1.8" positionX="3.1" positionZ="0.3"/>
<RearAxle maxSteering="0.0" wheelDiameter="0.6" trackWidth="1.8" positionX="0.0" positionZ="0.3"/>
</Axles>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Vehicle>
</ScenarioObject>
<ScenarioObject name="standing">
<Vehicle name="vehicle.volkswagen.t2" vehicleCategory="car">
<ParameterDeclarations/>
<Performance maxSpeed="69.444" maxAcceleration="200" maxDeceleration="10.0"/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2.1" length="4.5" height="1.8"/>
</BoundingBox>
<Axles>
<FrontAxle maxSteering="0.5" wheelDiameter="0.6" trackWidth="1.8" positionX="3.1" positionZ="0.3"/>
<RearAxle maxSteering="0.0" wheelDiameter="0.6" 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_15483">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_w_transform_15484">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_close_to_standing_15485">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_close_to_hero_15486">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
</Entities>
<Storyboard>
<Init>
<Actions>
<GlobalAction>
<EnvironmentAction>
<Environment name="Environment1">
<TimeOfDay animation="false" dateTime="2019-06-25T12:00:00"/>
<Weather cloudState="free">
<Sun intensity="0.85" azimuth="0" elevation="1.31"/>
<Fog visualRange="100000.0"/>
<Precipitation precipitationType="dry" intensity="0.0"/>
</Weather>
<RoadCondition frictionScaleFactor="1.0"/>
</Environment>
</EnvironmentAction>
</GlobalAction>
<Private entityRef="hero">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-9.4" y="-152.8" z="0.5" h="1.57079632679"/>
</Position>
</TeleportAction>
</PrivateAction>
<PrivateAction>
<ControllerAction>
<AssignControllerAction>
<Controller name="HeroAgent">
<Properties>
<Property name="module" value="external_control"/>
</Properties>
</Controller>
</AssignControllerAction>
<OverrideControllerValueAction>
<Throttle value="0" active="false"/>
<Brake value="0" active="false"/>
<Clutch value="0" active="false"/>
<ParkingBrake value="0" active="false"/>
<SteeringWheel value="0" active="false"/>
<Gear number="0" active="false"/>
</OverrideControllerValueAction>
</ControllerAction>
</PrivateAction>
</Private>
<Private entityRef="adversary">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-9.4" y="-71.0" z="0.5" h="1.57079632679"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="standing">
<PrivateAction>
<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_15483">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-9.460216522216797" y="-150.65679931640625" z="0.0014286803780123591"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_w_transform_15484">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="84.93443298339844" y="-74.8351058959961" z="0.5"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_close_to_standing_15485">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-1.6580787897109985" y="30.102933883666992" z="0.0030694198794662952"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_close_to_hero_15486">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-7.1644697189331055" y="-155.9756317138672" 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 (-9.19, 57.95, 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_10460">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_w_transform_10461">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
</Entities>
<Storyboard>
<Init>
<Actions>
<GlobalAction>
<EnvironmentAction>
<Environment name="Environment1">
<TimeOfDay animation="false" dateTime="2019-06-25T12:00:00"/>
<Weather cloudState="free">
<Sun intensity="0.85" azimuth="0" elevation="1.31"/>
<Fog visualRange="100000.0"/>
<Precipitation precipitationType="dry" intensity="0.0"/>
</Weather>
<RoadCondition frictionScaleFactor="1.0"/>
</Environment>
</EnvironmentAction>
</GlobalAction>
<Private entityRef="hero">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-9.4" y="-152.8" z="0.5" h="1.57079632679"/>
</Position>
</TeleportAction>
</PrivateAction>
<PrivateAction>
<ControllerAction>
<AssignControllerAction>
<Controller name="HeroAgent">
<Properties>
<Property name="module" value="external_control"/>
</Properties>
</Controller>
</AssignControllerAction>
<OverrideControllerValueAction>
<Throttle value="0" active="false"/>
<Brake value="0" active="false"/>
<Clutch value="0" active="false"/>
<ParkingBrake value="0" active="false"/>
<SteeringWheel value="0" active="false"/>
<Gear number="0" active="false"/>
</OverrideControllerValueAction>
</ControllerAction>
</PrivateAction>
</Private>
<Private entityRef="adversary">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-9.4" y="-71.0" z="0.5" h="1.57079632679"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="standing">
<PrivateAction>
<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_10460">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-4.101698398590088" y="23.019458770751953" z="0.003071174491196871"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_w_transform_10461">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="36.787445068359375" y="-76.19527435302734" z="0.5"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
</Actions>
</Init>
<Story name="MyStory">
<Act name="Behavior">
<ManeuverGroup maximumExecutionCount="1" name="ManeuverSequence">
<Actors selectTriggeringEntities="false">
<EntityRef entityRef="adversary"/>
</Actors>
<Maneuver name="LaneChangeSimpleManeuver">
<Event name="AdversaryAccelerates" priority="overwrite">
<Action name="AdversaryAccelerates">
<PrivateAction>
<LongitudinalAction>
<SpeedAction>
<SpeedActionDynamics dynamicsShape="step" value="50" dynamicsDimension="distance"/>
<SpeedActionTarget>
<AbsoluteTargetSpeed value="5.0"/>
</SpeedActionTarget>
</SpeedAction>
</LongitudinalAction>
</PrivateAction>
</Action>
<StartTrigger>
<ConditionGroup>
<Condition name="StartCondition" delay="0" conditionEdge="rising">
<ByEntityCondition>
<TriggeringEntities triggeringEntitiesRule="any">
<EntityRef entityRef="hero"/>
</TriggeringEntities>
<EntityCondition>
<RelativeDistanceCondition entityRef="adversary" relativeDistanceType="cartesianDistance" value="40.0" freespace="false" rule="lessThan"/>
</EntityCondition>
</ByEntityCondition>
</Condition>
</ConditionGroup>
</StartTrigger>
</Event>
<Event name="AdversaryChangesLane" priority="overwrite">
<Action name="AdversaryChangesLane">
<PrivateAction>
<LateralAction>
<LaneChangeAction>
<LaneChangeActionDynamics dynamicsShape="linear" value="25" dynamicsDimension="distance"/>
<LaneChangeTarget>
<RelativeTargetLane entityRef="adversary" value="-1"/>
</LaneChangeTarget>
</LaneChangeAction>
</LateralAction>
</PrivateAction>
</Action>
<StartTrigger>
<ConditionGroup>
<Condition name="AfterAdversaryAccelerates" delay="0" conditionEdge="rising">
<ByValueCondition>
<StoryboardElementStateCondition storyboardElementType="action" storyboardElementRef="AdversaryAccelerates" state="completeState"/>
</ByValueCondition>
</Condition>
</ConditionGroup>
</StartTrigger>
</Event>
</Maneuver>
</ManeuverGroup>
<StartTrigger>
<ConditionGroup>
<Condition name="OverallStartCondition" delay="0" conditionEdge="rising">
<ByEntityCondition>
<TriggeringEntities triggeringEntitiesRule="any">
<EntityRef entityRef="hero"/>
</TriggeringEntities>
<EntityCondition>
<TraveledDistanceCondition value="1.0"/>
</EntityCondition>
</ByEntityCondition>
</Condition>
<Condition name="StartTime" delay="0" conditionEdge="rising">
<ByValueCondition>
<SimulationTimeCondition value="0" rule="equalTo"/>
</ByValueCondition>
</Condition>
</ConditionGroup>
</StartTrigger>
<StopTrigger>
<ConditionGroup>
<Condition name="EndCondition" delay="0" conditionEdge="rising">
<ByEntityCondition>
<TriggeringEntities triggeringEntitiesRule="any">
<EntityRef entityRef="hero"/>
</TriggeringEntities>
<EntityCondition>
<TraveledDistanceCondition value="200.0"/>
</EntityCondition>
</ByEntityCondition>
</Condition>
</ConditionGroup>
</StopTrigger>
</Act>
</Story>
<StopTrigger>
<ConditionGroup>
<Condition name="criteria_RunningStopTest" delay="0" conditionEdge="rising">
<ByValueCondition>
<ParameterCondition parameterRef="" value="" rule="lessThan"/>
</ByValueCondition>
</Condition>
<Condition name="criteria_RunningRedLightTest" delay="0" conditionEdge="rising">
<ByValueCondition>
<ParameterCondition parameterRef="" value="" rule="lessThan"/>
</ByValueCondition>
</Condition>
<Condition name="criteria_WrongLaneTest" delay="0" conditionEdge="rising">
<ByValueCondition>
<ParameterCondition parameterRef="" value="" rule="lessThan"/>
</ByValueCondition>
</Condition>
<Condition name="criteria_OnSidewalkTest" delay="0" conditionEdge="rising">
<ByValueCondition>
<ParameterCondition parameterRef="" value="" rule="lessThan"/>
</ByValueCondition>
</Condition>
<Condition name="criteria_KeepLaneTest" delay="0" conditionEdge="rising">
<ByValueCondition>
<ParameterCondition parameterRef="" value="" rule="lessThan"/>
</ByValueCondition>
</Condition>
<Condition name="criteria_CollisionTest" delay="0" conditionEdge="rising">
<ByValueCondition>
<ParameterCondition parameterRef="" value="" rule="lessThan"/>
</ByValueCondition>
</Condition>
<Condition name="criteria_DrivenDistanceTest" delay="0" conditionEdge="rising">
<ByValueCondition>
<ParameterCondition parameterRef="distance_success" value="100" rule="lessThan"/>
</ByValueCondition>
</Condition>
</ConditionGroup>
</StopTrigger>
</Storyboard>
</OpenSCENARIO>
``` | Here is the result:
```
<?xml version="1.0" ?>
<OpenSCENARIO>
<FileHeader revMajor="1" revMinor="0" date="2020-03-24T12:00:00" description="CARLA:LaneChangeSimple" author=""/>
<ParameterDeclarations/>
<CatalogLocations/>
<RoadNetwork>
<LogicFile filepath="Town04"/>
<SceneGraphFile filepath=""/>
</RoadNetwork>
<Entities>
<ScenarioObject name="hero">
<Vehicle name="vehicle.tesla.model3" vehicleCategory="car">
<ParameterDeclarations/>
<Performance maxSpeed="69.444" maxAcceleration="200" maxDeceleration="10.0"/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2.1" length="4.5" height="1.8"/>
</BoundingBox>
<Axles>
<FrontAxle maxSteering="0.5" wheelDiameter="0.6" trackWidth="1.8" positionX="3.1" positionZ="0.3"/>
<RearAxle maxSteering="0.0" wheelDiameter="0.6" trackWidth="1.8" positionX="0.0" positionZ="0.3"/>
</Axles>
<Properties>
<Property name="type" value="ego_vehicle"/>
</Properties>
</Vehicle>
</ScenarioObject>
<ScenarioObject name="adversary">
<Vehicle name="vehicle.lincoln.mkz_2017" vehicleCategory="car">
<ParameterDeclarations/>
<Performance maxSpeed="69.444" maxAcceleration="200" maxDeceleration="10.0"/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2.1" length="4.5" height="1.8"/>
</BoundingBox>
<Axles>
<FrontAxle maxSteering="0.5" wheelDiameter="0.6" trackWidth="1.8" positionX="3.1" positionZ="0.3"/>
<RearAxle maxSteering="0.0" wheelDiameter="0.6" trackWidth="1.8" positionX="0.0" positionZ="0.3"/>
</Axles>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Vehicle>
</ScenarioObject>
<ScenarioObject name="standing">
<Vehicle name="vehicle.volkswagen.t2" vehicleCategory="car">
<ParameterDeclarations/>
<Performance maxSpeed="69.444" maxAcceleration="200" maxDeceleration="10.0"/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2.1" length="4.5" height="1.8"/>
</BoundingBox>
<Axles>
<FrontAxle maxSteering="0.5" wheelDiameter="0.6" trackWidth="1.8" positionX="3.1" positionZ="0.3"/>
<RearAxle maxSteering="0.0" wheelDiameter="0.6" 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_10460">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_w_transform_10461">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_w_transform_10462">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
</Entities>
<Storyboard>
<Init>
<Actions>
<GlobalAction>
<EnvironmentAction>
<Environment name="Environment1">
<TimeOfDay animation="false" dateTime="2019-06-25T12:00:00"/>
<Weather cloudState="free">
<Sun intensity="0.85" azimuth="0" elevation="1.31"/>
<Fog visualRange="100000.0"/>
<Precipitation precipitationType="dry" intensity="0.0"/>
</Weather>
<RoadCondition frictionScaleFactor="1.0"/>
</Environment>
</EnvironmentAction>
</GlobalAction>
<Private entityRef="hero">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-9.4" y="-152.8" z="0.5" h="1.57079632679"/>
</Position>
</TeleportAction>
</PrivateAction>
<PrivateAction>
<ControllerAction>
<AssignControllerAction>
<Controller name="HeroAgent">
<Properties>
<Property name="module" value="external_control"/>
</Properties>
</Controller>
</AssignControllerAction>
<OverrideControllerValueAction>
<Throttle value="0" active="false"/>
<Brake value="0" active="false"/>
<Clutch value="0" active="false"/>
<ParkingBrake value="0" active="false"/>
<SteeringWheel value="0" active="false"/>
<Gear number="0" active="false"/>
</OverrideControllerValueAction>
</ControllerAction>
</PrivateAction>
</Private>
<Private entityRef="adversary">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-9.4" y="-71.0" z="0.5" h="1.57079632679"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="standing">
<PrivateAction>
<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_10460">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-4.101698398590088" y="23.019458770751953" z="0.003071174491196871"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_w_transform_10461">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="36.787445068359375" y="-76.19527435302734" z="0.5"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_w_transform_10462">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-9.191739082336426" y="57.9514045715332" z="0.5"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
</Actions>
</Init>
<Story name="MyStory">
<Act name="Behavior">
<ManeuverGroup maximumExecutionCount="1" name="ManeuverSequence">
<Actors selectTriggeringEntities="false">
<EntityRef entityRef="adversary"/>
</Actors>
<Maneuver name="LaneChangeSimpleManeuver">
<Event name="AdversaryAccelerates" priority="overwrite">
<Action name="AdversaryAccelerates">
<PrivateAction>
<LongitudinalAction>
<SpeedAction>
<SpeedActionDynamics dynamicsShape="step" value="50" dynamicsDimension="distance"/>
<SpeedActionTarget>
<AbsoluteTargetSpeed value="5.0"/>
</SpeedActionTarget>
</SpeedAction>
</LongitudinalAction>
</PrivateAction>
</Action>
<StartTrigger>
<ConditionGroup>
<Condition name="StartCondition" delay="0" conditionEdge="rising">
<ByEntityCondition>
<TriggeringEntities triggeringEntitiesRule="any">
<EntityRef entityRef="hero"/>
</TriggeringEntities>
<EntityCondition>
<RelativeDistanceCondition entityRef="adversary" relativeDistanceType="cartesianDistance" value="40.0" freespace="false" rule="lessThan"/>
</EntityCondition>
</ByEntityCondition>
</Condition>
</ConditionGroup>
</StartTrigger>
</Event>
<Event name="AdversaryChangesLane" priority="overwrite">
<Action name="AdversaryChangesLane">
<PrivateAction>
<LateralAction>
<LaneChangeAction>
<LaneChangeActionDynamics dynamicsShape="linear" value="25" dynamicsDimension="distance"/>
<LaneChangeTarget>
<RelativeTargetLane entityRef="adversary" value="-1"/>
</LaneChangeTarget>
</LaneChangeAction>
</LateralAction>
</PrivateAction>
</Action>
<StartTrigger>
<ConditionGroup>
<Condition name="AfterAdversaryAccelerates" delay="0" conditionEdge="rising">
<ByValueCondition>
<StoryboardElementStateCondition storyboardElementType="action" storyboardElementRef="AdversaryAccelerates" state="completeState"/>
</ByValueCondition>
</Condition>
</ConditionGroup>
</StartTrigger>
</Event>
</Maneuver>
</ManeuverGroup>
<StartTrigger>
<ConditionGroup>
<Condition name="OverallStartCondition" delay="0" conditionEdge="rising">
<ByEntityCondition>
<TriggeringEntities triggeringEntitiesRule="any">
<EntityRef entityRef="hero"/>
</TriggeringEntities>
<EntityCondition>
<TraveledDistanceCondition value="1.0"/>
</EntityCondition>
</ByEntityCondition>
</Condition>
<Condition name="StartTime" delay="0" conditionEdge="rising">
<ByValueCondition>
<SimulationTimeCondition value="0" rule="equalTo"/>
</ByValueCondition>
</Condition>
</ConditionGroup>
</StartTrigger>
<StopTrigger>
<ConditionGroup>
<Condition name="EndCondition" delay="0" conditionEdge="rising">
<ByEntityCondition>
<TriggeringEntities triggeringEntitiesRule="any">
<EntityRef entityRef="hero"/>
</TriggeringEntities>
<EntityCondition>
<TraveledDistanceCondition value="200.0"/>
</EntityCondition>
</ByEntityCondition>
</Condition>
</ConditionGroup>
</StopTrigger>
</Act>
</Story>
<StopTrigger>
<ConditionGroup>
<Condition name="criteria_RunningStopTest" delay="0" conditionEdge="rising">
<ByValueCondition>
<ParameterCondition parameterRef="" value="" rule="lessThan"/>
</ByValueCondition>
</Condition>
<Condition name="criteria_RunningRedLightTest" delay="0" conditionEdge="rising">
<ByValueCondition>
<ParameterCondition parameterRef="" value="" rule="lessThan"/>
</ByValueCondition>
</Condition>
<Condition name="criteria_WrongLaneTest" delay="0" conditionEdge="rising">
<ByValueCondition>
<ParameterCondition parameterRef="" value="" rule="lessThan"/>
</ByValueCondition>
</Condition>
<Condition name="criteria_OnSidewalkTest" delay="0" conditionEdge="rising">
<ByValueCondition>
<ParameterCondition parameterRef="" value="" rule="lessThan"/>
</ByValueCondition>
</Condition>
<Condition name="criteria_KeepLaneTest" delay="0" conditionEdge="rising">
<ByValueCondition>
<ParameterCondition parameterRef="" value="" rule="lessThan"/>
</ByValueCondition>
</Condition>
<Condition name="criteria_CollisionTest" delay="0" conditionEdge="rising">
<ByValueCondition>
<ParameterCondition parameterRef="" value="" rule="lessThan"/>
</ByValueCondition>
</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_6593">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_w_transform_6594">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_close_to_adversary_6595">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
</Entities>
<Storyboard>
<Init>
<Actions>
<GlobalAction>
<EnvironmentAction>
<Environment name="Environment1">
<TimeOfDay animation="false" dateTime="2019-06-25T12:00:00"/>
<Weather cloudState="free">
<Sun intensity="0.85" azimuth="0" elevation="1.31"/>
<Fog visualRange="100000.0"/>
<Precipitation precipitationType="dry" intensity="0.0"/>
</Weather>
<RoadCondition frictionScaleFactor="1.0"/>
</Environment>
</EnvironmentAction>
</GlobalAction>
<Private entityRef="hero">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-9.4" y="-152.8" z="0.5" h="1.57079632679"/>
</Position>
</TeleportAction>
</PrivateAction>
<PrivateAction>
<ControllerAction>
<AssignControllerAction>
<Controller name="HeroAgent">
<Properties>
<Property name="module" value="external_control"/>
</Properties>
</Controller>
</AssignControllerAction>
<OverrideControllerValueAction>
<Throttle value="0" active="false"/>
<Brake value="0" active="false"/>
<Clutch value="0" active="false"/>
<ParkingBrake value="0" active="false"/>
<SteeringWheel value="0" active="false"/>
<Gear number="0" active="false"/>
</OverrideControllerValueAction>
</ControllerAction>
</PrivateAction>
</Private>
<Private entityRef="adversary">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-9.4" y="-71.0" z="0.5" h="1.57079632679"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="standing">
<PrivateAction>
<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_6593">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-2.980332374572754" y="-75.48631286621094" z="0.03379157930612564"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_w_transform_6594">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="22.398542404174805" y="34.08199691772461" z="0.5"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_close_to_adversary_6595">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-7.195894241333008" y="-65.62289428710938" z="0.03380611166357994"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
</Actions>
</Init>
<Story name="MyStory">
<Act name="Behavior">
<ManeuverGroup maximumExecutionCount="1" name="ManeuverSequence">
<Actors selectTriggeringEntities="false">
<EntityRef entityRef="adversary"/>
</Actors>
<Maneuver name="LaneChangeSimpleManeuver">
<Event name="AdversaryAccelerates" priority="overwrite">
<Action name="AdversaryAccelerates">
<PrivateAction>
<LongitudinalAction>
<SpeedAction>
<SpeedActionDynamics dynamicsShape="step" value="50" dynamicsDimension="distance"/>
<SpeedActionTarget>
<AbsoluteTargetSpeed value="5.0"/>
</SpeedActionTarget>
</SpeedAction>
</LongitudinalAction>
</PrivateAction>
</Action>
<StartTrigger>
<ConditionGroup>
<Condition name="StartCondition" delay="0" conditionEdge="rising">
<ByEntityCondition>
<TriggeringEntities triggeringEntitiesRule="any">
<EntityRef entityRef="hero"/>
</TriggeringEntities>
<EntityCondition>
<RelativeDistanceCondition entityRef="adversary" relativeDistanceType="cartesianDistance" value="40.0" freespace="false" rule="lessThan"/>
</EntityCondition>
</ByEntityCondition>
</Condition>
</ConditionGroup>
</StartTrigger>
</Event>
<Event name="AdversaryChangesLane" priority="overwrite">
<Action name="AdversaryChangesLane">
<PrivateAction>
<LateralAction>
<LaneChangeAction>
<LaneChangeActionDynamics dynamicsShape="linear" value="25" dynamicsDimension="distance"/>
<LaneChangeTarget>
<RelativeTargetLane entityRef="adversary" value="-1"/>
</LaneChangeTarget>
</LaneChangeAction>
</LateralAction>
</PrivateAction>
</Action>
<StartTrigger>
<ConditionGroup>
<Condition name="AfterAdversaryAccelerates" delay="0" conditionEdge="rising">
<ByValueCondition>
<StoryboardElementStateCondition storyboardElementType="action" storyboardElementRef="AdversaryAccelerates" state="completeState"/>
</ByValueCondition>
</Condition>
</ConditionGroup>
</StartTrigger>
</Event>
</Maneuver>
</ManeuverGroup>
<StartTrigger>
<ConditionGroup>
<Condition name="OverallStartCondition" delay="0" conditionEdge="rising">
<ByEntityCondition>
<TriggeringEntities triggeringEntitiesRule="any">
<EntityRef entityRef="hero"/>
</TriggeringEntities>
<EntityCondition>
<TraveledDistanceCondition value="1.0"/>
</EntityCondition>
</ByEntityCondition>
</Condition>
<Condition name="StartTime" delay="0" conditionEdge="rising">
<ByValueCondition>
<SimulationTimeCondition value="0" rule="equalTo"/>
</ByValueCondition>
</Condition>
</ConditionGroup>
</StartTrigger>
<StopTrigger>
<ConditionGroup>
<Condition name="EndCondition" delay="0" conditionEdge="rising">
<ByEntityCondition>
<TriggeringEntities triggeringEntitiesRule="any">
<EntityRef entityRef="hero"/>
</TriggeringEntities>
<EntityCondition>
<TraveledDistanceCondition value="200.0"/>
</EntityCondition>
</ByEntityCondition>
</Condition>
</ConditionGroup>
</StopTrigger>
</Act>
</Story>
<StopTrigger>
<ConditionGroup>
<Condition name="criteria_RunningStopTest" delay="0" conditionEdge="rising">
<ByValueCondition>
<ParameterCondition parameterRef="" value="" rule="lessThan"/>
</ByValueCondition>
</Condition>
<Condition name="criteria_RunningRedLightTest" delay="0" conditionEdge="rising">
<ByValueCondition>
<ParameterCondition parameterRef="" value="" rule="lessThan"/>
</ByValueCondition>
</Condition>
<Condition name="criteria_WrongLaneTest" delay="0" conditionEdge="rising">
<ByValueCondition>
<ParameterCondition parameterRef="" value="" rule="lessThan"/>
</ByValueCondition>
</Condition>
<Condition name="criteria_OnSidewalkTest" delay="0" conditionEdge="rising">
<ByValueCondition>
<ParameterCondition parameterRef="" value="" rule="lessThan"/>
</ByValueCondition>
</Condition>
<Condition name="criteria_KeepLaneTest" delay="0" conditionEdge="rising">
<ByValueCondition>
<ParameterCondition parameterRef="" value="" rule="lessThan"/>
</ByValueCondition>
</Condition>
<Condition name="criteria_CollisionTest" delay="0" conditionEdge="rising">
<ByValueCondition>
<ParameterCondition parameterRef="" value="" rule="lessThan"/>
</ByValueCondition>
</Condition>
<Condition name="criteria_DrivenDistanceTest" delay="0" conditionEdge="rising">
<ByValueCondition>
<ParameterCondition parameterRef="distance_success" value="100" rule="lessThan"/>
</ByValueCondition>
</Condition>
</ConditionGroup>
</StopTrigger>
</Storyboard>
</OpenSCENARIO>
``` | Here is the result:
```
<?xml version="1.0" ?>
<OpenSCENARIO>
<FileHeader revMajor="1" revMinor="0" date="2020-03-24T12:00:00" description="CARLA:LaneChangeSimple" author=""/>
<ParameterDeclarations/>
<CatalogLocations/>
<RoadNetwork>
<LogicFile filepath="Town04"/>
<SceneGraphFile filepath=""/>
</RoadNetwork>
<Entities>
<ScenarioObject name="hero">
<Vehicle name="vehicle.tesla.model3" vehicleCategory="car">
<ParameterDeclarations/>
<Performance maxSpeed="69.444" maxAcceleration="200" maxDeceleration="10.0"/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2.1" length="4.5" height="1.8"/>
</BoundingBox>
<Axles>
<FrontAxle maxSteering="0.5" wheelDiameter="0.6" trackWidth="1.8" positionX="3.1" positionZ="0.3"/>
<RearAxle maxSteering="0.0" wheelDiameter="0.6" trackWidth="1.8" positionX="0.0" positionZ="0.3"/>
</Axles>
<Properties>
<Property name="type" value="ego_vehicle"/>
</Properties>
</Vehicle>
</ScenarioObject>
<ScenarioObject name="adversary">
<Vehicle name="vehicle.lincoln.mkz_2017" vehicleCategory="car">
<ParameterDeclarations/>
<Performance maxSpeed="69.444" maxAcceleration="200" maxDeceleration="10.0"/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2.1" length="4.5" height="1.8"/>
</BoundingBox>
<Axles>
<FrontAxle maxSteering="0.5" wheelDiameter="0.6" trackWidth="1.8" positionX="3.1" positionZ="0.3"/>
<RearAxle maxSteering="0.0" wheelDiameter="0.6" trackWidth="1.8" positionX="0.0" positionZ="0.3"/>
</Axles>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Vehicle>
</ScenarioObject>
<ScenarioObject name="standing">
<Vehicle name="vehicle.volkswagen.t2" vehicleCategory="car">
<ParameterDeclarations/>
<Performance maxSpeed="69.444" maxAcceleration="200" maxDeceleration="10.0"/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2.1" length="4.5" height="1.8"/>
</BoundingBox>
<Axles>
<FrontAxle maxSteering="0.5" wheelDiameter="0.6" trackWidth="1.8" positionX="3.1" positionZ="0.3"/>
<RearAxle maxSteering="0.0" wheelDiameter="0.6" 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_6593">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_w_transform_6594">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_close_to_adversary_6595">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_close_to_standing_6596">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
</Entities>
<Storyboard>
<Init>
<Actions>
<GlobalAction>
<EnvironmentAction>
<Environment name="Environment1">
<TimeOfDay animation="false" dateTime="2019-06-25T12:00:00"/>
<Weather cloudState="free">
<Sun intensity="0.85" azimuth="0" elevation="1.31"/>
<Fog visualRange="100000.0"/>
<Precipitation precipitationType="dry" intensity="0.0"/>
</Weather>
<RoadCondition frictionScaleFactor="1.0"/>
</Environment>
</EnvironmentAction>
</GlobalAction>
<Private entityRef="hero">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-9.4" y="-152.8" z="0.5" h="1.57079632679"/>
</Position>
</TeleportAction>
</PrivateAction>
<PrivateAction>
<ControllerAction>
<AssignControllerAction>
<Controller name="HeroAgent">
<Properties>
<Property name="module" value="external_control"/>
</Properties>
</Controller>
</AssignControllerAction>
<OverrideControllerValueAction>
<Throttle value="0" active="false"/>
<Brake value="0" active="false"/>
<Clutch value="0" active="false"/>
<ParkingBrake value="0" active="false"/>
<SteeringWheel value="0" active="false"/>
<Gear number="0" active="false"/>
</OverrideControllerValueAction>
</ControllerAction>
</PrivateAction>
</Private>
<Private entityRef="adversary">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-9.4" y="-71.0" z="0.5" h="1.57079632679"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="standing">
<PrivateAction>
<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_6593">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-2.980332374572754" y="-75.48631286621094" z="0.03379157930612564"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_w_transform_6594">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="22.398542404174805" y="34.08199691772461" z="0.5"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_close_to_adversary_6595">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-7.195894241333008" y="-65.62289428710938" z="0.03380611166357994"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_close_to_standing_6596">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-16.28177833557129" y="30.67591667175293" z="0.00303478236310184"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
</Actions>
</Init>
<Story name="MyStory">
<Act name="Behavior">
<ManeuverGroup maximumExecutionCount="1" name="ManeuverSequence">
<Actors selectTriggeringEntities="false">
<EntityRef entityRef="adversary"/>
</Actors>
<Maneuver name="LaneChangeSimpleManeuver">
<Event name="AdversaryAccelerates" priority="overwrite">
<Action name="AdversaryAccelerates">
<PrivateAction>
<LongitudinalAction>
<SpeedAction>
<SpeedActionDynamics dynamicsShape="step" value="50" dynamicsDimension="distance"/>
<SpeedActionTarget>
<AbsoluteTargetSpeed value="5.0"/>
</SpeedActionTarget>
</SpeedAction>
</LongitudinalAction>
</PrivateAction>
</Action>
<StartTrigger>
<ConditionGroup>
<Condition name="StartCondition" delay="0" conditionEdge="rising">
<ByEntityCondition>
<TriggeringEntities triggeringEntitiesRule="any">
<EntityRef entityRef="hero"/>
</TriggeringEntities>
<EntityCondition>
<RelativeDistanceCondition entityRef="adversary" relativeDistanceType="cartesianDistance" value="40.0" freespace="false" rule="lessThan"/>
</EntityCondition>
</ByEntityCondition>
</Condition>
</ConditionGroup>
</StartTrigger>
</Event>
<Event name="AdversaryChangesLane" priority="overwrite">
<Action name="AdversaryChangesLane">
<PrivateAction>
<LateralAction>
<LaneChangeAction>
<LaneChangeActionDynamics dynamicsShape="linear" value="25" dynamicsDimension="distance"/>
<LaneChangeTarget>
<RelativeTargetLane entityRef="adversary" value="-1"/>
</LaneChangeTarget>
</LaneChangeAction>
</LateralAction>
</PrivateAction>
</Action>
<StartTrigger>
<ConditionGroup>
<Condition name="AfterAdversaryAccelerates" delay="0" conditionEdge="rising">
<ByValueCondition>
<StoryboardElementStateCondition storyboardElementType="action" storyboardElementRef="AdversaryAccelerates" state="completeState"/>
</ByValueCondition>
</Condition>
</ConditionGroup>
</StartTrigger>
</Event>
</Maneuver>
</ManeuverGroup>
<StartTrigger>
<ConditionGroup>
<Condition name="OverallStartCondition" delay="0" conditionEdge="rising">
<ByEntityCondition>
<TriggeringEntities triggeringEntitiesRule="any">
<EntityRef entityRef="hero"/>
</TriggeringEntities>
<EntityCondition>
<TraveledDistanceCondition value="1.0"/>
</EntityCondition>
</ByEntityCondition>
</Condition>
<Condition name="StartTime" delay="0" conditionEdge="rising">
<ByValueCondition>
<SimulationTimeCondition value="0" rule="equalTo"/>
</ByValueCondition>
</Condition>
</ConditionGroup>
</StartTrigger>
<StopTrigger>
<ConditionGroup>
<Condition name="EndCondition" delay="0" conditionEdge="rising">
<ByEntityCondition>
<TriggeringEntities triggeringEntitiesRule="any">
<EntityRef entityRef="hero"/>
</TriggeringEntities>
<EntityCondition>
<TraveledDistanceCondition value="200.0"/>
</EntityCondition>
</ByEntityCondition>
</Condition>
</ConditionGroup>
</StopTrigger>
</Act>
</Story>
<StopTrigger>
<ConditionGroup>
<Condition name="criteria_RunningStopTest" delay="0" conditionEdge="rising">
<ByValueCondition>
<ParameterCondition parameterRef="" value="" rule="lessThan"/>
</ByValueCondition>
</Condition>
<Condition name="criteria_RunningRedLightTest" delay="0" conditionEdge="rising">
<ByValueCondition>
<ParameterCondition parameterRef="" value="" rule="lessThan"/>
</ByValueCondition>
</Condition>
<Condition name="criteria_WrongLaneTest" delay="0" conditionEdge="rising">
<ByValueCondition>
<ParameterCondition parameterRef="" value="" rule="lessThan"/>
</ByValueCondition>
</Condition>
<Condition name="criteria_OnSidewalkTest" delay="0" conditionEdge="rising">
<ByValueCondition>
<ParameterCondition parameterRef="" value="" rule="lessThan"/>
</ByValueCondition>
</Condition>
<Condition name="criteria_KeepLaneTest" delay="0" conditionEdge="rising">
<ByValueCondition>
<ParameterCondition parameterRef="" value="" rule="lessThan"/>
</ByValueCondition>
</Condition>
<Condition name="criteria_CollisionTest" delay="0" conditionEdge="rising">
<ByValueCondition>
<ParameterCondition parameterRef="" value="" rule="lessThan"/>
</ByValueCondition>
</Condition>
<Condition name="criteria_DrivenDistanceTest" delay="0" conditionEdge="rising">
<ByValueCondition>
<ParameterCondition parameterRef="distance_success" value="100" rule="lessThan"/>
</ByValueCondition>
</Condition>
</ConditionGroup>
</StopTrigger>
</Storyboard>
</OpenSCENARIO>
``` |
i would like you to add pedestrian close to adversary?
```
<?xml version="1.0" ?>
<OpenSCENARIO>
<FileHeader revMajor="1" revMinor="0" date="2020-03-24T12:00:00" description="CARLA:LaneChangeSimple" author=""/>
<ParameterDeclarations/>
<CatalogLocations/>
<RoadNetwork>
<LogicFile filepath="Town04"/>
<SceneGraphFile filepath=""/>
</RoadNetwork>
<Entities>
<ScenarioObject name="hero">
<Vehicle name="vehicle.tesla.model3" vehicleCategory="car">
<ParameterDeclarations/>
<Performance maxSpeed="69.444" maxAcceleration="200" maxDeceleration="10.0"/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2.1" length="4.5" height="1.8"/>
</BoundingBox>
<Axles>
<FrontAxle maxSteering="0.5" wheelDiameter="0.6" trackWidth="1.8" positionX="3.1" positionZ="0.3"/>
<RearAxle maxSteering="0.0" wheelDiameter="0.6" trackWidth="1.8" positionX="0.0" positionZ="0.3"/>
</Axles>
<Properties>
<Property name="type" value="ego_vehicle"/>
</Properties>
</Vehicle>
</ScenarioObject>
<ScenarioObject name="adversary">
<Vehicle name="vehicle.lincoln.mkz_2017" vehicleCategory="car">
<ParameterDeclarations/>
<Performance maxSpeed="69.444" maxAcceleration="200" maxDeceleration="10.0"/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2.1" length="4.5" height="1.8"/>
</BoundingBox>
<Axles>
<FrontAxle maxSteering="0.5" wheelDiameter="0.6" trackWidth="1.8" positionX="3.1" positionZ="0.3"/>
<RearAxle maxSteering="0.0" wheelDiameter="0.6" trackWidth="1.8" positionX="0.0" positionZ="0.3"/>
</Axles>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Vehicle>
</ScenarioObject>
<ScenarioObject name="standing">
<Vehicle name="vehicle.volkswagen.t2" vehicleCategory="car">
<ParameterDeclarations/>
<Performance maxSpeed="69.444" maxAcceleration="200" maxDeceleration="10.0"/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2.1" length="4.5" height="1.8"/>
</BoundingBox>
<Axles>
<FrontAxle maxSteering="0.5" wheelDiameter="0.6" trackWidth="1.8" positionX="3.1" positionZ="0.3"/>
<RearAxle maxSteering="0.0" wheelDiameter="0.6" trackWidth="1.8" positionX="0.0" positionZ="0.3"/>
</Axles>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Vehicle>
</ScenarioObject>
<ScenarioObject name="pedestrian_close_to_hero_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>
</Entities>
<Storyboard>
<Init>
<Actions>
<GlobalAction>
<EnvironmentAction>
<Environment name="Environment1">
<TimeOfDay animation="false" dateTime="2019-06-25T12:00:00"/>
<Weather cloudState="free">
<Sun intensity="0.85" azimuth="0" elevation="1.31"/>
<Fog visualRange="100000.0"/>
<Precipitation precipitationType="dry" intensity="0.0"/>
</Weather>
<RoadCondition frictionScaleFactor="1.0"/>
</Environment>
</EnvironmentAction>
</GlobalAction>
<Private entityRef="hero">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-9.4" y="-152.8" z="0.5" h="1.57079632679"/>
</Position>
</TeleportAction>
</PrivateAction>
<PrivateAction>
<ControllerAction>
<AssignControllerAction>
<Controller name="HeroAgent">
<Properties>
<Property name="module" value="external_control"/>
</Properties>
</Controller>
</AssignControllerAction>
<OverrideControllerValueAction>
<Throttle value="0" active="false"/>
<Brake value="0" active="false"/>
<Clutch value="0" active="false"/>
<ParkingBrake value="0" active="false"/>
<SteeringWheel value="0" active="false"/>
<Gear number="0" active="false"/>
</OverrideControllerValueAction>
</ControllerAction>
</PrivateAction>
</Private>
<Private entityRef="adversary">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-9.4" y="-71.0" z="0.5" h="1.57079632679"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="standing">
<PrivateAction>
<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>
</Actions>
</Init>
<Story name="MyStory">
<Act name="Behavior">
<ManeuverGroup maximumExecutionCount="1" name="ManeuverSequence">
<Actors selectTriggeringEntities="false">
<EntityRef entityRef="adversary"/>
</Actors>
<Maneuver name="LaneChangeSimpleManeuver">
<Event name="AdversaryAccelerates" priority="overwrite">
<Action name="AdversaryAccelerates">
<PrivateAction>
<LongitudinalAction>
<SpeedAction>
<SpeedActionDynamics dynamicsShape="step" value="50" dynamicsDimension="distance"/>
<SpeedActionTarget>
<AbsoluteTargetSpeed value="5.0"/>
</SpeedActionTarget>
</SpeedAction>
</LongitudinalAction>
</PrivateAction>
</Action>
<StartTrigger>
<ConditionGroup>
<Condition name="StartCondition" delay="0" conditionEdge="rising">
<ByEntityCondition>
<TriggeringEntities triggeringEntitiesRule="any">
<EntityRef entityRef="hero"/>
</TriggeringEntities>
<EntityCondition>
<RelativeDistanceCondition entityRef="adversary" relativeDistanceType="cartesianDistance" value="40.0" freespace="false" rule="lessThan"/>
</EntityCondition>
</ByEntityCondition>
</Condition>
</ConditionGroup>
</StartTrigger>
</Event>
<Event name="AdversaryChangesLane" priority="overwrite">
<Action name="AdversaryChangesLane">
<PrivateAction>
<LateralAction>
<LaneChangeAction>
<LaneChangeActionDynamics dynamicsShape="linear" value="25" dynamicsDimension="distance"/>
<LaneChangeTarget>
<RelativeTargetLane entityRef="adversary" value="-1"/>
</LaneChangeTarget>
</LaneChangeAction>
</LateralAction>
</PrivateAction>
</Action>
<StartTrigger>
<ConditionGroup>
<Condition name="AfterAdversaryAccelerates" delay="0" conditionEdge="rising">
<ByValueCondition>
<StoryboardElementStateCondition storyboardElementType="action" storyboardElementRef="AdversaryAccelerates" state="completeState"/>
</ByValueCondition>
</Condition>
</ConditionGroup>
</StartTrigger>
</Event>
</Maneuver>
</ManeuverGroup>
<StartTrigger>
<ConditionGroup>
<Condition name="OverallStartCondition" delay="0" conditionEdge="rising">
<ByEntityCondition>
<TriggeringEntities triggeringEntitiesRule="any">
<EntityRef entityRef="hero"/>
</TriggeringEntities>
<EntityCondition>
<TraveledDistanceCondition value="1.0"/>
</EntityCondition>
</ByEntityCondition>
</Condition>
<Condition name="StartTime" delay="0" conditionEdge="rising">
<ByValueCondition>
<SimulationTimeCondition value="0" rule="equalTo"/>
</ByValueCondition>
</Condition>
</ConditionGroup>
</StartTrigger>
<StopTrigger>
<ConditionGroup>
<Condition name="EndCondition" delay="0" conditionEdge="rising">
<ByEntityCondition>
<TriggeringEntities triggeringEntitiesRule="any">
<EntityRef entityRef="hero"/>
</TriggeringEntities>
<EntityCondition>
<TraveledDistanceCondition value="200.0"/>
</EntityCondition>
</ByEntityCondition>
</Condition>
</ConditionGroup>
</StopTrigger>
</Act>
</Story>
<StopTrigger>
<ConditionGroup>
<Condition name="criteria_RunningStopTest" delay="0" conditionEdge="rising">
<ByValueCondition>
<ParameterCondition parameterRef="" value="" rule="lessThan"/>
</ByValueCondition>
</Condition>
<Condition name="criteria_RunningRedLightTest" delay="0" conditionEdge="rising">
<ByValueCondition>
<ParameterCondition parameterRef="" value="" rule="lessThan"/>
</ByValueCondition>
</Condition>
<Condition name="criteria_WrongLaneTest" delay="0" conditionEdge="rising">
<ByValueCondition>
<ParameterCondition parameterRef="" value="" rule="lessThan"/>
</ByValueCondition>
</Condition>
<Condition name="criteria_OnSidewalkTest" delay="0" conditionEdge="rising">
<ByValueCondition>
<ParameterCondition parameterRef="" value="" rule="lessThan"/>
</ByValueCondition>
</Condition>
<Condition name="criteria_KeepLaneTest" delay="0" conditionEdge="rising">
<ByValueCondition>
<ParameterCondition parameterRef="" value="" rule="lessThan"/>
</ByValueCondition>
</Condition>
<Condition name="criteria_CollisionTest" delay="0" conditionEdge="rising">
<ByValueCondition>
<ParameterCondition parameterRef="" value="" rule="lessThan"/>
</ByValueCondition>
</Condition>
<Condition name="criteria_DrivenDistanceTest" delay="0" conditionEdge="rising">
<ByValueCondition>
<ParameterCondition parameterRef="distance_success" value="100" rule="lessThan"/>
</ByValueCondition>
</Condition>
</ConditionGroup>
</StopTrigger>
</Storyboard>
</OpenSCENARIO>
``` | Here is the result:
```
<?xml version="1.0" ?>
<OpenSCENARIO>
<FileHeader revMajor="1" revMinor="0" date="2020-03-24T12:00:00" description="CARLA:LaneChangeSimple" author=""/>
<ParameterDeclarations/>
<CatalogLocations/>
<RoadNetwork>
<LogicFile filepath="Town04"/>
<SceneGraphFile filepath=""/>
</RoadNetwork>
<Entities>
<ScenarioObject name="hero">
<Vehicle name="vehicle.tesla.model3" vehicleCategory="car">
<ParameterDeclarations/>
<Performance maxSpeed="69.444" maxAcceleration="200" maxDeceleration="10.0"/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2.1" length="4.5" height="1.8"/>
</BoundingBox>
<Axles>
<FrontAxle maxSteering="0.5" wheelDiameter="0.6" trackWidth="1.8" positionX="3.1" positionZ="0.3"/>
<RearAxle maxSteering="0.0" wheelDiameter="0.6" trackWidth="1.8" positionX="0.0" positionZ="0.3"/>
</Axles>
<Properties>
<Property name="type" value="ego_vehicle"/>
</Properties>
</Vehicle>
</ScenarioObject>
<ScenarioObject name="adversary">
<Vehicle name="vehicle.lincoln.mkz_2017" vehicleCategory="car">
<ParameterDeclarations/>
<Performance maxSpeed="69.444" maxAcceleration="200" maxDeceleration="10.0"/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2.1" length="4.5" height="1.8"/>
</BoundingBox>
<Axles>
<FrontAxle maxSteering="0.5" wheelDiameter="0.6" trackWidth="1.8" positionX="3.1" positionZ="0.3"/>
<RearAxle maxSteering="0.0" wheelDiameter="0.6" trackWidth="1.8" positionX="0.0" positionZ="0.3"/>
</Axles>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Vehicle>
</ScenarioObject>
<ScenarioObject name="standing">
<Vehicle name="vehicle.volkswagen.t2" vehicleCategory="car">
<ParameterDeclarations/>
<Performance maxSpeed="69.444" maxAcceleration="200" maxDeceleration="10.0"/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2.1" length="4.5" height="1.8"/>
</BoundingBox>
<Axles>
<FrontAxle maxSteering="0.5" wheelDiameter="0.6" trackWidth="1.8" positionX="3.1" positionZ="0.3"/>
<RearAxle maxSteering="0.0" wheelDiameter="0.6" 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>
</Entities>
<Storyboard>
<Init>
<Actions>
<GlobalAction>
<EnvironmentAction>
<Environment name="Environment1">
<TimeOfDay animation="false" dateTime="2019-06-25T12:00:00"/>
<Weather cloudState="free">
<Sun intensity="0.85" azimuth="0" elevation="1.31"/>
<Fog visualRange="100000.0"/>
<Precipitation precipitationType="dry" intensity="0.0"/>
</Weather>
<RoadCondition frictionScaleFactor="1.0"/>
</Environment>
</EnvironmentAction>
</GlobalAction>
<Private entityRef="hero">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-9.4" y="-152.8" z="0.5" h="1.57079632679"/>
</Position>
</TeleportAction>
</PrivateAction>
<PrivateAction>
<ControllerAction>
<AssignControllerAction>
<Controller name="HeroAgent">
<Properties>
<Property name="module" value="external_control"/>
</Properties>
</Controller>
</AssignControllerAction>
<OverrideControllerValueAction>
<Throttle value="0" active="false"/>
<Brake value="0" active="false"/>
<Clutch value="0" active="false"/>
<ParkingBrake value="0" active="false"/>
<SteeringWheel value="0" active="false"/>
<Gear number="0" active="false"/>
</OverrideControllerValueAction>
</ControllerAction>
</PrivateAction>
</Private>
<Private entityRef="adversary">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-9.4" y="-71.0" z="0.5" h="1.57079632679"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="standing">
<PrivateAction>
<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>
</Actions>
</Init>
<Story name="MyStory">
<Act name="Behavior">
<ManeuverGroup maximumExecutionCount="1" name="ManeuverSequence">
<Actors selectTriggeringEntities="false">
<EntityRef entityRef="adversary"/>
</Actors>
<Maneuver name="LaneChangeSimpleManeuver">
<Event name="AdversaryAccelerates" priority="overwrite">
<Action name="AdversaryAccelerates">
<PrivateAction>
<LongitudinalAction>
<SpeedAction>
<SpeedActionDynamics dynamicsShape="step" value="50" dynamicsDimension="distance"/>
<SpeedActionTarget>
<AbsoluteTargetSpeed value="5.0"/>
</SpeedActionTarget>
</SpeedAction>
</LongitudinalAction>
</PrivateAction>
</Action>
<StartTrigger>
<ConditionGroup>
<Condition name="StartCondition" delay="0" conditionEdge="rising">
<ByEntityCondition>
<TriggeringEntities triggeringEntitiesRule="any">
<EntityRef entityRef="hero"/>
</TriggeringEntities>
<EntityCondition>
<RelativeDistanceCondition entityRef="adversary" relativeDistanceType="cartesianDistance" value="40.0" freespace="false" rule="lessThan"/>
</EntityCondition>
</ByEntityCondition>
</Condition>
</ConditionGroup>
</StartTrigger>
</Event>
<Event name="AdversaryChangesLane" priority="overwrite">
<Action name="AdversaryChangesLane">
<PrivateAction>
<LateralAction>
<LaneChangeAction>
<LaneChangeActionDynamics dynamicsShape="linear" value="25" dynamicsDimension="distance"/>
<LaneChangeTarget>
<RelativeTargetLane entityRef="adversary" value="-1"/>
</LaneChangeTarget>
</LaneChangeAction>
</LateralAction>
</PrivateAction>
</Action>
<StartTrigger>
<ConditionGroup>
<Condition name="AfterAdversaryAccelerates" delay="0" conditionEdge="rising">
<ByValueCondition>
<StoryboardElementStateCondition storyboardElementType="action" storyboardElementRef="AdversaryAccelerates" state="completeState"/>
</ByValueCondition>
</Condition>
</ConditionGroup>
</StartTrigger>
</Event>
</Maneuver>
</ManeuverGroup>
<StartTrigger>
<ConditionGroup>
<Condition name="OverallStartCondition" delay="0" conditionEdge="rising">
<ByEntityCondition>
<TriggeringEntities triggeringEntitiesRule="any">
<EntityRef entityRef="hero"/>
</TriggeringEntities>
<EntityCondition>
<TraveledDistanceCondition value="1.0"/>
</EntityCondition>
</ByEntityCondition>
</Condition>
<Condition name="StartTime" delay="0" conditionEdge="rising">
<ByValueCondition>
<SimulationTimeCondition value="0" rule="equalTo"/>
</ByValueCondition>
</Condition>
</ConditionGroup>
</StartTrigger>
<StopTrigger>
<ConditionGroup>
<Condition name="EndCondition" delay="0" conditionEdge="rising">
<ByEntityCondition>
<TriggeringEntities triggeringEntitiesRule="any">
<EntityRef entityRef="hero"/>
</TriggeringEntities>
<EntityCondition>
<TraveledDistanceCondition value="200.0"/>
</EntityCondition>
</ByEntityCondition>
</Condition>
</ConditionGroup>
</StopTrigger>
</Act>
</Story>
<StopTrigger>
<ConditionGroup>
<Condition name="criteria_RunningStopTest" delay="0" conditionEdge="rising">
<ByValueCondition>
<ParameterCondition parameterRef="" value="" rule="lessThan"/>
</ByValueCondition>
</Condition>
<Condition name="criteria_RunningRedLightTest" delay="0" conditionEdge="rising">
<ByValueCondition>
<ParameterCondition parameterRef="" value="" rule="lessThan"/>
</ByValueCondition>
</Condition>
<Condition name="criteria_WrongLaneTest" delay="0" conditionEdge="rising">
<ByValueCondition>
<ParameterCondition parameterRef="" value="" rule="lessThan"/>
</ByValueCondition>
</Condition>
<Condition name="criteria_OnSidewalkTest" delay="0" conditionEdge="rising">
<ByValueCondition>
<ParameterCondition parameterRef="" value="" rule="lessThan"/>
</ByValueCondition>
</Condition>
<Condition name="criteria_KeepLaneTest" delay="0" conditionEdge="rising">
<ByValueCondition>
<ParameterCondition parameterRef="" value="" rule="lessThan"/>
</ByValueCondition>
</Condition>
<Condition name="criteria_CollisionTest" delay="0" conditionEdge="rising">
<ByValueCondition>
<ParameterCondition parameterRef="" value="" rule="lessThan"/>
</ByValueCondition>
</Condition>
<Condition name="criteria_DrivenDistanceTest" delay="0" conditionEdge="rising">
<ByValueCondition>
<ParameterCondition parameterRef="distance_success" value="100" rule="lessThan"/>
</ByValueCondition>
</Condition>
</ConditionGroup>
</StopTrigger>
</Storyboard>
</OpenSCENARIO>
``` |
please add pedestrian close to adversary?
```
<?xml version="1.0" ?>
<OpenSCENARIO>
<FileHeader revMajor="1" revMinor="0" date="2020-03-24T12:00:00" description="CARLA:LaneChangeSimple" author=""/>
<ParameterDeclarations/>
<CatalogLocations/>
<RoadNetwork>
<LogicFile filepath="Town04"/>
<SceneGraphFile filepath=""/>
</RoadNetwork>
<Entities>
<ScenarioObject name="hero">
<Vehicle name="vehicle.tesla.model3" vehicleCategory="car">
<ParameterDeclarations/>
<Performance maxSpeed="69.444" maxAcceleration="200" maxDeceleration="10.0"/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2.1" length="4.5" height="1.8"/>
</BoundingBox>
<Axles>
<FrontAxle maxSteering="0.5" wheelDiameter="0.6" trackWidth="1.8" positionX="3.1" positionZ="0.3"/>
<RearAxle maxSteering="0.0" wheelDiameter="0.6" trackWidth="1.8" positionX="0.0" positionZ="0.3"/>
</Axles>
<Properties>
<Property name="type" value="ego_vehicle"/>
</Properties>
</Vehicle>
</ScenarioObject>
<ScenarioObject name="adversary">
<Vehicle name="vehicle.lincoln.mkz_2017" vehicleCategory="car">
<ParameterDeclarations/>
<Performance maxSpeed="69.444" maxAcceleration="200" maxDeceleration="10.0"/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2.1" length="4.5" height="1.8"/>
</BoundingBox>
<Axles>
<FrontAxle maxSteering="0.5" wheelDiameter="0.6" trackWidth="1.8" positionX="3.1" positionZ="0.3"/>
<RearAxle maxSteering="0.0" wheelDiameter="0.6" trackWidth="1.8" positionX="0.0" positionZ="0.3"/>
</Axles>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Vehicle>
</ScenarioObject>
<ScenarioObject name="standing">
<Vehicle name="vehicle.volkswagen.t2" vehicleCategory="car">
<ParameterDeclarations/>
<Performance maxSpeed="69.444" maxAcceleration="200" maxDeceleration="10.0"/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2.1" length="4.5" height="1.8"/>
</BoundingBox>
<Axles>
<FrontAxle maxSteering="0.5" wheelDiameter="0.6" trackWidth="1.8" positionX="3.1" positionZ="0.3"/>
<RearAxle maxSteering="0.0" wheelDiameter="0.6" trackWidth="1.8" positionX="0.0" positionZ="0.3"/>
</Axles>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Vehicle>
</ScenarioObject>
<ScenarioObject name="pedestrian_close_to_hero_24606">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_w_transform_24607">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
</Entities>
<Storyboard>
<Init>
<Actions>
<GlobalAction>
<EnvironmentAction>
<Environment name="Environment1">
<TimeOfDay animation="false" dateTime="2019-06-25T12:00:00"/>
<Weather cloudState="free">
<Sun intensity="0.85" azimuth="0" elevation="1.31"/>
<Fog visualRange="100000.0"/>
<Precipitation precipitationType="dry" intensity="0.0"/>
</Weather>
<RoadCondition frictionScaleFactor="1.0"/>
</Environment>
</EnvironmentAction>
</GlobalAction>
<Private entityRef="hero">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-9.4" y="-152.8" z="0.5" h="1.57079632679"/>
</Position>
</TeleportAction>
</PrivateAction>
<PrivateAction>
<ControllerAction>
<AssignControllerAction>
<Controller name="HeroAgent">
<Properties>
<Property name="module" value="external_control"/>
</Properties>
</Controller>
</AssignControllerAction>
<OverrideControllerValueAction>
<Throttle value="0" active="false"/>
<Brake value="0" active="false"/>
<Clutch value="0" active="false"/>
<ParkingBrake value="0" active="false"/>
<SteeringWheel value="0" active="false"/>
<Gear number="0" active="false"/>
</OverrideControllerValueAction>
</ControllerAction>
</PrivateAction>
</Private>
<Private entityRef="adversary">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-9.4" y="-71.0" z="0.5" h="1.57079632679"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="standing">
<PrivateAction>
<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_24606">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-10.409679412841797" y="-148.40904235839844" z="0.0014286803780123591"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_w_transform_24607">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="8.53959846496582" y="4.655837059020996" z="0.5"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
</Actions>
</Init>
<Story name="MyStory">
<Act name="Behavior">
<ManeuverGroup maximumExecutionCount="1" name="ManeuverSequence">
<Actors selectTriggeringEntities="false">
<EntityRef entityRef="adversary"/>
</Actors>
<Maneuver name="LaneChangeSimpleManeuver">
<Event name="AdversaryAccelerates" priority="overwrite">
<Action name="AdversaryAccelerates">
<PrivateAction>
<LongitudinalAction>
<SpeedAction>
<SpeedActionDynamics dynamicsShape="step" value="50" dynamicsDimension="distance"/>
<SpeedActionTarget>
<AbsoluteTargetSpeed value="5.0"/>
</SpeedActionTarget>
</SpeedAction>
</LongitudinalAction>
</PrivateAction>
</Action>
<StartTrigger>
<ConditionGroup>
<Condition name="StartCondition" delay="0" conditionEdge="rising">
<ByEntityCondition>
<TriggeringEntities triggeringEntitiesRule="any">
<EntityRef entityRef="hero"/>
</TriggeringEntities>
<EntityCondition>
<RelativeDistanceCondition entityRef="adversary" relativeDistanceType="cartesianDistance" value="40.0" freespace="false" rule="lessThan"/>
</EntityCondition>
</ByEntityCondition>
</Condition>
</ConditionGroup>
</StartTrigger>
</Event>
<Event name="AdversaryChangesLane" priority="overwrite">
<Action name="AdversaryChangesLane">
<PrivateAction>
<LateralAction>
<LaneChangeAction>
<LaneChangeActionDynamics dynamicsShape="linear" value="25" dynamicsDimension="distance"/>
<LaneChangeTarget>
<RelativeTargetLane entityRef="adversary" value="-1"/>
</LaneChangeTarget>
</LaneChangeAction>
</LateralAction>
</PrivateAction>
</Action>
<StartTrigger>
<ConditionGroup>
<Condition name="AfterAdversaryAccelerates" delay="0" conditionEdge="rising">
<ByValueCondition>
<StoryboardElementStateCondition storyboardElementType="action" storyboardElementRef="AdversaryAccelerates" state="completeState"/>
</ByValueCondition>
</Condition>
</ConditionGroup>
</StartTrigger>
</Event>
</Maneuver>
</ManeuverGroup>
<StartTrigger>
<ConditionGroup>
<Condition name="OverallStartCondition" delay="0" conditionEdge="rising">
<ByEntityCondition>
<TriggeringEntities triggeringEntitiesRule="any">
<EntityRef entityRef="hero"/>
</TriggeringEntities>
<EntityCondition>
<TraveledDistanceCondition value="1.0"/>
</EntityCondition>
</ByEntityCondition>
</Condition>
<Condition name="StartTime" delay="0" conditionEdge="rising">
<ByValueCondition>
<SimulationTimeCondition value="0" rule="equalTo"/>
</ByValueCondition>
</Condition>
</ConditionGroup>
</StartTrigger>
<StopTrigger>
<ConditionGroup>
<Condition name="EndCondition" delay="0" conditionEdge="rising">
<ByEntityCondition>
<TriggeringEntities triggeringEntitiesRule="any">
<EntityRef entityRef="hero"/>
</TriggeringEntities>
<EntityCondition>
<TraveledDistanceCondition value="200.0"/>
</EntityCondition>
</ByEntityCondition>
</Condition>
</ConditionGroup>
</StopTrigger>
</Act>
</Story>
<StopTrigger>
<ConditionGroup>
<Condition name="criteria_RunningStopTest" delay="0" conditionEdge="rising">
<ByValueCondition>
<ParameterCondition parameterRef="" value="" rule="lessThan"/>
</ByValueCondition>
</Condition>
<Condition name="criteria_RunningRedLightTest" delay="0" conditionEdge="rising">
<ByValueCondition>
<ParameterCondition parameterRef="" value="" rule="lessThan"/>
</ByValueCondition>
</Condition>
<Condition name="criteria_WrongLaneTest" delay="0" conditionEdge="rising">
<ByValueCondition>
<ParameterCondition parameterRef="" value="" rule="lessThan"/>
</ByValueCondition>
</Condition>
<Condition name="criteria_OnSidewalkTest" delay="0" conditionEdge="rising">
<ByValueCondition>
<ParameterCondition parameterRef="" value="" rule="lessThan"/>
</ByValueCondition>
</Condition>
<Condition name="criteria_KeepLaneTest" delay="0" conditionEdge="rising">
<ByValueCondition>
<ParameterCondition parameterRef="" value="" rule="lessThan"/>
</ByValueCondition>
</Condition>
<Condition name="criteria_CollisionTest" delay="0" conditionEdge="rising">
<ByValueCondition>
<ParameterCondition parameterRef="" value="" rule="lessThan"/>
</ByValueCondition>
</Condition>
<Condition name="criteria_DrivenDistanceTest" delay="0" conditionEdge="rising">
<ByValueCondition>
<ParameterCondition parameterRef="distance_success" value="100" rule="lessThan"/>
</ByValueCondition>
</Condition>
</ConditionGroup>
</StopTrigger>
</Storyboard>
</OpenSCENARIO>
``` | Here is the result:
```
<?xml version="1.0" ?>
<OpenSCENARIO>
<FileHeader revMajor="1" revMinor="0" date="2020-03-24T12:00:00" description="CARLA:LaneChangeSimple" author=""/>
<ParameterDeclarations/>
<CatalogLocations/>
<RoadNetwork>
<LogicFile filepath="Town04"/>
<SceneGraphFile filepath=""/>
</RoadNetwork>
<Entities>
<ScenarioObject name="hero">
<Vehicle name="vehicle.tesla.model3" vehicleCategory="car">
<ParameterDeclarations/>
<Performance maxSpeed="69.444" maxAcceleration="200" maxDeceleration="10.0"/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2.1" length="4.5" height="1.8"/>
</BoundingBox>
<Axles>
<FrontAxle maxSteering="0.5" wheelDiameter="0.6" trackWidth="1.8" positionX="3.1" positionZ="0.3"/>
<RearAxle maxSteering="0.0" wheelDiameter="0.6" trackWidth="1.8" positionX="0.0" positionZ="0.3"/>
</Axles>
<Properties>
<Property name="type" value="ego_vehicle"/>
</Properties>
</Vehicle>
</ScenarioObject>
<ScenarioObject name="adversary">
<Vehicle name="vehicle.lincoln.mkz_2017" vehicleCategory="car">
<ParameterDeclarations/>
<Performance maxSpeed="69.444" maxAcceleration="200" maxDeceleration="10.0"/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2.1" length="4.5" height="1.8"/>
</BoundingBox>
<Axles>
<FrontAxle maxSteering="0.5" wheelDiameter="0.6" trackWidth="1.8" positionX="3.1" positionZ="0.3"/>
<RearAxle maxSteering="0.0" wheelDiameter="0.6" trackWidth="1.8" positionX="0.0" positionZ="0.3"/>
</Axles>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Vehicle>
</ScenarioObject>
<ScenarioObject name="standing">
<Vehicle name="vehicle.volkswagen.t2" vehicleCategory="car">
<ParameterDeclarations/>
<Performance maxSpeed="69.444" maxAcceleration="200" maxDeceleration="10.0"/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2.1" length="4.5" height="1.8"/>
</BoundingBox>
<Axles>
<FrontAxle maxSteering="0.5" wheelDiameter="0.6" trackWidth="1.8" positionX="3.1" positionZ="0.3"/>
<RearAxle maxSteering="0.0" wheelDiameter="0.6" 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_24606">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_w_transform_24607">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_close_to_adversary_24608">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
</Entities>
<Storyboard>
<Init>
<Actions>
<GlobalAction>
<EnvironmentAction>
<Environment name="Environment1">
<TimeOfDay animation="false" dateTime="2019-06-25T12:00:00"/>
<Weather cloudState="free">
<Sun intensity="0.85" azimuth="0" elevation="1.31"/>
<Fog visualRange="100000.0"/>
<Precipitation precipitationType="dry" intensity="0.0"/>
</Weather>
<RoadCondition frictionScaleFactor="1.0"/>
</Environment>
</EnvironmentAction>
</GlobalAction>
<Private entityRef="hero">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-9.4" y="-152.8" z="0.5" h="1.57079632679"/>
</Position>
</TeleportAction>
</PrivateAction>
<PrivateAction>
<ControllerAction>
<AssignControllerAction>
<Controller name="HeroAgent">
<Properties>
<Property name="module" value="external_control"/>
</Properties>
</Controller>
</AssignControllerAction>
<OverrideControllerValueAction>
<Throttle value="0" active="false"/>
<Brake value="0" active="false"/>
<Clutch value="0" active="false"/>
<ParkingBrake value="0" active="false"/>
<SteeringWheel value="0" active="false"/>
<Gear number="0" active="false"/>
</OverrideControllerValueAction>
</ControllerAction>
</PrivateAction>
</Private>
<Private entityRef="adversary">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-9.4" y="-71.0" z="0.5" h="1.57079632679"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="standing">
<PrivateAction>
<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_24606">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-10.409679412841797" y="-148.40904235839844" z="0.0014286803780123591"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_w_transform_24607">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="8.53959846496582" y="4.655837059020996" z="0.5"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_close_to_adversary_24608">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-3.393317937850952" y="-64.0870361328125" z="0.03383609652519226"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
</Actions>
</Init>
<Story name="MyStory">
<Act name="Behavior">
<ManeuverGroup maximumExecutionCount="1" name="ManeuverSequence">
<Actors selectTriggeringEntities="false">
<EntityRef entityRef="adversary"/>
</Actors>
<Maneuver name="LaneChangeSimpleManeuver">
<Event name="AdversaryAccelerates" priority="overwrite">
<Action name="AdversaryAccelerates">
<PrivateAction>
<LongitudinalAction>
<SpeedAction>
<SpeedActionDynamics dynamicsShape="step" value="50" dynamicsDimension="distance"/>
<SpeedActionTarget>
<AbsoluteTargetSpeed value="5.0"/>
</SpeedActionTarget>
</SpeedAction>
</LongitudinalAction>
</PrivateAction>
</Action>
<StartTrigger>
<ConditionGroup>
<Condition name="StartCondition" delay="0" conditionEdge="rising">
<ByEntityCondition>
<TriggeringEntities triggeringEntitiesRule="any">
<EntityRef entityRef="hero"/>
</TriggeringEntities>
<EntityCondition>
<RelativeDistanceCondition entityRef="adversary" relativeDistanceType="cartesianDistance" value="40.0" freespace="false" rule="lessThan"/>
</EntityCondition>
</ByEntityCondition>
</Condition>
</ConditionGroup>
</StartTrigger>
</Event>
<Event name="AdversaryChangesLane" priority="overwrite">
<Action name="AdversaryChangesLane">
<PrivateAction>
<LateralAction>
<LaneChangeAction>
<LaneChangeActionDynamics dynamicsShape="linear" value="25" dynamicsDimension="distance"/>
<LaneChangeTarget>
<RelativeTargetLane entityRef="adversary" value="-1"/>
</LaneChangeTarget>
</LaneChangeAction>
</LateralAction>
</PrivateAction>
</Action>
<StartTrigger>
<ConditionGroup>
<Condition name="AfterAdversaryAccelerates" delay="0" conditionEdge="rising">
<ByValueCondition>
<StoryboardElementStateCondition storyboardElementType="action" storyboardElementRef="AdversaryAccelerates" state="completeState"/>
</ByValueCondition>
</Condition>
</ConditionGroup>
</StartTrigger>
</Event>
</Maneuver>
</ManeuverGroup>
<StartTrigger>
<ConditionGroup>
<Condition name="OverallStartCondition" delay="0" conditionEdge="rising">
<ByEntityCondition>
<TriggeringEntities triggeringEntitiesRule="any">
<EntityRef entityRef="hero"/>
</TriggeringEntities>
<EntityCondition>
<TraveledDistanceCondition value="1.0"/>
</EntityCondition>
</ByEntityCondition>
</Condition>
<Condition name="StartTime" delay="0" conditionEdge="rising">
<ByValueCondition>
<SimulationTimeCondition value="0" rule="equalTo"/>
</ByValueCondition>
</Condition>
</ConditionGroup>
</StartTrigger>
<StopTrigger>
<ConditionGroup>
<Condition name="EndCondition" delay="0" conditionEdge="rising">
<ByEntityCondition>
<TriggeringEntities triggeringEntitiesRule="any">
<EntityRef entityRef="hero"/>
</TriggeringEntities>
<EntityCondition>
<TraveledDistanceCondition value="200.0"/>
</EntityCondition>
</ByEntityCondition>
</Condition>
</ConditionGroup>
</StopTrigger>
</Act>
</Story>
<StopTrigger>
<ConditionGroup>
<Condition name="criteria_RunningStopTest" delay="0" conditionEdge="rising">
<ByValueCondition>
<ParameterCondition parameterRef="" value="" rule="lessThan"/>
</ByValueCondition>
</Condition>
<Condition name="criteria_RunningRedLightTest" delay="0" conditionEdge="rising">
<ByValueCondition>
<ParameterCondition parameterRef="" value="" rule="lessThan"/>
</ByValueCondition>
</Condition>
<Condition name="criteria_WrongLaneTest" delay="0" conditionEdge="rising">
<ByValueCondition>
<ParameterCondition parameterRef="" value="" rule="lessThan"/>
</ByValueCondition>
</Condition>
<Condition name="criteria_OnSidewalkTest" delay="0" conditionEdge="rising">
<ByValueCondition>
<ParameterCondition parameterRef="" value="" rule="lessThan"/>
</ByValueCondition>
</Condition>
<Condition name="criteria_KeepLaneTest" delay="0" conditionEdge="rising">
<ByValueCondition>
<ParameterCondition parameterRef="" value="" rule="lessThan"/>
</ByValueCondition>
</Condition>
<Condition name="criteria_CollisionTest" delay="0" conditionEdge="rising">
<ByValueCondition>
<ParameterCondition parameterRef="" value="" rule="lessThan"/>
</ByValueCondition>
</Condition>
<Condition name="criteria_DrivenDistanceTest" delay="0" conditionEdge="rising">
<ByValueCondition>
<ParameterCondition parameterRef="distance_success" value="100" rule="lessThan"/>
</ByValueCondition>
</Condition>
</ConditionGroup>
</StopTrigger>
</Storyboard>
</OpenSCENARIO>
``` |
i would like you to display add pedestrian close to standing?
```
<?xml version="1.0" ?>
<OpenSCENARIO>
<FileHeader revMajor="1" revMinor="0" date="2020-03-24T12:00:00" description="CARLA:LaneChangeSimple" author=""/>
<ParameterDeclarations/>
<CatalogLocations/>
<RoadNetwork>
<LogicFile filepath="Town04"/>
<SceneGraphFile filepath=""/>
</RoadNetwork>
<Entities>
<ScenarioObject name="hero">
<Vehicle name="vehicle.tesla.model3" vehicleCategory="car">
<ParameterDeclarations/>
<Performance maxSpeed="69.444" maxAcceleration="200" maxDeceleration="10.0"/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2.1" length="4.5" height="1.8"/>
</BoundingBox>
<Axles>
<FrontAxle maxSteering="0.5" wheelDiameter="0.6" trackWidth="1.8" positionX="3.1" positionZ="0.3"/>
<RearAxle maxSteering="0.0" wheelDiameter="0.6" trackWidth="1.8" positionX="0.0" positionZ="0.3"/>
</Axles>
<Properties>
<Property name="type" value="ego_vehicle"/>
</Properties>
</Vehicle>
</ScenarioObject>
<ScenarioObject name="adversary">
<Vehicle name="vehicle.lincoln.mkz_2017" vehicleCategory="car">
<ParameterDeclarations/>
<Performance maxSpeed="69.444" maxAcceleration="200" maxDeceleration="10.0"/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2.1" length="4.5" height="1.8"/>
</BoundingBox>
<Axles>
<FrontAxle maxSteering="0.5" wheelDiameter="0.6" trackWidth="1.8" positionX="3.1" positionZ="0.3"/>
<RearAxle maxSteering="0.0" wheelDiameter="0.6" trackWidth="1.8" positionX="0.0" positionZ="0.3"/>
</Axles>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Vehicle>
</ScenarioObject>
<ScenarioObject name="standing">
<Vehicle name="vehicle.volkswagen.t2" vehicleCategory="car">
<ParameterDeclarations/>
<Performance maxSpeed="69.444" maxAcceleration="200" maxDeceleration="10.0"/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2.1" length="4.5" height="1.8"/>
</BoundingBox>
<Axles>
<FrontAxle maxSteering="0.5" wheelDiameter="0.6" trackWidth="1.8" positionX="3.1" positionZ="0.3"/>
<RearAxle maxSteering="0.0" wheelDiameter="0.6" trackWidth="1.8" positionX="0.0" positionZ="0.3"/>
</Axles>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Vehicle>
</ScenarioObject>
</Entities>
<Storyboard>
<Init>
<Actions>
<GlobalAction>
<EnvironmentAction>
<Environment name="Environment1">
<TimeOfDay animation="false" dateTime="2019-06-25T12:00:00"/>
<Weather cloudState="free">
<Sun intensity="0.85" azimuth="0" elevation="1.31"/>
<Fog visualRange="100000.0"/>
<Precipitation precipitationType="dry" intensity="0.0"/>
</Weather>
<RoadCondition frictionScaleFactor="1.0"/>
</Environment>
</EnvironmentAction>
</GlobalAction>
<Private entityRef="hero">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-9.4" y="-152.8" z="0.5" h="1.57079632679"/>
</Position>
</TeleportAction>
</PrivateAction>
<PrivateAction>
<ControllerAction>
<AssignControllerAction>
<Controller name="HeroAgent">
<Properties>
<Property name="module" value="external_control"/>
</Properties>
</Controller>
</AssignControllerAction>
<OverrideControllerValueAction>
<Throttle value="0" active="false"/>
<Brake value="0" active="false"/>
<Clutch value="0" active="false"/>
<ParkingBrake value="0" active="false"/>
<SteeringWheel value="0" active="false"/>
<Gear number="0" active="false"/>
</OverrideControllerValueAction>
</ControllerAction>
</PrivateAction>
</Private>
<Private entityRef="adversary">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-9.4" y="-71.0" z="0.5" h="1.57079632679"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="standing">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-8.2" y="29.2" z="0.5" h="1.57079632679"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
</Actions>
</Init>
<Story name="MyStory">
<Act name="Behavior">
<ManeuverGroup maximumExecutionCount="1" name="ManeuverSequence">
<Actors selectTriggeringEntities="false">
<EntityRef entityRef="adversary"/>
</Actors>
<Maneuver name="LaneChangeSimpleManeuver">
<Event name="AdversaryAccelerates" priority="overwrite">
<Action name="AdversaryAccelerates">
<PrivateAction>
<LongitudinalAction>
<SpeedAction>
<SpeedActionDynamics dynamicsShape="step" value="50" dynamicsDimension="distance"/>
<SpeedActionTarget>
<AbsoluteTargetSpeed value="5.0"/>
</SpeedActionTarget>
</SpeedAction>
</LongitudinalAction>
</PrivateAction>
</Action>
<StartTrigger>
<ConditionGroup>
<Condition name="StartCondition" delay="0" conditionEdge="rising">
<ByEntityCondition>
<TriggeringEntities triggeringEntitiesRule="any">
<EntityRef entityRef="hero"/>
</TriggeringEntities>
<EntityCondition>
<RelativeDistanceCondition entityRef="adversary" relativeDistanceType="cartesianDistance" value="40.0" freespace="false" rule="lessThan"/>
</EntityCondition>
</ByEntityCondition>
</Condition>
</ConditionGroup>
</StartTrigger>
</Event>
<Event name="AdversaryChangesLane" priority="overwrite">
<Action name="AdversaryChangesLane">
<PrivateAction>
<LateralAction>
<LaneChangeAction>
<LaneChangeActionDynamics dynamicsShape="linear" value="25" dynamicsDimension="distance"/>
<LaneChangeTarget>
<RelativeTargetLane entityRef="adversary" value="-1"/>
</LaneChangeTarget>
</LaneChangeAction>
</LateralAction>
</PrivateAction>
</Action>
<StartTrigger>
<ConditionGroup>
<Condition name="AfterAdversaryAccelerates" delay="0" conditionEdge="rising">
<ByValueCondition>
<StoryboardElementStateCondition storyboardElementType="action" storyboardElementRef="AdversaryAccelerates" state="completeState"/>
</ByValueCondition>
</Condition>
</ConditionGroup>
</StartTrigger>
</Event>
</Maneuver>
</ManeuverGroup>
<StartTrigger>
<ConditionGroup>
<Condition name="OverallStartCondition" delay="0" conditionEdge="rising">
<ByEntityCondition>
<TriggeringEntities triggeringEntitiesRule="any">
<EntityRef entityRef="hero"/>
</TriggeringEntities>
<EntityCondition>
<TraveledDistanceCondition value="1.0"/>
</EntityCondition>
</ByEntityCondition>
</Condition>
<Condition name="StartTime" delay="0" conditionEdge="rising">
<ByValueCondition>
<SimulationTimeCondition value="0" rule="equalTo"/>
</ByValueCondition>
</Condition>
</ConditionGroup>
</StartTrigger>
<StopTrigger>
<ConditionGroup>
<Condition name="EndCondition" delay="0" conditionEdge="rising">
<ByEntityCondition>
<TriggeringEntities triggeringEntitiesRule="any">
<EntityRef entityRef="hero"/>
</TriggeringEntities>
<EntityCondition>
<TraveledDistanceCondition value="200.0"/>
</EntityCondition>
</ByEntityCondition>
</Condition>
</ConditionGroup>
</StopTrigger>
</Act>
</Story>
<StopTrigger>
<ConditionGroup>
<Condition name="criteria_RunningStopTest" delay="0" conditionEdge="rising">
<ByValueCondition>
<ParameterCondition parameterRef="" value="" rule="lessThan"/>
</ByValueCondition>
</Condition>
<Condition name="criteria_RunningRedLightTest" delay="0" conditionEdge="rising">
<ByValueCondition>
<ParameterCondition parameterRef="" value="" rule="lessThan"/>
</ByValueCondition>
</Condition>
<Condition name="criteria_WrongLaneTest" delay="0" conditionEdge="rising">
<ByValueCondition>
<ParameterCondition parameterRef="" value="" rule="lessThan"/>
</ByValueCondition>
</Condition>
<Condition name="criteria_OnSidewalkTest" delay="0" conditionEdge="rising">
<ByValueCondition>
<ParameterCondition parameterRef="" value="" rule="lessThan"/>
</ByValueCondition>
</Condition>
<Condition name="criteria_KeepLaneTest" delay="0" conditionEdge="rising">
<ByValueCondition>
<ParameterCondition parameterRef="" value="" rule="lessThan"/>
</ByValueCondition>
</Condition>
<Condition name="criteria_CollisionTest" delay="0" conditionEdge="rising">
<ByValueCondition>
<ParameterCondition parameterRef="" value="" rule="lessThan"/>
</ByValueCondition>
</Condition>
<Condition name="criteria_DrivenDistanceTest" delay="0" conditionEdge="rising">
<ByValueCondition>
<ParameterCondition parameterRef="distance_success" value="100" rule="lessThan"/>
</ByValueCondition>
</Condition>
</ConditionGroup>
</StopTrigger>
</Storyboard>
</OpenSCENARIO>
``` | Here is the result:
```
<?xml version="1.0" ?>
<OpenSCENARIO>
<FileHeader revMajor="1" revMinor="0" date="2020-03-24T12:00:00" description="CARLA:LaneChangeSimple" author=""/>
<ParameterDeclarations/>
<CatalogLocations/>
<RoadNetwork>
<LogicFile filepath="Town04"/>
<SceneGraphFile filepath=""/>
</RoadNetwork>
<Entities>
<ScenarioObject name="hero">
<Vehicle name="vehicle.tesla.model3" vehicleCategory="car">
<ParameterDeclarations/>
<Performance maxSpeed="69.444" maxAcceleration="200" maxDeceleration="10.0"/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2.1" length="4.5" height="1.8"/>
</BoundingBox>
<Axles>
<FrontAxle maxSteering="0.5" wheelDiameter="0.6" trackWidth="1.8" positionX="3.1" positionZ="0.3"/>
<RearAxle maxSteering="0.0" wheelDiameter="0.6" trackWidth="1.8" positionX="0.0" positionZ="0.3"/>
</Axles>
<Properties>
<Property name="type" value="ego_vehicle"/>
</Properties>
</Vehicle>
</ScenarioObject>
<ScenarioObject name="adversary">
<Vehicle name="vehicle.lincoln.mkz_2017" vehicleCategory="car">
<ParameterDeclarations/>
<Performance maxSpeed="69.444" maxAcceleration="200" maxDeceleration="10.0"/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2.1" length="4.5" height="1.8"/>
</BoundingBox>
<Axles>
<FrontAxle maxSteering="0.5" wheelDiameter="0.6" trackWidth="1.8" positionX="3.1" positionZ="0.3"/>
<RearAxle maxSteering="0.0" wheelDiameter="0.6" trackWidth="1.8" positionX="0.0" positionZ="0.3"/>
</Axles>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Vehicle>
</ScenarioObject>
<ScenarioObject name="standing">
<Vehicle name="vehicle.volkswagen.t2" vehicleCategory="car">
<ParameterDeclarations/>
<Performance maxSpeed="69.444" maxAcceleration="200" maxDeceleration="10.0"/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2.1" length="4.5" height="1.8"/>
</BoundingBox>
<Axles>
<FrontAxle maxSteering="0.5" wheelDiameter="0.6" trackWidth="1.8" positionX="3.1" positionZ="0.3"/>
<RearAxle maxSteering="0.0" wheelDiameter="0.6" trackWidth="1.8" positionX="0.0" positionZ="0.3"/>
</Axles>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Vehicle>
</ScenarioObject>
<ScenarioObject name="pedestrian_close_to_standing_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>
</Entities>
<Storyboard>
<Init>
<Actions>
<GlobalAction>
<EnvironmentAction>
<Environment name="Environment1">
<TimeOfDay animation="false" dateTime="2019-06-25T12:00:00"/>
<Weather cloudState="free">
<Sun intensity="0.85" azimuth="0" elevation="1.31"/>
<Fog visualRange="100000.0"/>
<Precipitation precipitationType="dry" intensity="0.0"/>
</Weather>
<RoadCondition frictionScaleFactor="1.0"/>
</Environment>
</EnvironmentAction>
</GlobalAction>
<Private entityRef="hero">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-9.4" y="-152.8" z="0.5" h="1.57079632679"/>
</Position>
</TeleportAction>
</PrivateAction>
<PrivateAction>
<ControllerAction>
<AssignControllerAction>
<Controller name="HeroAgent">
<Properties>
<Property name="module" value="external_control"/>
</Properties>
</Controller>
</AssignControllerAction>
<OverrideControllerValueAction>
<Throttle value="0" active="false"/>
<Brake value="0" active="false"/>
<Clutch value="0" active="false"/>
<ParkingBrake value="0" active="false"/>
<SteeringWheel value="0" active="false"/>
<Gear number="0" active="false"/>
</OverrideControllerValueAction>
</ControllerAction>
</PrivateAction>
</Private>
<Private entityRef="adversary">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-9.4" y="-71.0" z="0.5" h="1.57079632679"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="standing">
<PrivateAction>
<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>
</Actions>
</Init>
<Story name="MyStory">
<Act name="Behavior">
<ManeuverGroup maximumExecutionCount="1" name="ManeuverSequence">
<Actors selectTriggeringEntities="false">
<EntityRef entityRef="adversary"/>
</Actors>
<Maneuver name="LaneChangeSimpleManeuver">
<Event name="AdversaryAccelerates" priority="overwrite">
<Action name="AdversaryAccelerates">
<PrivateAction>
<LongitudinalAction>
<SpeedAction>
<SpeedActionDynamics dynamicsShape="step" value="50" dynamicsDimension="distance"/>
<SpeedActionTarget>
<AbsoluteTargetSpeed value="5.0"/>
</SpeedActionTarget>
</SpeedAction>
</LongitudinalAction>
</PrivateAction>
</Action>
<StartTrigger>
<ConditionGroup>
<Condition name="StartCondition" delay="0" conditionEdge="rising">
<ByEntityCondition>
<TriggeringEntities triggeringEntitiesRule="any">
<EntityRef entityRef="hero"/>
</TriggeringEntities>
<EntityCondition>
<RelativeDistanceCondition entityRef="adversary" relativeDistanceType="cartesianDistance" value="40.0" freespace="false" rule="lessThan"/>
</EntityCondition>
</ByEntityCondition>
</Condition>
</ConditionGroup>
</StartTrigger>
</Event>
<Event name="AdversaryChangesLane" priority="overwrite">
<Action name="AdversaryChangesLane">
<PrivateAction>
<LateralAction>
<LaneChangeAction>
<LaneChangeActionDynamics dynamicsShape="linear" value="25" dynamicsDimension="distance"/>
<LaneChangeTarget>
<RelativeTargetLane entityRef="adversary" value="-1"/>
</LaneChangeTarget>
</LaneChangeAction>
</LateralAction>
</PrivateAction>
</Action>
<StartTrigger>
<ConditionGroup>
<Condition name="AfterAdversaryAccelerates" delay="0" conditionEdge="rising">
<ByValueCondition>
<StoryboardElementStateCondition storyboardElementType="action" storyboardElementRef="AdversaryAccelerates" state="completeState"/>
</ByValueCondition>
</Condition>
</ConditionGroup>
</StartTrigger>
</Event>
</Maneuver>
</ManeuverGroup>
<StartTrigger>
<ConditionGroup>
<Condition name="OverallStartCondition" delay="0" conditionEdge="rising">
<ByEntityCondition>
<TriggeringEntities triggeringEntitiesRule="any">
<EntityRef entityRef="hero"/>
</TriggeringEntities>
<EntityCondition>
<TraveledDistanceCondition value="1.0"/>
</EntityCondition>
</ByEntityCondition>
</Condition>
<Condition name="StartTime" delay="0" conditionEdge="rising">
<ByValueCondition>
<SimulationTimeCondition value="0" rule="equalTo"/>
</ByValueCondition>
</Condition>
</ConditionGroup>
</StartTrigger>
<StopTrigger>
<ConditionGroup>
<Condition name="EndCondition" delay="0" conditionEdge="rising">
<ByEntityCondition>
<TriggeringEntities triggeringEntitiesRule="any">
<EntityRef entityRef="hero"/>
</TriggeringEntities>
<EntityCondition>
<TraveledDistanceCondition value="200.0"/>
</EntityCondition>
</ByEntityCondition>
</Condition>
</ConditionGroup>
</StopTrigger>
</Act>
</Story>
<StopTrigger>
<ConditionGroup>
<Condition name="criteria_RunningStopTest" delay="0" conditionEdge="rising">
<ByValueCondition>
<ParameterCondition parameterRef="" value="" rule="lessThan"/>
</ByValueCondition>
</Condition>
<Condition name="criteria_RunningRedLightTest" delay="0" conditionEdge="rising">
<ByValueCondition>
<ParameterCondition parameterRef="" value="" rule="lessThan"/>
</ByValueCondition>
</Condition>
<Condition name="criteria_WrongLaneTest" delay="0" conditionEdge="rising">
<ByValueCondition>
<ParameterCondition parameterRef="" value="" rule="lessThan"/>
</ByValueCondition>
</Condition>
<Condition name="criteria_OnSidewalkTest" delay="0" conditionEdge="rising">
<ByValueCondition>
<ParameterCondition parameterRef="" value="" rule="lessThan"/>
</ByValueCondition>
</Condition>
<Condition name="criteria_KeepLaneTest" delay="0" conditionEdge="rising">
<ByValueCondition>
<ParameterCondition parameterRef="" value="" rule="lessThan"/>
</ByValueCondition>
</Condition>
<Condition name="criteria_CollisionTest" delay="0" conditionEdge="rising">
<ByValueCondition>
<ParameterCondition parameterRef="" value="" rule="lessThan"/>
</ByValueCondition>
</Condition>
<Condition name="criteria_DrivenDistanceTest" delay="0" conditionEdge="rising">
<ByValueCondition>
<ParameterCondition parameterRef="distance_success" value="100" rule="lessThan"/>
</ByValueCondition>
</Condition>
</ConditionGroup>
</StopTrigger>
</Storyboard>
</OpenSCENARIO>
``` |
i need you to remove pedestrian actor named pedestrian_close_to_standing_8548?
```
<?xml version="1.0" ?>
<OpenSCENARIO>
<FileHeader revMajor="1" revMinor="0" date="2020-03-24T12:00:00" description="CARLA:LaneChangeSimple" author=""/>
<ParameterDeclarations/>
<CatalogLocations/>
<RoadNetwork>
<LogicFile filepath="Town04"/>
<SceneGraphFile filepath=""/>
</RoadNetwork>
<Entities>
<ScenarioObject name="hero">
<Vehicle name="vehicle.tesla.model3" vehicleCategory="car">
<ParameterDeclarations/>
<Performance maxSpeed="69.444" maxAcceleration="200" maxDeceleration="10.0"/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2.1" length="4.5" height="1.8"/>
</BoundingBox>
<Axles>
<FrontAxle maxSteering="0.5" wheelDiameter="0.6" trackWidth="1.8" positionX="3.1" positionZ="0.3"/>
<RearAxle maxSteering="0.0" wheelDiameter="0.6" trackWidth="1.8" positionX="0.0" positionZ="0.3"/>
</Axles>
<Properties>
<Property name="type" value="ego_vehicle"/>
</Properties>
</Vehicle>
</ScenarioObject>
<ScenarioObject name="adversary">
<Vehicle name="vehicle.lincoln.mkz_2017" vehicleCategory="car">
<ParameterDeclarations/>
<Performance maxSpeed="69.444" maxAcceleration="200" maxDeceleration="10.0"/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2.1" length="4.5" height="1.8"/>
</BoundingBox>
<Axles>
<FrontAxle maxSteering="0.5" wheelDiameter="0.6" trackWidth="1.8" positionX="3.1" positionZ="0.3"/>
<RearAxle maxSteering="0.0" wheelDiameter="0.6" trackWidth="1.8" positionX="0.0" positionZ="0.3"/>
</Axles>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Vehicle>
</ScenarioObject>
<ScenarioObject name="standing">
<Vehicle name="vehicle.volkswagen.t2" vehicleCategory="car">
<ParameterDeclarations/>
<Performance maxSpeed="69.444" maxAcceleration="200" maxDeceleration="10.0"/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2.1" length="4.5" height="1.8"/>
</BoundingBox>
<Axles>
<FrontAxle maxSteering="0.5" wheelDiameter="0.6" trackWidth="1.8" positionX="3.1" positionZ="0.3"/>
<RearAxle maxSteering="0.0" wheelDiameter="0.6" 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_8543">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_w_transform_8545">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_w_transform_8546">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_close_to_standing_8548">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_w_transform_8549">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_w_transform_8550">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_w_transform_8551">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_w_transform_8555">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_close_to_standing_8558">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_close_to_standing_8560">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_w_transform_8561">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_w_transform_8563">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_w_transform_8565">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_w_transform_8566">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_w_transform_8568">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_w_transform_8569">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
</Entities>
<Storyboard>
<Init>
<Actions>
<GlobalAction>
<EnvironmentAction>
<Environment name="Environment1">
<TimeOfDay animation="false" dateTime="2019-06-25T12:00:00"/>
<Weather cloudState="free">
<Sun intensity="0.85" azimuth="0" elevation="1.31"/>
<Fog visualRange="100000.0"/>
<Precipitation precipitationType="dry" intensity="0.0"/>
</Weather>
<RoadCondition frictionScaleFactor="1.0"/>
</Environment>
</EnvironmentAction>
</GlobalAction>
<Private entityRef="hero">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-9.4" y="-152.8" z="0.5" h="1.57079632679"/>
</Position>
</TeleportAction>
</PrivateAction>
<PrivateAction>
<ControllerAction>
<AssignControllerAction>
<Controller name="HeroAgent">
<Properties>
<Property name="module" value="external_control"/>
</Properties>
</Controller>
</AssignControllerAction>
<OverrideControllerValueAction>
<Throttle value="0" active="false"/>
<Brake value="0" active="false"/>
<Clutch value="0" active="false"/>
<ParkingBrake value="0" active="false"/>
<SteeringWheel value="0" active="false"/>
<Gear number="0" active="false"/>
</OverrideControllerValueAction>
</ControllerAction>
</PrivateAction>
</Private>
<Private entityRef="adversary">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-9.4" y="-71.0" z="0.5" h="1.57079632679"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="standing">
<PrivateAction>
<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_8543">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-14.55039119720459" y="-144.54344177246094" z="0.0014286803780123591"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_w_transform_8545">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="51.2496452331543" y="-75.42666625976562" z="0.5"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_w_transform_8546">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-43.5145378112793" y="54.42344284057617" z="0.5"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_close_to_standing_8548">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-17.788406372070312" y="28.564424514770508" z="0.0030178832821547985"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_w_transform_8549">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-83.95011901855469" y="79.30071258544922" z="0.5"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_w_transform_8550">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-75.56907653808594" y="86.31836700439453" z="0.5"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_w_transform_8551">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="63.39187240600586" y="64.76728057861328" z="0.5"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_w_transform_8555">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-70.09917449951172" y="-28.573055267333984" z="0.5"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_close_to_standing_8558">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-3.6542365550994873" y="18.562992095947266" z="0.0030411146581172943"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_close_to_standing_8560">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-15.438538551330566" y="36.20298767089844" z="0.0030398177914321423"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_w_transform_8561">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-64.65509033203125" y="66.04295349121094" z="0.5"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_w_transform_8563">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="79.37338256835938" y="74.71136474609375" z="0.5"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_w_transform_8565">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-73.61125183105469" y="-56.6483154296875" z="0.5"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_w_transform_8566">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-16.71317481994629" y="1.317062258720398" z="0.5"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_w_transform_8568">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="2.1615235805511475" y="-72.12715148925781" z="0.5"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_w_transform_8569">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-14.014506340026855" y="-6.902528285980225" z="0.5"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
</Actions>
</Init>
<Story name="MyStory">
<Act name="Behavior">
<ManeuverGroup maximumExecutionCount="1" name="ManeuverSequence">
<Actors selectTriggeringEntities="false">
<EntityRef entityRef="adversary"/>
</Actors>
<Maneuver name="LaneChangeSimpleManeuver">
<Event name="AdversaryAccelerates" priority="overwrite">
<Action name="AdversaryAccelerates">
<PrivateAction>
<LongitudinalAction>
<SpeedAction>
<SpeedActionDynamics dynamicsShape="step" value="50" dynamicsDimension="distance"/>
<SpeedActionTarget>
<AbsoluteTargetSpeed value="5.0"/>
</SpeedActionTarget>
</SpeedAction>
</LongitudinalAction>
</PrivateAction>
</Action>
<StartTrigger>
<ConditionGroup>
<Condition name="StartCondition" delay="0" conditionEdge="rising">
<ByEntityCondition>
<TriggeringEntities triggeringEntitiesRule="any">
<EntityRef entityRef="hero"/>
</TriggeringEntities>
<EntityCondition>
<RelativeDistanceCondition entityRef="adversary" relativeDistanceType="cartesianDistance" value="40.0" freespace="false" rule="lessThan"/>
</EntityCondition>
</ByEntityCondition>
</Condition>
</ConditionGroup>
</StartTrigger>
</Event>
<Event name="AdversaryChangesLane" priority="overwrite">
<Action name="AdversaryChangesLane">
<PrivateAction>
<LateralAction>
<LaneChangeAction>
<LaneChangeActionDynamics dynamicsShape="linear" value="25" dynamicsDimension="distance"/>
<LaneChangeTarget>
<RelativeTargetLane entityRef="adversary" value="-1"/>
</LaneChangeTarget>
</LaneChangeAction>
</LateralAction>
</PrivateAction>
</Action>
<StartTrigger>
<ConditionGroup>
<Condition name="AfterAdversaryAccelerates" delay="0" conditionEdge="rising">
<ByValueCondition>
<StoryboardElementStateCondition storyboardElementType="action" storyboardElementRef="AdversaryAccelerates" state="completeState"/>
</ByValueCondition>
</Condition>
</ConditionGroup>
</StartTrigger>
</Event>
</Maneuver>
</ManeuverGroup>
<StartTrigger>
<ConditionGroup>
<Condition name="OverallStartCondition" delay="0" conditionEdge="rising">
<ByEntityCondition>
<TriggeringEntities triggeringEntitiesRule="any">
<EntityRef entityRef="hero"/>
</TriggeringEntities>
<EntityCondition>
<TraveledDistanceCondition value="1.0"/>
</EntityCondition>
</ByEntityCondition>
</Condition>
<Condition name="StartTime" delay="0" conditionEdge="rising">
<ByValueCondition>
<SimulationTimeCondition value="0" rule="equalTo"/>
</ByValueCondition>
</Condition>
</ConditionGroup>
</StartTrigger>
<StopTrigger>
<ConditionGroup>
<Condition name="EndCondition" delay="0" conditionEdge="rising">
<ByEntityCondition>
<TriggeringEntities triggeringEntitiesRule="any">
<EntityRef entityRef="hero"/>
</TriggeringEntities>
<EntityCondition>
<TraveledDistanceCondition value="200.0"/>
</EntityCondition>
</ByEntityCondition>
</Condition>
</ConditionGroup>
</StopTrigger>
</Act>
</Story>
<StopTrigger>
<ConditionGroup>
<Condition name="criteria_RunningStopTest" delay="0" conditionEdge="rising">
<ByValueCondition>
<ParameterCondition parameterRef="" value="" rule="lessThan"/>
</ByValueCondition>
</Condition>
<Condition name="criteria_RunningRedLightTest" delay="0" conditionEdge="rising">
<ByValueCondition>
<ParameterCondition parameterRef="" value="" rule="lessThan"/>
</ByValueCondition>
</Condition>
<Condition name="criteria_WrongLaneTest" delay="0" conditionEdge="rising">
<ByValueCondition>
<ParameterCondition parameterRef="" value="" rule="lessThan"/>
</ByValueCondition>
</Condition>
<Condition name="criteria_OnSidewalkTest" delay="0" conditionEdge="rising">
<ByValueCondition>
<ParameterCondition parameterRef="" value="" rule="lessThan"/>
</ByValueCondition>
</Condition>
<Condition name="criteria_KeepLaneTest" delay="0" conditionEdge="rising">
<ByValueCondition>
<ParameterCondition parameterRef="" value="" rule="lessThan"/>
</ByValueCondition>
</Condition>
<Condition name="criteria_CollisionTest" delay="0" conditionEdge="rising">
<ByValueCondition>
<ParameterCondition parameterRef="" value="" rule="lessThan"/>
</ByValueCondition>
</Condition>
<Condition name="criteria_DrivenDistanceTest" delay="0" conditionEdge="rising">
<ByValueCondition>
<ParameterCondition parameterRef="distance_success" value="100" rule="lessThan"/>
</ByValueCondition>
</Condition>
</ConditionGroup>
</StopTrigger>
</Storyboard>
</OpenSCENARIO>
``` | Here is the result:
```
<?xml version="1.0" ?>
<OpenSCENARIO>
<FileHeader revMajor="1" revMinor="0" date="2020-03-24T12:00:00" description="CARLA:LaneChangeSimple" author=""/>
<ParameterDeclarations/>
<CatalogLocations/>
<RoadNetwork>
<LogicFile filepath="Town04"/>
<SceneGraphFile filepath=""/>
</RoadNetwork>
<Entities>
<ScenarioObject name="hero">
<Vehicle name="vehicle.tesla.model3" vehicleCategory="car">
<ParameterDeclarations/>
<Performance maxSpeed="69.444" maxAcceleration="200" maxDeceleration="10.0"/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2.1" length="4.5" height="1.8"/>
</BoundingBox>
<Axles>
<FrontAxle maxSteering="0.5" wheelDiameter="0.6" trackWidth="1.8" positionX="3.1" positionZ="0.3"/>
<RearAxle maxSteering="0.0" wheelDiameter="0.6" trackWidth="1.8" positionX="0.0" positionZ="0.3"/>
</Axles>
<Properties>
<Property name="type" value="ego_vehicle"/>
</Properties>
</Vehicle>
</ScenarioObject>
<ScenarioObject name="adversary">
<Vehicle name="vehicle.lincoln.mkz_2017" vehicleCategory="car">
<ParameterDeclarations/>
<Performance maxSpeed="69.444" maxAcceleration="200" maxDeceleration="10.0"/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2.1" length="4.5" height="1.8"/>
</BoundingBox>
<Axles>
<FrontAxle maxSteering="0.5" wheelDiameter="0.6" trackWidth="1.8" positionX="3.1" positionZ="0.3"/>
<RearAxle maxSteering="0.0" wheelDiameter="0.6" trackWidth="1.8" positionX="0.0" positionZ="0.3"/>
</Axles>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Vehicle>
</ScenarioObject>
<ScenarioObject name="standing">
<Vehicle name="vehicle.volkswagen.t2" vehicleCategory="car">
<ParameterDeclarations/>
<Performance maxSpeed="69.444" maxAcceleration="200" maxDeceleration="10.0"/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2.1" length="4.5" height="1.8"/>
</BoundingBox>
<Axles>
<FrontAxle maxSteering="0.5" wheelDiameter="0.6" trackWidth="1.8" positionX="3.1" positionZ="0.3"/>
<RearAxle maxSteering="0.0" wheelDiameter="0.6" 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_8543">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_w_transform_8545">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_w_transform_8546">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_w_transform_8549">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_w_transform_8550">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_w_transform_8551">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_w_transform_8555">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_close_to_standing_8558">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_close_to_standing_8560">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_w_transform_8561">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_w_transform_8563">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_w_transform_8565">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_w_transform_8566">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_w_transform_8568">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_w_transform_8569">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
</Entities>
<Storyboard>
<Init>
<Actions>
<GlobalAction>
<EnvironmentAction>
<Environment name="Environment1">
<TimeOfDay animation="false" dateTime="2019-06-25T12:00:00"/>
<Weather cloudState="free">
<Sun intensity="0.85" azimuth="0" elevation="1.31"/>
<Fog visualRange="100000.0"/>
<Precipitation precipitationType="dry" intensity="0.0"/>
</Weather>
<RoadCondition frictionScaleFactor="1.0"/>
</Environment>
</EnvironmentAction>
</GlobalAction>
<Private entityRef="hero">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-9.4" y="-152.8" z="0.5" h="1.57079632679"/>
</Position>
</TeleportAction>
</PrivateAction>
<PrivateAction>
<ControllerAction>
<AssignControllerAction>
<Controller name="HeroAgent">
<Properties>
<Property name="module" value="external_control"/>
</Properties>
</Controller>
</AssignControllerAction>
<OverrideControllerValueAction>
<Throttle value="0" active="false"/>
<Brake value="0" active="false"/>
<Clutch value="0" active="false"/>
<ParkingBrake value="0" active="false"/>
<SteeringWheel value="0" active="false"/>
<Gear number="0" active="false"/>
</OverrideControllerValueAction>
</ControllerAction>
</PrivateAction>
</Private>
<Private entityRef="adversary">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-9.4" y="-71.0" z="0.5" h="1.57079632679"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="standing">
<PrivateAction>
<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_8543">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-14.55039119720459" y="-144.54344177246094" z="0.0014286803780123591"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_w_transform_8545">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="51.2496452331543" y="-75.42666625976562" z="0.5"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_w_transform_8546">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-43.5145378112793" y="54.42344284057617" z="0.5"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_w_transform_8549">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-83.95011901855469" y="79.30071258544922" z="0.5"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_w_transform_8550">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-75.56907653808594" y="86.31836700439453" z="0.5"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_w_transform_8551">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="63.39187240600586" y="64.76728057861328" z="0.5"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_w_transform_8555">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-70.09917449951172" y="-28.573055267333984" z="0.5"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_close_to_standing_8558">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-3.6542365550994873" y="18.562992095947266" z="0.0030411146581172943"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_close_to_standing_8560">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-15.438538551330566" y="36.20298767089844" z="0.0030398177914321423"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_w_transform_8561">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-64.65509033203125" y="66.04295349121094" z="0.5"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_w_transform_8563">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="79.37338256835938" y="74.71136474609375" z="0.5"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_w_transform_8565">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-73.61125183105469" y="-56.6483154296875" z="0.5"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_w_transform_8566">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-16.71317481994629" y="1.317062258720398" z="0.5"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_w_transform_8568">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="2.1615235805511475" y="-72.12715148925781" z="0.5"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_w_transform_8569">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-14.014506340026855" y="-6.902528285980225" z="0.5"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
</Actions>
</Init>
<Story name="MyStory">
<Act name="Behavior">
<ManeuverGroup maximumExecutionCount="1" name="ManeuverSequence">
<Actors selectTriggeringEntities="false">
<EntityRef entityRef="adversary"/>
</Actors>
<Maneuver name="LaneChangeSimpleManeuver">
<Event name="AdversaryAccelerates" priority="overwrite">
<Action name="AdversaryAccelerates">
<PrivateAction>
<LongitudinalAction>
<SpeedAction>
<SpeedActionDynamics dynamicsShape="step" value="50" dynamicsDimension="distance"/>
<SpeedActionTarget>
<AbsoluteTargetSpeed value="5.0"/>
</SpeedActionTarget>
</SpeedAction>
</LongitudinalAction>
</PrivateAction>
</Action>
<StartTrigger>
<ConditionGroup>
<Condition name="StartCondition" delay="0" conditionEdge="rising">
<ByEntityCondition>
<TriggeringEntities triggeringEntitiesRule="any">
<EntityRef entityRef="hero"/>
</TriggeringEntities>
<EntityCondition>
<RelativeDistanceCondition entityRef="adversary" relativeDistanceType="cartesianDistance" value="40.0" freespace="false" rule="lessThan"/>
</EntityCondition>
</ByEntityCondition>
</Condition>
</ConditionGroup>
</StartTrigger>
</Event>
<Event name="AdversaryChangesLane" priority="overwrite">
<Action name="AdversaryChangesLane">
<PrivateAction>
<LateralAction>
<LaneChangeAction>
<LaneChangeActionDynamics dynamicsShape="linear" value="25" dynamicsDimension="distance"/>
<LaneChangeTarget>
<RelativeTargetLane entityRef="adversary" value="-1"/>
</LaneChangeTarget>
</LaneChangeAction>
</LateralAction>
</PrivateAction>
</Action>
<StartTrigger>
<ConditionGroup>
<Condition name="AfterAdversaryAccelerates" delay="0" conditionEdge="rising">
<ByValueCondition>
<StoryboardElementStateCondition storyboardElementType="action" storyboardElementRef="AdversaryAccelerates" state="completeState"/>
</ByValueCondition>
</Condition>
</ConditionGroup>
</StartTrigger>
</Event>
</Maneuver>
</ManeuverGroup>
<StartTrigger>
<ConditionGroup>
<Condition name="OverallStartCondition" delay="0" conditionEdge="rising">
<ByEntityCondition>
<TriggeringEntities triggeringEntitiesRule="any">
<EntityRef entityRef="hero"/>
</TriggeringEntities>
<EntityCondition>
<TraveledDistanceCondition value="1.0"/>
</EntityCondition>
</ByEntityCondition>
</Condition>
<Condition name="StartTime" delay="0" conditionEdge="rising">
<ByValueCondition>
<SimulationTimeCondition value="0" rule="equalTo"/>
</ByValueCondition>
</Condition>
</ConditionGroup>
</StartTrigger>
<StopTrigger>
<ConditionGroup>
<Condition name="EndCondition" delay="0" conditionEdge="rising">
<ByEntityCondition>
<TriggeringEntities triggeringEntitiesRule="any">
<EntityRef entityRef="hero"/>
</TriggeringEntities>
<EntityCondition>
<TraveledDistanceCondition value="200.0"/>
</EntityCondition>
</ByEntityCondition>
</Condition>
</ConditionGroup>
</StopTrigger>
</Act>
</Story>
<StopTrigger>
<ConditionGroup>
<Condition name="criteria_RunningStopTest" delay="0" conditionEdge="rising">
<ByValueCondition>
<ParameterCondition parameterRef="" value="" rule="lessThan"/>
</ByValueCondition>
</Condition>
<Condition name="criteria_RunningRedLightTest" delay="0" conditionEdge="rising">
<ByValueCondition>
<ParameterCondition parameterRef="" value="" rule="lessThan"/>
</ByValueCondition>
</Condition>
<Condition name="criteria_WrongLaneTest" delay="0" conditionEdge="rising">
<ByValueCondition>
<ParameterCondition parameterRef="" value="" rule="lessThan"/>
</ByValueCondition>
</Condition>
<Condition name="criteria_OnSidewalkTest" delay="0" conditionEdge="rising">
<ByValueCondition>
<ParameterCondition parameterRef="" value="" rule="lessThan"/>
</ByValueCondition>
</Condition>
<Condition name="criteria_KeepLaneTest" delay="0" conditionEdge="rising">
<ByValueCondition>
<ParameterCondition parameterRef="" value="" rule="lessThan"/>
</ByValueCondition>
</Condition>
<Condition name="criteria_CollisionTest" delay="0" conditionEdge="rising">
<ByValueCondition>
<ParameterCondition parameterRef="" value="" rule="lessThan"/>
</ByValueCondition>
</Condition>
<Condition name="criteria_DrivenDistanceTest" delay="0" conditionEdge="rising">
<ByValueCondition>
<ParameterCondition parameterRef="distance_success" value="100" rule="lessThan"/>
</ByValueCondition>
</Condition>
</ConditionGroup>
</StopTrigger>
</Storyboard>
</OpenSCENARIO>
``` |
can you add pedestrian at location (22.77, 85.67, 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_9771">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_w_transform_9773">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
</Entities>
<Storyboard>
<Init>
<Actions>
<GlobalAction>
<EnvironmentAction>
<Environment name="Environment1">
<TimeOfDay animation="false" dateTime="2019-06-25T12:00:00"/>
<Weather cloudState="free">
<Sun intensity="0.85" azimuth="0" elevation="1.31"/>
<Fog visualRange="100000.0"/>
<Precipitation precipitationType="dry" intensity="0.0"/>
</Weather>
<RoadCondition frictionScaleFactor="1.0"/>
</Environment>
</EnvironmentAction>
</GlobalAction>
<Private entityRef="hero">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-9.4" y="-152.8" z="0.5" h="1.57079632679"/>
</Position>
</TeleportAction>
</PrivateAction>
<PrivateAction>
<ControllerAction>
<AssignControllerAction>
<Controller name="HeroAgent">
<Properties>
<Property name="module" value="external_control"/>
</Properties>
</Controller>
</AssignControllerAction>
<OverrideControllerValueAction>
<Throttle value="0" active="false"/>
<Brake value="0" active="false"/>
<Clutch value="0" active="false"/>
<ParkingBrake value="0" active="false"/>
<SteeringWheel value="0" active="false"/>
<Gear number="0" active="false"/>
</OverrideControllerValueAction>
</ControllerAction>
</PrivateAction>
</Private>
<Private entityRef="adversary">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-9.4" y="-71.0" z="0.5" h="1.57079632679"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="standing">
<PrivateAction>
<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_9771">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-1.441558837890625" y="23.254507064819336" z="0.003006362821906805"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_w_transform_9773">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="32.26112747192383" y="-97.33096313476562" z="0.5"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
</Actions>
</Init>
<Story name="MyStory">
<Act name="Behavior">
<ManeuverGroup maximumExecutionCount="1" name="ManeuverSequence">
<Actors selectTriggeringEntities="false">
<EntityRef entityRef="adversary"/>
</Actors>
<Maneuver name="LaneChangeSimpleManeuver">
<Event name="AdversaryAccelerates" priority="overwrite">
<Action name="AdversaryAccelerates">
<PrivateAction>
<LongitudinalAction>
<SpeedAction>
<SpeedActionDynamics dynamicsShape="step" value="50" dynamicsDimension="distance"/>
<SpeedActionTarget>
<AbsoluteTargetSpeed value="5.0"/>
</SpeedActionTarget>
</SpeedAction>
</LongitudinalAction>
</PrivateAction>
</Action>
<StartTrigger>
<ConditionGroup>
<Condition name="StartCondition" delay="0" conditionEdge="rising">
<ByEntityCondition>
<TriggeringEntities triggeringEntitiesRule="any">
<EntityRef entityRef="hero"/>
</TriggeringEntities>
<EntityCondition>
<RelativeDistanceCondition entityRef="adversary" relativeDistanceType="cartesianDistance" value="40.0" freespace="false" rule="lessThan"/>
</EntityCondition>
</ByEntityCondition>
</Condition>
</ConditionGroup>
</StartTrigger>
</Event>
<Event name="AdversaryChangesLane" priority="overwrite">
<Action name="AdversaryChangesLane">
<PrivateAction>
<LateralAction>
<LaneChangeAction>
<LaneChangeActionDynamics dynamicsShape="linear" value="25" dynamicsDimension="distance"/>
<LaneChangeTarget>
<RelativeTargetLane entityRef="adversary" value="-1"/>
</LaneChangeTarget>
</LaneChangeAction>
</LateralAction>
</PrivateAction>
</Action>
<StartTrigger>
<ConditionGroup>
<Condition name="AfterAdversaryAccelerates" delay="0" conditionEdge="rising">
<ByValueCondition>
<StoryboardElementStateCondition storyboardElementType="action" storyboardElementRef="AdversaryAccelerates" state="completeState"/>
</ByValueCondition>
</Condition>
</ConditionGroup>
</StartTrigger>
</Event>
</Maneuver>
</ManeuverGroup>
<StartTrigger>
<ConditionGroup>
<Condition name="OverallStartCondition" delay="0" conditionEdge="rising">
<ByEntityCondition>
<TriggeringEntities triggeringEntitiesRule="any">
<EntityRef entityRef="hero"/>
</TriggeringEntities>
<EntityCondition>
<TraveledDistanceCondition value="1.0"/>
</EntityCondition>
</ByEntityCondition>
</Condition>
<Condition name="StartTime" delay="0" conditionEdge="rising">
<ByValueCondition>
<SimulationTimeCondition value="0" rule="equalTo"/>
</ByValueCondition>
</Condition>
</ConditionGroup>
</StartTrigger>
<StopTrigger>
<ConditionGroup>
<Condition name="EndCondition" delay="0" conditionEdge="rising">
<ByEntityCondition>
<TriggeringEntities triggeringEntitiesRule="any">
<EntityRef entityRef="hero"/>
</TriggeringEntities>
<EntityCondition>
<TraveledDistanceCondition value="200.0"/>
</EntityCondition>
</ByEntityCondition>
</Condition>
</ConditionGroup>
</StopTrigger>
</Act>
</Story>
<StopTrigger>
<ConditionGroup>
<Condition name="criteria_RunningStopTest" delay="0" conditionEdge="rising">
<ByValueCondition>
<ParameterCondition parameterRef="" value="" rule="lessThan"/>
</ByValueCondition>
</Condition>
<Condition name="criteria_RunningRedLightTest" delay="0" conditionEdge="rising">
<ByValueCondition>
<ParameterCondition parameterRef="" value="" rule="lessThan"/>
</ByValueCondition>
</Condition>
<Condition name="criteria_WrongLaneTest" delay="0" conditionEdge="rising">
<ByValueCondition>
<ParameterCondition parameterRef="" value="" rule="lessThan"/>
</ByValueCondition>
</Condition>
<Condition name="criteria_OnSidewalkTest" delay="0" conditionEdge="rising">
<ByValueCondition>
<ParameterCondition parameterRef="" value="" rule="lessThan"/>
</ByValueCondition>
</Condition>
<Condition name="criteria_KeepLaneTest" delay="0" conditionEdge="rising">
<ByValueCondition>
<ParameterCondition parameterRef="" value="" rule="lessThan"/>
</ByValueCondition>
</Condition>
<Condition name="criteria_CollisionTest" delay="0" conditionEdge="rising">
<ByValueCondition>
<ParameterCondition parameterRef="" value="" rule="lessThan"/>
</ByValueCondition>
</Condition>
<Condition name="criteria_DrivenDistanceTest" delay="0" conditionEdge="rising">
<ByValueCondition>
<ParameterCondition parameterRef="distance_success" value="100" rule="lessThan"/>
</ByValueCondition>
</Condition>
</ConditionGroup>
</StopTrigger>
</Storyboard>
</OpenSCENARIO>
``` | Here is the result:
```
<?xml version="1.0" ?>
<OpenSCENARIO>
<FileHeader revMajor="1" revMinor="0" date="2020-03-24T12:00:00" description="CARLA:LaneChangeSimple" author=""/>
<ParameterDeclarations/>
<CatalogLocations/>
<RoadNetwork>
<LogicFile filepath="Town04"/>
<SceneGraphFile filepath=""/>
</RoadNetwork>
<Entities>
<ScenarioObject name="hero">
<Vehicle name="vehicle.tesla.model3" vehicleCategory="car">
<ParameterDeclarations/>
<Performance maxSpeed="69.444" maxAcceleration="200" maxDeceleration="10.0"/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2.1" length="4.5" height="1.8"/>
</BoundingBox>
<Axles>
<FrontAxle maxSteering="0.5" wheelDiameter="0.6" trackWidth="1.8" positionX="3.1" positionZ="0.3"/>
<RearAxle maxSteering="0.0" wheelDiameter="0.6" trackWidth="1.8" positionX="0.0" positionZ="0.3"/>
</Axles>
<Properties>
<Property name="type" value="ego_vehicle"/>
</Properties>
</Vehicle>
</ScenarioObject>
<ScenarioObject name="adversary">
<Vehicle name="vehicle.lincoln.mkz_2017" vehicleCategory="car">
<ParameterDeclarations/>
<Performance maxSpeed="69.444" maxAcceleration="200" maxDeceleration="10.0"/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2.1" length="4.5" height="1.8"/>
</BoundingBox>
<Axles>
<FrontAxle maxSteering="0.5" wheelDiameter="0.6" trackWidth="1.8" positionX="3.1" positionZ="0.3"/>
<RearAxle maxSteering="0.0" wheelDiameter="0.6" trackWidth="1.8" positionX="0.0" positionZ="0.3"/>
</Axles>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Vehicle>
</ScenarioObject>
<ScenarioObject name="standing">
<Vehicle name="vehicle.volkswagen.t2" vehicleCategory="car">
<ParameterDeclarations/>
<Performance maxSpeed="69.444" maxAcceleration="200" maxDeceleration="10.0"/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2.1" length="4.5" height="1.8"/>
</BoundingBox>
<Axles>
<FrontAxle maxSteering="0.5" wheelDiameter="0.6" trackWidth="1.8" positionX="3.1" positionZ="0.3"/>
<RearAxle maxSteering="0.0" wheelDiameter="0.6" 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_9771">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_w_transform_9773">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_w_transform_9774">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
</Entities>
<Storyboard>
<Init>
<Actions>
<GlobalAction>
<EnvironmentAction>
<Environment name="Environment1">
<TimeOfDay animation="false" dateTime="2019-06-25T12:00:00"/>
<Weather cloudState="free">
<Sun intensity="0.85" azimuth="0" elevation="1.31"/>
<Fog visualRange="100000.0"/>
<Precipitation precipitationType="dry" intensity="0.0"/>
</Weather>
<RoadCondition frictionScaleFactor="1.0"/>
</Environment>
</EnvironmentAction>
</GlobalAction>
<Private entityRef="hero">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-9.4" y="-152.8" z="0.5" h="1.57079632679"/>
</Position>
</TeleportAction>
</PrivateAction>
<PrivateAction>
<ControllerAction>
<AssignControllerAction>
<Controller name="HeroAgent">
<Properties>
<Property name="module" value="external_control"/>
</Properties>
</Controller>
</AssignControllerAction>
<OverrideControllerValueAction>
<Throttle value="0" active="false"/>
<Brake value="0" active="false"/>
<Clutch value="0" active="false"/>
<ParkingBrake value="0" active="false"/>
<SteeringWheel value="0" active="false"/>
<Gear number="0" active="false"/>
</OverrideControllerValueAction>
</ControllerAction>
</PrivateAction>
</Private>
<Private entityRef="adversary">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-9.4" y="-71.0" z="0.5" h="1.57079632679"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="standing">
<PrivateAction>
<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_9771">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-1.441558837890625" y="23.254507064819336" z="0.003006362821906805"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_w_transform_9773">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="32.26112747192383" y="-97.33096313476562" z="0.5"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_w_transform_9774">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="22.76871681213379" y="85.66824340820312" z="0.5"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
</Actions>
</Init>
<Story name="MyStory">
<Act name="Behavior">
<ManeuverGroup maximumExecutionCount="1" name="ManeuverSequence">
<Actors selectTriggeringEntities="false">
<EntityRef entityRef="adversary"/>
</Actors>
<Maneuver name="LaneChangeSimpleManeuver">
<Event name="AdversaryAccelerates" priority="overwrite">
<Action name="AdversaryAccelerates">
<PrivateAction>
<LongitudinalAction>
<SpeedAction>
<SpeedActionDynamics dynamicsShape="step" value="50" dynamicsDimension="distance"/>
<SpeedActionTarget>
<AbsoluteTargetSpeed value="5.0"/>
</SpeedActionTarget>
</SpeedAction>
</LongitudinalAction>
</PrivateAction>
</Action>
<StartTrigger>
<ConditionGroup>
<Condition name="StartCondition" delay="0" conditionEdge="rising">
<ByEntityCondition>
<TriggeringEntities triggeringEntitiesRule="any">
<EntityRef entityRef="hero"/>
</TriggeringEntities>
<EntityCondition>
<RelativeDistanceCondition entityRef="adversary" relativeDistanceType="cartesianDistance" value="40.0" freespace="false" rule="lessThan"/>
</EntityCondition>
</ByEntityCondition>
</Condition>
</ConditionGroup>
</StartTrigger>
</Event>
<Event name="AdversaryChangesLane" priority="overwrite">
<Action name="AdversaryChangesLane">
<PrivateAction>
<LateralAction>
<LaneChangeAction>
<LaneChangeActionDynamics dynamicsShape="linear" value="25" dynamicsDimension="distance"/>
<LaneChangeTarget>
<RelativeTargetLane entityRef="adversary" value="-1"/>
</LaneChangeTarget>
</LaneChangeAction>
</LateralAction>
</PrivateAction>
</Action>
<StartTrigger>
<ConditionGroup>
<Condition name="AfterAdversaryAccelerates" delay="0" conditionEdge="rising">
<ByValueCondition>
<StoryboardElementStateCondition storyboardElementType="action" storyboardElementRef="AdversaryAccelerates" state="completeState"/>
</ByValueCondition>
</Condition>
</ConditionGroup>
</StartTrigger>
</Event>
</Maneuver>
</ManeuverGroup>
<StartTrigger>
<ConditionGroup>
<Condition name="OverallStartCondition" delay="0" conditionEdge="rising">
<ByEntityCondition>
<TriggeringEntities triggeringEntitiesRule="any">
<EntityRef entityRef="hero"/>
</TriggeringEntities>
<EntityCondition>
<TraveledDistanceCondition value="1.0"/>
</EntityCondition>
</ByEntityCondition>
</Condition>
<Condition name="StartTime" delay="0" conditionEdge="rising">
<ByValueCondition>
<SimulationTimeCondition value="0" rule="equalTo"/>
</ByValueCondition>
</Condition>
</ConditionGroup>
</StartTrigger>
<StopTrigger>
<ConditionGroup>
<Condition name="EndCondition" delay="0" conditionEdge="rising">
<ByEntityCondition>
<TriggeringEntities triggeringEntitiesRule="any">
<EntityRef entityRef="hero"/>
</TriggeringEntities>
<EntityCondition>
<TraveledDistanceCondition value="200.0"/>
</EntityCondition>
</ByEntityCondition>
</Condition>
</ConditionGroup>
</StopTrigger>
</Act>
</Story>
<StopTrigger>
<ConditionGroup>
<Condition name="criteria_RunningStopTest" delay="0" conditionEdge="rising">
<ByValueCondition>
<ParameterCondition parameterRef="" value="" rule="lessThan"/>
</ByValueCondition>
</Condition>
<Condition name="criteria_RunningRedLightTest" delay="0" conditionEdge="rising">
<ByValueCondition>
<ParameterCondition parameterRef="" value="" rule="lessThan"/>
</ByValueCondition>
</Condition>
<Condition name="criteria_WrongLaneTest" delay="0" conditionEdge="rising">
<ByValueCondition>
<ParameterCondition parameterRef="" value="" rule="lessThan"/>
</ByValueCondition>
</Condition>
<Condition name="criteria_OnSidewalkTest" delay="0" conditionEdge="rising">
<ByValueCondition>
<ParameterCondition parameterRef="" value="" rule="lessThan"/>
</ByValueCondition>
</Condition>
<Condition name="criteria_KeepLaneTest" delay="0" conditionEdge="rising">
<ByValueCondition>
<ParameterCondition parameterRef="" value="" rule="lessThan"/>
</ByValueCondition>
</Condition>
<Condition name="criteria_CollisionTest" delay="0" conditionEdge="rising">
<ByValueCondition>
<ParameterCondition parameterRef="" value="" rule="lessThan"/>
</ByValueCondition>
</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 (32.39, 75.46, 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_2439">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
</Entities>
<Storyboard>
<Init>
<Actions>
<GlobalAction>
<EnvironmentAction>
<Environment name="Environment1">
<TimeOfDay animation="false" dateTime="2019-06-25T12:00:00"/>
<Weather cloudState="free">
<Sun intensity="0.85" azimuth="0" elevation="1.31"/>
<Fog visualRange="100000.0"/>
<Precipitation precipitationType="dry" intensity="0.0"/>
</Weather>
<RoadCondition frictionScaleFactor="1.0"/>
</Environment>
</EnvironmentAction>
</GlobalAction>
<Private entityRef="hero">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-9.4" y="-152.8" z="0.5" h="1.57079632679"/>
</Position>
</TeleportAction>
</PrivateAction>
<PrivateAction>
<ControllerAction>
<AssignControllerAction>
<Controller name="HeroAgent">
<Properties>
<Property name="module" value="external_control"/>
</Properties>
</Controller>
</AssignControllerAction>
<OverrideControllerValueAction>
<Throttle value="0" active="false"/>
<Brake value="0" active="false"/>
<Clutch value="0" active="false"/>
<ParkingBrake value="0" active="false"/>
<SteeringWheel value="0" active="false"/>
<Gear number="0" active="false"/>
</OverrideControllerValueAction>
</ControllerAction>
</PrivateAction>
</Private>
<Private entityRef="adversary">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-9.4" y="-71.0" z="0.5" h="1.57079632679"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="standing">
<PrivateAction>
<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_2439">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-12.81751823425293" y="26.1148624420166" z="0.0030352401081472635"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
</Actions>
</Init>
<Story name="MyStory">
<Act name="Behavior">
<ManeuverGroup maximumExecutionCount="1" name="ManeuverSequence">
<Actors selectTriggeringEntities="false">
<EntityRef entityRef="adversary"/>
</Actors>
<Maneuver name="LaneChangeSimpleManeuver">
<Event name="AdversaryAccelerates" priority="overwrite">
<Action name="AdversaryAccelerates">
<PrivateAction>
<LongitudinalAction>
<SpeedAction>
<SpeedActionDynamics dynamicsShape="step" value="50" dynamicsDimension="distance"/>
<SpeedActionTarget>
<AbsoluteTargetSpeed value="5.0"/>
</SpeedActionTarget>
</SpeedAction>
</LongitudinalAction>
</PrivateAction>
</Action>
<StartTrigger>
<ConditionGroup>
<Condition name="StartCondition" delay="0" conditionEdge="rising">
<ByEntityCondition>
<TriggeringEntities triggeringEntitiesRule="any">
<EntityRef entityRef="hero"/>
</TriggeringEntities>
<EntityCondition>
<RelativeDistanceCondition entityRef="adversary" relativeDistanceType="cartesianDistance" value="40.0" freespace="false" rule="lessThan"/>
</EntityCondition>
</ByEntityCondition>
</Condition>
</ConditionGroup>
</StartTrigger>
</Event>
<Event name="AdversaryChangesLane" priority="overwrite">
<Action name="AdversaryChangesLane">
<PrivateAction>
<LateralAction>
<LaneChangeAction>
<LaneChangeActionDynamics dynamicsShape="linear" value="25" dynamicsDimension="distance"/>
<LaneChangeTarget>
<RelativeTargetLane entityRef="adversary" value="-1"/>
</LaneChangeTarget>
</LaneChangeAction>
</LateralAction>
</PrivateAction>
</Action>
<StartTrigger>
<ConditionGroup>
<Condition name="AfterAdversaryAccelerates" delay="0" conditionEdge="rising">
<ByValueCondition>
<StoryboardElementStateCondition storyboardElementType="action" storyboardElementRef="AdversaryAccelerates" state="completeState"/>
</ByValueCondition>
</Condition>
</ConditionGroup>
</StartTrigger>
</Event>
</Maneuver>
</ManeuverGroup>
<StartTrigger>
<ConditionGroup>
<Condition name="OverallStartCondition" delay="0" conditionEdge="rising">
<ByEntityCondition>
<TriggeringEntities triggeringEntitiesRule="any">
<EntityRef entityRef="hero"/>
</TriggeringEntities>
<EntityCondition>
<TraveledDistanceCondition value="1.0"/>
</EntityCondition>
</ByEntityCondition>
</Condition>
<Condition name="StartTime" delay="0" conditionEdge="rising">
<ByValueCondition>
<SimulationTimeCondition value="0" rule="equalTo"/>
</ByValueCondition>
</Condition>
</ConditionGroup>
</StartTrigger>
<StopTrigger>
<ConditionGroup>
<Condition name="EndCondition" delay="0" conditionEdge="rising">
<ByEntityCondition>
<TriggeringEntities triggeringEntitiesRule="any">
<EntityRef entityRef="hero"/>
</TriggeringEntities>
<EntityCondition>
<TraveledDistanceCondition value="200.0"/>
</EntityCondition>
</ByEntityCondition>
</Condition>
</ConditionGroup>
</StopTrigger>
</Act>
</Story>
<StopTrigger>
<ConditionGroup>
<Condition name="criteria_RunningStopTest" delay="0" conditionEdge="rising">
<ByValueCondition>
<ParameterCondition parameterRef="" value="" rule="lessThan"/>
</ByValueCondition>
</Condition>
<Condition name="criteria_RunningRedLightTest" delay="0" conditionEdge="rising">
<ByValueCondition>
<ParameterCondition parameterRef="" value="" rule="lessThan"/>
</ByValueCondition>
</Condition>
<Condition name="criteria_WrongLaneTest" delay="0" conditionEdge="rising">
<ByValueCondition>
<ParameterCondition parameterRef="" value="" rule="lessThan"/>
</ByValueCondition>
</Condition>
<Condition name="criteria_OnSidewalkTest" delay="0" conditionEdge="rising">
<ByValueCondition>
<ParameterCondition parameterRef="" value="" rule="lessThan"/>
</ByValueCondition>
</Condition>
<Condition name="criteria_KeepLaneTest" delay="0" conditionEdge="rising">
<ByValueCondition>
<ParameterCondition parameterRef="" value="" rule="lessThan"/>
</ByValueCondition>
</Condition>
<Condition name="criteria_CollisionTest" delay="0" conditionEdge="rising">
<ByValueCondition>
<ParameterCondition parameterRef="" value="" rule="lessThan"/>
</ByValueCondition>
</Condition>
<Condition name="criteria_DrivenDistanceTest" delay="0" conditionEdge="rising">
<ByValueCondition>
<ParameterCondition parameterRef="distance_success" value="100" rule="lessThan"/>
</ByValueCondition>
</Condition>
</ConditionGroup>
</StopTrigger>
</Storyboard>
</OpenSCENARIO>
``` | Here is the result:
```
<?xml version="1.0" ?>
<OpenSCENARIO>
<FileHeader revMajor="1" revMinor="0" date="2020-03-24T12:00:00" description="CARLA:LaneChangeSimple" author=""/>
<ParameterDeclarations/>
<CatalogLocations/>
<RoadNetwork>
<LogicFile filepath="Town04"/>
<SceneGraphFile filepath=""/>
</RoadNetwork>
<Entities>
<ScenarioObject name="hero">
<Vehicle name="vehicle.tesla.model3" vehicleCategory="car">
<ParameterDeclarations/>
<Performance maxSpeed="69.444" maxAcceleration="200" maxDeceleration="10.0"/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2.1" length="4.5" height="1.8"/>
</BoundingBox>
<Axles>
<FrontAxle maxSteering="0.5" wheelDiameter="0.6" trackWidth="1.8" positionX="3.1" positionZ="0.3"/>
<RearAxle maxSteering="0.0" wheelDiameter="0.6" trackWidth="1.8" positionX="0.0" positionZ="0.3"/>
</Axles>
<Properties>
<Property name="type" value="ego_vehicle"/>
</Properties>
</Vehicle>
</ScenarioObject>
<ScenarioObject name="adversary">
<Vehicle name="vehicle.lincoln.mkz_2017" vehicleCategory="car">
<ParameterDeclarations/>
<Performance maxSpeed="69.444" maxAcceleration="200" maxDeceleration="10.0"/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2.1" length="4.5" height="1.8"/>
</BoundingBox>
<Axles>
<FrontAxle maxSteering="0.5" wheelDiameter="0.6" trackWidth="1.8" positionX="3.1" positionZ="0.3"/>
<RearAxle maxSteering="0.0" wheelDiameter="0.6" trackWidth="1.8" positionX="0.0" positionZ="0.3"/>
</Axles>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Vehicle>
</ScenarioObject>
<ScenarioObject name="standing">
<Vehicle name="vehicle.volkswagen.t2" vehicleCategory="car">
<ParameterDeclarations/>
<Performance maxSpeed="69.444" maxAcceleration="200" maxDeceleration="10.0"/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2.1" length="4.5" height="1.8"/>
</BoundingBox>
<Axles>
<FrontAxle maxSteering="0.5" wheelDiameter="0.6" trackWidth="1.8" positionX="3.1" positionZ="0.3"/>
<RearAxle maxSteering="0.0" wheelDiameter="0.6" 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_2439">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_w_transform_2440">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
</Entities>
<Storyboard>
<Init>
<Actions>
<GlobalAction>
<EnvironmentAction>
<Environment name="Environment1">
<TimeOfDay animation="false" dateTime="2019-06-25T12:00:00"/>
<Weather cloudState="free">
<Sun intensity="0.85" azimuth="0" elevation="1.31"/>
<Fog visualRange="100000.0"/>
<Precipitation precipitationType="dry" intensity="0.0"/>
</Weather>
<RoadCondition frictionScaleFactor="1.0"/>
</Environment>
</EnvironmentAction>
</GlobalAction>
<Private entityRef="hero">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-9.4" y="-152.8" z="0.5" h="1.57079632679"/>
</Position>
</TeleportAction>
</PrivateAction>
<PrivateAction>
<ControllerAction>
<AssignControllerAction>
<Controller name="HeroAgent">
<Properties>
<Property name="module" value="external_control"/>
</Properties>
</Controller>
</AssignControllerAction>
<OverrideControllerValueAction>
<Throttle value="0" active="false"/>
<Brake value="0" active="false"/>
<Clutch value="0" active="false"/>
<ParkingBrake value="0" active="false"/>
<SteeringWheel value="0" active="false"/>
<Gear number="0" active="false"/>
</OverrideControllerValueAction>
</ControllerAction>
</PrivateAction>
</Private>
<Private entityRef="adversary">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-9.4" y="-71.0" z="0.5" h="1.57079632679"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="standing">
<PrivateAction>
<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_2439">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-12.81751823425293" y="26.1148624420166" z="0.0030352401081472635"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_w_transform_2440">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="32.385833740234375" y="75.46458435058594" z="0.5"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
</Actions>
</Init>
<Story name="MyStory">
<Act name="Behavior">
<ManeuverGroup maximumExecutionCount="1" name="ManeuverSequence">
<Actors selectTriggeringEntities="false">
<EntityRef entityRef="adversary"/>
</Actors>
<Maneuver name="LaneChangeSimpleManeuver">
<Event name="AdversaryAccelerates" priority="overwrite">
<Action name="AdversaryAccelerates">
<PrivateAction>
<LongitudinalAction>
<SpeedAction>
<SpeedActionDynamics dynamicsShape="step" value="50" dynamicsDimension="distance"/>
<SpeedActionTarget>
<AbsoluteTargetSpeed value="5.0"/>
</SpeedActionTarget>
</SpeedAction>
</LongitudinalAction>
</PrivateAction>
</Action>
<StartTrigger>
<ConditionGroup>
<Condition name="StartCondition" delay="0" conditionEdge="rising">
<ByEntityCondition>
<TriggeringEntities triggeringEntitiesRule="any">
<EntityRef entityRef="hero"/>
</TriggeringEntities>
<EntityCondition>
<RelativeDistanceCondition entityRef="adversary" relativeDistanceType="cartesianDistance" value="40.0" freespace="false" rule="lessThan"/>
</EntityCondition>
</ByEntityCondition>
</Condition>
</ConditionGroup>
</StartTrigger>
</Event>
<Event name="AdversaryChangesLane" priority="overwrite">
<Action name="AdversaryChangesLane">
<PrivateAction>
<LateralAction>
<LaneChangeAction>
<LaneChangeActionDynamics dynamicsShape="linear" value="25" dynamicsDimension="distance"/>
<LaneChangeTarget>
<RelativeTargetLane entityRef="adversary" value="-1"/>
</LaneChangeTarget>
</LaneChangeAction>
</LateralAction>
</PrivateAction>
</Action>
<StartTrigger>
<ConditionGroup>
<Condition name="AfterAdversaryAccelerates" delay="0" conditionEdge="rising">
<ByValueCondition>
<StoryboardElementStateCondition storyboardElementType="action" storyboardElementRef="AdversaryAccelerates" state="completeState"/>
</ByValueCondition>
</Condition>
</ConditionGroup>
</StartTrigger>
</Event>
</Maneuver>
</ManeuverGroup>
<StartTrigger>
<ConditionGroup>
<Condition name="OverallStartCondition" delay="0" conditionEdge="rising">
<ByEntityCondition>
<TriggeringEntities triggeringEntitiesRule="any">
<EntityRef entityRef="hero"/>
</TriggeringEntities>
<EntityCondition>
<TraveledDistanceCondition value="1.0"/>
</EntityCondition>
</ByEntityCondition>
</Condition>
<Condition name="StartTime" delay="0" conditionEdge="rising">
<ByValueCondition>
<SimulationTimeCondition value="0" rule="equalTo"/>
</ByValueCondition>
</Condition>
</ConditionGroup>
</StartTrigger>
<StopTrigger>
<ConditionGroup>
<Condition name="EndCondition" delay="0" conditionEdge="rising">
<ByEntityCondition>
<TriggeringEntities triggeringEntitiesRule="any">
<EntityRef entityRef="hero"/>
</TriggeringEntities>
<EntityCondition>
<TraveledDistanceCondition value="200.0"/>
</EntityCondition>
</ByEntityCondition>
</Condition>
</ConditionGroup>
</StopTrigger>
</Act>
</Story>
<StopTrigger>
<ConditionGroup>
<Condition name="criteria_RunningStopTest" delay="0" conditionEdge="rising">
<ByValueCondition>
<ParameterCondition parameterRef="" value="" rule="lessThan"/>
</ByValueCondition>
</Condition>
<Condition name="criteria_RunningRedLightTest" delay="0" conditionEdge="rising">
<ByValueCondition>
<ParameterCondition parameterRef="" value="" rule="lessThan"/>
</ByValueCondition>
</Condition>
<Condition name="criteria_WrongLaneTest" delay="0" conditionEdge="rising">
<ByValueCondition>
<ParameterCondition parameterRef="" value="" rule="lessThan"/>
</ByValueCondition>
</Condition>
<Condition name="criteria_OnSidewalkTest" delay="0" conditionEdge="rising">
<ByValueCondition>
<ParameterCondition parameterRef="" value="" rule="lessThan"/>
</ByValueCondition>
</Condition>
<Condition name="criteria_KeepLaneTest" delay="0" conditionEdge="rising">
<ByValueCondition>
<ParameterCondition parameterRef="" value="" rule="lessThan"/>
</ByValueCondition>
</Condition>
<Condition name="criteria_CollisionTest" delay="0" conditionEdge="rising">
<ByValueCondition>
<ParameterCondition parameterRef="" value="" rule="lessThan"/>
</ByValueCondition>
</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_hero_21488">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_close_to_hero_21490">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_close_to_adversary_21491">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_w_transform_21492">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_close_to_standing_21493">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_close_to_standing_21494">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
</Entities>
<Storyboard>
<Init>
<Actions>
<GlobalAction>
<EnvironmentAction>
<Environment name="Environment1">
<TimeOfDay animation="false" dateTime="2019-06-25T12:00:00"/>
<Weather cloudState="free">
<Sun intensity="0.85" azimuth="0" elevation="1.31"/>
<Fog visualRange="100000.0"/>
<Precipitation precipitationType="dry" intensity="0.0"/>
</Weather>
<RoadCondition frictionScaleFactor="1.0"/>
</Environment>
</EnvironmentAction>
</GlobalAction>
<Private entityRef="hero">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-9.4" y="-152.8" z="0.5" h="1.57079632679"/>
</Position>
</TeleportAction>
</PrivateAction>
<PrivateAction>
<ControllerAction>
<AssignControllerAction>
<Controller name="HeroAgent">
<Properties>
<Property name="module" value="external_control"/>
</Properties>
</Controller>
</AssignControllerAction>
<OverrideControllerValueAction>
<Throttle value="0" active="false"/>
<Brake value="0" active="false"/>
<Clutch value="0" active="false"/>
<ParkingBrake value="0" active="false"/>
<SteeringWheel value="0" active="false"/>
<Gear number="0" active="false"/>
</OverrideControllerValueAction>
</ControllerAction>
</PrivateAction>
</Private>
<Private entityRef="adversary">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-9.4" y="-71.0" z="0.5" h="1.57079632679"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="standing">
<PrivateAction>
<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_21488">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-16.670246124267578" y="-151.23788452148438" z="0.0014286803780123591"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_close_to_hero_21490">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-17.6711368560791" y="-153.2360382080078" z="0.0014286803780123591"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_close_to_adversary_21491">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-8.49557876586914" y="-69.37279510498047" z="0.033819541335105896"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_w_transform_21492">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-34.552467346191406" y="7.123428821563721" z="0.5"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_close_to_standing_21493">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-9.89566707611084" y="27.731210708618164" z="0.003063812153413892"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_close_to_standing_21494">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-12.527392387390137" y="25.976484298706055" z="0.0030213927384465933"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
</Actions>
</Init>
<Story name="MyStory">
<Act name="Behavior">
<ManeuverGroup maximumExecutionCount="1" name="ManeuverSequence">
<Actors selectTriggeringEntities="false">
<EntityRef entityRef="adversary"/>
</Actors>
<Maneuver name="LaneChangeSimpleManeuver">
<Event name="AdversaryAccelerates" priority="overwrite">
<Action name="AdversaryAccelerates">
<PrivateAction>
<LongitudinalAction>
<SpeedAction>
<SpeedActionDynamics dynamicsShape="step" value="50" dynamicsDimension="distance"/>
<SpeedActionTarget>
<AbsoluteTargetSpeed value="5.0"/>
</SpeedActionTarget>
</SpeedAction>
</LongitudinalAction>
</PrivateAction>
</Action>
<StartTrigger>
<ConditionGroup>
<Condition name="StartCondition" delay="0" conditionEdge="rising">
<ByEntityCondition>
<TriggeringEntities triggeringEntitiesRule="any">
<EntityRef entityRef="hero"/>
</TriggeringEntities>
<EntityCondition>
<RelativeDistanceCondition entityRef="adversary" relativeDistanceType="cartesianDistance" value="40.0" freespace="false" rule="lessThan"/>
</EntityCondition>
</ByEntityCondition>
</Condition>
</ConditionGroup>
</StartTrigger>
</Event>
<Event name="AdversaryChangesLane" priority="overwrite">
<Action name="AdversaryChangesLane">
<PrivateAction>
<LateralAction>
<LaneChangeAction>
<LaneChangeActionDynamics dynamicsShape="linear" value="25" dynamicsDimension="distance"/>
<LaneChangeTarget>
<RelativeTargetLane entityRef="adversary" value="-1"/>
</LaneChangeTarget>
</LaneChangeAction>
</LateralAction>
</PrivateAction>
</Action>
<StartTrigger>
<ConditionGroup>
<Condition name="AfterAdversaryAccelerates" delay="0" conditionEdge="rising">
<ByValueCondition>
<StoryboardElementStateCondition storyboardElementType="action" storyboardElementRef="AdversaryAccelerates" state="completeState"/>
</ByValueCondition>
</Condition>
</ConditionGroup>
</StartTrigger>
</Event>
</Maneuver>
</ManeuverGroup>
<StartTrigger>
<ConditionGroup>
<Condition name="OverallStartCondition" delay="0" conditionEdge="rising">
<ByEntityCondition>
<TriggeringEntities triggeringEntitiesRule="any">
<EntityRef entityRef="hero"/>
</TriggeringEntities>
<EntityCondition>
<TraveledDistanceCondition value="1.0"/>
</EntityCondition>
</ByEntityCondition>
</Condition>
<Condition name="StartTime" delay="0" conditionEdge="rising">
<ByValueCondition>
<SimulationTimeCondition value="0" rule="equalTo"/>
</ByValueCondition>
</Condition>
</ConditionGroup>
</StartTrigger>
<StopTrigger>
<ConditionGroup>
<Condition name="EndCondition" delay="0" conditionEdge="rising">
<ByEntityCondition>
<TriggeringEntities triggeringEntitiesRule="any">
<EntityRef entityRef="hero"/>
</TriggeringEntities>
<EntityCondition>
<TraveledDistanceCondition value="200.0"/>
</EntityCondition>
</ByEntityCondition>
</Condition>
</ConditionGroup>
</StopTrigger>
</Act>
</Story>
<StopTrigger>
<ConditionGroup>
<Condition name="criteria_RunningStopTest" delay="0" conditionEdge="rising">
<ByValueCondition>
<ParameterCondition parameterRef="" value="" rule="lessThan"/>
</ByValueCondition>
</Condition>
<Condition name="criteria_RunningRedLightTest" delay="0" conditionEdge="rising">
<ByValueCondition>
<ParameterCondition parameterRef="" value="" rule="lessThan"/>
</ByValueCondition>
</Condition>
<Condition name="criteria_WrongLaneTest" delay="0" conditionEdge="rising">
<ByValueCondition>
<ParameterCondition parameterRef="" value="" rule="lessThan"/>
</ByValueCondition>
</Condition>
<Condition name="criteria_OnSidewalkTest" delay="0" conditionEdge="rising">
<ByValueCondition>
<ParameterCondition parameterRef="" value="" rule="lessThan"/>
</ByValueCondition>
</Condition>
<Condition name="criteria_KeepLaneTest" delay="0" conditionEdge="rising">
<ByValueCondition>
<ParameterCondition parameterRef="" value="" rule="lessThan"/>
</ByValueCondition>
</Condition>
<Condition name="criteria_CollisionTest" delay="0" conditionEdge="rising">
<ByValueCondition>
<ParameterCondition parameterRef="" value="" rule="lessThan"/>
</ByValueCondition>
</Condition>
<Condition name="criteria_DrivenDistanceTest" delay="0" conditionEdge="rising">
<ByValueCondition>
<ParameterCondition parameterRef="distance_success" value="100" rule="lessThan"/>
</ByValueCondition>
</Condition>
</ConditionGroup>
</StopTrigger>
</Storyboard>
</OpenSCENARIO>
``` | Here is the result:
```
<?xml version="1.0" ?>
<OpenSCENARIO>
<FileHeader revMajor="1" revMinor="0" date="2020-03-24T12:00:00" description="CARLA:LaneChangeSimple" author=""/>
<ParameterDeclarations/>
<CatalogLocations/>
<RoadNetwork>
<LogicFile filepath="Town04"/>
<SceneGraphFile filepath=""/>
</RoadNetwork>
<Entities>
<ScenarioObject name="hero">
<Vehicle name="vehicle.tesla.model3" vehicleCategory="car">
<ParameterDeclarations/>
<Performance maxSpeed="69.444" maxAcceleration="200" maxDeceleration="10.0"/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2.1" length="4.5" height="1.8"/>
</BoundingBox>
<Axles>
<FrontAxle maxSteering="0.5" wheelDiameter="0.6" trackWidth="1.8" positionX="3.1" positionZ="0.3"/>
<RearAxle maxSteering="0.0" wheelDiameter="0.6" trackWidth="1.8" positionX="0.0" positionZ="0.3"/>
</Axles>
<Properties>
<Property name="type" value="ego_vehicle"/>
</Properties>
</Vehicle>
</ScenarioObject>
<ScenarioObject name="adversary">
<Vehicle name="vehicle.lincoln.mkz_2017" vehicleCategory="car">
<ParameterDeclarations/>
<Performance maxSpeed="69.444" maxAcceleration="200" maxDeceleration="10.0"/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2.1" length="4.5" height="1.8"/>
</BoundingBox>
<Axles>
<FrontAxle maxSteering="0.5" wheelDiameter="0.6" trackWidth="1.8" positionX="3.1" positionZ="0.3"/>
<RearAxle maxSteering="0.0" wheelDiameter="0.6" trackWidth="1.8" positionX="0.0" positionZ="0.3"/>
</Axles>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Vehicle>
</ScenarioObject>
<ScenarioObject name="standing">
<Vehicle name="vehicle.volkswagen.t2" vehicleCategory="car">
<ParameterDeclarations/>
<Performance maxSpeed="69.444" maxAcceleration="200" maxDeceleration="10.0"/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2.1" length="4.5" height="1.8"/>
</BoundingBox>
<Axles>
<FrontAxle maxSteering="0.5" wheelDiameter="0.6" trackWidth="1.8" positionX="3.1" positionZ="0.3"/>
<RearAxle maxSteering="0.0" wheelDiameter="0.6" 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_21488">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_close_to_hero_21490">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_close_to_adversary_21491">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_w_transform_21492">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_close_to_standing_21493">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_close_to_standing_21494">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_close_to_hero_21495">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
</Entities>
<Storyboard>
<Init>
<Actions>
<GlobalAction>
<EnvironmentAction>
<Environment name="Environment1">
<TimeOfDay animation="false" dateTime="2019-06-25T12:00:00"/>
<Weather cloudState="free">
<Sun intensity="0.85" azimuth="0" elevation="1.31"/>
<Fog visualRange="100000.0"/>
<Precipitation precipitationType="dry" intensity="0.0"/>
</Weather>
<RoadCondition frictionScaleFactor="1.0"/>
</Environment>
</EnvironmentAction>
</GlobalAction>
<Private entityRef="hero">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-9.4" y="-152.8" z="0.5" h="1.57079632679"/>
</Position>
</TeleportAction>
</PrivateAction>
<PrivateAction>
<ControllerAction>
<AssignControllerAction>
<Controller name="HeroAgent">
<Properties>
<Property name="module" value="external_control"/>
</Properties>
</Controller>
</AssignControllerAction>
<OverrideControllerValueAction>
<Throttle value="0" active="false"/>
<Brake value="0" active="false"/>
<Clutch value="0" active="false"/>
<ParkingBrake value="0" active="false"/>
<SteeringWheel value="0" active="false"/>
<Gear number="0" active="false"/>
</OverrideControllerValueAction>
</ControllerAction>
</PrivateAction>
</Private>
<Private entityRef="adversary">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-9.4" y="-71.0" z="0.5" h="1.57079632679"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="standing">
<PrivateAction>
<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_21488">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-16.670246124267578" y="-151.23788452148438" z="0.0014286803780123591"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_close_to_hero_21490">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-17.6711368560791" y="-153.2360382080078" z="0.0014286803780123591"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_close_to_adversary_21491">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-8.49557876586914" y="-69.37279510498047" z="0.033819541335105896"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_w_transform_21492">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-34.552467346191406" y="7.123428821563721" z="0.5"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_close_to_standing_21493">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-9.89566707611084" y="27.731210708618164" z="0.003063812153413892"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_close_to_standing_21494">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-12.527392387390137" y="25.976484298706055" z="0.0030213927384465933"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_close_to_hero_21495">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-16.26833724975586" y="-164.16192626953125" 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 remove pedestrian actor named pedestrian_w_transform_2660?
```
<?xml version="1.0" ?>
<OpenSCENARIO>
<FileHeader revMajor="1" revMinor="0" date="2020-03-24T12:00:00" description="CARLA:LaneChangeSimple" author=""/>
<ParameterDeclarations/>
<CatalogLocations/>
<RoadNetwork>
<LogicFile filepath="Town04"/>
<SceneGraphFile filepath=""/>
</RoadNetwork>
<Entities>
<ScenarioObject name="hero">
<Vehicle name="vehicle.tesla.model3" vehicleCategory="car">
<ParameterDeclarations/>
<Performance maxSpeed="69.444" maxAcceleration="200" maxDeceleration="10.0"/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2.1" length="4.5" height="1.8"/>
</BoundingBox>
<Axles>
<FrontAxle maxSteering="0.5" wheelDiameter="0.6" trackWidth="1.8" positionX="3.1" positionZ="0.3"/>
<RearAxle maxSteering="0.0" wheelDiameter="0.6" trackWidth="1.8" positionX="0.0" positionZ="0.3"/>
</Axles>
<Properties>
<Property name="type" value="ego_vehicle"/>
</Properties>
</Vehicle>
</ScenarioObject>
<ScenarioObject name="adversary">
<Vehicle name="vehicle.lincoln.mkz_2017" vehicleCategory="car">
<ParameterDeclarations/>
<Performance maxSpeed="69.444" maxAcceleration="200" maxDeceleration="10.0"/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2.1" length="4.5" height="1.8"/>
</BoundingBox>
<Axles>
<FrontAxle maxSteering="0.5" wheelDiameter="0.6" trackWidth="1.8" positionX="3.1" positionZ="0.3"/>
<RearAxle maxSteering="0.0" wheelDiameter="0.6" trackWidth="1.8" positionX="0.0" positionZ="0.3"/>
</Axles>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Vehicle>
</ScenarioObject>
<ScenarioObject name="standing">
<Vehicle name="vehicle.volkswagen.t2" vehicleCategory="car">
<ParameterDeclarations/>
<Performance maxSpeed="69.444" maxAcceleration="200" maxDeceleration="10.0"/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2.1" length="4.5" height="1.8"/>
</BoundingBox>
<Axles>
<FrontAxle maxSteering="0.5" wheelDiameter="0.6" trackWidth="1.8" positionX="3.1" positionZ="0.3"/>
<RearAxle maxSteering="0.0" wheelDiameter="0.6" 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_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_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_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_w_transform_2669">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
</Entities>
<Storyboard>
<Init>
<Actions>
<GlobalAction>
<EnvironmentAction>
<Environment name="Environment1">
<TimeOfDay animation="false" dateTime="2019-06-25T12:00:00"/>
<Weather cloudState="free">
<Sun intensity="0.85" azimuth="0" elevation="1.31"/>
<Fog visualRange="100000.0"/>
<Precipitation precipitationType="dry" intensity="0.0"/>
</Weather>
<RoadCondition frictionScaleFactor="1.0"/>
</Environment>
</EnvironmentAction>
</GlobalAction>
<Private entityRef="hero">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-9.4" y="-152.8" z="0.5" h="1.57079632679"/>
</Position>
</TeleportAction>
</PrivateAction>
<PrivateAction>
<ControllerAction>
<AssignControllerAction>
<Controller name="HeroAgent">
<Properties>
<Property name="module" value="external_control"/>
</Properties>
</Controller>
</AssignControllerAction>
<OverrideControllerValueAction>
<Throttle value="0" active="false"/>
<Brake value="0" active="false"/>
<Clutch value="0" active="false"/>
<ParkingBrake value="0" active="false"/>
<SteeringWheel value="0" active="false"/>
<Gear number="0" active="false"/>
</OverrideControllerValueAction>
</ControllerAction>
</PrivateAction>
</Private>
<Private entityRef="adversary">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-9.4" y="-71.0" z="0.5" h="1.57079632679"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="standing">
<PrivateAction>
<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_standing_2656">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="1.7187917232513428" y="24.105331420898438" z="0.0030786895658820868"/>
</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_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_w_transform_2669">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="67.81581115722656" y="45.47666549682617" z="0.5"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
</Actions>
</Init>
<Story name="MyStory">
<Act name="Behavior">
<ManeuverGroup maximumExecutionCount="1" name="ManeuverSequence">
<Actors selectTriggeringEntities="false">
<EntityRef entityRef="adversary"/>
</Actors>
<Maneuver name="LaneChangeSimpleManeuver">
<Event name="AdversaryAccelerates" priority="overwrite">
<Action name="AdversaryAccelerates">
<PrivateAction>
<LongitudinalAction>
<SpeedAction>
<SpeedActionDynamics dynamicsShape="step" value="50" dynamicsDimension="distance"/>
<SpeedActionTarget>
<AbsoluteTargetSpeed value="5.0"/>
</SpeedActionTarget>
</SpeedAction>
</LongitudinalAction>
</PrivateAction>
</Action>
<StartTrigger>
<ConditionGroup>
<Condition name="StartCondition" delay="0" conditionEdge="rising">
<ByEntityCondition>
<TriggeringEntities triggeringEntitiesRule="any">
<EntityRef entityRef="hero"/>
</TriggeringEntities>
<EntityCondition>
<RelativeDistanceCondition entityRef="adversary" relativeDistanceType="cartesianDistance" value="40.0" freespace="false" rule="lessThan"/>
</EntityCondition>
</ByEntityCondition>
</Condition>
</ConditionGroup>
</StartTrigger>
</Event>
<Event name="AdversaryChangesLane" priority="overwrite">
<Action name="AdversaryChangesLane">
<PrivateAction>
<LateralAction>
<LaneChangeAction>
<LaneChangeActionDynamics dynamicsShape="linear" value="25" dynamicsDimension="distance"/>
<LaneChangeTarget>
<RelativeTargetLane entityRef="adversary" value="-1"/>
</LaneChangeTarget>
</LaneChangeAction>
</LateralAction>
</PrivateAction>
</Action>
<StartTrigger>
<ConditionGroup>
<Condition name="AfterAdversaryAccelerates" delay="0" conditionEdge="rising">
<ByValueCondition>
<StoryboardElementStateCondition storyboardElementType="action" storyboardElementRef="AdversaryAccelerates" state="completeState"/>
</ByValueCondition>
</Condition>
</ConditionGroup>
</StartTrigger>
</Event>
</Maneuver>
</ManeuverGroup>
<StartTrigger>
<ConditionGroup>
<Condition name="OverallStartCondition" delay="0" conditionEdge="rising">
<ByEntityCondition>
<TriggeringEntities triggeringEntitiesRule="any">
<EntityRef entityRef="hero"/>
</TriggeringEntities>
<EntityCondition>
<TraveledDistanceCondition value="1.0"/>
</EntityCondition>
</ByEntityCondition>
</Condition>
<Condition name="StartTime" delay="0" conditionEdge="rising">
<ByValueCondition>
<SimulationTimeCondition value="0" rule="equalTo"/>
</ByValueCondition>
</Condition>
</ConditionGroup>
</StartTrigger>
<StopTrigger>
<ConditionGroup>
<Condition name="EndCondition" delay="0" conditionEdge="rising">
<ByEntityCondition>
<TriggeringEntities triggeringEntitiesRule="any">
<EntityRef entityRef="hero"/>
</TriggeringEntities>
<EntityCondition>
<TraveledDistanceCondition value="200.0"/>
</EntityCondition>
</ByEntityCondition>
</Condition>
</ConditionGroup>
</StopTrigger>
</Act>
</Story>
<StopTrigger>
<ConditionGroup>
<Condition name="criteria_RunningStopTest" delay="0" conditionEdge="rising">
<ByValueCondition>
<ParameterCondition parameterRef="" value="" rule="lessThan"/>
</ByValueCondition>
</Condition>
<Condition name="criteria_RunningRedLightTest" delay="0" conditionEdge="rising">
<ByValueCondition>
<ParameterCondition parameterRef="" value="" rule="lessThan"/>
</ByValueCondition>
</Condition>
<Condition name="criteria_WrongLaneTest" delay="0" conditionEdge="rising">
<ByValueCondition>
<ParameterCondition parameterRef="" value="" rule="lessThan"/>
</ByValueCondition>
</Condition>
<Condition name="criteria_OnSidewalkTest" delay="0" conditionEdge="rising">
<ByValueCondition>
<ParameterCondition parameterRef="" value="" rule="lessThan"/>
</ByValueCondition>
</Condition>
<Condition name="criteria_KeepLaneTest" delay="0" conditionEdge="rising">
<ByValueCondition>
<ParameterCondition parameterRef="" value="" rule="lessThan"/>
</ByValueCondition>
</Condition>
<Condition name="criteria_CollisionTest" delay="0" conditionEdge="rising">
<ByValueCondition>
<ParameterCondition parameterRef="" value="" rule="lessThan"/>
</ByValueCondition>
</Condition>
<Condition name="criteria_DrivenDistanceTest" delay="0" conditionEdge="rising">
<ByValueCondition>
<ParameterCondition parameterRef="distance_success" value="100" rule="lessThan"/>
</ByValueCondition>
</Condition>
</ConditionGroup>
</StopTrigger>
</Storyboard>
</OpenSCENARIO>
``` | Here is the result:
```
<?xml version="1.0" ?>
<OpenSCENARIO>
<FileHeader revMajor="1" revMinor="0" date="2020-03-24T12:00:00" description="CARLA:LaneChangeSimple" author=""/>
<ParameterDeclarations/>
<CatalogLocations/>
<RoadNetwork>
<LogicFile filepath="Town04"/>
<SceneGraphFile filepath=""/>
</RoadNetwork>
<Entities>
<ScenarioObject name="hero">
<Vehicle name="vehicle.tesla.model3" vehicleCategory="car">
<ParameterDeclarations/>
<Performance maxSpeed="69.444" maxAcceleration="200" maxDeceleration="10.0"/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2.1" length="4.5" height="1.8"/>
</BoundingBox>
<Axles>
<FrontAxle maxSteering="0.5" wheelDiameter="0.6" trackWidth="1.8" positionX="3.1" positionZ="0.3"/>
<RearAxle maxSteering="0.0" wheelDiameter="0.6" trackWidth="1.8" positionX="0.0" positionZ="0.3"/>
</Axles>
<Properties>
<Property name="type" value="ego_vehicle"/>
</Properties>
</Vehicle>
</ScenarioObject>
<ScenarioObject name="adversary">
<Vehicle name="vehicle.lincoln.mkz_2017" vehicleCategory="car">
<ParameterDeclarations/>
<Performance maxSpeed="69.444" maxAcceleration="200" maxDeceleration="10.0"/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2.1" length="4.5" height="1.8"/>
</BoundingBox>
<Axles>
<FrontAxle maxSteering="0.5" wheelDiameter="0.6" trackWidth="1.8" positionX="3.1" positionZ="0.3"/>
<RearAxle maxSteering="0.0" wheelDiameter="0.6" trackWidth="1.8" positionX="0.0" positionZ="0.3"/>
</Axles>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Vehicle>
</ScenarioObject>
<ScenarioObject name="standing">
<Vehicle name="vehicle.volkswagen.t2" vehicleCategory="car">
<ParameterDeclarations/>
<Performance maxSpeed="69.444" maxAcceleration="200" maxDeceleration="10.0"/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2.1" length="4.5" height="1.8"/>
</BoundingBox>
<Axles>
<FrontAxle maxSteering="0.5" wheelDiameter="0.6" trackWidth="1.8" positionX="3.1" positionZ="0.3"/>
<RearAxle maxSteering="0.0" wheelDiameter="0.6" 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_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_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_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_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_w_transform_2669">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
</Entities>
<Storyboard>
<Init>
<Actions>
<GlobalAction>
<EnvironmentAction>
<Environment name="Environment1">
<TimeOfDay animation="false" dateTime="2019-06-25T12:00:00"/>
<Weather cloudState="free">
<Sun intensity="0.85" azimuth="0" elevation="1.31"/>
<Fog visualRange="100000.0"/>
<Precipitation precipitationType="dry" intensity="0.0"/>
</Weather>
<RoadCondition frictionScaleFactor="1.0"/>
</Environment>
</EnvironmentAction>
</GlobalAction>
<Private entityRef="hero">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-9.4" y="-152.8" z="0.5" h="1.57079632679"/>
</Position>
</TeleportAction>
</PrivateAction>
<PrivateAction>
<ControllerAction>
<AssignControllerAction>
<Controller name="HeroAgent">
<Properties>
<Property name="module" value="external_control"/>
</Properties>
</Controller>
</AssignControllerAction>
<OverrideControllerValueAction>
<Throttle value="0" active="false"/>
<Brake value="0" active="false"/>
<Clutch value="0" active="false"/>
<ParkingBrake value="0" active="false"/>
<SteeringWheel value="0" active="false"/>
<Gear number="0" active="false"/>
</OverrideControllerValueAction>
</ControllerAction>
</PrivateAction>
</Private>
<Private entityRef="adversary">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-9.4" y="-71.0" z="0.5" h="1.57079632679"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="standing">
<PrivateAction>
<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_standing_2656">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="1.7187917232513428" y="24.105331420898438" z="0.0030786895658820868"/>
</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_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_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_w_transform_2669">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="67.81581115722656" y="45.47666549682617" z="0.5"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
</Actions>
</Init>
<Story name="MyStory">
<Act name="Behavior">
<ManeuverGroup maximumExecutionCount="1" name="ManeuverSequence">
<Actors selectTriggeringEntities="false">
<EntityRef entityRef="adversary"/>
</Actors>
<Maneuver name="LaneChangeSimpleManeuver">
<Event name="AdversaryAccelerates" priority="overwrite">
<Action name="AdversaryAccelerates">
<PrivateAction>
<LongitudinalAction>
<SpeedAction>
<SpeedActionDynamics dynamicsShape="step" value="50" dynamicsDimension="distance"/>
<SpeedActionTarget>
<AbsoluteTargetSpeed value="5.0"/>
</SpeedActionTarget>
</SpeedAction>
</LongitudinalAction>
</PrivateAction>
</Action>
<StartTrigger>
<ConditionGroup>
<Condition name="StartCondition" delay="0" conditionEdge="rising">
<ByEntityCondition>
<TriggeringEntities triggeringEntitiesRule="any">
<EntityRef entityRef="hero"/>
</TriggeringEntities>
<EntityCondition>
<RelativeDistanceCondition entityRef="adversary" relativeDistanceType="cartesianDistance" value="40.0" freespace="false" rule="lessThan"/>
</EntityCondition>
</ByEntityCondition>
</Condition>
</ConditionGroup>
</StartTrigger>
</Event>
<Event name="AdversaryChangesLane" priority="overwrite">
<Action name="AdversaryChangesLane">
<PrivateAction>
<LateralAction>
<LaneChangeAction>
<LaneChangeActionDynamics dynamicsShape="linear" value="25" dynamicsDimension="distance"/>
<LaneChangeTarget>
<RelativeTargetLane entityRef="adversary" value="-1"/>
</LaneChangeTarget>
</LaneChangeAction>
</LateralAction>
</PrivateAction>
</Action>
<StartTrigger>
<ConditionGroup>
<Condition name="AfterAdversaryAccelerates" delay="0" conditionEdge="rising">
<ByValueCondition>
<StoryboardElementStateCondition storyboardElementType="action" storyboardElementRef="AdversaryAccelerates" state="completeState"/>
</ByValueCondition>
</Condition>
</ConditionGroup>
</StartTrigger>
</Event>
</Maneuver>
</ManeuverGroup>
<StartTrigger>
<ConditionGroup>
<Condition name="OverallStartCondition" delay="0" conditionEdge="rising">
<ByEntityCondition>
<TriggeringEntities triggeringEntitiesRule="any">
<EntityRef entityRef="hero"/>
</TriggeringEntities>
<EntityCondition>
<TraveledDistanceCondition value="1.0"/>
</EntityCondition>
</ByEntityCondition>
</Condition>
<Condition name="StartTime" delay="0" conditionEdge="rising">
<ByValueCondition>
<SimulationTimeCondition value="0" rule="equalTo"/>
</ByValueCondition>
</Condition>
</ConditionGroup>
</StartTrigger>
<StopTrigger>
<ConditionGroup>
<Condition name="EndCondition" delay="0" conditionEdge="rising">
<ByEntityCondition>
<TriggeringEntities triggeringEntitiesRule="any">
<EntityRef entityRef="hero"/>
</TriggeringEntities>
<EntityCondition>
<TraveledDistanceCondition value="200.0"/>
</EntityCondition>
</ByEntityCondition>
</Condition>
</ConditionGroup>
</StopTrigger>
</Act>
</Story>
<StopTrigger>
<ConditionGroup>
<Condition name="criteria_RunningStopTest" delay="0" conditionEdge="rising">
<ByValueCondition>
<ParameterCondition parameterRef="" value="" rule="lessThan"/>
</ByValueCondition>
</Condition>
<Condition name="criteria_RunningRedLightTest" delay="0" conditionEdge="rising">
<ByValueCondition>
<ParameterCondition parameterRef="" value="" rule="lessThan"/>
</ByValueCondition>
</Condition>
<Condition name="criteria_WrongLaneTest" delay="0" conditionEdge="rising">
<ByValueCondition>
<ParameterCondition parameterRef="" value="" rule="lessThan"/>
</ByValueCondition>
</Condition>
<Condition name="criteria_OnSidewalkTest" delay="0" conditionEdge="rising">
<ByValueCondition>
<ParameterCondition parameterRef="" value="" rule="lessThan"/>
</ByValueCondition>
</Condition>
<Condition name="criteria_KeepLaneTest" delay="0" conditionEdge="rising">
<ByValueCondition>
<ParameterCondition parameterRef="" value="" rule="lessThan"/>
</ByValueCondition>
</Condition>
<Condition name="criteria_CollisionTest" delay="0" conditionEdge="rising">
<ByValueCondition>
<ParameterCondition parameterRef="" value="" rule="lessThan"/>
</ByValueCondition>
</Condition>
<Condition name="criteria_DrivenDistanceTest" delay="0" conditionEdge="rising">
<ByValueCondition>
<ParameterCondition parameterRef="distance_success" value="100" rule="lessThan"/>
</ByValueCondition>
</Condition>
</ConditionGroup>
</StopTrigger>
</Storyboard>
</OpenSCENARIO>
``` |
i would like you to add pedestrian close to adversary?
```
<?xml version="1.0" ?>
<OpenSCENARIO>
<FileHeader revMajor="1" revMinor="0" date="2020-03-24T12:00:00" description="CARLA:LaneChangeSimple" author=""/>
<ParameterDeclarations/>
<CatalogLocations/>
<RoadNetwork>
<LogicFile filepath="Town04"/>
<SceneGraphFile filepath=""/>
</RoadNetwork>
<Entities>
<ScenarioObject name="hero">
<Vehicle name="vehicle.tesla.model3" vehicleCategory="car">
<ParameterDeclarations/>
<Performance maxSpeed="69.444" maxAcceleration="200" maxDeceleration="10.0"/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2.1" length="4.5" height="1.8"/>
</BoundingBox>
<Axles>
<FrontAxle maxSteering="0.5" wheelDiameter="0.6" trackWidth="1.8" positionX="3.1" positionZ="0.3"/>
<RearAxle maxSteering="0.0" wheelDiameter="0.6" trackWidth="1.8" positionX="0.0" positionZ="0.3"/>
</Axles>
<Properties>
<Property name="type" value="ego_vehicle"/>
</Properties>
</Vehicle>
</ScenarioObject>
<ScenarioObject name="adversary">
<Vehicle name="vehicle.lincoln.mkz_2017" vehicleCategory="car">
<ParameterDeclarations/>
<Performance maxSpeed="69.444" maxAcceleration="200" maxDeceleration="10.0"/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2.1" length="4.5" height="1.8"/>
</BoundingBox>
<Axles>
<FrontAxle maxSteering="0.5" wheelDiameter="0.6" trackWidth="1.8" positionX="3.1" positionZ="0.3"/>
<RearAxle maxSteering="0.0" wheelDiameter="0.6" trackWidth="1.8" positionX="0.0" positionZ="0.3"/>
</Axles>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Vehicle>
</ScenarioObject>
<ScenarioObject name="standing">
<Vehicle name="vehicle.volkswagen.t2" vehicleCategory="car">
<ParameterDeclarations/>
<Performance maxSpeed="69.444" maxAcceleration="200" maxDeceleration="10.0"/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2.1" length="4.5" height="1.8"/>
</BoundingBox>
<Axles>
<FrontAxle maxSteering="0.5" wheelDiameter="0.6" trackWidth="1.8" positionX="3.1" positionZ="0.3"/>
<RearAxle maxSteering="0.0" wheelDiameter="0.6" trackWidth="1.8" positionX="0.0" positionZ="0.3"/>
</Axles>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Vehicle>
</ScenarioObject>
<ScenarioObject name="pedestrian_close_to_hero_14410">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_w_transform_14411">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_close_to_standing_14412">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_close_to_adversary_14413">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_close_to_hero_14414">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_close_to_standing_14415">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_close_to_adversary_14416">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_close_to_hero_14417">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_close_to_hero_14418">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_close_to_adversary_14419">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_close_to_standing_14420">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_close_to_standing_14421">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_w_transform_14422">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_close_to_hero_14423">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_close_to_standing_14424">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_w_transform_14425">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_w_transform_14426">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_close_to_adversary_14427">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_w_transform_14428">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_w_transform_14429">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_w_transform_14430">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
</Entities>
<Storyboard>
<Init>
<Actions>
<GlobalAction>
<EnvironmentAction>
<Environment name="Environment1">
<TimeOfDay animation="false" dateTime="2019-06-25T12:00:00"/>
<Weather cloudState="free">
<Sun intensity="0.85" azimuth="0" elevation="1.31"/>
<Fog visualRange="100000.0"/>
<Precipitation precipitationType="dry" intensity="0.0"/>
</Weather>
<RoadCondition frictionScaleFactor="1.0"/>
</Environment>
</EnvironmentAction>
</GlobalAction>
<Private entityRef="hero">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-9.4" y="-152.8" z="0.5" h="1.57079632679"/>
</Position>
</TeleportAction>
</PrivateAction>
<PrivateAction>
<ControllerAction>
<AssignControllerAction>
<Controller name="HeroAgent">
<Properties>
<Property name="module" value="external_control"/>
</Properties>
</Controller>
</AssignControllerAction>
<OverrideControllerValueAction>
<Throttle value="0" active="false"/>
<Brake value="0" active="false"/>
<Clutch value="0" active="false"/>
<ParkingBrake value="0" active="false"/>
<SteeringWheel value="0" active="false"/>
<Gear number="0" active="false"/>
</OverrideControllerValueAction>
</ControllerAction>
</PrivateAction>
</Private>
<Private entityRef="adversary">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-9.4" y="-71.0" z="0.5" h="1.57079632679"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="standing">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-8.2" y="29.2" z="0.5" h="1.57079632679"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_close_to_hero_14410">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-9.929585456848145" y="-155.0712127685547" z="0.0014286803780123591"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_w_transform_14411">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="37.7911262512207" y="90.5811996459961" z="0.5"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_close_to_standing_14412">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-13.493317604064941" y="36.603519439697266" z="0.003015441820025444"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_close_to_adversary_14413">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-17.585514068603516" y="-78.9810562133789" z="0.03379634767770767"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_close_to_hero_14414">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-1.6567223072052002" y="-143.5908966064453" z="0.0014286803780123591"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_close_to_standing_14415">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-14.405670166015625" y="28.103330612182617" z="0.0030877303797751665"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_close_to_adversary_14416">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-14.034368515014648" y="-79.12865447998047" z="0.03379024565219879"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_close_to_hero_14417">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-8.174361228942871" y="-158.0565185546875" z="0.0014286803780123591"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_close_to_hero_14418">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-12.34603500366211" y="-156.1090850830078" z="0.0014286803780123591"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_close_to_adversary_14419">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-3.4735240936279297" y="-61.297298431396484" z="0.0338328555226326"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_close_to_standing_14420">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-9.162835121154785" y="25.037532806396484" z="0.0030564498156309128"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_close_to_standing_14421">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-13.637338638305664" y="25.306760787963867" z="0.003073577769100666"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_w_transform_14422">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-93.9078140258789" y="23.987428665161133" z="0.5"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_close_to_hero_14423">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-3.340691566467285" y="-137.60980224609375" z="0.0014286803780123591"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_close_to_standing_14424">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-6.292234897613525" y="24.313209533691406" z="0.0030358503572642803"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_w_transform_14425">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="72.58164978027344" y="-14.434184074401855" z="0.5"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_w_transform_14426">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-4.358885765075684" y="-47.32848358154297" z="0.5"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_close_to_adversary_14427">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-14.12333869934082" y="-64.11931610107422" z="0.03372318297624588"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_w_transform_14428">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="9.209879875183105" y="-39.998504638671875" z="0.5"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_w_transform_14429">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="4.234889984130859" y="85.46124267578125" z="0.5"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_w_transform_14430">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="18.809925079345703" y="-22.68226432800293" z="0.5"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
</Actions>
</Init>
<Story name="MyStory">
<Act name="Behavior">
<ManeuverGroup maximumExecutionCount="1" name="ManeuverSequence">
<Actors selectTriggeringEntities="false">
<EntityRef entityRef="adversary"/>
</Actors>
<Maneuver name="LaneChangeSimpleManeuver">
<Event name="AdversaryAccelerates" priority="overwrite">
<Action name="AdversaryAccelerates">
<PrivateAction>
<LongitudinalAction>
<SpeedAction>
<SpeedActionDynamics dynamicsShape="step" value="50" dynamicsDimension="distance"/>
<SpeedActionTarget>
<AbsoluteTargetSpeed value="5.0"/>
</SpeedActionTarget>
</SpeedAction>
</LongitudinalAction>
</PrivateAction>
</Action>
<StartTrigger>
<ConditionGroup>
<Condition name="StartCondition" delay="0" conditionEdge="rising">
<ByEntityCondition>
<TriggeringEntities triggeringEntitiesRule="any">
<EntityRef entityRef="hero"/>
</TriggeringEntities>
<EntityCondition>
<RelativeDistanceCondition entityRef="adversary" relativeDistanceType="cartesianDistance" value="40.0" freespace="false" rule="lessThan"/>
</EntityCondition>
</ByEntityCondition>
</Condition>
</ConditionGroup>
</StartTrigger>
</Event>
<Event name="AdversaryChangesLane" priority="overwrite">
<Action name="AdversaryChangesLane">
<PrivateAction>
<LateralAction>
<LaneChangeAction>
<LaneChangeActionDynamics dynamicsShape="linear" value="25" dynamicsDimension="distance"/>
<LaneChangeTarget>
<RelativeTargetLane entityRef="adversary" value="-1"/>
</LaneChangeTarget>
</LaneChangeAction>
</LateralAction>
</PrivateAction>
</Action>
<StartTrigger>
<ConditionGroup>
<Condition name="AfterAdversaryAccelerates" delay="0" conditionEdge="rising">
<ByValueCondition>
<StoryboardElementStateCondition storyboardElementType="action" storyboardElementRef="AdversaryAccelerates" state="completeState"/>
</ByValueCondition>
</Condition>
</ConditionGroup>
</StartTrigger>
</Event>
</Maneuver>
</ManeuverGroup>
<StartTrigger>
<ConditionGroup>
<Condition name="OverallStartCondition" delay="0" conditionEdge="rising">
<ByEntityCondition>
<TriggeringEntities triggeringEntitiesRule="any">
<EntityRef entityRef="hero"/>
</TriggeringEntities>
<EntityCondition>
<TraveledDistanceCondition value="1.0"/>
</EntityCondition>
</ByEntityCondition>
</Condition>
<Condition name="StartTime" delay="0" conditionEdge="rising">
<ByValueCondition>
<SimulationTimeCondition value="0" rule="equalTo"/>
</ByValueCondition>
</Condition>
</ConditionGroup>
</StartTrigger>
<StopTrigger>
<ConditionGroup>
<Condition name="EndCondition" delay="0" conditionEdge="rising">
<ByEntityCondition>
<TriggeringEntities triggeringEntitiesRule="any">
<EntityRef entityRef="hero"/>
</TriggeringEntities>
<EntityCondition>
<TraveledDistanceCondition value="200.0"/>
</EntityCondition>
</ByEntityCondition>
</Condition>
</ConditionGroup>
</StopTrigger>
</Act>
</Story>
<StopTrigger>
<ConditionGroup>
<Condition name="criteria_RunningStopTest" delay="0" conditionEdge="rising">
<ByValueCondition>
<ParameterCondition parameterRef="" value="" rule="lessThan"/>
</ByValueCondition>
</Condition>
<Condition name="criteria_RunningRedLightTest" delay="0" conditionEdge="rising">
<ByValueCondition>
<ParameterCondition parameterRef="" value="" rule="lessThan"/>
</ByValueCondition>
</Condition>
<Condition name="criteria_WrongLaneTest" delay="0" conditionEdge="rising">
<ByValueCondition>
<ParameterCondition parameterRef="" value="" rule="lessThan"/>
</ByValueCondition>
</Condition>
<Condition name="criteria_OnSidewalkTest" delay="0" conditionEdge="rising">
<ByValueCondition>
<ParameterCondition parameterRef="" value="" rule="lessThan"/>
</ByValueCondition>
</Condition>
<Condition name="criteria_KeepLaneTest" delay="0" conditionEdge="rising">
<ByValueCondition>
<ParameterCondition parameterRef="" value="" rule="lessThan"/>
</ByValueCondition>
</Condition>
<Condition name="criteria_CollisionTest" delay="0" conditionEdge="rising">
<ByValueCondition>
<ParameterCondition parameterRef="" value="" rule="lessThan"/>
</ByValueCondition>
</Condition>
<Condition name="criteria_DrivenDistanceTest" delay="0" conditionEdge="rising">
<ByValueCondition>
<ParameterCondition parameterRef="distance_success" value="100" rule="lessThan"/>
</ByValueCondition>
</Condition>
</ConditionGroup>
</StopTrigger>
</Storyboard>
</OpenSCENARIO>
``` | Here is the result:
```
<?xml version="1.0" ?>
<OpenSCENARIO>
<FileHeader revMajor="1" revMinor="0" date="2020-03-24T12:00:00" description="CARLA:LaneChangeSimple" author=""/>
<ParameterDeclarations/>
<CatalogLocations/>
<RoadNetwork>
<LogicFile filepath="Town04"/>
<SceneGraphFile filepath=""/>
</RoadNetwork>
<Entities>
<ScenarioObject name="hero">
<Vehicle name="vehicle.tesla.model3" vehicleCategory="car">
<ParameterDeclarations/>
<Performance maxSpeed="69.444" maxAcceleration="200" maxDeceleration="10.0"/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2.1" length="4.5" height="1.8"/>
</BoundingBox>
<Axles>
<FrontAxle maxSteering="0.5" wheelDiameter="0.6" trackWidth="1.8" positionX="3.1" positionZ="0.3"/>
<RearAxle maxSteering="0.0" wheelDiameter="0.6" trackWidth="1.8" positionX="0.0" positionZ="0.3"/>
</Axles>
<Properties>
<Property name="type" value="ego_vehicle"/>
</Properties>
</Vehicle>
</ScenarioObject>
<ScenarioObject name="adversary">
<Vehicle name="vehicle.lincoln.mkz_2017" vehicleCategory="car">
<ParameterDeclarations/>
<Performance maxSpeed="69.444" maxAcceleration="200" maxDeceleration="10.0"/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2.1" length="4.5" height="1.8"/>
</BoundingBox>
<Axles>
<FrontAxle maxSteering="0.5" wheelDiameter="0.6" trackWidth="1.8" positionX="3.1" positionZ="0.3"/>
<RearAxle maxSteering="0.0" wheelDiameter="0.6" trackWidth="1.8" positionX="0.0" positionZ="0.3"/>
</Axles>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Vehicle>
</ScenarioObject>
<ScenarioObject name="standing">
<Vehicle name="vehicle.volkswagen.t2" vehicleCategory="car">
<ParameterDeclarations/>
<Performance maxSpeed="69.444" maxAcceleration="200" maxDeceleration="10.0"/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2.1" length="4.5" height="1.8"/>
</BoundingBox>
<Axles>
<FrontAxle maxSteering="0.5" wheelDiameter="0.6" trackWidth="1.8" positionX="3.1" positionZ="0.3"/>
<RearAxle maxSteering="0.0" wheelDiameter="0.6" trackWidth="1.8" positionX="0.0" positionZ="0.3"/>
</Axles>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Vehicle>
</ScenarioObject>
<ScenarioObject name="pedestrian_close_to_hero_14410">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_w_transform_14411">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_close_to_standing_14412">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_close_to_adversary_14413">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_close_to_hero_14414">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_close_to_standing_14415">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_close_to_adversary_14416">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_close_to_hero_14417">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_close_to_hero_14418">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_close_to_adversary_14419">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_close_to_standing_14420">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_close_to_standing_14421">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_w_transform_14422">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_close_to_hero_14423">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_close_to_standing_14424">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_w_transform_14425">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_w_transform_14426">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_close_to_adversary_14427">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_w_transform_14428">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_w_transform_14429">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_w_transform_14430">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_close_to_adversary_14431">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
</Entities>
<Storyboard>
<Init>
<Actions>
<GlobalAction>
<EnvironmentAction>
<Environment name="Environment1">
<TimeOfDay animation="false" dateTime="2019-06-25T12:00:00"/>
<Weather cloudState="free">
<Sun intensity="0.85" azimuth="0" elevation="1.31"/>
<Fog visualRange="100000.0"/>
<Precipitation precipitationType="dry" intensity="0.0"/>
</Weather>
<RoadCondition frictionScaleFactor="1.0"/>
</Environment>
</EnvironmentAction>
</GlobalAction>
<Private entityRef="hero">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-9.4" y="-152.8" z="0.5" h="1.57079632679"/>
</Position>
</TeleportAction>
</PrivateAction>
<PrivateAction>
<ControllerAction>
<AssignControllerAction>
<Controller name="HeroAgent">
<Properties>
<Property name="module" value="external_control"/>
</Properties>
</Controller>
</AssignControllerAction>
<OverrideControllerValueAction>
<Throttle value="0" active="false"/>
<Brake value="0" active="false"/>
<Clutch value="0" active="false"/>
<ParkingBrake value="0" active="false"/>
<SteeringWheel value="0" active="false"/>
<Gear number="0" active="false"/>
</OverrideControllerValueAction>
</ControllerAction>
</PrivateAction>
</Private>
<Private entityRef="adversary">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-9.4" y="-71.0" z="0.5" h="1.57079632679"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="standing">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-8.2" y="29.2" z="0.5" h="1.57079632679"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_close_to_hero_14410">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-9.929585456848145" y="-155.0712127685547" z="0.0014286803780123591"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_w_transform_14411">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="37.7911262512207" y="90.5811996459961" z="0.5"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_close_to_standing_14412">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-13.493317604064941" y="36.603519439697266" z="0.003015441820025444"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_close_to_adversary_14413">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-17.585514068603516" y="-78.9810562133789" z="0.03379634767770767"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_close_to_hero_14414">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-1.6567223072052002" y="-143.5908966064453" z="0.0014286803780123591"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_close_to_standing_14415">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-14.405670166015625" y="28.103330612182617" z="0.0030877303797751665"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_close_to_adversary_14416">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-14.034368515014648" y="-79.12865447998047" z="0.03379024565219879"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_close_to_hero_14417">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-8.174361228942871" y="-158.0565185546875" z="0.0014286803780123591"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_close_to_hero_14418">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-12.34603500366211" y="-156.1090850830078" z="0.0014286803780123591"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_close_to_adversary_14419">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-3.4735240936279297" y="-61.297298431396484" z="0.0338328555226326"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_close_to_standing_14420">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-9.162835121154785" y="25.037532806396484" z="0.0030564498156309128"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_close_to_standing_14421">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-13.637338638305664" y="25.306760787963867" z="0.003073577769100666"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_w_transform_14422">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-93.9078140258789" y="23.987428665161133" z="0.5"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_close_to_hero_14423">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-3.340691566467285" y="-137.60980224609375" z="0.0014286803780123591"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_close_to_standing_14424">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-6.292234897613525" y="24.313209533691406" z="0.0030358503572642803"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_w_transform_14425">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="72.58164978027344" y="-14.434184074401855" z="0.5"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_w_transform_14426">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-4.358885765075684" y="-47.32848358154297" z="0.5"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_close_to_adversary_14427">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-14.12333869934082" y="-64.11931610107422" z="0.03372318297624588"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_w_transform_14428">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="9.209879875183105" y="-39.998504638671875" z="0.5"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_w_transform_14429">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="4.234889984130859" y="85.46124267578125" z="0.5"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_w_transform_14430">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="18.809925079345703" y="-22.68226432800293" z="0.5"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_close_to_adversary_14431">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="0.5519514679908752" y="-84.67639923095703" z="0.03382221236824989"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
</Actions>
</Init>
<Story name="MyStory">
<Act name="Behavior">
<ManeuverGroup maximumExecutionCount="1" name="ManeuverSequence">
<Actors selectTriggeringEntities="false">
<EntityRef entityRef="adversary"/>
</Actors>
<Maneuver name="LaneChangeSimpleManeuver">
<Event name="AdversaryAccelerates" priority="overwrite">
<Action name="AdversaryAccelerates">
<PrivateAction>
<LongitudinalAction>
<SpeedAction>
<SpeedActionDynamics dynamicsShape="step" value="50" dynamicsDimension="distance"/>
<SpeedActionTarget>
<AbsoluteTargetSpeed value="5.0"/>
</SpeedActionTarget>
</SpeedAction>
</LongitudinalAction>
</PrivateAction>
</Action>
<StartTrigger>
<ConditionGroup>
<Condition name="StartCondition" delay="0" conditionEdge="rising">
<ByEntityCondition>
<TriggeringEntities triggeringEntitiesRule="any">
<EntityRef entityRef="hero"/>
</TriggeringEntities>
<EntityCondition>
<RelativeDistanceCondition entityRef="adversary" relativeDistanceType="cartesianDistance" value="40.0" freespace="false" rule="lessThan"/>
</EntityCondition>
</ByEntityCondition>
</Condition>
</ConditionGroup>
</StartTrigger>
</Event>
<Event name="AdversaryChangesLane" priority="overwrite">
<Action name="AdversaryChangesLane">
<PrivateAction>
<LateralAction>
<LaneChangeAction>
<LaneChangeActionDynamics dynamicsShape="linear" value="25" dynamicsDimension="distance"/>
<LaneChangeTarget>
<RelativeTargetLane entityRef="adversary" value="-1"/>
</LaneChangeTarget>
</LaneChangeAction>
</LateralAction>
</PrivateAction>
</Action>
<StartTrigger>
<ConditionGroup>
<Condition name="AfterAdversaryAccelerates" delay="0" conditionEdge="rising">
<ByValueCondition>
<StoryboardElementStateCondition storyboardElementType="action" storyboardElementRef="AdversaryAccelerates" state="completeState"/>
</ByValueCondition>
</Condition>
</ConditionGroup>
</StartTrigger>
</Event>
</Maneuver>
</ManeuverGroup>
<StartTrigger>
<ConditionGroup>
<Condition name="OverallStartCondition" delay="0" conditionEdge="rising">
<ByEntityCondition>
<TriggeringEntities triggeringEntitiesRule="any">
<EntityRef entityRef="hero"/>
</TriggeringEntities>
<EntityCondition>
<TraveledDistanceCondition value="1.0"/>
</EntityCondition>
</ByEntityCondition>
</Condition>
<Condition name="StartTime" delay="0" conditionEdge="rising">
<ByValueCondition>
<SimulationTimeCondition value="0" rule="equalTo"/>
</ByValueCondition>
</Condition>
</ConditionGroup>
</StartTrigger>
<StopTrigger>
<ConditionGroup>
<Condition name="EndCondition" delay="0" conditionEdge="rising">
<ByEntityCondition>
<TriggeringEntities triggeringEntitiesRule="any">
<EntityRef entityRef="hero"/>
</TriggeringEntities>
<EntityCondition>
<TraveledDistanceCondition value="200.0"/>
</EntityCondition>
</ByEntityCondition>
</Condition>
</ConditionGroup>
</StopTrigger>
</Act>
</Story>
<StopTrigger>
<ConditionGroup>
<Condition name="criteria_RunningStopTest" delay="0" conditionEdge="rising">
<ByValueCondition>
<ParameterCondition parameterRef="" value="" rule="lessThan"/>
</ByValueCondition>
</Condition>
<Condition name="criteria_RunningRedLightTest" delay="0" conditionEdge="rising">
<ByValueCondition>
<ParameterCondition parameterRef="" value="" rule="lessThan"/>
</ByValueCondition>
</Condition>
<Condition name="criteria_WrongLaneTest" delay="0" conditionEdge="rising">
<ByValueCondition>
<ParameterCondition parameterRef="" value="" rule="lessThan"/>
</ByValueCondition>
</Condition>
<Condition name="criteria_OnSidewalkTest" delay="0" conditionEdge="rising">
<ByValueCondition>
<ParameterCondition parameterRef="" value="" rule="lessThan"/>
</ByValueCondition>
</Condition>
<Condition name="criteria_KeepLaneTest" delay="0" conditionEdge="rising">
<ByValueCondition>
<ParameterCondition parameterRef="" value="" rule="lessThan"/>
</ByValueCondition>
</Condition>
<Condition name="criteria_CollisionTest" delay="0" conditionEdge="rising">
<ByValueCondition>
<ParameterCondition parameterRef="" value="" rule="lessThan"/>
</ByValueCondition>
</Condition>
<Condition name="criteria_DrivenDistanceTest" delay="0" conditionEdge="rising">
<ByValueCondition>
<ParameterCondition parameterRef="distance_success" value="100" rule="lessThan"/>
</ByValueCondition>
</Condition>
</ConditionGroup>
</StopTrigger>
</Storyboard>
</OpenSCENARIO>
``` |
i would like to command you to remove pedestrian close to 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_3678">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_close_to_standing_3679">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_w_transform_3680">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_close_to_adversary_3681">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_close_to_standing_3682">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_close_to_adversary_3683">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_w_transform_3684">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_close_to_standing_3685">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_w_transform_3686">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_close_to_hero_3687">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_w_transform_3688">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_w_transform_3689">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_w_transform_3690">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
</Entities>
<Storyboard>
<Init>
<Actions>
<GlobalAction>
<EnvironmentAction>
<Environment name="Environment1">
<TimeOfDay animation="false" dateTime="2019-06-25T12:00:00"/>
<Weather cloudState="free">
<Sun intensity="0.85" azimuth="0" elevation="1.31"/>
<Fog visualRange="100000.0"/>
<Precipitation precipitationType="dry" intensity="0.0"/>
</Weather>
<RoadCondition frictionScaleFactor="1.0"/>
</Environment>
</EnvironmentAction>
</GlobalAction>
<Private entityRef="hero">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-9.4" y="-152.8" z="0.5" h="1.57079632679"/>
</Position>
</TeleportAction>
</PrivateAction>
<PrivateAction>
<ControllerAction>
<AssignControllerAction>
<Controller name="HeroAgent">
<Properties>
<Property name="module" value="external_control"/>
</Properties>
</Controller>
</AssignControllerAction>
<OverrideControllerValueAction>
<Throttle value="0" active="false"/>
<Brake value="0" active="false"/>
<Clutch value="0" active="false"/>
<ParkingBrake value="0" active="false"/>
<SteeringWheel value="0" active="false"/>
<Gear number="0" active="false"/>
</OverrideControllerValueAction>
</ControllerAction>
</PrivateAction>
</Private>
<Private entityRef="adversary">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-9.4" y="-71.0" z="0.5" h="1.57079632679"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="standing">
<PrivateAction>
<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_3678">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-6.799239158630371" y="28.65302848815918" z="0.003065910190343857"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_close_to_standing_3679">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-1.7808970212936401" y="38.44539260864258" z="0.0030894470401108265"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_w_transform_3680">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="14.650561332702637" y="-46.920799255371094" z="0.5"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_close_to_adversary_3681">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-14.413517951965332" y="-69.2735595703125" z="0.03378143161535263"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_close_to_standing_3682">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="1.7889788150787354" y="31.581096649169922" z="0.003068847581744194"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_close_to_adversary_3683">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-13.7910737991333" y="-66.06583404541016" z="0.033778801560401917"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_w_transform_3684">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-89.78702545166016" y="-25.95987892150879" z="0.5"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_close_to_standing_3685">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-12.49004077911377" y="32.77036666870117" z="0.0030448150355368853"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_w_transform_3686">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="35.0361328125" y="-86.99609375" z="0.5"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_close_to_hero_3687">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-12.22508430480957" y="-146.30126953125" z="0.0014286803780123591"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_w_transform_3688">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-6.878420829772949" y="-29.017234802246094" z="0.5"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_w_transform_3689">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-88.28499603271484" y="64.96414947509766" z="0.5"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_w_transform_3690">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="22.150650024414062" y="54.401145935058594" z="0.5"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
</Actions>
</Init>
<Story name="MyStory">
<Act name="Behavior">
<ManeuverGroup maximumExecutionCount="1" name="ManeuverSequence">
<Actors selectTriggeringEntities="false">
<EntityRef entityRef="adversary"/>
</Actors>
<Maneuver name="LaneChangeSimpleManeuver">
<Event name="AdversaryAccelerates" priority="overwrite">
<Action name="AdversaryAccelerates">
<PrivateAction>
<LongitudinalAction>
<SpeedAction>
<SpeedActionDynamics dynamicsShape="step" value="50" dynamicsDimension="distance"/>
<SpeedActionTarget>
<AbsoluteTargetSpeed value="5.0"/>
</SpeedActionTarget>
</SpeedAction>
</LongitudinalAction>
</PrivateAction>
</Action>
<StartTrigger>
<ConditionGroup>
<Condition name="StartCondition" delay="0" conditionEdge="rising">
<ByEntityCondition>
<TriggeringEntities triggeringEntitiesRule="any">
<EntityRef entityRef="hero"/>
</TriggeringEntities>
<EntityCondition>
<RelativeDistanceCondition entityRef="adversary" relativeDistanceType="cartesianDistance" value="40.0" freespace="false" rule="lessThan"/>
</EntityCondition>
</ByEntityCondition>
</Condition>
</ConditionGroup>
</StartTrigger>
</Event>
<Event name="AdversaryChangesLane" priority="overwrite">
<Action name="AdversaryChangesLane">
<PrivateAction>
<LateralAction>
<LaneChangeAction>
<LaneChangeActionDynamics dynamicsShape="linear" value="25" dynamicsDimension="distance"/>
<LaneChangeTarget>
<RelativeTargetLane entityRef="adversary" value="-1"/>
</LaneChangeTarget>
</LaneChangeAction>
</LateralAction>
</PrivateAction>
</Action>
<StartTrigger>
<ConditionGroup>
<Condition name="AfterAdversaryAccelerates" delay="0" conditionEdge="rising">
<ByValueCondition>
<StoryboardElementStateCondition storyboardElementType="action" storyboardElementRef="AdversaryAccelerates" state="completeState"/>
</ByValueCondition>
</Condition>
</ConditionGroup>
</StartTrigger>
</Event>
</Maneuver>
</ManeuverGroup>
<StartTrigger>
<ConditionGroup>
<Condition name="OverallStartCondition" delay="0" conditionEdge="rising">
<ByEntityCondition>
<TriggeringEntities triggeringEntitiesRule="any">
<EntityRef entityRef="hero"/>
</TriggeringEntities>
<EntityCondition>
<TraveledDistanceCondition value="1.0"/>
</EntityCondition>
</ByEntityCondition>
</Condition>
<Condition name="StartTime" delay="0" conditionEdge="rising">
<ByValueCondition>
<SimulationTimeCondition value="0" rule="equalTo"/>
</ByValueCondition>
</Condition>
</ConditionGroup>
</StartTrigger>
<StopTrigger>
<ConditionGroup>
<Condition name="EndCondition" delay="0" conditionEdge="rising">
<ByEntityCondition>
<TriggeringEntities triggeringEntitiesRule="any">
<EntityRef entityRef="hero"/>
</TriggeringEntities>
<EntityCondition>
<TraveledDistanceCondition value="200.0"/>
</EntityCondition>
</ByEntityCondition>
</Condition>
</ConditionGroup>
</StopTrigger>
</Act>
</Story>
<StopTrigger>
<ConditionGroup>
<Condition name="criteria_RunningStopTest" delay="0" conditionEdge="rising">
<ByValueCondition>
<ParameterCondition parameterRef="" value="" rule="lessThan"/>
</ByValueCondition>
</Condition>
<Condition name="criteria_RunningRedLightTest" delay="0" conditionEdge="rising">
<ByValueCondition>
<ParameterCondition parameterRef="" value="" rule="lessThan"/>
</ByValueCondition>
</Condition>
<Condition name="criteria_WrongLaneTest" delay="0" conditionEdge="rising">
<ByValueCondition>
<ParameterCondition parameterRef="" value="" rule="lessThan"/>
</ByValueCondition>
</Condition>
<Condition name="criteria_OnSidewalkTest" delay="0" conditionEdge="rising">
<ByValueCondition>
<ParameterCondition parameterRef="" value="" rule="lessThan"/>
</ByValueCondition>
</Condition>
<Condition name="criteria_KeepLaneTest" delay="0" conditionEdge="rising">
<ByValueCondition>
<ParameterCondition parameterRef="" value="" rule="lessThan"/>
</ByValueCondition>
</Condition>
<Condition name="criteria_CollisionTest" delay="0" conditionEdge="rising">
<ByValueCondition>
<ParameterCondition parameterRef="" value="" rule="lessThan"/>
</ByValueCondition>
</Condition>
<Condition name="criteria_DrivenDistanceTest" delay="0" conditionEdge="rising">
<ByValueCondition>
<ParameterCondition parameterRef="distance_success" value="100" rule="lessThan"/>
</ByValueCondition>
</Condition>
</ConditionGroup>
</StopTrigger>
</Storyboard>
</OpenSCENARIO>
``` | Here is the result:
```
<?xml version="1.0" ?>
<OpenSCENARIO>
<FileHeader revMajor="1" revMinor="0" date="2020-03-24T12:00:00" description="CARLA:LaneChangeSimple" author=""/>
<ParameterDeclarations/>
<CatalogLocations/>
<RoadNetwork>
<LogicFile filepath="Town04"/>
<SceneGraphFile filepath=""/>
</RoadNetwork>
<Entities>
<ScenarioObject name="hero">
<Vehicle name="vehicle.tesla.model3" vehicleCategory="car">
<ParameterDeclarations/>
<Performance maxSpeed="69.444" maxAcceleration="200" maxDeceleration="10.0"/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2.1" length="4.5" height="1.8"/>
</BoundingBox>
<Axles>
<FrontAxle maxSteering="0.5" wheelDiameter="0.6" trackWidth="1.8" positionX="3.1" positionZ="0.3"/>
<RearAxle maxSteering="0.0" wheelDiameter="0.6" trackWidth="1.8" positionX="0.0" positionZ="0.3"/>
</Axles>
<Properties>
<Property name="type" value="ego_vehicle"/>
</Properties>
</Vehicle>
</ScenarioObject>
<ScenarioObject name="adversary">
<Vehicle name="vehicle.lincoln.mkz_2017" vehicleCategory="car">
<ParameterDeclarations/>
<Performance maxSpeed="69.444" maxAcceleration="200" maxDeceleration="10.0"/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2.1" length="4.5" height="1.8"/>
</BoundingBox>
<Axles>
<FrontAxle maxSteering="0.5" wheelDiameter="0.6" trackWidth="1.8" positionX="3.1" positionZ="0.3"/>
<RearAxle maxSteering="0.0" wheelDiameter="0.6" trackWidth="1.8" positionX="0.0" positionZ="0.3"/>
</Axles>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Vehicle>
</ScenarioObject>
<ScenarioObject name="standing">
<Vehicle name="vehicle.volkswagen.t2" vehicleCategory="car">
<ParameterDeclarations/>
<Performance maxSpeed="69.444" maxAcceleration="200" maxDeceleration="10.0"/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2.1" length="4.5" height="1.8"/>
</BoundingBox>
<Axles>
<FrontAxle maxSteering="0.5" wheelDiameter="0.6" trackWidth="1.8" positionX="3.1" positionZ="0.3"/>
<RearAxle maxSteering="0.0" wheelDiameter="0.6" 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_3678">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_close_to_standing_3679">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_w_transform_3680">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_close_to_adversary_3681">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_close_to_standing_3682">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_close_to_adversary_3683">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_w_transform_3684">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_w_transform_3686">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_close_to_hero_3687">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_w_transform_3688">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_w_transform_3689">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_w_transform_3690">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
</Entities>
<Storyboard>
<Init>
<Actions>
<GlobalAction>
<EnvironmentAction>
<Environment name="Environment1">
<TimeOfDay animation="false" dateTime="2019-06-25T12:00:00"/>
<Weather cloudState="free">
<Sun intensity="0.85" azimuth="0" elevation="1.31"/>
<Fog visualRange="100000.0"/>
<Precipitation precipitationType="dry" intensity="0.0"/>
</Weather>
<RoadCondition frictionScaleFactor="1.0"/>
</Environment>
</EnvironmentAction>
</GlobalAction>
<Private entityRef="hero">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-9.4" y="-152.8" z="0.5" h="1.57079632679"/>
</Position>
</TeleportAction>
</PrivateAction>
<PrivateAction>
<ControllerAction>
<AssignControllerAction>
<Controller name="HeroAgent">
<Properties>
<Property name="module" value="external_control"/>
</Properties>
</Controller>
</AssignControllerAction>
<OverrideControllerValueAction>
<Throttle value="0" active="false"/>
<Brake value="0" active="false"/>
<Clutch value="0" active="false"/>
<ParkingBrake value="0" active="false"/>
<SteeringWheel value="0" active="false"/>
<Gear number="0" active="false"/>
</OverrideControllerValueAction>
</ControllerAction>
</PrivateAction>
</Private>
<Private entityRef="adversary">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-9.4" y="-71.0" z="0.5" h="1.57079632679"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="standing">
<PrivateAction>
<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_3678">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-6.799239158630371" y="28.65302848815918" z="0.003065910190343857"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_close_to_standing_3679">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-1.7808970212936401" y="38.44539260864258" z="0.0030894470401108265"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_w_transform_3680">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="14.650561332702637" y="-46.920799255371094" z="0.5"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_close_to_adversary_3681">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-14.413517951965332" y="-69.2735595703125" z="0.03378143161535263"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_close_to_standing_3682">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="1.7889788150787354" y="31.581096649169922" z="0.003068847581744194"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_close_to_adversary_3683">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-13.7910737991333" y="-66.06583404541016" z="0.033778801560401917"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_w_transform_3684">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-89.78702545166016" y="-25.95987892150879" z="0.5"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_w_transform_3686">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="35.0361328125" y="-86.99609375" z="0.5"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_close_to_hero_3687">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-12.22508430480957" y="-146.30126953125" z="0.0014286803780123591"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_w_transform_3688">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-6.878420829772949" y="-29.017234802246094" z="0.5"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_w_transform_3689">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-88.28499603271484" y="64.96414947509766" z="0.5"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_w_transform_3690">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="22.150650024414062" y="54.401145935058594" z="0.5"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
</Actions>
</Init>
<Story name="MyStory">
<Act name="Behavior">
<ManeuverGroup maximumExecutionCount="1" name="ManeuverSequence">
<Actors selectTriggeringEntities="false">
<EntityRef entityRef="adversary"/>
</Actors>
<Maneuver name="LaneChangeSimpleManeuver">
<Event name="AdversaryAccelerates" priority="overwrite">
<Action name="AdversaryAccelerates">
<PrivateAction>
<LongitudinalAction>
<SpeedAction>
<SpeedActionDynamics dynamicsShape="step" value="50" dynamicsDimension="distance"/>
<SpeedActionTarget>
<AbsoluteTargetSpeed value="5.0"/>
</SpeedActionTarget>
</SpeedAction>
</LongitudinalAction>
</PrivateAction>
</Action>
<StartTrigger>
<ConditionGroup>
<Condition name="StartCondition" delay="0" conditionEdge="rising">
<ByEntityCondition>
<TriggeringEntities triggeringEntitiesRule="any">
<EntityRef entityRef="hero"/>
</TriggeringEntities>
<EntityCondition>
<RelativeDistanceCondition entityRef="adversary" relativeDistanceType="cartesianDistance" value="40.0" freespace="false" rule="lessThan"/>
</EntityCondition>
</ByEntityCondition>
</Condition>
</ConditionGroup>
</StartTrigger>
</Event>
<Event name="AdversaryChangesLane" priority="overwrite">
<Action name="AdversaryChangesLane">
<PrivateAction>
<LateralAction>
<LaneChangeAction>
<LaneChangeActionDynamics dynamicsShape="linear" value="25" dynamicsDimension="distance"/>
<LaneChangeTarget>
<RelativeTargetLane entityRef="adversary" value="-1"/>
</LaneChangeTarget>
</LaneChangeAction>
</LateralAction>
</PrivateAction>
</Action>
<StartTrigger>
<ConditionGroup>
<Condition name="AfterAdversaryAccelerates" delay="0" conditionEdge="rising">
<ByValueCondition>
<StoryboardElementStateCondition storyboardElementType="action" storyboardElementRef="AdversaryAccelerates" state="completeState"/>
</ByValueCondition>
</Condition>
</ConditionGroup>
</StartTrigger>
</Event>
</Maneuver>
</ManeuverGroup>
<StartTrigger>
<ConditionGroup>
<Condition name="OverallStartCondition" delay="0" conditionEdge="rising">
<ByEntityCondition>
<TriggeringEntities triggeringEntitiesRule="any">
<EntityRef entityRef="hero"/>
</TriggeringEntities>
<EntityCondition>
<TraveledDistanceCondition value="1.0"/>
</EntityCondition>
</ByEntityCondition>
</Condition>
<Condition name="StartTime" delay="0" conditionEdge="rising">
<ByValueCondition>
<SimulationTimeCondition value="0" rule="equalTo"/>
</ByValueCondition>
</Condition>
</ConditionGroup>
</StartTrigger>
<StopTrigger>
<ConditionGroup>
<Condition name="EndCondition" delay="0" conditionEdge="rising">
<ByEntityCondition>
<TriggeringEntities triggeringEntitiesRule="any">
<EntityRef entityRef="hero"/>
</TriggeringEntities>
<EntityCondition>
<TraveledDistanceCondition value="200.0"/>
</EntityCondition>
</ByEntityCondition>
</Condition>
</ConditionGroup>
</StopTrigger>
</Act>
</Story>
<StopTrigger>
<ConditionGroup>
<Condition name="criteria_RunningStopTest" delay="0" conditionEdge="rising">
<ByValueCondition>
<ParameterCondition parameterRef="" value="" rule="lessThan"/>
</ByValueCondition>
</Condition>
<Condition name="criteria_RunningRedLightTest" delay="0" conditionEdge="rising">
<ByValueCondition>
<ParameterCondition parameterRef="" value="" rule="lessThan"/>
</ByValueCondition>
</Condition>
<Condition name="criteria_WrongLaneTest" delay="0" conditionEdge="rising">
<ByValueCondition>
<ParameterCondition parameterRef="" value="" rule="lessThan"/>
</ByValueCondition>
</Condition>
<Condition name="criteria_OnSidewalkTest" delay="0" conditionEdge="rising">
<ByValueCondition>
<ParameterCondition parameterRef="" value="" rule="lessThan"/>
</ByValueCondition>
</Condition>
<Condition name="criteria_KeepLaneTest" delay="0" conditionEdge="rising">
<ByValueCondition>
<ParameterCondition parameterRef="" value="" rule="lessThan"/>
</ByValueCondition>
</Condition>
<Condition name="criteria_CollisionTest" delay="0" conditionEdge="rising">
<ByValueCondition>
<ParameterCondition parameterRef="" value="" rule="lessThan"/>
</ByValueCondition>
</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 (53.04, 26.64, 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_16612">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_w_transform_16613">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
</Entities>
<Storyboard>
<Init>
<Actions>
<GlobalAction>
<EnvironmentAction>
<Environment name="Environment1">
<TimeOfDay animation="false" dateTime="2019-06-25T12:00:00"/>
<Weather cloudState="free">
<Sun intensity="0.85" azimuth="0" elevation="1.31"/>
<Fog visualRange="100000.0"/>
<Precipitation precipitationType="dry" intensity="0.0"/>
</Weather>
<RoadCondition frictionScaleFactor="1.0"/>
</Environment>
</EnvironmentAction>
</GlobalAction>
<Private entityRef="hero">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-9.4" y="-152.8" z="0.5" h="1.57079632679"/>
</Position>
</TeleportAction>
</PrivateAction>
<PrivateAction>
<ControllerAction>
<AssignControllerAction>
<Controller name="HeroAgent">
<Properties>
<Property name="module" value="external_control"/>
</Properties>
</Controller>
</AssignControllerAction>
<OverrideControllerValueAction>
<Throttle value="0" active="false"/>
<Brake value="0" active="false"/>
<Clutch value="0" active="false"/>
<ParkingBrake value="0" active="false"/>
<SteeringWheel value="0" active="false"/>
<Gear number="0" active="false"/>
</OverrideControllerValueAction>
</ControllerAction>
</PrivateAction>
</Private>
<Private entityRef="adversary">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-9.4" y="-71.0" z="0.5" h="1.57079632679"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="standing">
<PrivateAction>
<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_16612">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-8.516417503356934" y="24.82899284362793" z="0.0030554579570889473"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_w_transform_16613">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-57.979244232177734" y="-67.13294982910156" z="0.5"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
</Actions>
</Init>
<Story name="MyStory">
<Act name="Behavior">
<ManeuverGroup maximumExecutionCount="1" name="ManeuverSequence">
<Actors selectTriggeringEntities="false">
<EntityRef entityRef="adversary"/>
</Actors>
<Maneuver name="LaneChangeSimpleManeuver">
<Event name="AdversaryAccelerates" priority="overwrite">
<Action name="AdversaryAccelerates">
<PrivateAction>
<LongitudinalAction>
<SpeedAction>
<SpeedActionDynamics dynamicsShape="step" value="50" dynamicsDimension="distance"/>
<SpeedActionTarget>
<AbsoluteTargetSpeed value="5.0"/>
</SpeedActionTarget>
</SpeedAction>
</LongitudinalAction>
</PrivateAction>
</Action>
<StartTrigger>
<ConditionGroup>
<Condition name="StartCondition" delay="0" conditionEdge="rising">
<ByEntityCondition>
<TriggeringEntities triggeringEntitiesRule="any">
<EntityRef entityRef="hero"/>
</TriggeringEntities>
<EntityCondition>
<RelativeDistanceCondition entityRef="adversary" relativeDistanceType="cartesianDistance" value="40.0" freespace="false" rule="lessThan"/>
</EntityCondition>
</ByEntityCondition>
</Condition>
</ConditionGroup>
</StartTrigger>
</Event>
<Event name="AdversaryChangesLane" priority="overwrite">
<Action name="AdversaryChangesLane">
<PrivateAction>
<LateralAction>
<LaneChangeAction>
<LaneChangeActionDynamics dynamicsShape="linear" value="25" dynamicsDimension="distance"/>
<LaneChangeTarget>
<RelativeTargetLane entityRef="adversary" value="-1"/>
</LaneChangeTarget>
</LaneChangeAction>
</LateralAction>
</PrivateAction>
</Action>
<StartTrigger>
<ConditionGroup>
<Condition name="AfterAdversaryAccelerates" delay="0" conditionEdge="rising">
<ByValueCondition>
<StoryboardElementStateCondition storyboardElementType="action" storyboardElementRef="AdversaryAccelerates" state="completeState"/>
</ByValueCondition>
</Condition>
</ConditionGroup>
</StartTrigger>
</Event>
</Maneuver>
</ManeuverGroup>
<StartTrigger>
<ConditionGroup>
<Condition name="OverallStartCondition" delay="0" conditionEdge="rising">
<ByEntityCondition>
<TriggeringEntities triggeringEntitiesRule="any">
<EntityRef entityRef="hero"/>
</TriggeringEntities>
<EntityCondition>
<TraveledDistanceCondition value="1.0"/>
</EntityCondition>
</ByEntityCondition>
</Condition>
<Condition name="StartTime" delay="0" conditionEdge="rising">
<ByValueCondition>
<SimulationTimeCondition value="0" rule="equalTo"/>
</ByValueCondition>
</Condition>
</ConditionGroup>
</StartTrigger>
<StopTrigger>
<ConditionGroup>
<Condition name="EndCondition" delay="0" conditionEdge="rising">
<ByEntityCondition>
<TriggeringEntities triggeringEntitiesRule="any">
<EntityRef entityRef="hero"/>
</TriggeringEntities>
<EntityCondition>
<TraveledDistanceCondition value="200.0"/>
</EntityCondition>
</ByEntityCondition>
</Condition>
</ConditionGroup>
</StopTrigger>
</Act>
</Story>
<StopTrigger>
<ConditionGroup>
<Condition name="criteria_RunningStopTest" delay="0" conditionEdge="rising">
<ByValueCondition>
<ParameterCondition parameterRef="" value="" rule="lessThan"/>
</ByValueCondition>
</Condition>
<Condition name="criteria_RunningRedLightTest" delay="0" conditionEdge="rising">
<ByValueCondition>
<ParameterCondition parameterRef="" value="" rule="lessThan"/>
</ByValueCondition>
</Condition>
<Condition name="criteria_WrongLaneTest" delay="0" conditionEdge="rising">
<ByValueCondition>
<ParameterCondition parameterRef="" value="" rule="lessThan"/>
</ByValueCondition>
</Condition>
<Condition name="criteria_OnSidewalkTest" delay="0" conditionEdge="rising">
<ByValueCondition>
<ParameterCondition parameterRef="" value="" rule="lessThan"/>
</ByValueCondition>
</Condition>
<Condition name="criteria_KeepLaneTest" delay="0" conditionEdge="rising">
<ByValueCondition>
<ParameterCondition parameterRef="" value="" rule="lessThan"/>
</ByValueCondition>
</Condition>
<Condition name="criteria_CollisionTest" delay="0" conditionEdge="rising">
<ByValueCondition>
<ParameterCondition parameterRef="" value="" rule="lessThan"/>
</ByValueCondition>
</Condition>
<Condition name="criteria_DrivenDistanceTest" delay="0" conditionEdge="rising">
<ByValueCondition>
<ParameterCondition parameterRef="distance_success" value="100" rule="lessThan"/>
</ByValueCondition>
</Condition>
</ConditionGroup>
</StopTrigger>
</Storyboard>
</OpenSCENARIO>
``` | Here is the result:
```
<?xml version="1.0" ?>
<OpenSCENARIO>
<FileHeader revMajor="1" revMinor="0" date="2020-03-24T12:00:00" description="CARLA:LaneChangeSimple" author=""/>
<ParameterDeclarations/>
<CatalogLocations/>
<RoadNetwork>
<LogicFile filepath="Town04"/>
<SceneGraphFile filepath=""/>
</RoadNetwork>
<Entities>
<ScenarioObject name="hero">
<Vehicle name="vehicle.tesla.model3" vehicleCategory="car">
<ParameterDeclarations/>
<Performance maxSpeed="69.444" maxAcceleration="200" maxDeceleration="10.0"/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2.1" length="4.5" height="1.8"/>
</BoundingBox>
<Axles>
<FrontAxle maxSteering="0.5" wheelDiameter="0.6" trackWidth="1.8" positionX="3.1" positionZ="0.3"/>
<RearAxle maxSteering="0.0" wheelDiameter="0.6" trackWidth="1.8" positionX="0.0" positionZ="0.3"/>
</Axles>
<Properties>
<Property name="type" value="ego_vehicle"/>
</Properties>
</Vehicle>
</ScenarioObject>
<ScenarioObject name="adversary">
<Vehicle name="vehicle.lincoln.mkz_2017" vehicleCategory="car">
<ParameterDeclarations/>
<Performance maxSpeed="69.444" maxAcceleration="200" maxDeceleration="10.0"/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2.1" length="4.5" height="1.8"/>
</BoundingBox>
<Axles>
<FrontAxle maxSteering="0.5" wheelDiameter="0.6" trackWidth="1.8" positionX="3.1" positionZ="0.3"/>
<RearAxle maxSteering="0.0" wheelDiameter="0.6" trackWidth="1.8" positionX="0.0" positionZ="0.3"/>
</Axles>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Vehicle>
</ScenarioObject>
<ScenarioObject name="standing">
<Vehicle name="vehicle.volkswagen.t2" vehicleCategory="car">
<ParameterDeclarations/>
<Performance maxSpeed="69.444" maxAcceleration="200" maxDeceleration="10.0"/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2.1" length="4.5" height="1.8"/>
</BoundingBox>
<Axles>
<FrontAxle maxSteering="0.5" wheelDiameter="0.6" trackWidth="1.8" positionX="3.1" positionZ="0.3"/>
<RearAxle maxSteering="0.0" wheelDiameter="0.6" 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_16612">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_w_transform_16613">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_w_transform_16614">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
</Entities>
<Storyboard>
<Init>
<Actions>
<GlobalAction>
<EnvironmentAction>
<Environment name="Environment1">
<TimeOfDay animation="false" dateTime="2019-06-25T12:00:00"/>
<Weather cloudState="free">
<Sun intensity="0.85" azimuth="0" elevation="1.31"/>
<Fog visualRange="100000.0"/>
<Precipitation precipitationType="dry" intensity="0.0"/>
</Weather>
<RoadCondition frictionScaleFactor="1.0"/>
</Environment>
</EnvironmentAction>
</GlobalAction>
<Private entityRef="hero">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-9.4" y="-152.8" z="0.5" h="1.57079632679"/>
</Position>
</TeleportAction>
</PrivateAction>
<PrivateAction>
<ControllerAction>
<AssignControllerAction>
<Controller name="HeroAgent">
<Properties>
<Property name="module" value="external_control"/>
</Properties>
</Controller>
</AssignControllerAction>
<OverrideControllerValueAction>
<Throttle value="0" active="false"/>
<Brake value="0" active="false"/>
<Clutch value="0" active="false"/>
<ParkingBrake value="0" active="false"/>
<SteeringWheel value="0" active="false"/>
<Gear number="0" active="false"/>
</OverrideControllerValueAction>
</ControllerAction>
</PrivateAction>
</Private>
<Private entityRef="adversary">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-9.4" y="-71.0" z="0.5" h="1.57079632679"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="standing">
<PrivateAction>
<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_16612">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-8.516417503356934" y="24.82899284362793" z="0.0030554579570889473"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_w_transform_16613">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-57.979244232177734" y="-67.13294982910156" z="0.5"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_w_transform_16614">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="53.040016174316406" y="26.643451690673828" z="0.5"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
</Actions>
</Init>
<Story name="MyStory">
<Act name="Behavior">
<ManeuverGroup maximumExecutionCount="1" name="ManeuverSequence">
<Actors selectTriggeringEntities="false">
<EntityRef entityRef="adversary"/>
</Actors>
<Maneuver name="LaneChangeSimpleManeuver">
<Event name="AdversaryAccelerates" priority="overwrite">
<Action name="AdversaryAccelerates">
<PrivateAction>
<LongitudinalAction>
<SpeedAction>
<SpeedActionDynamics dynamicsShape="step" value="50" dynamicsDimension="distance"/>
<SpeedActionTarget>
<AbsoluteTargetSpeed value="5.0"/>
</SpeedActionTarget>
</SpeedAction>
</LongitudinalAction>
</PrivateAction>
</Action>
<StartTrigger>
<ConditionGroup>
<Condition name="StartCondition" delay="0" conditionEdge="rising">
<ByEntityCondition>
<TriggeringEntities triggeringEntitiesRule="any">
<EntityRef entityRef="hero"/>
</TriggeringEntities>
<EntityCondition>
<RelativeDistanceCondition entityRef="adversary" relativeDistanceType="cartesianDistance" value="40.0" freespace="false" rule="lessThan"/>
</EntityCondition>
</ByEntityCondition>
</Condition>
</ConditionGroup>
</StartTrigger>
</Event>
<Event name="AdversaryChangesLane" priority="overwrite">
<Action name="AdversaryChangesLane">
<PrivateAction>
<LateralAction>
<LaneChangeAction>
<LaneChangeActionDynamics dynamicsShape="linear" value="25" dynamicsDimension="distance"/>
<LaneChangeTarget>
<RelativeTargetLane entityRef="adversary" value="-1"/>
</LaneChangeTarget>
</LaneChangeAction>
</LateralAction>
</PrivateAction>
</Action>
<StartTrigger>
<ConditionGroup>
<Condition name="AfterAdversaryAccelerates" delay="0" conditionEdge="rising">
<ByValueCondition>
<StoryboardElementStateCondition storyboardElementType="action" storyboardElementRef="AdversaryAccelerates" state="completeState"/>
</ByValueCondition>
</Condition>
</ConditionGroup>
</StartTrigger>
</Event>
</Maneuver>
</ManeuverGroup>
<StartTrigger>
<ConditionGroup>
<Condition name="OverallStartCondition" delay="0" conditionEdge="rising">
<ByEntityCondition>
<TriggeringEntities triggeringEntitiesRule="any">
<EntityRef entityRef="hero"/>
</TriggeringEntities>
<EntityCondition>
<TraveledDistanceCondition value="1.0"/>
</EntityCondition>
</ByEntityCondition>
</Condition>
<Condition name="StartTime" delay="0" conditionEdge="rising">
<ByValueCondition>
<SimulationTimeCondition value="0" rule="equalTo"/>
</ByValueCondition>
</Condition>
</ConditionGroup>
</StartTrigger>
<StopTrigger>
<ConditionGroup>
<Condition name="EndCondition" delay="0" conditionEdge="rising">
<ByEntityCondition>
<TriggeringEntities triggeringEntitiesRule="any">
<EntityRef entityRef="hero"/>
</TriggeringEntities>
<EntityCondition>
<TraveledDistanceCondition value="200.0"/>
</EntityCondition>
</ByEntityCondition>
</Condition>
</ConditionGroup>
</StopTrigger>
</Act>
</Story>
<StopTrigger>
<ConditionGroup>
<Condition name="criteria_RunningStopTest" delay="0" conditionEdge="rising">
<ByValueCondition>
<ParameterCondition parameterRef="" value="" rule="lessThan"/>
</ByValueCondition>
</Condition>
<Condition name="criteria_RunningRedLightTest" delay="0" conditionEdge="rising">
<ByValueCondition>
<ParameterCondition parameterRef="" value="" rule="lessThan"/>
</ByValueCondition>
</Condition>
<Condition name="criteria_WrongLaneTest" delay="0" conditionEdge="rising">
<ByValueCondition>
<ParameterCondition parameterRef="" value="" rule="lessThan"/>
</ByValueCondition>
</Condition>
<Condition name="criteria_OnSidewalkTest" delay="0" conditionEdge="rising">
<ByValueCondition>
<ParameterCondition parameterRef="" value="" rule="lessThan"/>
</ByValueCondition>
</Condition>
<Condition name="criteria_KeepLaneTest" delay="0" conditionEdge="rising">
<ByValueCondition>
<ParameterCondition parameterRef="" value="" rule="lessThan"/>
</ByValueCondition>
</Condition>
<Condition name="criteria_CollisionTest" delay="0" conditionEdge="rising">
<ByValueCondition>
<ParameterCondition parameterRef="" value="" rule="lessThan"/>
</ByValueCondition>
</Condition>
<Condition name="criteria_DrivenDistanceTest" delay="0" conditionEdge="rising">
<ByValueCondition>
<ParameterCondition parameterRef="distance_success" value="100" rule="lessThan"/>
</ByValueCondition>
</Condition>
</ConditionGroup>
</StopTrigger>
</Storyboard>
</OpenSCENARIO>
``` |
i would like to guide you to add pedestrian close to standing?
```
<?xml version="1.0" ?>
<OpenSCENARIO>
<FileHeader revMajor="1" revMinor="0" date="2020-03-24T12:00:00" description="CARLA:LaneChangeSimple" author=""/>
<ParameterDeclarations/>
<CatalogLocations/>
<RoadNetwork>
<LogicFile filepath="Town04"/>
<SceneGraphFile filepath=""/>
</RoadNetwork>
<Entities>
<ScenarioObject name="hero">
<Vehicle name="vehicle.tesla.model3" vehicleCategory="car">
<ParameterDeclarations/>
<Performance maxSpeed="69.444" maxAcceleration="200" maxDeceleration="10.0"/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2.1" length="4.5" height="1.8"/>
</BoundingBox>
<Axles>
<FrontAxle maxSteering="0.5" wheelDiameter="0.6" trackWidth="1.8" positionX="3.1" positionZ="0.3"/>
<RearAxle maxSteering="0.0" wheelDiameter="0.6" trackWidth="1.8" positionX="0.0" positionZ="0.3"/>
</Axles>
<Properties>
<Property name="type" value="ego_vehicle"/>
</Properties>
</Vehicle>
</ScenarioObject>
<ScenarioObject name="adversary">
<Vehicle name="vehicle.lincoln.mkz_2017" vehicleCategory="car">
<ParameterDeclarations/>
<Performance maxSpeed="69.444" maxAcceleration="200" maxDeceleration="10.0"/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2.1" length="4.5" height="1.8"/>
</BoundingBox>
<Axles>
<FrontAxle maxSteering="0.5" wheelDiameter="0.6" trackWidth="1.8" positionX="3.1" positionZ="0.3"/>
<RearAxle maxSteering="0.0" wheelDiameter="0.6" trackWidth="1.8" positionX="0.0" positionZ="0.3"/>
</Axles>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Vehicle>
</ScenarioObject>
<ScenarioObject name="standing">
<Vehicle name="vehicle.volkswagen.t2" vehicleCategory="car">
<ParameterDeclarations/>
<Performance maxSpeed="69.444" maxAcceleration="200" maxDeceleration="10.0"/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2.1" length="4.5" height="1.8"/>
</BoundingBox>
<Axles>
<FrontAxle maxSteering="0.5" wheelDiameter="0.6" trackWidth="1.8" positionX="3.1" positionZ="0.3"/>
<RearAxle maxSteering="0.0" wheelDiameter="0.6" trackWidth="1.8" positionX="0.0" positionZ="0.3"/>
</Axles>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Vehicle>
</ScenarioObject>
<ScenarioObject name="pedestrian_close_to_adversary_13791">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_close_to_adversary_13793">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_w_transform_13794">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_w_transform_13795">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_w_transform_13796">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_w_transform_13797">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_w_transform_13798">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_close_to_standing_13799">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_close_to_hero_13800">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_close_to_adversary_13801">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_w_transform_13802">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_close_to_hero_13803">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_close_to_hero_13804">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_w_transform_13805">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_w_transform_13806">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_close_to_standing_13807">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_w_transform_13808">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
</Entities>
<Storyboard>
<Init>
<Actions>
<GlobalAction>
<EnvironmentAction>
<Environment name="Environment1">
<TimeOfDay animation="false" dateTime="2019-06-25T12:00:00"/>
<Weather cloudState="free">
<Sun intensity="0.85" azimuth="0" elevation="1.31"/>
<Fog visualRange="100000.0"/>
<Precipitation precipitationType="dry" intensity="0.0"/>
</Weather>
<RoadCondition frictionScaleFactor="1.0"/>
</Environment>
</EnvironmentAction>
</GlobalAction>
<Private entityRef="hero">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-9.4" y="-152.8" z="0.5" h="1.57079632679"/>
</Position>
</TeleportAction>
</PrivateAction>
<PrivateAction>
<ControllerAction>
<AssignControllerAction>
<Controller name="HeroAgent">
<Properties>
<Property name="module" value="external_control"/>
</Properties>
</Controller>
</AssignControllerAction>
<OverrideControllerValueAction>
<Throttle value="0" active="false"/>
<Brake value="0" active="false"/>
<Clutch value="0" active="false"/>
<ParkingBrake value="0" active="false"/>
<SteeringWheel value="0" active="false"/>
<Gear number="0" active="false"/>
</OverrideControllerValueAction>
</ControllerAction>
</PrivateAction>
</Private>
<Private entityRef="adversary">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-9.4" y="-71.0" z="0.5" h="1.57079632679"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="standing">
<PrivateAction>
<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_13791">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-4.276460647583008" y="-66.2744140625" z="0.03377784788608551"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_close_to_adversary_13793">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-2.721761465072632" y="-67.466552734375" z="0.033780019730329514"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_w_transform_13794">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-19.756553649902344" y="81.74593353271484" z="0.5"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_w_transform_13795">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-81.66588592529297" y="-33.01573944091797" z="0.5"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_w_transform_13796">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-6.538588523864746" y="43.57524108886719" z="0.5"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_w_transform_13797">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="83.4079360961914" y="11.516550064086914" z="0.5"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_w_transform_13798">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="32.4704704284668" y="61.48973846435547" z="0.5"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_close_to_standing_13799">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-16.444639205932617" y="19.415346145629883" z="0.003037681570276618"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_close_to_hero_13800">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-8.532516479492188" y="-161.36038208007812" z="0.0014286803780123591"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_close_to_adversary_13801">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-11.954172134399414" y="-77.33454895019531" z="0.03377632051706314"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_w_transform_13802">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="40.73760986328125" y="-29.106958389282227" z="0.5"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_close_to_hero_13803">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="0.9899228811264038" y="-161.7926788330078" z="0.0014286803780123591"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_close_to_hero_13804">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-14.956896781921387" y="-151.67327880859375" z="0.0014286803780123591"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_w_transform_13805">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="59.679466247558594" y="-47.877723693847656" z="0.5"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_w_transform_13806">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-8.156791687011719" y="-16.324176788330078" z="0.5"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_close_to_standing_13807">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-11.656569480895996" y="34.53702926635742" z="0.003045310964807868"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_w_transform_13808">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-64.4172592163086" y="37.635154724121094" z="0.5"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
</Actions>
</Init>
<Story name="MyStory">
<Act name="Behavior">
<ManeuverGroup maximumExecutionCount="1" name="ManeuverSequence">
<Actors selectTriggeringEntities="false">
<EntityRef entityRef="adversary"/>
</Actors>
<Maneuver name="LaneChangeSimpleManeuver">
<Event name="AdversaryAccelerates" priority="overwrite">
<Action name="AdversaryAccelerates">
<PrivateAction>
<LongitudinalAction>
<SpeedAction>
<SpeedActionDynamics dynamicsShape="step" value="50" dynamicsDimension="distance"/>
<SpeedActionTarget>
<AbsoluteTargetSpeed value="5.0"/>
</SpeedActionTarget>
</SpeedAction>
</LongitudinalAction>
</PrivateAction>
</Action>
<StartTrigger>
<ConditionGroup>
<Condition name="StartCondition" delay="0" conditionEdge="rising">
<ByEntityCondition>
<TriggeringEntities triggeringEntitiesRule="any">
<EntityRef entityRef="hero"/>
</TriggeringEntities>
<EntityCondition>
<RelativeDistanceCondition entityRef="adversary" relativeDistanceType="cartesianDistance" value="40.0" freespace="false" rule="lessThan"/>
</EntityCondition>
</ByEntityCondition>
</Condition>
</ConditionGroup>
</StartTrigger>
</Event>
<Event name="AdversaryChangesLane" priority="overwrite">
<Action name="AdversaryChangesLane">
<PrivateAction>
<LateralAction>
<LaneChangeAction>
<LaneChangeActionDynamics dynamicsShape="linear" value="25" dynamicsDimension="distance"/>
<LaneChangeTarget>
<RelativeTargetLane entityRef="adversary" value="-1"/>
</LaneChangeTarget>
</LaneChangeAction>
</LateralAction>
</PrivateAction>
</Action>
<StartTrigger>
<ConditionGroup>
<Condition name="AfterAdversaryAccelerates" delay="0" conditionEdge="rising">
<ByValueCondition>
<StoryboardElementStateCondition storyboardElementType="action" storyboardElementRef="AdversaryAccelerates" state="completeState"/>
</ByValueCondition>
</Condition>
</ConditionGroup>
</StartTrigger>
</Event>
</Maneuver>
</ManeuverGroup>
<StartTrigger>
<ConditionGroup>
<Condition name="OverallStartCondition" delay="0" conditionEdge="rising">
<ByEntityCondition>
<TriggeringEntities triggeringEntitiesRule="any">
<EntityRef entityRef="hero"/>
</TriggeringEntities>
<EntityCondition>
<TraveledDistanceCondition value="1.0"/>
</EntityCondition>
</ByEntityCondition>
</Condition>
<Condition name="StartTime" delay="0" conditionEdge="rising">
<ByValueCondition>
<SimulationTimeCondition value="0" rule="equalTo"/>
</ByValueCondition>
</Condition>
</ConditionGroup>
</StartTrigger>
<StopTrigger>
<ConditionGroup>
<Condition name="EndCondition" delay="0" conditionEdge="rising">
<ByEntityCondition>
<TriggeringEntities triggeringEntitiesRule="any">
<EntityRef entityRef="hero"/>
</TriggeringEntities>
<EntityCondition>
<TraveledDistanceCondition value="200.0"/>
</EntityCondition>
</ByEntityCondition>
</Condition>
</ConditionGroup>
</StopTrigger>
</Act>
</Story>
<StopTrigger>
<ConditionGroup>
<Condition name="criteria_RunningStopTest" delay="0" conditionEdge="rising">
<ByValueCondition>
<ParameterCondition parameterRef="" value="" rule="lessThan"/>
</ByValueCondition>
</Condition>
<Condition name="criteria_RunningRedLightTest" delay="0" conditionEdge="rising">
<ByValueCondition>
<ParameterCondition parameterRef="" value="" rule="lessThan"/>
</ByValueCondition>
</Condition>
<Condition name="criteria_WrongLaneTest" delay="0" conditionEdge="rising">
<ByValueCondition>
<ParameterCondition parameterRef="" value="" rule="lessThan"/>
</ByValueCondition>
</Condition>
<Condition name="criteria_OnSidewalkTest" delay="0" conditionEdge="rising">
<ByValueCondition>
<ParameterCondition parameterRef="" value="" rule="lessThan"/>
</ByValueCondition>
</Condition>
<Condition name="criteria_KeepLaneTest" delay="0" conditionEdge="rising">
<ByValueCondition>
<ParameterCondition parameterRef="" value="" rule="lessThan"/>
</ByValueCondition>
</Condition>
<Condition name="criteria_CollisionTest" delay="0" conditionEdge="rising">
<ByValueCondition>
<ParameterCondition parameterRef="" value="" rule="lessThan"/>
</ByValueCondition>
</Condition>
<Condition name="criteria_DrivenDistanceTest" delay="0" conditionEdge="rising">
<ByValueCondition>
<ParameterCondition parameterRef="distance_success" value="100" rule="lessThan"/>
</ByValueCondition>
</Condition>
</ConditionGroup>
</StopTrigger>
</Storyboard>
</OpenSCENARIO>
``` | Here is the result:
```
<?xml version="1.0" ?>
<OpenSCENARIO>
<FileHeader revMajor="1" revMinor="0" date="2020-03-24T12:00:00" description="CARLA:LaneChangeSimple" author=""/>
<ParameterDeclarations/>
<CatalogLocations/>
<RoadNetwork>
<LogicFile filepath="Town04"/>
<SceneGraphFile filepath=""/>
</RoadNetwork>
<Entities>
<ScenarioObject name="hero">
<Vehicle name="vehicle.tesla.model3" vehicleCategory="car">
<ParameterDeclarations/>
<Performance maxSpeed="69.444" maxAcceleration="200" maxDeceleration="10.0"/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2.1" length="4.5" height="1.8"/>
</BoundingBox>
<Axles>
<FrontAxle maxSteering="0.5" wheelDiameter="0.6" trackWidth="1.8" positionX="3.1" positionZ="0.3"/>
<RearAxle maxSteering="0.0" wheelDiameter="0.6" trackWidth="1.8" positionX="0.0" positionZ="0.3"/>
</Axles>
<Properties>
<Property name="type" value="ego_vehicle"/>
</Properties>
</Vehicle>
</ScenarioObject>
<ScenarioObject name="adversary">
<Vehicle name="vehicle.lincoln.mkz_2017" vehicleCategory="car">
<ParameterDeclarations/>
<Performance maxSpeed="69.444" maxAcceleration="200" maxDeceleration="10.0"/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2.1" length="4.5" height="1.8"/>
</BoundingBox>
<Axles>
<FrontAxle maxSteering="0.5" wheelDiameter="0.6" trackWidth="1.8" positionX="3.1" positionZ="0.3"/>
<RearAxle maxSteering="0.0" wheelDiameter="0.6" trackWidth="1.8" positionX="0.0" positionZ="0.3"/>
</Axles>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Vehicle>
</ScenarioObject>
<ScenarioObject name="standing">
<Vehicle name="vehicle.volkswagen.t2" vehicleCategory="car">
<ParameterDeclarations/>
<Performance maxSpeed="69.444" maxAcceleration="200" maxDeceleration="10.0"/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2.1" length="4.5" height="1.8"/>
</BoundingBox>
<Axles>
<FrontAxle maxSteering="0.5" wheelDiameter="0.6" trackWidth="1.8" positionX="3.1" positionZ="0.3"/>
<RearAxle maxSteering="0.0" wheelDiameter="0.6" 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_13791">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_close_to_adversary_13793">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_w_transform_13794">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_w_transform_13795">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_w_transform_13796">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_w_transform_13797">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_w_transform_13798">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_close_to_standing_13799">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_close_to_hero_13800">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_close_to_adversary_13801">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_w_transform_13802">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_close_to_hero_13803">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_close_to_hero_13804">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_w_transform_13805">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_w_transform_13806">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_close_to_standing_13807">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_w_transform_13808">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
<ScenarioObject name="pedestrian_close_to_standing_13809">
<Pedestrian model="walker.pedestrian.0001" mass="80" name="walker.pedestrian.0001" pedestrianCategory="pedestrian">
<ParameterDeclarations/>
<BoundingBox>
<Center x="1.5" y="0.0" z="0.9"/>
<Dimensions width="2" length="2" height="2"/>
</BoundingBox>
<Properties>
<Property name="type" value="simulation"/>
</Properties>
</Pedestrian>
</ScenarioObject>
</Entities>
<Storyboard>
<Init>
<Actions>
<GlobalAction>
<EnvironmentAction>
<Environment name="Environment1">
<TimeOfDay animation="false" dateTime="2019-06-25T12:00:00"/>
<Weather cloudState="free">
<Sun intensity="0.85" azimuth="0" elevation="1.31"/>
<Fog visualRange="100000.0"/>
<Precipitation precipitationType="dry" intensity="0.0"/>
</Weather>
<RoadCondition frictionScaleFactor="1.0"/>
</Environment>
</EnvironmentAction>
</GlobalAction>
<Private entityRef="hero">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-9.4" y="-152.8" z="0.5" h="1.57079632679"/>
</Position>
</TeleportAction>
</PrivateAction>
<PrivateAction>
<ControllerAction>
<AssignControllerAction>
<Controller name="HeroAgent">
<Properties>
<Property name="module" value="external_control"/>
</Properties>
</Controller>
</AssignControllerAction>
<OverrideControllerValueAction>
<Throttle value="0" active="false"/>
<Brake value="0" active="false"/>
<Clutch value="0" active="false"/>
<ParkingBrake value="0" active="false"/>
<SteeringWheel value="0" active="false"/>
<Gear number="0" active="false"/>
</OverrideControllerValueAction>
</ControllerAction>
</PrivateAction>
</Private>
<Private entityRef="adversary">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-9.4" y="-71.0" z="0.5" h="1.57079632679"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="standing">
<PrivateAction>
<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_13791">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-4.276460647583008" y="-66.2744140625" z="0.03377784788608551"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_close_to_adversary_13793">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-2.721761465072632" y="-67.466552734375" z="0.033780019730329514"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_w_transform_13794">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-19.756553649902344" y="81.74593353271484" z="0.5"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_w_transform_13795">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-81.66588592529297" y="-33.01573944091797" z="0.5"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_w_transform_13796">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-6.538588523864746" y="43.57524108886719" z="0.5"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_w_transform_13797">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="83.4079360961914" y="11.516550064086914" z="0.5"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_w_transform_13798">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="32.4704704284668" y="61.48973846435547" z="0.5"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_close_to_standing_13799">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-16.444639205932617" y="19.415346145629883" z="0.003037681570276618"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_close_to_hero_13800">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-8.532516479492188" y="-161.36038208007812" z="0.0014286803780123591"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_close_to_adversary_13801">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-11.954172134399414" y="-77.33454895019531" z="0.03377632051706314"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_w_transform_13802">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="40.73760986328125" y="-29.106958389282227" z="0.5"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_close_to_hero_13803">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="0.9899228811264038" y="-161.7926788330078" z="0.0014286803780123591"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_close_to_hero_13804">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-14.956896781921387" y="-151.67327880859375" z="0.0014286803780123591"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_w_transform_13805">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="59.679466247558594" y="-47.877723693847656" z="0.5"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_w_transform_13806">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-8.156791687011719" y="-16.324176788330078" z="0.5"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_close_to_standing_13807">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-11.656569480895996" y="34.53702926635742" z="0.003045310964807868"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_w_transform_13808">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="-64.4172592163086" y="37.635154724121094" z="0.5"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
<Private entityRef="pedestrian_close_to_standing_13809">
<PrivateAction>
<TeleportAction>
<Position>
<WorldPosition x="0.938825786113739" y="35.44192886352539" z="0.0030548858921974897"/>
</Position>
</TeleportAction>
</PrivateAction>
</Private>
</Actions>
</Init>
<Story name="MyStory">
<Act name="Behavior">
<ManeuverGroup maximumExecutionCount="1" name="ManeuverSequence">
<Actors selectTriggeringEntities="false">
<EntityRef entityRef="adversary"/>
</Actors>
<Maneuver name="LaneChangeSimpleManeuver">
<Event name="AdversaryAccelerates" priority="overwrite">
<Action name="AdversaryAccelerates">
<PrivateAction>
<LongitudinalAction>
<SpeedAction>
<SpeedActionDynamics dynamicsShape="step" value="50" dynamicsDimension="distance"/>
<SpeedActionTarget>
<AbsoluteTargetSpeed value="5.0"/>
</SpeedActionTarget>
</SpeedAction>
</LongitudinalAction>
</PrivateAction>
</Action>
<StartTrigger>
<ConditionGroup>
<Condition name="StartCondition" delay="0" conditionEdge="rising">
<ByEntityCondition>
<TriggeringEntities triggeringEntitiesRule="any">
<EntityRef entityRef="hero"/>
</TriggeringEntities>
<EntityCondition>
<RelativeDistanceCondition entityRef="adversary" relativeDistanceType="cartesianDistance" value="40.0" freespace="false" rule="lessThan"/>
</EntityCondition>
</ByEntityCondition>
</Condition>
</ConditionGroup>
</StartTrigger>
</Event>
<Event name="AdversaryChangesLane" priority="overwrite">
<Action name="AdversaryChangesLane">
<PrivateAction>
<LateralAction>
<LaneChangeAction>
<LaneChangeActionDynamics dynamicsShape="linear" value="25" dynamicsDimension="distance"/>
<LaneChangeTarget>
<RelativeTargetLane entityRef="adversary" value="-1"/>
</LaneChangeTarget>
</LaneChangeAction>
</LateralAction>
</PrivateAction>
</Action>
<StartTrigger>
<ConditionGroup>
<Condition name="AfterAdversaryAccelerates" delay="0" conditionEdge="rising">
<ByValueCondition>
<StoryboardElementStateCondition storyboardElementType="action" storyboardElementRef="AdversaryAccelerates" state="completeState"/>
</ByValueCondition>
</Condition>
</ConditionGroup>
</StartTrigger>
</Event>
</Maneuver>
</ManeuverGroup>
<StartTrigger>
<ConditionGroup>
<Condition name="OverallStartCondition" delay="0" conditionEdge="rising">
<ByEntityCondition>
<TriggeringEntities triggeringEntitiesRule="any">
<EntityRef entityRef="hero"/>
</TriggeringEntities>
<EntityCondition>
<TraveledDistanceCondition value="1.0"/>
</EntityCondition>
</ByEntityCondition>
</Condition>
<Condition name="StartTime" delay="0" conditionEdge="rising">
<ByValueCondition>
<SimulationTimeCondition value="0" rule="equalTo"/>
</ByValueCondition>
</Condition>
</ConditionGroup>
</StartTrigger>
<StopTrigger>
<ConditionGroup>
<Condition name="EndCondition" delay="0" conditionEdge="rising">
<ByEntityCondition>
<TriggeringEntities triggeringEntitiesRule="any">
<EntityRef entityRef="hero"/>
</TriggeringEntities>
<EntityCondition>
<TraveledDistanceCondition value="200.0"/>
</EntityCondition>
</ByEntityCondition>
</Condition>
</ConditionGroup>
</StopTrigger>
</Act>
</Story>
<StopTrigger>
<ConditionGroup>
<Condition name="criteria_RunningStopTest" delay="0" conditionEdge="rising">
<ByValueCondition>
<ParameterCondition parameterRef="" value="" rule="lessThan"/>
</ByValueCondition>
</Condition>
<Condition name="criteria_RunningRedLightTest" delay="0" conditionEdge="rising">
<ByValueCondition>
<ParameterCondition parameterRef="" value="" rule="lessThan"/>
</ByValueCondition>
</Condition>
<Condition name="criteria_WrongLaneTest" delay="0" conditionEdge="rising">
<ByValueCondition>
<ParameterCondition parameterRef="" value="" rule="lessThan"/>
</ByValueCondition>
</Condition>
<Condition name="criteria_OnSidewalkTest" delay="0" conditionEdge="rising">
<ByValueCondition>
<ParameterCondition parameterRef="" value="" rule="lessThan"/>
</ByValueCondition>
</Condition>
<Condition name="criteria_KeepLaneTest" delay="0" conditionEdge="rising">
<ByValueCondition>
<ParameterCondition parameterRef="" value="" rule="lessThan"/>
</ByValueCondition>
</Condition>
<Condition name="criteria_CollisionTest" delay="0" conditionEdge="rising">
<ByValueCondition>
<ParameterCondition parameterRef="" value="" rule="lessThan"/>
</ByValueCondition>
</Condition>
<Condition name="criteria_DrivenDistanceTest" delay="0" conditionEdge="rising">
<ByValueCondition>
<ParameterCondition parameterRef="distance_success" value="100" rule="lessThan"/>
</ByValueCondition>
</Condition>
</ConditionGroup>
</StopTrigger>
</Storyboard>
</OpenSCENARIO>
``` |