mirror of
https://github.com/sunnypilot/sunnypilot.git
synced 2026-02-18 23:33:58 +08:00
* print docs diff
* revert car changes
* cause a diff
* temp so it works
* text diff
* tier inline is a bit too much
* comments
* fix
* use paths
* fix
* temp
* temp
* diff
* fix
* remove something
* more text diff
* Delete comment if outdated
* Smaller diff
* remove
* no diff
* Don't try to run on fork PRs
* cause some errors
* Fix
* Fix
* Doesn't support env in job if, only step if
* in case file was moved, don't throw error
* See if this does what I think it does
* See if this does what I think it does
* should work
* change something
* revert
* uncomment
* no comment
* this shouldn't fail
* rename to base
* Remove true
* Remove other true
old-commit-hash: aadaaabd54
19 lines
406 B
Python
Executable File
19 lines
406 B
Python
Executable File
#!/usr/bin/env python3
|
|
import argparse
|
|
import pickle
|
|
|
|
from selfdrive.car.docs import get_all_car_info
|
|
|
|
|
|
def dump_car_info(path):
|
|
with open(path, 'wb') as f:
|
|
pickle.dump(get_all_car_info(), f)
|
|
print(f'Dumping car info to {path}')
|
|
|
|
|
|
if __name__ == "__main__":
|
|
parser = argparse.ArgumentParser()
|
|
parser.add_argument("--path", required=True)
|
|
args = parser.parse_args()
|
|
dump_car_info(args.path)
|