Main Content

preview

Preview live point cloud data from Ouster lidar sensor

    Description

    example

    preview(ousterObj) previews live point cloud data from the Ouster® lidar sensor associated with the ousterlidar object ousterObj. The function opens a preview window to display the point cloud data.

    preview(ousterObj,xlimits,ylimits,zlimits) specifies axes limits for the live point cloud data preview window.

    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("OS1-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)

    Input Arguments

    collapse all

    Ouster lidar sensor connection, specified as an ousterlidar object.

    Range of the x-axis coordinates, specified as a two-element vector of the form [min max]. The preview window displays data only within these limits.

    Range of the y-axis coordinates, specified as a two-element vector of the form [min max]. The preview window displays data only within these limits.

    Range of the z-axis coordinates, specified as a two-element vector of the form [min max]. The preview window displays data only within these limits.

    Version History

    Introduced in R2022a