Closedown

This commit is contained in:
gac-S_Changer
2017-03-29 17:01:26 +02:00
parent 2d6b294288
commit 439c9c741d

View File

@@ -374,7 +374,6 @@ class RobotTCP(TcpDevice, Stoppable):
self.on_event(ev)
#if (self.current_task is not None) and (self.get_task_status(self.current_task)[0]<0):
if int(sts[6]) < 0:
print "Resetting task=", self.current_task, " STS=" , int(sts[6])
self.current_task = None
self._update_state()
self.reset = False
@@ -406,7 +405,7 @@ class RobotTCP(TcpDevice, Stoppable):
if time.time() - start > 5000:
raise Exception("Cannot start task " + task)
time.sleep(0.1)
print "Setting task=", program
time.sleep(0.1)
self.current_task = program
def stop_task(self):