laneBoundaryTracker
Description
The laneBoundaryTracker
System object™ tracks lane boundary detections. It can track multiple lane boundary detections
in the form of parabolicLaneBoundary
, cubicLaneBoundary
,
and clothoidLaneBoundary
objects.
A lane boundary tracker confirms a track when the laneBoundaryTracker
System object has enough evidence to determine that the track is an actual lane and its status
is set to confirmed. For more information, see Confirmation
Threshold
property.
You can initialize and configure the tracker with an external Sensor Fusion and Tracking Toolbox™ tracker. Additionally, you can customize the preprocessing and postprocessing
functions by using the PreProcessingFcn
and
PostProcessingFcn
properties, respectively.
To use laneBoundaryTracker
:
Create the
laneBoundaryTracker
object and set its properties.Call the object with arguments, as if it were a function.
To learn more about how System objects work, see What Are System Objects?
Note
This object requires the Scenario Builder for Automated Driving Toolbox™ support package and Sensor Fusion and Tracking Toolbox. You can install Scenario Builder for Automated Driving Toolbox from the Add-On Explorer. For more information about installing add-ons, see Get and Manage Add-Ons.
Creation
Syntax
Description
creates a
tracker
= laneBoundaryTrackerlaneBoundaryTracker
System object, tracker
, with default property values.
creates a tracker
= laneBoundaryTracker(customTracker
)laneBoundaryTracker
System object, tracker
, initialized with an external Sensor Fusion and Tracking Toolbox tracker, customTracker
.
sets properties for the tracker
= laneBoundaryTracker(Name=Value
)laneBoundaryTracker
object using one or more
name-value arguments. For example, AssignmentThreshold=2
creates a
laneBoundaryTracker
object with an
AssignmentThreshold
value of 2
.
Input Arguments
Properties
Usage
Syntax
Description
returns a list of confirmed lane boundary tracks that are updated from a list of
detections at the update time. Confirmed tracks are corrected and predicted to the update
time, confirmedTracks
= tracker(detections
,time
)time
.
specifies a variable-length argument list as input arguments to the custom preprocessing
and postprocessing functions.confirmedTracks
= tracker(detections
,time
,varargin
)
specifies options using one or more name-value arguments. For example,
confirmedTracks
= tracker(___,Name=Value
)ShowProgress=true
displays a progress bar when using the tracker
object.
Note
You can run the tracker in offline mode. For more information on offline mode
tracking, see the detections
, time
and
confirmedTracks
argument descriptions.
Input Arguments
Output Arguments
Object Functions
To use an object function, specify the
System object as the first input argument. For
example, to release system resources of a System object named obj
, use
this syntax:
release(obj)
Examples
Algorithms
The laneBoundaryTracker
System object uses a combination of the joint probabilistic data association tracker and
extended Kalman filter. For more information on the joint probabilistic data association
tracker, see the Algorithms (Sensor Fusion and Tracking Toolbox) section of the
trackerJPDA
System object. For more information on the extended Kalman filter, see the Algorithms (Sensor Fusion and Tracking Toolbox) section
of the trackingEKF
object.
Version History
Introduced in R2023aSee Also
parabolicLaneBoundary
| cubicLaneBoundary
| clothoidLaneBoundary
| multiObjectTracker
| trackerGNN
(Sensor Fusion and Tracking Toolbox) | trackerJPDA
(Sensor Fusion and Tracking Toolbox) | trackerTOMHT
(Sensor Fusion and Tracking Toolbox)