Changed enum to intenum

This commit is contained in:
Joel Moriana 2022-07-26 09:57:58 +02:00 committed by bernat
parent 0a0b426cd4
commit be79ffdbcc
1 changed files with 2 additions and 2 deletions
PythonAPI/carla/agents/navigation

View File

@ -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.