rdMesh = roadMesh(ac)
creates a mesh representation of roads nearest to the specified actor
ac. The function returns the mesh as an
extendedObjectMesh object. By default, the function searches for roads
within a 120 m radius of the input actor.
Generate lidar point cloud data for a driving scenario with multiple actors by using the lidarPointCloudGenerator System object. Create the driving scenario by using drivingScenario object. It contains an ego-vehicle, pedestrian and two other vehicles.
Create and plot a driving scenario with multiple vehicles
Create a driving scenario.
scenario = drivingScenario;
Add a straight road to the driving scenario. The road has one lane in each direction.
Actor belonging to a drivingScenario object, specified as an
Actor or Vehicle object. To create these objects, use the
actor and vehicle functions, respectively.
Maximum radius of search area, specified as an integer in the range [1, 500].
Data Types: single | double | int16 | int32 | int64 | uint16 | uint32 | uint64
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.