İçeriğe geç

Triggers reference — all 19 scenario conditions

Bu içerik henüz dilinizde mevcut değil.

A TRIGGER decides when an event’s actions start. drawtonomy offers 19 conditions in the trigger dropdown, plus a handful more behind Advanced….

Eight conditions sit under COMMON. The remaining eleven are behind a collapsed More conditions… row — click it to expand.

The TRIGGER dropdown open — the eight COMMON conditions above a More conditions… row expanded to reveal the rest

New events start with Simulation time at 0.00 s.

UI labelOpenSCENARIOFires when
Immediately (no condition)(no condition)Straight away. Only offered as the first condition of a trigger, and never on END CONDITIONS.
Simulation timeSimulationTimeConditionThe run reaches a given number of seconds.
Time gap to actorTimeHeadwayConditionThe headway to another actor crosses a threshold, in seconds.
Time to collisionTimeToCollisionConditionThe projected time to collision with another actor crosses a threshold.
Distance to actorRelativeDistanceConditionThe distance to another actor crosses a threshold, in metres.
Traveled distanceTraveledDistanceConditionThe actor has driven a given distance since the run started.
Phase / event stateStoryboardElementStateConditionA named phase or event starts, is running, ends, or is complete.
Distance to pointDistanceConditionThe distance from the actor to a fixed point crosses a threshold. Monitors distance continuously.
UI labelOpenSCENARIOFires when
Reach positionReachPositionConditionThe actor comes within a tolerance radius of a point. An arrival test rather than a distance monitor.
End of roadEndOfRoadConditionThe actor has been at the end of the road for a given duration.
Actor speedSpeedConditionThe actor’s own speed crosses a threshold.
Relative speedRelativeSpeedConditionThe actor’s speed relative to another actor crosses a threshold.
Stand stillStandStillConditionThe actor has been stationary for a given duration.
Actor accelerationAccelerationConditionThe actor’s acceleration crosses a threshold.
CollisionCollisionConditionThe actor collides with another entity.
Off-roadOffroadConditionThe actor has been off the drivable surface for a given duration.
Scenario parameterParameterConditionA declared parameter compares to a value.
Scenario variableVariableConditionA declared variable compares to a value.
Traffic signalTrafficSignalConditionA named signal reaches a given state.

Some conditions do not appear in the dropdown at all. Click the small Advanced… link under a condition row to reach them:

UI labelOpenSCENARIO
Relative clearanceRelativeClearanceCondition
AngleAngleCondition
Relative angleRelativeAngleCondition
Traffic signal controllerTrafficSignalControllerCondition
Time of dayTimeOfDayCondition
User-defined valueUserDefinedValueCondition

A trigger is a set of groups. The editor shows the first group under the heading ALL OF (AND).

  • + and adds a condition to the current group. Every condition in a group must hold at once — the group maps to one OpenSCENARIO ConditionGroup.
  • or… starts a new group, shown as Any of (OR). Any single group being satisfied satisfies the trigger — multiple ConditionGroup elements are OR-ed by the standard.

So (A and B) or C is two groups: one holding A and B, one holding C.

The fields shown depend on the condition, but these recur:

FieldMeaning
ACTORThe actor whose state is measured — the triggering entity.
REFERENCE ACTORThe other actor, for conditions that compare two of them.
SECONDSThe threshold, for time-based conditions.
exceeds / falls belowThe comparison rule. Which is the default depends on the condition.
DELAY AFTER METIn the event’s ADVANCED section: hold the event back this many seconds after the condition is satisfied. Maps to Condition@delay.