uavLidarPointCloudGenerator
Description
The uavLidarPointCloudGenerator
System object™ generates detections from a statistical simulated lidar sensor. The system
object uses a statistical sensor model to simulate lidar detections with added random noise.
All detections are with respect to the coordinate frame of the vehicle-mounted sensor. You can
use the uavLidarPointCloudGenerator
object in a scenario, created using a
uavSensor
, containing
static meshes, UAV platforms, and sensors.
To generate lidar point clouds:
Create the
uavLidarPointCloudGenerator
object and set its properties.Call the object with arguments, as if it were a function.
To learn more about how System objects work, see What Are System Objects?
Creation
Description
creates
a statistical sensor model to generate point cloud for a lidar. This sensor model will
have default properties. lidar
= uavLidarPointCloudGenerator
sets properties using one or more name-value pairs. For example,
lidar
= uavLidarPointCloudGenerator(Name,Value)uavLidarPointCloudGenerator('UpdateRate',100,'HasNoise',0)
creates a
lidar point cloud generator that reports detections at an update rate of 100 Hz without
noise.
Properties
Usage
Description
[
additionally returns ptCloud
,isValidTime
] = lidar(tgts
,simTime
)isValidTime
which specifies if the specified
simTime
is a multiple of the sensor's update interval
(1/UpdateRate
).
Input Arguments
Output Arguments
Object Functions
To use an object function, specify the
System object as the first input argument. For
example, to release system resources of a System object named obj
, use
this syntax:
release(obj)
Examples
Version History
Introduced in R2020b