openpilot v0.9.7

This commit is contained in:
OPGM CI Automated
2024-05-16 05:57:03 +00:00
commit af25ebb9f4
2069 changed files with 1180572 additions and 0 deletions
+16
View File
@@ -0,0 +1,16 @@
import os
from typing import cast
from openpilot.system.hardware.base import HardwareBase
from openpilot.system.hardware.tici.hardware import Tici
from openpilot.system.hardware.pc.hardware import Pc
TICI = os.path.isfile('/TICI')
AGNOS = os.path.isfile('/AGNOS')
PC = not TICI
if TICI:
HARDWARE = cast(HardwareBase, Tici())
else:
HARDWARE = cast(HardwareBase, Pc())