raillabel.format.gps_imu module

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

Bases: _SensorWithoutIntrinsics

A gps sensor with inertial measurement unit.

TYPE: str = 'gps_imu'
classmethod from_json(json_stream: JSONStreamOther, json_coordinate_system: JSONCoordinateSystem) GpsImu

Construct an instant of this class from RailLabel JSON data.

to_json() tuple[JSONStreamOther, JSONCoordinateSystem]

Export this object into the RailLabel JSON format.