mirror of
https://github.com/firestar5683/StarPilot.git
synced 2026-06-29 10:32:10 +08:00
9abcfabc5f
old-commit-hash: 8a9ed94f5f
10 lines
289 B
Python
10 lines
289 B
Python
import os
|
|
import subprocess
|
|
|
|
can_dir = os.path.dirname(os.path.abspath(__file__))
|
|
libdbc_fn = os.path.join(can_dir, "libdbc.so")
|
|
subprocess.check_call(["make"], cwd=can_dir)
|
|
|
|
from selfdrive.can.parser_pyx import CANParser # pylint: disable=no-name-in-module, import-error
|
|
assert CANParser
|