mirror of
https://github.com/infiniteCable2/openpilot.git
synced 2026-09-04 15:23:42 +08:00
1bc12f1e21
* Reapply "`LagdToggle`: refactor and only instantiate once" (#1137)
This reverts commit b4f19d4860.
* infinite woo gone
* use them hz
13 lines
387 B
Python
13 lines
387 B
Python
"""
|
|
Copyright (c) 2021-, Haibin Wen, sunnypilot, and a number of other contributors.
|
|
|
|
This file is part of sunnypilot and is licensed under the MIT License.
|
|
See the LICENSE.md file in the root directory for more details.
|
|
"""
|
|
from openpilot.common.params import Params
|
|
|
|
|
|
class ModelStateBase:
|
|
def __init__(self):
|
|
self.lat_delay = Params().get("LagdValueCache", return_default=True)
|