Skip to content

artifacts

FixedObstacle #

Bases: Vertex

Model for fixed obstacles.

Source code in cogip/models/artifacts.py
22
23
24
25
26
27
28
29
30
class FixedObstacle(Vertex):
    """
    Model for fixed obstacles.
    """

    id: FixedObstacleID
    length: float
    width: float
    enabled: bool = True

FixedObstacleID #

Bases: IntEnum

Enum to identify fixed obstacles.

Source code in cogip/models/artifacts.py
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
class FixedObstacleID(IntEnum):
    """
    Enum to identify fixed obstacles.
    """

    Ramp = auto()
    Scene = auto()
    PitArea = auto()
    PamiStartArea = auto()
    Pami5Path = auto()
    OpponentRamp = auto()
    OpponentScene = auto()
    OpponentPitArea = auto()
    Backstage = auto()