This is machine translation

Translated by Microsoft
Mouseover text to see original. Click the button below to return to the English version of the page.

Note: This page has been translated by MathWorks. Click here to see
To view all translated materials including this page, select Country from the country navigator on the bottom of this page.

stop

Stop streaming point clouds from Velodyne LiDAR sensor

Syntax

stop(lidarobj)

Description

example

stop(lidarobj) stops streaming point clouds from theVelodyne LiDAR® sensor specified by lidarobj. All existing point clouds continue to exist in the buffer.

Examples

collapse all

When you are finished working with point clouds from your sensor, you can stop streaming the data.

Create a velodynelidar object for an HDL-32E sensor. Then start streaming point clouds. Once the start function is called, streaming continues in the background.

v = velodynelidar('HDL32E');
start(v)

When you are finished working with point clouds, stop streaming. All the data from streaming remains available in the buffer. You can view the Streaming property. It should be 0, indicating that the sensor has started streaming.

stop(v)
v.Streaming
ans =

  logical

   0

The point clouds that are in the buffer when stop is called remain available. They are not deleted until start is called again. Use read to access the available point cloud data.

Input Arguments

collapse all

Velodyne LiDAR sensor connection created by using velodynelidar, specified as a velodynelidar object.

Introduced in R2019a