Removed jogging wait stuff
All checks were successful
continuous-integration/drone/push Build is passing

This commit is contained in:
Pünkösd Marcell 2021-04-08 23:53:42 +02:00
parent 769ee0aeca
commit 49a5c07f98

View File

@ -27,20 +27,14 @@ class ProgramExecutor(Thread):
self._current_step_desc = {} self._current_step_desc = {}
self._pc = 0 self._pc = 0
self._loop_counter = 0 self._loop_counter = 0
# TODO: jogging wait
self._state = ProgramExecutorStates.PREPARING self._state = ProgramExecutorStates.PREPARING
self._logger = logging.getLogger("program_executor") self._logger = logging.getLogger("program_executor")
def abort(self): def abort(self):
self._state = ProgramExecutorStates.ABORTED self._state = ProgramExecutorStates.ABORTED
# TODO: implement abort # TODO: implement abort
def cont(self):
# TODO: jogging wait
pass
def get_status(self) -> dict: def get_status(self) -> dict:
return { return {
"current_step": self._pc, "current_step": self._pc,