ChangeLaneAction
Description
The ChangeLaneAction object represents a Change
Lane action in the RoadRunner scenario logic. The Change Lane action specifies for the
actor to change lanes using the specified properties. Specifying
ChangeLaneAction as the action type when adding an action to your
scenario adds a Change Lane action to the specified phase in the scenario
logic. You can use the ChangeLaneAction object to programmatically modify
the attributes of the corresponding Change Lane 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 "ChangeLaneAction" to create a
ChangeLaneAction object associated with the specified phase.
Properties
Examples
Version History
Introduced in R2025a
See Also
addAction | ChangeSpeedAction | ChangeLateralOffsetAction | ChangeLongitudinalDistanceAction | WaitAction
Topics
- Define Scenario Logic (RoadRunner Scenario)