mirror of
https://github.com/sunnypilot/sunnypilot.git
synced 2026-02-19 18:13:55 +08:00
* fix mac nui
* fix cereal
* builds on mac without warnings
* ui swap shouldn't be instant on pc
* camerad builds on mac
* modeld, and now everything, builds on mac
* ui draws pictures on mac now
* fix camerad shutdown
* support ui looping on pc
* python3 on that
* SCNu64 should be cross platform
* bump cereal and new apk
* clean up
Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
old-commit-hash: 344a9a3699
15 lines
266 B
Python
Executable File
15 lines
266 B
Python
Executable File
#!/usr/bin/env python3
|
|
import json
|
|
import sys
|
|
|
|
from tools.lib.route import Route
|
|
|
|
route_name = sys.argv[1]
|
|
routes = Route(route_name)
|
|
data_dump = {
|
|
"camera": routes.camera_paths(),
|
|
"logs": routes.log_paths()
|
|
}
|
|
|
|
json.dump(data_dump, open("routes.json", "w"))
|