Logo
Explore Help
Register Sign In
sadmen
/
jyoung
mirror of https://github.com/jyoung8607/openpilot.git
1
0
Fork
You've already forked jyoung
0
Code Issues Packages Projects Releases Wiki Activity
open source driving agent
9645 Commits
103 Branches
34 Tags
1.6 GiB
Tree: d42231b51a
jyoung/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: 383ms Template : 4ms
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