Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 4 additions & 1 deletion src/av2/map/lane_segment.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@

import logging
from dataclasses import dataclass
from enum import Enum
from enum import Enum, unique
from typing import Any, Dict, Final, List, Optional

import av2.geometry.infinity_norm_utils as infinity_norm_utils
Expand All @@ -20,6 +20,7 @@
logger = logging.getLogger(__name__)


@unique
class LaneType(str, Enum):
"""Describes the sorts of objects that may use the lane for travel."""

Expand All @@ -28,6 +29,7 @@ class LaneType(str, Enum):
BUS: str = "BUS"


@unique
class LaneMarkType(str, Enum):
"""Color and pattern of a painted lane marking, located on either the left or ride side of a lane segment.

Expand All @@ -48,6 +50,7 @@ class LaneMarkType(str, Enum):
SOLID_DASH_YELLOW: str = "SOLID_DASH_YELLOW"
SOLID_BLUE: str = "SOLID_BLUE"
NONE: str = "NONE"
UNKNOWN: str = "UNKNOWN"


@dataclass
Expand Down