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. The Daystarter: Rick vs. Rick 2.0 tonight; Bucs' McCoy says some fans cross line; Trump associate to testify; helicopter crashes onto Odessa roof


    Catching you up on overnight happenings, and what you need to know today.


    Rescuers respond to a crash of a small helicopter on the roof of a home in the Odessa area on Monday. [Hillsborough County Fire Rescue]
  2. No toll lanes north of downtown Tampa in three of four interstate proposals


    TAMPA — Express lanes may not be coming to downtown Tampa after all. Or at least not to the stretch of Interstate 275 that goes north through Bearss Avenue.

    Seminole Heights resident Kimberly Overman discusses the new interstate options with V.M. Ybor resident Chris Vela (left), Hillsborough County Commissioner Pat Kemp and HNTB consultant Chloe Coney during a Tampa Bay Express meeting Monday night at the Barrymore Hotel. [CAITLIN JOHNSTON  |  Times]
  3. Trump associate Roger Stone to talk to House panel in Russia probe


    WASHINGTON — The House intelligence panel will interview two of President Donald Trump's associates behind closed doors this week as congressional committees step up their investigations into Russian meddling in the 2016 election.

    Roger Stone talks to reporters outside a courtroom in New York this past March. The House intelligence panel will interview Stone behind closed doors Tuesday as congressional committees step up their investigations into Russian meddling in the 2016 election. Fformer Trump staffer Boris Epshteyn also will talk to the House panel. [Associated Press]
  4. Pinellas commission set to discuss next budget, licensing board

    Local Government

    CLEARWATER –– The Pinellas County Commission will be busy on Tuesday.

  5. Romano: Sure, let's trust a board with no professionalism, transparency or ethics

    Local Government

    So, if you've been following the bureaucratic carnage: