Main Content

stop

Stop streaming point clouds from Ouster lidar sensor

    Description

    example

    stop(ousterObj) stops streaming point clouds from the Ouster® lidar sensor specified by the ousterlidar object ousterObj. Using this function does not remove point clouds from the buffer.

    Examples

    collapse all

    Create an ousterlidar object, ousterObj, for OS0-64 sensor model. Specify the file path to the corresponding calibration file.

    ousterObj = ousterlidar("OS0-64","OS0-64G_sample.json");

    Start streaming point clouds into the object buffer by using the start function. The function continues streaming in the background.

    start(ousterObj)

    Stop streaming point clouds into the object buffer by using the stop function. Using stop function sets the Streaming property of ousterObj to 0, indicating that streaming has stopped. The point cloud data streamed from the sensor remains in the object buffer until you flush it or use the start function again. You can use the read function to access the available point cloud data..

    stop(ousterObj)
    ousterObj.Streaming
    ans =
    
      logical
    
       0

    Input Arguments

    collapse all

    Ouster lidar sensor connection, specified as an ousterlidar object.

    Version History

    Introduced in R2022a