MCPcopy Create free account
hub / github.com/PJLab-ADG/OASim / ObsType

Class ObsType

limsim/utils/obstacles.py:132–141  ·  view source on GitHub ↗

An enumeration representing the type of obstacle.

Source from the content-addressed store, hash-verified

130
131
132class ObsType(IntEnum):
133 """
134 An enumeration representing the type of obstacle.
135 """
136 PARKED_VEHICLE = 0
137 CONSTRUCTION_ZONE = 1
138 PEDESTRIAN = 2
139 BICYCLE = 3
140 CAR = 4
141 OTHER = 100
142
143
144class Obstacle(ABC):

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected