mirror of
https://github.com/infiniteCable2/openpilot.git
synced 2026-08-04 00:59:31 +08:00
7c1e812922
old-commit-hash: 37285038d3f91fa1b49159c4a35a8383168e644f
9 lines
223 B
Python
9 lines
223 B
Python
import os
|
|
import capnp
|
|
|
|
CEREAL_PATH = os.path.dirname(os.path.abspath(__file__))
|
|
capnp.remove_import_hook()
|
|
|
|
log = capnp.load(os.path.join(CEREAL_PATH, "log.capnp"))
|
|
car = capnp.load(os.path.join(CEREAL_PATH, "car.capnp"))
|