fix car params setter script
old-commit-hash: 989ffa36e547fb0f5e4e3ec82bd82911eff80dc1
This commit is contained in:
@@ -8,4 +8,4 @@ from tools.lib.logreader import LogReader
|
||||
if __name__ == "__main__":
|
||||
r = Route(sys.argv[1])
|
||||
cp = [m for m in LogReader(r.qlog_paths()[0]) if m.which() == 'carParams']
|
||||
Params().put("CarParams", cp[0].as_builder().to_bytes())
|
||||
Params().put("CarParams", cp[0].carParams.as_builder().to_bytes())
|
||||
|
||||
Reference in New Issue
Block a user