raillabel.json_format.stream_other module

class raillabel.json_format.stream_other.JSONStreamOther(*, type: Literal['lidar', 'gps_imu', 'other'], uri: str | None = None, description: str | None = None)

Bases: _JSONFormatBase

A stream describes the source of a data sequence, usually a sensor.

This specific object describes a sensor without intrinsic calibration.

_abc_impl = <_abc._abc_data object>
description: str | None

Description of the stream.

model_config: ClassVar[ConfigDict] = {'extra': 'forbid'}

Configuration for the model, should be a dictionary conforming to [ConfigDict][pydantic.config.ConfigDict].

type: Literal['lidar', 'gps_imu', 'other']

A string encoding the type of the stream.

uri: str | None

A string encoding the subdirectory containing the sensor files.