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