19 lines
366 B
Python
19 lines
366 B
Python
"""Compatibility entry point for the class-based gripper controller."""
|
|
|
|
import multiprocessing as mp
|
|
import sys
|
|
from pathlib import Path
|
|
|
|
|
|
REPO_ROOT = Path(__file__).resolve().parents[1]
|
|
if str(REPO_ROOT) not in sys.path:
|
|
sys.path.insert(0, str(REPO_ROOT))
|
|
|
|
from gripper_control.main import main
|
|
|
|
|
|
if __name__ == "__main__":
|
|
mp.freeze_support()
|
|
main()
|
|
|