read(rrMap,filename)
reads the RoadRunner HD Map from a binary file specified by filename and
populates the rrMap object with the map data. Specify the extension of
the file as .rrhd.
RoadRunner HD Map road data model, specified as a roadrunnerHDMap object.
rrMap defines a simple data structure to represent road layouts
using lanes, lane boundaries, lane markings, and junctions. This object provides
functions that support reading, writing, and plotting HD map data.
File name to read the map data from, specified as a character vector or string
scalar. This argument specifies the absolute or relative path to the binary file you
want to read. If you specify a relative path, then the path is relative to the
Scenes folder of the current project. filename
must end with .rrhd.
Example: read(rrMap,"MyMap.rrhd") reads the map data from the
MyMap.rrhd binary file.
You clicked a link that corresponds to this MATLAB command:
Run the command by entering it in the MATLAB Command Window.
Web browsers do not support MATLAB commands.
Sélectionner un site web
Choisissez un site web pour accéder au contenu traduit dans votre langue (lorsqu'il est disponible) et voir les événements et les offres locales. D’après votre position, nous vous recommandons de sélectionner la région suivante : .
Vous pouvez également sélectionner un site web dans la liste suivante :
Comment optimiser les performances du site
Pour optimiser les performances du site, sélectionnez la région Chine (en chinois ou en anglais). Les sites de MathWorks pour les autres pays ne sont pas optimisés pour les visites provenant de votre région.