Skip to content

Commit

Permalink
removed unnecessary line
Browse files Browse the repository at this point in the history
  • Loading branch information
Daraan committed Apr 2, 2024
1 parent bda9d39 commit 41f6d9d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion PythonAPI/carla/agents/tools/hints.py
Original file line number Diff line number Diff line change
Expand Up @@ -11,10 +11,10 @@
ObstacleDetectionResult = namedtuple('ObstacleDetectionResult', ['obstacle_was_found', 'obstacle', 'distance'])
TrafficLightDetectionResult = namedtuple('TrafficLightDetectionResult', ['traffic_light_was_found', 'traffic_light'])
else:
#from agents.tools.hints import ObstacleDetectionResult, TrafficLightDetectionResult
from typing import NamedTuple, Union
from carla import Actor, TrafficLight
"""
# Python 3.6+
class ObstacleDetectionResult(NamedTuple):
obstacle_was_found : bool
obstacle : Union[Actor, None]
Expand Down

0 comments on commit 41f6d9d

Please sign in to comment.