diff --git a/movearm/move.py b/movearm/move.py index 904f398..e2923f8 100644 --- a/movearm/move.py +++ b/movearm/move.py @@ -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):