Esempio n. 1
0
 def horizontalOff(self):
     self.debugPrint("Horizontale motors stoppen aangevraagd")
     mq.setMotor1PWM(0)
     mq.setMotor2PWM(0)
Esempio n. 2
0
 def moveBackward(self):
     self.debugPrint("Achterwaarts vliegen aangevraagd")
     mq.setMotor1PWM(-100)
     mq.setMotor2PWM(-100)
Esempio n. 3
0
 def moveLeft(self):
     self.debugPrint("Links draaien aangevraagd")
     mq.setMotor1PWM(100)
Esempio n. 4
0
 def moveForward(self):
     self.debugPrint("Voorwaarts vliegen aangevraagd")
     mq.setMotor1PWM(100)
     mq.setMotor2PWM(100)