Skip to content

Commit

Permalink
Merge pull request #44 from asam-oss/adjust_rules_to_1_1
Browse files Browse the repository at this point in the history
Use new 1.1 rules greaterOrEqual and lessOrEqual
  • Loading branch information
arauschert authored Jul 1, 2021
2 parents b03cc8a + 3163fe0 commit 4303d0f
Show file tree
Hide file tree
Showing 15 changed files with 87 additions and 87 deletions.
10 changes: 5 additions & 5 deletions Scenarios/ALKS_Scenario_4.1_1_FreeDriving_TEMPLATE.xosc
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,7 @@
<ConditionGroup>
<Condition name="ActivateALKSControllerEventCondition" delay="0" conditionEdge="rising">
<ByValueCondition>
<SimulationTimeCondition value="10000" rule="greaterThan" />
<SimulationTimeCondition value="10000" rule="greaterOrEqual" />
</ByValueCondition>
</Condition>
</ConditionGroup>
Expand All @@ -84,9 +84,9 @@
</ManeuverGroup>
<StartTrigger>
<ConditionGroup>
<Condition name="ActivateALKSControllerActCondition" delay="0" conditionEdge="rising">
<Condition name="ActivateALKSControllerActCondition" delay="0" conditionEdge="none">
<ByValueCondition>
<SimulationTimeCondition value="0" rule="greaterThan" />
<SimulationTimeCondition value="0" rule="greaterOrEqual" />
</ByValueCondition>
</Condition>
</ConditionGroup>
Expand All @@ -97,10 +97,10 @@
<ConditionGroup>
<Condition name="End" delay="0" conditionEdge="rising">
<ByValueCondition>
<SimulationTimeCondition value="$Duration" rule="greaterThan" />
<SimulationTimeCondition value="$Duration" rule="greaterOrEqual" />
</ByValueCondition>
</Condition>
</ConditionGroup>
</StopTrigger>
</Storyboard>
</OpenSCENARIO>
</OpenSCENARIO>
16 changes: 8 additions & 8 deletions Scenarios/ALKS_Scenario_4.1_2_SwervingLeadVehicle_TEMPLATE.xosc
Original file line number Diff line number Diff line change
Expand Up @@ -100,9 +100,9 @@
</Action>
<StartTrigger>
<ConditionGroup>
<Condition name="ActivateALKSControllerEventCondition" delay="0" conditionEdge="rising">
<Condition name="ActivateALKSControllerEventCondition" delay="0" conditionEdge="none">
<ByValueCondition>
<SimulationTimeCondition value="10000" rule="greaterThan" />
<SimulationTimeCondition value="10000" rule="greaterOrEqual" />
</ByValueCondition>
</Condition>
</ConditionGroup>
Expand All @@ -112,9 +112,9 @@
</ManeuverGroup>
<StartTrigger>
<ConditionGroup>
<Condition name="ActivateALKSControllerActCondition" delay="0" conditionEdge="rising">
<Condition name="ActivateALKSControllerActCondition" delay="0" conditionEdge="none">
<ByValueCondition>
<SimulationTimeCondition value="0" rule="greaterThan" />
<SimulationTimeCondition value="0" rule="greaterOrEqual" />
</ByValueCondition>
</Condition>
</ConditionGroup>
Expand Down Expand Up @@ -145,7 +145,7 @@
<ConditionGroup>
<Condition name="SwerveEventStart" delay="0" conditionEdge="rising">
<ByValueCondition>
<SimulationTimeCondition value="5.0" rule="greaterThan" />
<SimulationTimeCondition value="5.0" rule="greaterOrEqual" />
</ByValueCondition>
</Condition>
</ConditionGroup>
Expand Down Expand Up @@ -224,9 +224,9 @@
</ManeuverGroup>
<StartTrigger>
<ConditionGroup>
<Condition name="SwerveActStart" delay="0" conditionEdge="rising">
<Condition name="SwerveActStart" delay="0" conditionEdge="none">
<ByValueCondition>
<SimulationTimeCondition value="0.0" rule="greaterThan" />
<SimulationTimeCondition value="0.0" rule="greaterOrEqual" />
</ByValueCondition>
</Condition>
</ConditionGroup>
Expand All @@ -237,7 +237,7 @@
<ConditionGroup>
<Condition name="End" delay="0" conditionEdge="rising">
<ByValueCondition>
<SimulationTimeCondition value="$Duration" rule="greaterThan" />
<SimulationTimeCondition value="$Duration" rule="greaterOrEqual" />
</ByValueCondition>
</Condition>
</ConditionGroup>
Expand Down
14 changes: 7 additions & 7 deletions Scenarios/ALKS_Scenario_4.1_3_SwervingSideVehicle_TEMPLATE.xosc
Original file line number Diff line number Diff line change
Expand Up @@ -102,7 +102,7 @@
<ConditionGroup>
<Condition name="ActivateALKSControllerEventCondition" delay="0" conditionEdge="rising">
<ByValueCondition>
<SimulationTimeCondition value="10000" rule="greaterThan" />
<SimulationTimeCondition value="10000" rule="greaterOrEqual" />
</ByValueCondition>
</Condition>
</ConditionGroup>
Expand All @@ -112,9 +112,9 @@
</ManeuverGroup>
<StartTrigger>
<ConditionGroup>
<Condition name="ActivateALKSControllerActCondition" delay="0" conditionEdge="rising">
<Condition name="ActivateALKSControllerActCondition" delay="0" conditionEdge="none">
<ByValueCondition>
<SimulationTimeCondition value="0" rule="greaterThan" />
<SimulationTimeCondition value="0" rule="greaterOrEqual" />
</ByValueCondition>
</Condition>
</ConditionGroup>
Expand Down Expand Up @@ -145,7 +145,7 @@
<ConditionGroup>
<Condition name="SwerveEventStart" delay="0" conditionEdge="rising">
<ByValueCondition>
<SimulationTimeCondition value="5.0" rule="greaterThan" />
<SimulationTimeCondition value="5.0" rule="greaterOrEqual" />
</ByValueCondition>
</Condition>
</ConditionGroup>
Expand Down Expand Up @@ -224,9 +224,9 @@
</ManeuverGroup>
<StartTrigger>
<ConditionGroup>
<Condition name="SwerveActStart" delay="0" conditionEdge="rising">
<Condition name="SwerveActStart" delay="0" conditionEdge="none">
<ByValueCondition>
<SimulationTimeCondition value="0.0" rule="greaterThan" />
<SimulationTimeCondition value="0.0" rule="greaterOrEqual" />
</ByValueCondition>
</Condition>
</ConditionGroup>
Expand All @@ -237,7 +237,7 @@
<ConditionGroup>
<Condition name="End" delay="0" conditionEdge="rising">
<ByValueCondition>
<SimulationTimeCondition value="$Duration" rule="greaterThan" />
<SimulationTimeCondition value="$Duration" rule="greaterOrEqual" />
</ByValueCondition>
</Condition>
</ConditionGroup>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -89,7 +89,7 @@
<ConditionGroup>
<Condition name="ActivateALKSControllerEventCondition" delay="0" conditionEdge="rising">
<ByValueCondition>
<SimulationTimeCondition value="10000" rule="greaterThan" />
<SimulationTimeCondition value="10000" rule="greaterOrEqual" />
</ByValueCondition>
</Condition>
</ConditionGroup>
Expand All @@ -99,9 +99,9 @@
</ManeuverGroup>
<StartTrigger>
<ConditionGroup>
<Condition name="ActivateALKSControllerActCondition" delay="0" conditionEdge="rising">
<Condition name="ActivateALKSControllerActCondition" delay="0" conditionEdge="none">
<ByValueCondition>
<SimulationTimeCondition value="0" rule="greaterThan" />
<SimulationTimeCondition value="0" rule="greaterOrEqual" />
</ByValueCondition>
</Condition>
</ConditionGroup>
Expand All @@ -112,7 +112,7 @@
<ConditionGroup>
<Condition name="End" delay="0" conditionEdge="rising">
<ByValueCondition>
<SimulationTimeCondition value="$Duration" rule="greaterThan" />
<SimulationTimeCondition value="$Duration" rule="greaterOrEqual" />
</ByValueCondition>
</Condition>
</ConditionGroup>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -90,7 +90,7 @@
<ConditionGroup>
<Condition name="ActivateALKSControllerEventCondition" delay="0" conditionEdge="rising">
<ByValueCondition>
<SimulationTimeCondition value="10000" rule="greaterThan" />
<SimulationTimeCondition value="10000" rule="greaterOrEqual" />
</ByValueCondition>
</Condition>
</ConditionGroup>
Expand All @@ -100,9 +100,9 @@
</ManeuverGroup>
<StartTrigger>
<ConditionGroup>
<Condition name="ActivateALKSControllerActCondition" delay="0" conditionEdge="rising">
<Condition name="ActivateALKSControllerActCondition" delay="0" conditionEdge="none">
<ByValueCondition>
<SimulationTimeCondition value="0" rule="greaterThan" />
<SimulationTimeCondition value="0" rule="greaterOrEqual" />
</ByValueCondition>
</Condition>
</ConditionGroup>
Expand All @@ -113,7 +113,7 @@
<ConditionGroup>
<Condition name="End" delay="0" conditionEdge="rising">
<ByValueCondition>
<SimulationTimeCondition value="$Duration" rule="greaterThan" />
<SimulationTimeCondition value="$Duration" rule="greaterOrEqual" />
</ByValueCondition>
</Condition>
</ConditionGroup>
Expand Down
12 changes: 6 additions & 6 deletions Scenarios/ALKS_Scenario_4.2_3_CrossingPedestrian_TEMPLATE.xosc
Original file line number Diff line number Diff line change
Expand Up @@ -90,7 +90,7 @@
<ConditionGroup>
<Condition name="ActivateALKSControllerEventCondition" delay="0" conditionEdge="rising">
<ByValueCondition>
<SimulationTimeCondition value="10000" rule="greaterThan" />
<SimulationTimeCondition value="10000" rule="greaterOrEqual" />
</ByValueCondition>
</Condition>
</ConditionGroup>
Expand All @@ -100,9 +100,9 @@
</ManeuverGroup>
<StartTrigger>
<ConditionGroup>
<Condition name="ActivateALKSControllerActCondition" delay="0" conditionEdge="rising">
<Condition name="ActivateALKSControllerActCondition" delay="0" conditionEdge="none">
<ByValueCondition>
<SimulationTimeCondition value="0" rule="greaterThan" />
<SimulationTimeCondition value="0" rule="greaterOrEqual" />
</ByValueCondition>
</Condition>
</ConditionGroup>
Expand Down Expand Up @@ -170,9 +170,9 @@
</ManeuverGroup>
<StartTrigger>
<ConditionGroup>
<Condition name="CrossActStart" delay="0" conditionEdge="rising">
<Condition name="CrossActStart" delay="0" conditionEdge="none">
<ByValueCondition>
<SimulationTimeCondition value="0" rule="greaterThan" />
<SimulationTimeCondition value="0" rule="greaterOrEqual" />
</ByValueCondition>
</Condition>
</ConditionGroup>
Expand All @@ -183,7 +183,7 @@
<ConditionGroup>
<Condition name="End" delay="0" conditionEdge="rising">
<ByValueCondition>
<SimulationTimeCondition value="$Duration" rule="greaterThan" />
<SimulationTimeCondition value="$Duration" rule="greaterOrEqual" />
</ByValueCondition>
</Condition>
</ConditionGroup>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -102,7 +102,7 @@
<ConditionGroup>
<Condition name="ActivateALKSControllerEventCondition" delay="0" conditionEdge="rising">
<ByValueCondition>
<SimulationTimeCondition value="10000" rule="greaterThan" />
<SimulationTimeCondition value="10000" rule="greaterOrEqual" />
</ByValueCondition>
</Condition>
</ConditionGroup>
Expand All @@ -112,9 +112,9 @@
</ManeuverGroup>
<StartTrigger>
<ConditionGroup>
<Condition name="ActivateALKSControllerActCondition" delay="0" conditionEdge="rising">
<Condition name="ActivateALKSControllerActCondition" delay="0" conditionEdge="none">
<ByValueCondition>
<SimulationTimeCondition value="0" rule="greaterThan" />
<SimulationTimeCondition value="0" rule="greaterOrEqual" />
</ByValueCondition>
</Condition>
</ConditionGroup>
Expand All @@ -125,7 +125,7 @@
<ConditionGroup>
<Condition name="End" delay="0" conditionEdge="rising">
<ByValueCondition>
<SimulationTimeCondition value="$Duration" rule="greaterThan" />
<SimulationTimeCondition value="$Duration" rule="greaterOrEqual" />
</ByValueCondition>
</Condition>
</ConditionGroup>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -102,7 +102,7 @@
<ConditionGroup>
<Condition name="ActivateALKSControllerEventCondition" delay="0" conditionEdge="rising">
<ByValueCondition>
<SimulationTimeCondition value="10000" rule="greaterThan" />
<SimulationTimeCondition value="10000" rule="greaterOrEqual" />
</ByValueCondition>
</Condition>
</ConditionGroup>
Expand All @@ -112,9 +112,9 @@
</ManeuverGroup>
<StartTrigger>
<ConditionGroup>
<Condition name="ActivateALKSControllerActCondition" delay="0" conditionEdge="rising">
<Condition name="ActivateALKSControllerActCondition" delay="0" conditionEdge="none">
<ByValueCondition>
<SimulationTimeCondition value="0" rule="greaterThan" />
<SimulationTimeCondition value="0" rule="greaterOrEqual" />
</ByValueCondition>
</Condition>
</ConditionGroup>
Expand Down Expand Up @@ -145,7 +145,7 @@
<ConditionGroup>
<Condition name="VaryingSpeedStartCondition" delay="0" conditionEdge="rising">
<ByValueCondition>
<SimulationTimeCondition value="10.0" rule="greaterThan" />
<SimulationTimeCondition value="10.0" rule="greaterOrEqual" />
</ByValueCondition>
</Condition>
</ConditionGroup>
Expand Down Expand Up @@ -178,9 +178,9 @@
</ManeuverGroup>
<StartTrigger>
<ConditionGroup>
<Condition name="VaryingSpeedActStart" delay="0" conditionEdge="rising">
<Condition name="VaryingSpeedActStart" delay="0" conditionEdge="none">
<ByValueCondition>
<SimulationTimeCondition value="0.0" rule="greaterThan" />
<SimulationTimeCondition value="0.0" rule="greaterOrEqual" />
</ByValueCondition>
</Condition>
</ConditionGroup>
Expand All @@ -191,7 +191,7 @@
<ConditionGroup>
<Condition name="End" delay="0" conditionEdge="rising">
<ByValueCondition>
<SimulationTimeCondition value="$Duration" rule="greaterThan" />
<SimulationTimeCondition value="$Duration" rule="greaterOrEqual" />
</ByValueCondition>
</Condition>
</ConditionGroup>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -100,7 +100,7 @@
<ConditionGroup>
<Condition name="ActivateALKSControllerEventCondition" delay="0" conditionEdge="rising">
<ByValueCondition>
<SimulationTimeCondition value="10000" rule="greaterThan" />
<SimulationTimeCondition value="10000" rule="greaterOrEqual" />
</ByValueCondition>
</Condition>
</ConditionGroup>
Expand All @@ -110,9 +110,9 @@
</ManeuverGroup>
<StartTrigger>
<ConditionGroup>
<Condition name="ActivateALKSControllerActCondition" delay="0" conditionEdge="rising">
<Condition name="ActivateALKSControllerActCondition" delay="0" conditionEdge="none">
<ByValueCondition>
<SimulationTimeCondition value="0" rule="greaterThan" />
<SimulationTimeCondition value="0" rule="greaterOrEqual" />
</ByValueCondition>
</Condition>
</ConditionGroup>
Expand Down Expand Up @@ -143,7 +143,7 @@
<ConditionGroup>
<Condition name="BrakeStartCondition" delay="0" conditionEdge="rising">
<ByValueCondition>
<SimulationTimeCondition value="10.0" rule="greaterThan" />
<SimulationTimeCondition value="10.0" rule="greaterOrEqual" />
</ByValueCondition>
</Condition>
</ConditionGroup>
Expand All @@ -153,9 +153,9 @@
</ManeuverGroup>
<StartTrigger>
<ConditionGroup>
<Condition name="BrakeActStart" delay="0" conditionEdge="rising">
<Condition name="BrakeActStart" delay="0" conditionEdge="none">
<ByValueCondition>
<SimulationTimeCondition value="0.0" rule="greaterThan" />
<SimulationTimeCondition value="0.0" rule="greaterOrEqual" />
</ByValueCondition>
</Condition>
</ConditionGroup>
Expand All @@ -166,7 +166,7 @@
<ConditionGroup>
<Condition name="End" delay="0" conditionEdge="rising">
<ByValueCondition>
<SimulationTimeCondition value="$Duration" rule="greaterThan" />
<SimulationTimeCondition value="$Duration" rule="greaterOrEqual" />
</ByValueCondition>
</Condition>
</ConditionGroup>
Expand Down
Loading

0 comments on commit 4303d0f

Please sign in to comment.