Main Content


Stop streaming point clouds from Ouster lidar sensor

Since R2022a

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



    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.


    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.


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

    ans =

    Input Arguments

    collapse all

    Ouster lidar sensor connection, specified as an ousterlidar object.

    Version History

    Introduced in R2022a