trajectory
Syntax
Description
creates a trajectory, gpsTrajectory
= trajectory(gpsData
)gpsTrajectory
, from the input GPSData
object
gpsData
.
creates a trajectory from the specified timestamps gpsTrajectory
= trajectory(gpsData
,Timestamps=timestamps
)timestamps
of the
input GPS data.
creates a trajectory from the specified row indices gpsTrajectory
= trajectory(gpsData
,RowIndices=rowIndices
)rowIndices
of the
input GPS data.
specifies options using name-value arguments in addition to any combination of input
arguments from the previous syntaxes. For example, gpsTrajectory
= trajectory(___,Name=Value
)TimeOrigin=2
subtracts
2 seconds from the timestamps in the specified GPS data when creating the trajectory.
Note
This function requires the Scenario Builder for Automated Driving Toolbox™ support package. 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
Output Arguments
Version History
Introduced in R2024b
See Also
GPSData
| Trajectory
| CameraData
| LidarData
| recordedSensorData