Expensive industrial robots have little in common with robotic toys, right? Well, don't tell that to Aaron Rasmussen and Brain Mullins, cofounders of USMechatronics.
While taking a weekend break from their day jobs designing robotic cells and other complex electro-mechanical systems, they decided to teach a KUKA KR16 robot to play tennis and, for a few more laughs, do some sword fighting.
Rather than simply program the robot as they would for one of their commercial jobs, they decided to create a wireless control system based on the Wiimote, the motion-sensing remote control unit for Nintendo's Wii game console. Users simply swing the remote through the air and the nearby robot makes the corresponding swing of the tennis racket or sword.
"The idea was to take one industrial robot, add a laptop talking to a Wiimote, strap on a tennis racket, have it follow the swings that the user makes, and do it all in a few hours on a Saturday so we could get back to our busy schedules." Rasmussen writes on a web page describing the project's software development and hardware.
Rasmussen says the germ for this "WiiBot" project was all the buzz about "cool Wiimote hacks" that allow it to control things other than Nintendo's game console. "The Wiimote communicates via Bluetooth, so it can be made to talk to just about notebook computer," he says. And though it costs only about $40.00, the Wiimote contains an array of solid-state accelerometers that can sense translational and rotational movement. "I think of it as providing accelerometer access for the masses," says Rasmussen.
Remarkably, Rasmussen was able to get the WiiBot to "start swinging" in just a couple of hours. He used free software to get the Wiimote to talk to his laptop computer and he wrote a program to translate the user’s swings with the Wiimote into one of six preset swings that Mullins had created using the 6D mouse on KUKA's robot controllers.
At first, Rasmussen tried to use free a free game controller emulation software called GlovePIE to turn the minimum and maximum values from the Wiimote's accelerometers into move values that the KUKA controller could understand. But he had some trouble getting enough differentiation between different swings and GlovePIE didn't allow the robot to play tennis very well. "So I sucked it up and wrote some simple pattern recognition software of my own," Rasmussen recalls, explaining that his software matches the user's Wiimote swings to the robot's preset swings using a simple mean-error algorithm. "I didn't bother to use mean squared error. That's how lazy I was," he jokes.
Turning serious, though, Rasmussen stresses that this robotic mashup doesn't represent the kind of work that he and Mullins do commercially. "It's important to note that Wiimote doesn't replace the KUKA robot's own controller," he says. Nor does the idea of roughly matching the Wiimote movements to preset robot movements achieve the accuracy or precision required by most industrial robot applications. "The wireless remote functions more like a human-machine interface," Rasmussen says.Finally, the idea of wireless controlling a robot wirelessly in an industrial setting would send many engineers running toward the shop floor exits.
Still, the WiiBot provided Rasmussen and Mullins with several hours of amusement. "We meant to make a video of the robot that Saturday, but we played with it all day and ran out of time," Rasmussen says. They ended up filming the video a few days later, and it quickly drew so much attention enough interest on the Internet to crash USMechatronics’ servers.
And the WiiBot project may even have implications beyond fun and games. There's a big push right now to make robots more accessible to end-users, according to Kevin Kozuszek, director of marketing for KUKA. "In that sense, the Wiimote is a great learning tool," he says. KUKA even showed it as part of its exhibit at the Automation Technology Expo in Anaheim, CA.
On Memorial Day, Americans remember the sacrifices the US armed forces have made, and continue to make, in service to the country. All of us should also consider the developments in technological capabilities and equipment over the years that contribute to the success of our military operations.
Advanced visualization can depict an entire plant in motion, while also detailing an individual workstation. Individual products can be rendered different for each discipline involved — marketing, engineering, or suppliers.
Focus on Fundamentals consists of 45-minute on-line classes that cover a host of technologies. You learn without leaving the comfort of your desk. All classes are taught by subject-matter experts and all are archived. So if you can't attend live, attend at your convenience.