adjustHeight
Adjust height of waypoints in trajectory object to match road height
Since R2025a
Syntax
Description
adjustHeight(
adjusts the height of the waypoints in the input trajectory object
trajectory
,rrMap
)trajectory
to match the height of the road in the input RoadRunner HD Map rrMap
.
adjustHeight(
adjusts the height of the waypoints in the input trajectory object
trajectory
,rrApp
)trajectory
to match the height of the road in the scene associated
with the input RoadRunner application rrApp
.
adjustHeight(
adjusts the height of the waypoints in the input trajectory object
trajectory
,scenario
)trajectory
to match the height of the road in the input driving
scenario scenario
.
returns the height-adjusted heightAdjustedTrajectory
= adjustHeight(___)Trajectory
object heightAdjustedTrajectory
using any combination of the input
arguments from the previous syntaxes. The syntax does not update the trajectory in the input
trajectory object 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 R2025a
See Also
roadrunnerHDMap
| drivingScenario
| roadBoundaries
| Trajectory
| GPSData
| CameraData
| LidarData
| recordedSensorData