Skip to content

Commit

Permalink
feat: add JSONCoordinateSystem
Browse files Browse the repository at this point in the history
  • Loading branch information
unexcellent committed Oct 30, 2024
1 parent 35cad80 commit 4a0979f
Showing 1 changed file with 18 additions and 0 deletions.
18 changes: 18 additions & 0 deletions raillabel/json_format/coordinate_system.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
# Copyright DB InfraGO AG and contributors
# SPDX-License-Identifier: Apache-2.0

from __future__ import annotations

from typing import Literal

from pydantic import BaseModel
from transform_data import JSONTransformData


class JSONCoordinateSystem(BaseModel):
"""A 3D reference frame."""

children: list[str]
parent: Literal["base", ""]
pose_wrt_parent: JSONTransformData
type: Literal["sensor", "local"]

0 comments on commit 4a0979f

Please sign in to comment.