Skip to content

Commit

Permalink
self.poller not used (#759)
Browse files Browse the repository at this point in the history
I do not see the need for zmq and the poller being initialized and not used.
old-commit-hash: cf5c4ae
  • Loading branch information
Arne Schwarck authored and rbiasini committed Jul 24, 2019
1 parent 07aa8b1 commit 081aad7
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions selfdrive/controls/lib/planner.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
#!/usr/bin/env python
import zmq
import math
import numpy as np
from common.params import Params
Expand Down Expand Up @@ -65,7 +64,6 @@ def limit_accel_in_turns(v_ego, angle_steers, a_target, CP):
class Planner(object):
def __init__(self, CP, fcw_enabled):
self.CP = CP
self.poller = zmq.Poller()

self.plan = messaging.pub_sock(service_list['plan'].port)
self.live_longitudinal_mpc = messaging.pub_sock(service_list['liveLongitudinalMpc'].port)
Expand Down

0 comments on commit 081aad7

Please sign in to comment.