Files
dragonpilot/selfdrive/can/parser.py
Vehicle Researcher 8a9ed94f5f openpilot v0.6 release
2019-06-28 21:11:30 +00:00

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