stop

Stop streaming point clouds from Velodyne LiDAR sensor

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