IQ.Pilot Release Commit @ 0798119
This commit is contained in:
13
iqpilot/selfdrive/iqmodeld/models/inference_state.py
Normal file
13
iqpilot/selfdrive/iqmodeld/models/inference_state.py
Normal file
@@ -0,0 +1,13 @@
|
||||
"""
|
||||
Copyright © IQ.Lvbs, apart of Project Teal Lvbs, All Rights Reserved, licensed under https://konn3kt.com/tos
|
||||
|
||||
Common base for the per-process inference/runtime states. It seeds the lateral
|
||||
steer delay from the cached learned value so every subclass starts with a usable
|
||||
number before its first liveDelay message arrives.
|
||||
"""
|
||||
from openpilot.iqpilot.common.steer_delay import cached_steer_delay
|
||||
|
||||
|
||||
class InferenceStateBase:
|
||||
def __init__(self):
|
||||
self.lat_delay = cached_steer_delay()
|
||||
Reference in New Issue
Block a user