Main Content

closePreview

Close preview of live point cloud data from Ouster lidar sensor

    Description

    example

    closePreview(ousterObj) closes the preview window that displays live point cloud data from the ousterlidar object ousterObj.

    Examples

    collapse all

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

    ousterObj = ousterlidar("OS0-64","C:/ouster/OS0-64G_sample.json");

    Preview the point cloud data by using the preview function. The preview window opens. Note that you must close the preview figure before using the read function.

    preview(ousterObj)

    Close the preview window.

    closePreview(ousterObj)

    Input Arguments

    collapse all

    Ouster lidar sensor connection, specified as an ousterlidar object.

    Version History

    Introduced in R2022a