mirror of
https://github.com/firestar5683/StarPilot.git
synced 2026-10-01 03:43:46 +08:00
fix locationd profiling
old-commit-hash: 1d7f4bc3b19d38464513c377511836221f77a95a
This commit is contained in:
@@ -37,6 +37,7 @@ class PubSocket():
|
||||
|
||||
class SubMaster(messaging.SubMaster):
|
||||
def __init__(self, msgs, trigger, services): # pylint: disable=super-init-not-called
|
||||
msgs = [m for m in msgs if m.which() in services]
|
||||
self.max_i = len(msgs) - 1
|
||||
self.i = 0
|
||||
self.frame = 0
|
||||
|
||||
Reference in New Issue
Block a user