IQ.Pilot Release Commit @ bec7652

This commit is contained in:
IQ.Lvbs history cleanup
2026-08-22 23:42:42 -05:00
commit dbf2a11d19
4603 changed files with 1236178 additions and 0 deletions

View File

@@ -0,0 +1,26 @@
#!/usr/bin/env python3
"""
Copyright © IQ.Lvbs, apart of Project Teal Lvbs, All Rights Reserved, licensed under https://konn3kt.com/tos
"""
from iqpilot.common.params import Params
from iqpilot.common.swaglog import cloudlog
from iqpilot.selfdrive.car.vehicle_catalog import load_catalog
def refresh_car_list_param() -> None:
platforms = load_catalog()
if not platforms:
cloudlog.warning("vehicle catalog not found; leaving CarList param unchanged")
return
params = Params()
if params.get("CarList") == platforms:
cloudlog.warning("CarList param already current, nothing to write")
return
params.put("CarList", platforms)
cloudlog.warning("CarList param refreshed from vehicle catalog")
if __name__ == "__main__":
refresh_car_list_param()