raillabel.json_format.coordinate_system module

class raillabel.json_format.coordinate_system.JSONCoordinateSystem(*, parent: Literal['base', ''], type: Literal['sensor', 'local'], pose_wrt_parent: JSONTransformData | None = None, children: list[str] | None = None)

Bases: _JSONFormatBase

A 3D reference frame.

_abc_impl = <_abc._abc_data object>
children: list[str] | None

List of children of this coordinate system.

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

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

parent: Literal['base', '']

This is the string UID of the parent coordinate system this coordinate system is referring to.

pose_wrt_parent: JSONTransformData | None

The transformation with regards to the parent coordinate system.

type: Literal['sensor', 'local']

This is a string that describes the type of the coordinate system, for example, ‘local’, ‘geo’).