master
adligeerik 6 years ago
parent a954326103
commit e0a898d423

@ -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):

Loading…
Cancel
Save