def __init__(self, position: Sequence[float], heading_theta: float = 0., lane=None, random_seed=None, name=None):
        """
        :param lane: the lane to spawn object
        :param position: cartesian position of object in the surface
        :param heading_theta: the angle from positive direction of horizontal axis
        """
        super(BaseStaticObject, self).__init__(random_seed=random_seed, name=name)
        self.set_metadrive_type(MetaDriveType.TRAFFIC_OBJECT)
        self.set_position(position, self.HEIGHT / 2 if hasattr(self, "HEIGHT") else 0)
        self.set_heading_theta(heading_theta)
        self.lane = lane
        self.lane_index = lane.index if lane is not None else None

        :param lane: the lane to spawn object
        :param position: cartesian position of object in the surface
        :param heading_theta: the angle from positive direction of horizontal axis
        
metadrive/component/static_object/base_static_object.py