import warnings
from typing import List, Any
from .base import ElementBase, NamedPoseBearing, Pose, should_warn_unsupported
from .frame import Frame
[docs]class Light(ElementBase):
[docs] def __init__(self, *, sdf_version: str) -> None:
if should_warn_unsupported():
warnings.warn("`Light` has not been implemented yet.")
super().__init__(sdf_version=sdf_version)
# class Light(NamedPoseBearing):
# def __init__(
# self,
# *,
# name: str,
# pose: Pose = None,
# frames: List["Frame"] = None,
# ) -> None:
# super().__init__(name=name, pose=pose)
# self.frames = frames
# if frames is None:
# self.frames = list()
# @classmethod
# def from_specific(cls, light: Any, *, version: str) -> "Light":
# raise NotImplementedError()