sunnypilot v2026.002.000
version: sunnypilot v2026.002.000 (staging) date: 2026-07-21T07:44:02 master commit: 2c334ede443d7391d27575af8c854a095ba702a8
This commit is contained in:
commit
de77c89cf6
3995 files changed
+1260688
No files matched your search
@@ -0,0 +1,20 @@
|
||||
"""
|
||||
Copyright (c) 2021-, Haibin Wen, sunnypilot, and a number of other contributors.
|
||||
|
||||
This file is part of sunnypilot and is licensed under the MIT License.
|
||||
See the LICENSE.md file in the root directory for more details.
|
||||
"""
|
||||
|
||||
from openpilot.cereal import messaging, custom
|
||||
|
||||
if __name__ == "__main__":
|
||||
sm = messaging.SubMaster(["modelManagerSP"])
|
||||
while True:
|
||||
sm.update(500)
|
||||
if sm.updated:
|
||||
msg = sm["modelManagerSP"]
|
||||
for model in msg.selectedBundle.models:
|
||||
if model.downloadProgress.status == custom.ModelManagerSP.DownloadStatus.downloading:
|
||||
print("")
|
||||
print(f"{model.fileName}: {model.downloadProgress}")
|
||||
print("")
|
||||
Reference in new issue
Block a user