Files
msgq/__init__.py
Harald Schäfer 9b6b53396f Custom events reserved for forks (#449)
* Custom events reserved for forks

* Fixes

* Custom updates

* Update README.md

* little more

* add identifiers

* Language

* little more

* rm that

---------

Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
2023-05-23 20:44:17 +02:00

11 lines
306 B
Python

# pylint: skip-file
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"))
custom = capnp.load(os.path.join(CEREAL_PATH, "custom.capnp"))