주요 콘텐츠

preview

Preview of live point cloud data from Velodyne LiDAR sensor

Description

Add-On Required: This feature requires the Lidar Toolbox Support Package for Velodyne LiDAR Sensors add-on.

preview(lidarobj) creates a preview window that displays live point cloud data from Velodyne LiDAR® sensor associated with the velodynelidar object, lidarobj.

example

preview(lidarobj,xlimits,ylimits,zlimits) displays live point cloud data from lidarobj object 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

Velodyne LiDAR sensor connection, specified as a velodynelidar object.

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.

Version History

Introduced in R2020b