mirror of
https://github.com/dragonpilot/dragonpilot.git
synced 2026-03-02 11:23:57 +08:00
fix car params setter script
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