def clockwise(self, event): # ser.write("9 100 1000") instruction.Instruction(9, self.speed, 1000).execute() self.log("Clockwise")
def counterClockwise(self, event): # ser.write("10 100 1000") instruction.Instruction(10, self.speed, 1000).execute() self.log("Counter Clockwise")
def left(self, event): # ser.write("7 100 1000") instruction.Instruction(7, self.speed, 1000).execute() self.log("Left")
def forwardLeft(self, event): # ser.write("8 100 1000") instruction.Instruction(8, self.speed, 1000).execute() self.log("Forward Left")
def backward(self, event): # ser.write("5 100 1000") instruction.Instruction(5, self.speed, 1000).execute() self.log("Backward")
def backwardLeft(self, event): # ser.write("6 100 1000") instruction.Instruction(6, self.speed, 1000).execute() self.log("Backward Left")
def backwardRight(self, event): # ser.write("4 100 1000") instruction.Instruction(4, self.speed, 1000).execute() self.log("Backward Right")
def right(self, event): # ser.write("3 100 1000") instruction.Instruction(3, self.speed, 1000).execute() self.log("Right")
def forwardRight(self, event): # ser.write("2 100 1000") instruction.Instruction(2, self.speed, 1000).execute() self.log("Forward Right")
def forward(self, event): # ser.write("1 100 1000") instruction.Instruction(1, self.speed, 1000).execute() self.log("Forward")
def stop(self, event): # ser.write("0 0 1000") instruction.Instruction(0, self.speed, 1000).execute() self.log("Stop")