raillabel.format.lidar module

class raillabel.format.lidar.Lidar(extrinsics: Transform | None = None, uri: str | None = None, description: str | None = None)

Bases: _SensorWithoutIntrinsics

A lidar sensor.

TYPE: str = 'lidar'
classmethod from_json(json_stream: JSONStreamOther, json_coordinate_system: JSONCoordinateSystem) Lidar

Construct an instant of this class from RailLabel JSON data.

to_json() tuple[JSONStreamOther, JSONCoordinateSystem]

Export this object into the RailLabel JSON format.