Skip to content

Commit

Permalink
Remove trailing spaces
Browse files Browse the repository at this point in the history
  • Loading branch information
Yury Melnikov authored and Yury Melnikov committed Sep 30, 2017
1 parent 87883d5 commit 9a59978
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions ros/src/tl_detector/tl_detector.py
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ def __init__(self):
self.last_state = TrafficLight.UNKNOWN
self.last_wp = -1
self.state_count = 0
self.next_waypoint_ahead = None
self.next_waypoint_ahead = None
self.waypoints = None
self.traffic_lights = RouteTrafficLights()

Expand Down Expand Up @@ -99,7 +99,7 @@ def image_cb(self, msg):
# Get next traffic light ahead.
light_wp, light_key = \
self.traffic_lights.get_next_en_route(self.next_waypoint_ahead)

if light_key == None:
# Next light key is unknown so as the light state.
self.publish_red_light(light_wp, light_state)
Expand Down

0 comments on commit 9a59978

Please sign in to comment.