Exemple #1
0
 def srvMotorGetEnable(self, params):
     # print(params)
     enabled = Lepi.motor_get_enable(params.port)
     return GetInt32Response(enabled)
Exemple #2
0
	def srvMotorGetEnable(self,msg):
		print(msg)
		enabled = Lepi.motor_get_enable(msg.port)
		return GetInt32Response(enabled)