def get_chess(self): self.idx += 1 x, y = self.idx / self.m, self.idx % self.m move(self.location(x, y)) dType.SetEndEffectorSuctionCup(api, True, True, isQueued=1)
def down_chess(self, x, y): move(self.location(x, y)) dType.SetEndEffectorSuctionCup(api, True, False, isQueued=1)