Skip to content

Commit

Permalink
move torque model path
Browse files Browse the repository at this point in the history
  • Loading branch information
sshane committed Aug 19, 2021
1 parent 2f678c8 commit e622529
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 1 deletion.
File renamed without changes.
2 changes: 1 addition & 1 deletion selfdrive/controls/lib/latcontrol_model.py
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
class LatControlModel:
def __init__(self, CP):
# Model generated using Konverter: https://github.com/ShaneSmiskol/Konverter
model_weights_file = f'{BASEDIR}/torque_models/{CP.lateralTuning.model.name}_weights.npz'
model_weights_file = f'{BASEDIR}/models/steering/{CP.lateralTuning.model.name}_weights.npz'
self.w, self.b = np.load(model_weights_file, allow_pickle=True)['wb']

self.use_rates = CP.lateralTuning.model.useRates
Expand Down

0 comments on commit e622529

Please sign in to comment.