Closedown
This commit is contained in:
@@ -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):
|
||||
|
||||
Reference in New Issue
Block a user