preview

Preview of live point cloud data from Velodyne LiDAR sensor

Description

example

preview(lidarobj) creates a preview window that displays live point cloud data for the velodynelidar object, lidarobj.

preview(lidarobj,xlimits,ylimits,zlimits) displays lidarobj data in a preview window with the specified axes limits.

Examples

collapse all

You can preview your Velodyne LiDAR® point clouds before acquiring the data.

Create a velodynelidar object, v, for use with a model HDL-32E sensor.

v = velodynelidar('HDL32E');

Preview the point cloud data.

preview(v);

The preview window opens.

Note that you must close the preview window before you can use the read function to acquire data.

Input Arguments

collapse all

Name of Velodyne LiDAR object. You create the object using the velodynelidar function.

Example: preview(v);

Range of x-axis coordinates, specified as a 1-by-2 vector in the format [min max]. preview does not display data outside these limits.

Range of y-axis coordinates, specified as a 1-by-2 vector in the format [min max]. preview does not display data outside these limits.

Range of z-axis coordinates, specified as a 1-by-2 vector in the format [min max].preview does not display data outside these limits.

Introduced in R2019a