Make us your home page

Today’s top headlines delivered to you daily.

(View our Privacy Policy)

Goal of USF's robot Lego soccer: Inspire study of science


It was an hour before game time, but the soccer players weren't anxious, nervous or even excited. They were, however, a little confused.

That's because the players were robots, programmed by humans to play soccer. For weeks, the 6-inch, squarish robots had been practicing inside a lab, following code that instructed them to go after a little red ball.

On Wednesday, game day, the field was set up in an atrium inside the University of South Florida's College of Engineering building, which soaked up natural light. That confused the robots.

The programmers sweated, fretted and wrung their hands. For days, they had fueled themselves on soda and coffee, got little sleep and failed to calm their nerves with a trip to Denny's.

Finally, they recalibrated the robots' coding and hoped for the best.

• • •

Associate professor Miguel Labrador wanted more visibility for USF's department of computer science and engineering. So he decided the 14 students from universities nationwide who came together for the summer for USF's Research Experience for Undergraduates program would wire Lego Mindstorms to play soccer.

For the past decade, teams from universities across the world have been competing in RoboCup, a soccer competition involving robots. The contests have been held in Austria and China. Next year, it's in Singapore.

Winning is a big deal, Labrador said. It means your engineering program is at the top of its game.

Labrador used grant money to purchase six Mindstorms at $250 each. The students worked together to build the first robot, which is made up of about 300 tiny Lego pieces. It took them two weeks to build. Once they finished one, the second one took only hours.

Then the coding began using sophisticated programming. The two goalies were equipped with three sonars that can detect sound waves, much like how bats can sense how far away an object is based on how long its echo takes to return inside a dark cave. When a ball went toward the goalies, the robots moved quickly toward the sound waves.

The goalies, which could also recognize color, were wired to stay in bounds within the green turf.

The other four robots were programmed to follow the red ball (anyone wearing red was asked to stand in the back of the room); to move the ball toward the goals (they were programmed to move toward either the goal with the magenta or the blue background), and to kick the ball.

Because color played such a big part with the sensors, the difference in the artificial light in the lab and the light from the atrium caused some confusion. The programmers arrived early and worked up until game time, scratching out numbers on a note pad and reconfiguring code on a laptop.

"We were a little scared," Andres Buss, one of the project's mentors, said later. "It was very hard work."

• • •

The match began about 2:30 p.m. with an audience of summer campers at USF and the children of university employees.

Kids giggled when the robots went off course and laughed when the robots knocked each other down. They moaned when a robot missed a goal, and cheered wildly when one scored.

The final score: 4-1, blue team. The engineers celebrated.

"The goal was to demonstrate something about computer science," Labrador said. "I hope it inspired some of the younger students. Maybe they will be interested in engineering and come to USF. That would be wonderful."

Dong-Phuong Nguyen can be reached at (813)909-4613 or

Goal of USF's robot Lego soccer: Inspire study of science 08/05/09 [Last modified: Wednesday, August 5, 2009 11:12pm]
Photo reprints | Article reprints

© 2017 Tampa Bay Times


Join the discussion: Click to view comments, add yours

  1. St. Petersburg City Council approves $326 million sewage fix


    ST. PETERSBURG — The legal fallout from the city's sewage crisis is just about resolved.

    [LARA CERRI  |  Times]
  2. Pasco commuters watch out: Broken water main restricts State Road 52

    Public Safety

    NEW PORT RICHEY — A water main break has caused a portion of State Road 52 — one of the busiest roads in Pasco County — to buckle on Thursday afternoon, reducing three lanes of westbound traffic to just one.

  3. Man taken into custody after live streaming drive along Clearwater Beach sand

    Public Safety

    CLEARWATER — Clearwater Police took a man into custody Thursday afternoon after, they said, he drove his car over beach chairs and umbrellas along Clearwater Beach and streamed it on Facebook.

    Clearwater Police took a suspect into custody Thursday afternoon after he drove along Clearwater Beach to Caladesi Island, running over beach chairs and umbrellas. [Courtesy of Clearwater Police]
  4. Once trapped and wounded, manatee and calf return to the wild


    NEW PORT RICHEY — The small crowd readied cameras and craned their necks, peering over heads and through bodies to try and catch a glimpse. Brittany Pharel, 10, wanted to see the hulking manatees, a mother and her calf, laid out on blue tarps Thursday along the edge of the Pithlachascotee River.

    Tampa's Lowry Park Zoo's associate veterinarian Lauren Smith, 33, examines the heart rate of a manatee calf named Cottee just before it was released into the waters of the Pithlachascotee River on Thursday. 
Cottee's mother Pascow was released at the same time in New Port Richey. 
The pair became stranded in May and the mother was found wounded. They needed to be rehabilitated before they could be released into open waters. [ALESSANDRA DA PRA  |   Times]
  5. Gov. candidate Chris King: Climate change is biggest threat to Florida's economy


    Democratic gubernatorial candidate Chris King today made his case for how economic growth and fighting climate change go hand in hand. His rivals for the Democratic nomination, Gwen Graham, …

    Winter Park businessman Chris King and his family