We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 1a46f07 commit d6b140cCopy full SHA for d6b140c
selfdrive/controls/lib/latcontrol_model.py
@@ -10,6 +10,7 @@
10
# TODO: retrain a new model on acceleration
11
class LatControlModel(LatControl):
12
def __init__(self, CP, CI):
13
+ super().__init__(CP, CI)
14
# Model generated using Konverter: https://github.com/sshane/Konverter
15
model_weights_file = f'{BASEDIR}/models/steering/{CP.lateralTuning.model.name}_weights.npz'
16
self.w, self.b = np.load(model_weights_file, allow_pickle=True)['wb']
0 commit comments