egoToWorldLaneBoundarySegments
Convert tracked lane boundaries to lane boundary segments in world coordinates
Since R2024a
Syntax
Description
converts the input tracked lane boundaries lbsegments = egoToWorldLaneBoundarySegments(trackedLaneBoundaries,egoTrajectory)trackedLaneBoundaries in ego
vehicle coordinates into an array of laneBoundarySegment objects lbsegments in world coordinates
by using the ego trajectory information egoTrajectory.
converts the tracked lane boundaries to an array of lbsegments = egoToWorldLaneBoundarySegments(trackedLaneBoundaries,egoPose)laneBoundarySegment objects lbsegments in world coordinates
by using the ego pose information egoPose.
specifies options using one or more name-value arguments in addition to any combination of
input arguments from previous syntaxes. For example, lbsegments = egoToWorldLaneBoundarySegments(___,Name=Value)MergeSegments=False
returns lane boundary segments for each valid input frame of the lane data without merging
the lane boundaries with the same lane boundary IDs.
Note
This function requires the Scenario Builder for Automated Driving Toolbox™ support package and Sensor Fusion and Tracking Toolbox™. You can install the Scenario Builder for Automated Driving Toolbox support package from the Add-On Explorer. For more information about installing add-ons, see Get and Manage Add-Ons.
Examples
Input Arguments
Name-Value Arguments
Output Arguments
Tips
To group adjacent lane boundary segments using boundary connections, use the
laneBoundaryGroupobject.
Algorithms
If the ego vehicle is stationary for multiple, sequential timestamps, then this function skips the rows of the input
laneDataobject that specify lane information redundant to the first stationary timestamp.For the last row of the input
laneDataobject, this function assumes the distance of the lane boundary from the center of the ego vehicle is 5 meters.
Version History
Introduced in R2024aSee Also
Objects
laneBoundaryDetector|laneBoundaryTracker|laneData|actorTracklist|waypointTrajectory(Sensor Fusion and Tracking Toolbox) |laneBoundarySegment|laneBoundaryGroup

