mirror of
https://github.com/dragonpilot/dragonpilot.git
synced 2026-03-02 17:13:53 +08:00
11 lines
254 B
Python
11 lines
254 B
Python
# pylint: skip-file
|
|
import os
|
|
import subprocess
|
|
|
|
kalman_dir = os.path.dirname(os.path.abspath(__file__))
|
|
subprocess.check_call(["make", "simple_kalman_impl.so"], cwd=kalman_dir)
|
|
|
|
from simple_kalman_impl import KF1D as KF1D
|
|
# Silence pyflakes
|
|
assert KF1D
|