Specify the model name of an Ouster lidar sensor and the file path of the
corresponding calibration file to create an ousterlidar
object, obj
. The output shows the object
properties.
obj =
ousterlidar with properties:
Model: 'OS0-64'
IPAddress: '127.0.0.1'
Port: 7502
NumPointCloudsAvailable: 0
Timeout: 10
Streaming: 0
CalibrationFile: 'OS0-64G_sample.json'
The Streaming
property value is 0
, indicating
that the object is not yet streaming data from the sensor.
Start streaming point clouds from the sensor by using the start
function. The sensor continues streaming in the background.
Display the Streaming
property. The value is
1
, indicating that the object is streaming data.
Display the number of point clouds currently available in the buffer.
Use the stop
function to stop streaming point clouds into the object buffer.
Once you use the stop
function, the point clouds are available in the object buffer until you use the
start
function again. You can use the read
function to access the available point cloud data in the buffer.