mirror of
https://gitlvb.teallvbs.xyz/IQ.Lvbs/IQ.Pilot.git
synced 2026-06-24 08:42:06 +08:00
18 lines
559 B
Python
18 lines
559 B
Python
"""
|
|
Copyright © IQ.Lvbs, apart of Project Teal Lvbs, All Rights Reserved, licensed under https://konn3kt.com/tos
|
|
"""
|
|
|
|
from cereal import messaging, custom
|
|
|
|
if __name__ == "__main__":
|
|
sm = messaging.SubMaster(["iqModelManager"])
|
|
while True:
|
|
sm.update(500)
|
|
if sm.updated:
|
|
msg = sm["iqModelManager"]
|
|
for model in msg.selectedBundle.models:
|
|
if model.downloadProgress.status == custom.IQModelManager.DownloadStatus.downloading:
|
|
print("")
|
|
print(f"{model.fileName}: {model.downloadProgress}")
|
|
print("")
|