raillabel.format.other_sensor module

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

Bases: _SensorWithoutIntrinsics

A sensor that is not represented by the available options.

TYPE: str = 'other'
classmethod from_json(json_stream: JSONStreamOther, json_coordinate_system: JSONCoordinateSystem) OtherSensor

Construct an instant of this class from RailLabel JSON data.

to_json() tuple[JSONStreamOther, JSONCoordinateSystem]

Export this object into the RailLabel JSON format.