actorTracklist
Description
The actorTracklist
object stores recorded actor track list data
and associates it with the timestamps at which it was recorded.
Creation
Syntax
Description
creates an empty
trackdata
= actorTracklistactorTracklist
object, trackdata
.
sets the trackdata
= actorTracklist(timestamp
,trackID
,classID
,position
)TimeStamp
, TrackIDs
,
ClassIDs
, and Position
properties of the
returned actorTracklist
object using the timestamp
, trackID
,
classID
, and position
arguments,
respectively.
sets properties using
one or more name-value arguments in addition to any combination of input arguments from
previous syntaxes. For example, trackdata
= actorTracklist(___,Name=Value
)Velocity={[4 1 0; 2 2 1]}
specifies
velocities of the form [vx
vy
vz] for two actors at one timestamp. Because all
actorTracklist
properties are read-only, you must set them at object
creation. To update them after creation, you must use the addData
and
removeData
object functions.
Note
This object requires the Scenario Builder for Automated Driving Toolbox™ support package. 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.
Properties
Object Functions
readData | Read actor data from track list |
addData | Add data to actor track list object |
removeData | Remove data from actor track list object |
findNearest | Find actor information nearest to specified timestamp in actor track list object |
updateTime | Update timestamps of actor track list object |
importFromObjectTrack | Import track list from objectTrack object |
Examples
Tips
Use an
actorTracklist
object as thetracklist
input argument for theactorprops
function.