Walmart Inc. /zigman2/quotes/207374728/composite WMT +0.93% has partnered with FlyTrex, an on-demand drone delivery company, for a pilot program in Fayetteville, N.C. The pilot will include select grocery and household essential items. "We know that it will be some time before we see millions of packages delivered via drone," said Tom Ward, Walmart's senior vice president of customer product, in a blog post. But he says the company has the potential to learn about the experience for both customers and workers. The news comes after Amazon.com Inc. /zigman2/quotes/210331248/composite AMZN +1.94% announced that it would be investing in the development of Amazon Scout, its autonomous delivery robots. Walmart stock has gained 16.5% for the year to date while the Dow Jones Industrial Average /zigman2/quotes/210598065/realtime DJIA +1.06% has fallen 3.6% for the period.