예제 #1
0
 def __init__(self):
     self.left = Lepi.MOTOR_2
     self.right = Lepi.MOTOR_3
     Lepi.motor_enable(self.left)
     Lepi.motor_enable(self.right)
예제 #2
0
	def cbMotorEnable(self,msg):
		# print(msg)
		Lepi.motor_enable(msg.data)