Contenuto principale

closePreview

Close 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.

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

example

Examples

collapse all

You can preview your Velodyne LiDAR® point clouds before acquiring the data. You must close the preview window before you can use the read function to acquire 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.

Close the preview window.

closePreview(v);

Input Arguments

collapse all

Velodyne LiDAR sensor connection, specified as a velodynelidar object.

Example: closePreview(v);

Version History

Introduced in R2020b