GCode-Generator/controller.py

16 lines
312 B
Python

from GCode_Interpreterdc import GCodeToMotors
class Controller:
def __init__(self):
pass
def __call__(self, gtm, *args, **kwargs):
assert isinstance(gtm, GCodeToMotors)
return None
class PIDController(Controller):
def __call__(self, gtm, *args, **kwargs):
self.