adjustHeight
Adjust height of waypoints in trajectory object to match road height
Since R2025a
Syntax
Description
Add-On Required: This feature requires the Scenario Builder for Automated Driving Toolbox add-on.
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.
Examples
Input Arguments
Output Arguments
Version History
Introduced in R2025a
See Also
roadrunnerHDMap | drivingScenario | roadBoundaries | Trajectory | GPSData | CameraData | LidarData | recordedSensorData

