Files
dragonpilot/selfdrive/can/parser.py

10 lines
289 B
Python
Raw Normal View History

2019-06-28 21:11:30 +00:00
import os
import subprocess
2017-07-28 01:24:39 -07:00
2019-06-28 21:11:30 +00:00
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)
2017-07-28 01:24:39 -07:00
2019-06-28 21:11:30 +00:00
from selfdrive.can.parser_pyx import CANParser # pylint: disable=no-name-in-module, import-error
assert CANParser