Example #1
0
 def turn_right(self):
     print "BOT : turning right"
     self.direction = DirectionHandler.turn_cw(self.direction)
     self.motor_directions = RIGHT
     self.turn()
Example #2
0
 def turn_left(self):
     print "BOT : turning left"
     self.direction = DirectionHandler.turn_acw(self.direction)
     self.motor_directions = LEFT
     self.turn()