getRoadRunnerHDMap
Description
returns a RoadRunner HD Map object, rrMap = getRoadRunnerHDMap(scenario)rrMap for the road network and static
actors in the driving scenario, scenario. RoadRunner HD Map is a road data model for representing high-definition ma data in a
RoadRunner scene. Use the rrMap object to inspect the scenario
representation and modify elements. Then, you can writerrMap to a
.rrhd binary file using the write
function, and import the .rrhd file into RoadRunner.There may be variations between the original scenario and the exported
scenario. For details, see Limitations.
Examples
Input Arguments
Output Arguments
RoadRunner HD Map Export Limitations
A RoadRunner Scene Builder license is required to build a scene from the HD map file. Without a RoadRunner Scene Builder license, you can import the HD map file and only view the map as nodes and links in RoadRunner.
Composite Lane Specifications
Roads that use composite lane specifications (
compositeLaneSpec) and form loops or intersect with themselves are not supported.Composite lane specifications for creating roads with varying widths are not supported
Lane Markings and Lane Type
For lane markings created using the
laneMarkingobject and lane types created using thelaneTypeobject, onlyColorname-value argument is supported. Only white and yellow colors are supported.For roads that form loops, multiple lane marking styles are not supported.
Parking Lot
Driving scenarios containing parking lots added using the
parkingLotfunction are not supported.
Barriers
Barriers with gaps between segments created using the
barrierfunction withSegmentGapname-value argument, are not supported. Such barriers will be laid out without any gaps in the RoadRunner HD map representation.For barriers, setting the
SegmentLength,Width, andHeightproperties are not supported. These properties are calculated automatically based on the asset size during import to RoadRunner.
Static Actors
Static actors such as pedestrians and bicycles are not supported. To represent these actors in RoadRunner, you can either download a cuboid FBX and place it under Assets/Vehicles/ or edit the map to point to their own assets.
Road Groups and Road Networks
Road junctions and intersections added using the
roadGroupfunction are not supported.Road networks created using the
roadNetworkfunction are not supported when they use road groups.
Version History
Introduced in R2023a


