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