diff --git a/script/RobotTCP.py b/script/RobotTCP.py index 27b34f6..f1a8e0e 100644 --- a/script/RobotTCP.py +++ b/script/RobotTCP.py @@ -395,7 +395,8 @@ class RobotTCP(TcpDevice, Stoppable): print "Setting ", program self.current_task = program self.task_create(program, *args, **kwargs) - + time.sleep(0.5) #get_task_status needs time + def stop_task(self): tasks = [t for t in self.high_level_tasks] if (self.current_task is not None) and (not self.current_task in tasks):