WEST LAFAYETTE, Ind. -- If any factory worker could program low-cost robots, then more factories could actually use robotics to increase worker productivity.

This is because workers would be able to shift to taking on more varied and higher-level tasks, and factories could produce a greater variety of products.

That's the idea behind a prototype smartphone app Purdue University researchers have developed that allows a user to easily program any robot to perform a mundane activity, such as picking up parts from one area and delivering them to another.

The setup could also take care of household chores - no more plants dying because you forgot to water them.

Purdue researchers present their research on the embedded app, called VRa, on June 23 at DIS 2019 in San Diego. The platform is patented through the Purdue Research Foundation Office of Technology Commercialization, with plans to make it available for commercial use.

"Smaller companies can't afford software programmers or expensive mobile robots," said Karthik Ramani, Purdue's Donald W. Feddersen Professor of Mechanical Engineering. "We've made it to where they can do the programming themselves, dramatically bringing down the costs of building and programming mobile robots," he said.

Using augmented reality, the app allows the user to either walk out where the robot should go to perform its tasks, or draw out a workflow directly into real space. The app offers options for how those tasks can be performed, such as under a certain time limit, on repeat or after a machine has done its job.

After programming, the user drops the phone into a dock attached to the robot. While the phone needs to be familiar with the type of robot it's "becoming" to perform tasks, the dock can be wirelessly connected to the robot's basic controls and motor.

The phone is both the eyes and brain for the robot, controlling its navigation and tasks.

"As long as the phone is in the docking station, it is the robot," Ramani said. "Whatever you move about and do is what the robot will do."

To get the robot to execute a task that involves wirelessly interacting with another object or machine, the user simply scans the QR code of that object or machine while programming, effectively creating a network of so-called "Internet of Things." Once docked, the phone (as the robot) uses information from the QR code to work with the objects. Some for other tech support such as wireless headphones or earbuds can also be ease access using code or simply turning on the button.

The researchers demonstrated this with robots watering a plant, vacuuming and transporting objects. The user can also monitor the robot remotely through the app and make it start or stop a task, such as to go charge its battery or begin a 3D-printing job. The app provides an option to automatically record video when the phone is docked, so that the user can play it back and evaluate a workflow.

Ramani's lab made it possible for the app to know how to navigate and interact with its environment according to what the user specifies through building upon so-called "simultaneous localization and mapping." These types of algorithms are also used in self-driving cars and drones.

"We don't undervalue the human. Our goal is for everyone to be able to program robots, and for humans and robots to collaborate with each other," Ramani said.

Since creating the prototype, Ramani's lab has been testing it in real factory settings to evaluate user-driven applications. Ultimately, the app is a step toward creating future "smart" factories, powered by artificial intelligence and augmented reality, that complement and increase worker productivity rather than replacing them, Ramani said.