19 lines
527 B
Python
19 lines
527 B
Python
"""Backwards-compat shim — Strömbom logic now lives in ``herding.strombom``."""
|
|
|
|
import os
|
|
import sys
|
|
|
|
_HERE = os.path.dirname(os.path.abspath(__file__))
|
|
_PROJECT_ROOT = os.path.normpath(os.path.join(_HERE, "..", ".."))
|
|
if _PROJECT_ROOT not in sys.path:
|
|
sys.path.insert(0, _PROJECT_ROOT)
|
|
|
|
from herding.strombom import ( # noqa: F401
|
|
F_FACTOR, DELTA_COLLECT, DELTA_DRIVE,
|
|
compute_action, compute_action_debug,
|
|
)
|
|
from herding.geometry import ( # noqa: F401
|
|
PEN_X, PEN_Y, PEN_CENTER, PEN_ENTRY,
|
|
in_pen,
|
|
)
|