ouster.sdk.core.multi module

class Scans(source, *, complete=False, cycle=False, fields=None, **_)[source]

Bases: ScanSource

Multi LidarScan source.

Parameters:
  • source (PacketSource) – packet multi source

  • complete (bool) – set to True to only release complete scans

  • cycle (bool) – repeat infinitely after iteration is finished is True. in case source refers to a live sensor then this parameter has no effect.

  • fields (Optional[List[List[FieldType]]]) – specify which channel fields to populate on LidarScans

property sensor_info: List[SensorInfo]

Retrieve sensor information for all sensors in the scan source.

Returns:

A list of SensorInfo objects, each containing metadata about a sensor, such as serial number, firmware version, and calibration details.

property is_live: bool

Check if the scan source is live.

A live scan source indicates that it is actively receiving data from a sensor.

Returns:

True if the scan source is live, False otherwise.

Return type:

bool

property is_indexed: bool
property fields: List[List[str]]
property field_types: List[List[FieldType]]
property scans_num: List[int]
close()[source]
Return type:

None