WaitAction
Description
The WaitAction
object represents a Wait
action in the RoadRunner scenario logic. The Wait
action specifies for the simulation
to wait in this phase until an associated condition ends the phase. Specifying
WaitAction
as the action type when adding an action to your scenario adds
a Wait
action to the specified phase in the scenario logic. You can use the
WaitAction
object to programmatically modify the attributes of the
corresponding Wait
action by changing the property values of the
object.
Creation
The addAction
function adds an
action of the specified type as a child to the specified phase. Specify the
actionType
argument as "WaitAction"
to create a
WaitAction
object associated with the specified phase.
Properties
Examples
Version History
Introduced in R2025a
See Also
addAction
| ChangeSpeedAction
| ChangeLaneAction
| ChangeLateralOffsetAction
| ChangeLongitudinalDistanceAction
Topics
- Define Scenario Logic (RoadRunner Scenario)