Logo
Explore Help
Register Sign In
mawei/sunnypilot
1
0
Fork 0
You've already forked sunnypilot
mirror of https://github.com/sunnypilot/sunnypilot.git synced 2026-02-25 14:13:54 +08:00
Code Issues Packages Projects Releases Wiki Activity
Files
b53eaeffcef818f4839f29b3a4783be614d64708
sunnypilot/tools/nui/get_files_comma_api.py

14 lines
241 B
Python
Raw Normal View History

NUI comma api intergration (#1186) * Prototyping comma api call * Adding nui command * Fixing hard coded vals * Adding generalized nui changes * Added both public and private api support * Removing debug statement * Chaning private api tag to use env variables * FrameReader change for string parsing old-commit-hash: 763493e98887d207cd6632e13b0a7a31573ad41d
2020-03-01 22:06:33 -08:00
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()
}
More LGTM fixups (#1457) * exclude lib dirs, fix 3 cpp errors * fix more alerts, exclude mkvparse Co-authored-by: George Hotz <geohot@gmail.com> old-commit-hash: e568d3cadc71d2b301fcb46af9afb3c8c8005f72
2020-05-02 20:00:41 -07:00
json.dump(data_dump, open("routes.json", "w"))
Reference in New Issue Copy Permalink
Powered by Gitea Version: 1.25.0 Page: 40ms Template: 2ms
English
Bahasa Indonesia Deutsch English Español Français Gaeilge Italiano Latviešu Magyar nyelv Nederlands Polski Português de Portugal Português do Brasil Suomi Svenska Türkçe Čeština Ελληνικά Български Русский Українська فارسی മലയാളം 日本語 简体中文 繁體中文(台灣) 繁體中文(香港) 한국어
Licenses API