Changed enum to intenum
This commit is contained in:
parent
0a0b426cd4
commit
be79ffdbcc
PythonAPI/carla/agents/navigation
|
@ -5,7 +5,7 @@
|
|||
|
||||
""" This module contains a local planner to perform low-level waypoint following based on PID controllers. """
|
||||
|
||||
from enum import Enum
|
||||
from enum import IntEnum
|
||||
from collections import deque
|
||||
import random
|
||||
|
||||
|
@ -14,7 +14,7 @@ from agents.navigation.controller import VehiclePIDController
|
|||
from agents.tools.misc import draw_waypoints, get_speed
|
||||
|
||||
|
||||
class RoadOption(Enum):
|
||||
class RoadOption(IntEnum):
|
||||
"""
|
||||
RoadOption represents the possible topological configurations when moving from a segment of lane to other.
|
||||
|
||||
|
|
Loading…
Reference in New Issue