Building A Robotic Beckham

LabVIEW and Apple Technology at Virginia Tech

Robots

At RoMeLa, the Robotics and Mechanisms Laboratory at Virginia Tech, graduate and undergraduate students working under Director Dr. Dennis Hong are using Macintosh systems and National Instruments LabVIEW (Laboratory Virtual Instrumentation Engineering Workbench) to turn out robotic creations that think and move by themselves. Among them are STriDER, which is six feet tall and walks around on three legs; MARS, a hexapod that strolls around on six; CLIMBeR, a cable-suspended robot that climbs unstructured cliffs; and IMPASS, a highly mobile actuated robot with spoked wheels. And then there’s DARwIn.

DARwIn (Dynamic Anthropomorphic Robot with Intelligence) is humanoid, autonomous, and made of precision-machined aluminum. He is only three years old, but moves and thinks independently. He comes in two versions, 16 and 24 inches tall, and is currently training to be a soccer player. He competed in the 2007 RoboCup competitions at Atlanta, Georgia, where teams from around the world put autonomous soccer-playing robots through their paces. RoboCup’s underlying goal is the development of humanoid robots for research purposes. But it bubbles with excitement just the same.

“This is a big deal,” says Hong. “The competition is intense and packed with energy.” The stated goal of RoboCup is to field a team of 11 robots capable of beating the human World Cup soccer champions by 2050.

TEAM:SPRInt, the student team that prepared DARwIn for RoboCup, did well in Atlanta. Of the dozens of teams that applied for the competition from all around the world, only 24 qualified, and TEAM:SPRInt (Soccer Playing Robot with Intelligence) was among them – the first and only team from the United States ever to qualify for the RoboCup humanoid division. DARwIn did not make it to the finals, but the somersaults and backflips of DARwIn 2A (the goalkeeper version) and the kicking power of DARwIn 2B (the striker version) made them clear crowd favorites as they played other teams. The team is honing DARwIn’s soccer-playing skills for the 2008 RoboCup in China.

LabVIEW: The Mind of DARwIn

DARwIn thinks with a 4-inch-square Pentium-powered PC/104 computer running the realtime version of LabVIEW, a graphical engineering software environment that RoMeLa uses for all robotics development. The other TEAM:SPRInt favorite is the Mac. The team uses a 20-inch and a 24-inch iMac, a pair of MacBooks, and a pair of MacBook Pros, all linked by Airport Extreme, for code development in LabVIEW. An Apple Xserve server with Xserve RAID provides a terabyte of data storage and helps keep track of the revisions of the developed codes for the robots.

“We started developing DARwIn in Windows,” says graduate student Sean Egger. “But you can port LabVIEW code from PCs to Macs and vice versa. Many of us had Macs and prefer Mac OS X to Windows, so we ported most of our DARwIn development software to the Mac version of LabVIEW. The Macs give us a stable operating system, and more importantly, a UNIX core, which makes things easier – such as TCP connections and serial port communication.”

LabVIEW code, written on the Macs and uploaded to the PC/104, is DARwIn’s brain. It receives inputs from his sensors and decides what to do next in terms of soccer-playing behavior. His eyes, for example, are two Firewire cameras mounted one above the other. The lower one is fixed, pointed at his feet to look for the ball. If that camera can’t find it, the top camera pans and tilts to search for it. The top camera also looks for the goal and for chalk lines to tell LabVIEW where DARwIn is on the field – a process known in robotics as localization. It also identifies teammates and opponents. DARwIn’s inertial measurement units (IMUs) measure and report acceleration in three directions, including the angular acceleration.

“One of the reasons we really like LabVIEW is that it will connect so easily and seamlessly to any kind of sensor or motor controller. We don’t get bogged down writing drivers. LabVIEW’s got packages that communicate with just about anything we’ve thrown at it.”

LabVIEW programming has given DARwIn some remarkable soccer skills. He can identify a ball, know where he is on the field, find the goal, and kick a ball through it. If he falls down, he can get up by himself. But he is not a one-dimensional personality. The lab uses him as a research platform for a variety of other robotics projects using LabVIEW. He can, for example, read handwritten notes and follow their instructions, interacting with people by playing dice, dancing, and shaking hands – all part of rounding out his humanoid capabilities.

1 2