openpilot v0.8.12 release

This commit is contained in:
Vehicle Researcher
2021-12-14 04:51:54 +00:00
parent ce9e739428
commit bc7d21687a
274 changed files with 3293 additions and 21528 deletions
-12
View File
@@ -1,12 +0,0 @@
class lazy_property(object):
"""Defines a property whose value will be computed only once and as needed.
This can only be used on instance methods.
"""
def __init__(self, func):
self._func = func
def __get__(self, obj_self, cls):
value = self._func(obj_self)
setattr(obj_self, self._func.__name__, value)
return value
+1 -2
View File
@@ -13,7 +13,7 @@ from cereal import log as capnp_log
# this is an iterator itself, and uses private variables from LogReader
class MultiLogIterator(object):
def __init__(self, log_paths, wraparound=True):
def __init__(self, log_paths, wraparound=False):
self._log_paths = log_paths
self._wraparound = wraparound
@@ -26,7 +26,6 @@ class MultiLogIterator(object):
def _log_reader(self, i):
if self._log_readers[i] is None and self._log_paths[i] is not None:
log_path = self._log_paths[i]
print("LogReader:%s" % log_path)
self._log_readers[i] = LogReader(log_path)
return self._log_readers[i]