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.
maxRadius — Maximum radius of search area 120 (default) | integer in the range [1, 500]
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 can also select a web site from the following list:
How to Get Best Site Performance
Select the China site (in Chinese or English) for best site performance. Other MathWorks country sites are not optimized for visits from your location.