Logo
Explore Help
Register Sign In
sadmen
/
dragonpilot
mirror of https://github.com/dragonpilot-community/dragonpilot.git
1
0
Fork
You've already forked dragonpilot
0
Code Issues 6 Packages Projects Releases Wiki Activity
dragonpilot - 基於 openpilot 的開源駕駛輔助系統
10188 Commits
42 Branches
64 Tags
7.0 GiB
Tree: 01089cf4bf
dragonpilot/system/hardware/__init__.py

17 lines
345 B
Raw Normal View History Unescape Escape

HW abstraction layer (#19530) * start hw refactor * move that * pins * put that back
5 years ago
import os
from typing import cast
Move selfdrive/hardware/ to system/ (#24725) * move hardware to system/ * fix mypy
3 years ago
from system.hardware.base import HardwareBase
from system.hardware.tici.hardware import Tici
from system.hardware.pc.hardware import Pc
HW abstraction layer (#19530) * start hw refactor * move that * pins * put that back
5 years ago
TICI = os.path.isfile('/TICI')
set AGNOS from /AGNOS file
3 years ago
AGNOS = os.path.isfile('/AGNOS')
remove comma two support (#24248) * remove comma two support * cleanup release files * little more * more libs * no more gralloc * add snpe back
3 years ago
PC = not TICI
HW abstraction layer (#19530) * start hw refactor * move that * pins * put that back
5 years ago
remove comma two support (#24248) * remove comma two support * cleanup release files * little more * more libs * no more gralloc * add snpe back
3 years ago
if TICI:
HW abstraction layer (#19530) * start hw refactor * move that * pins * put that back
5 years ago
HARDWARE = cast(HardwareBase, Tici())
else:
HARDWARE = cast(HardwareBase, Pc())
Powered by Gitea Version: 1.17.1 Page: 359ms Template : 2ms
English
Bahasa Indonesia Deutsch English Español Français Italiano Latviešu Magyar nyelv Nederlands Polski Português de Portugal Português do Brasil Suomi Svenska Türkçe Čeština Ελληνικά Български Русский Српски Українська فارسی മലയാളം 日本語 简体中文 繁體中文(台灣) 繁體中文(香港) 한국어
Licenses API Website