This commit is contained in:
adligeerik
2018-11-24 10:39:24 +01:00
parent a954326103
commit e0a898d423
+8 -4
View File
@@ -57,7 +57,8 @@ class Candybot:
else :
return
threading.Timer(0.1,self.stop).start()
dType.SetWAITCmd(api, 1, isQueued=0)
#threading.Timer(0.1,self.stop).start()
def forearm(self, direction):
if direction == 1:
@@ -68,7 +69,8 @@ class Candybot:
else :
return
threading.Timer(0.1,self.stop).start()
dType.SetWAITCmd(api, 1, isQueued=0)
#threading.Timer(0.1,self.stop).start()
def gripperRotation(self, direction):
if direction == 1:
@@ -79,7 +81,8 @@ class Candybot:
else :
return
threading.Timer(0.1,self.stop).start()
dType.SetWAITCmd(api, 1, isQueued=0)
#threading.Timer(0.1,self.stop).start()
def linear(self, direction):
if direction == 1:
@@ -90,7 +93,8 @@ class Candybot:
else :
return
threading.Timer(0.1,self.stop).start()
dType.SetWAITCmd(api, 1, isQueued=0)
#threading.Timer(0.1,self.stop).start()
def stop(self):