Cracking the Code Programming robots to play football

Cracking the Code Programming robots to play football

Two young coders find out about the instructions that tell robots what to do, looking at the code that operates both a robot football team and an ICub robot that is capable of learning new things. Science reporter Minna Kane takes them to Plymouth University to meet the Black Ninjas, a robot football team who play in the robot World Cup. The programmers show the children how they write the code that tells their players what to do. The robots can recognize shapes and colour, which means they can find the ball. They use IF/THEN commands to tell the robots when to move and in which direction. We see the code that tells the robot goalie to dive left, right or keep still depending on the position of the ball, along with coded functions like WALK TO BALL and LOOKING FOR BALL. The programmer explains how this very complex code is built up of many small functions and processes. The children are challenged to try to beat the autonomous robots using players they operate themselves. They manage easily, because football is such a complex game for a robot to play that humans have the upper hand. The children then meet the ICub robot, and its programmer Tony. He shows them how he can teach ICub to recognize objects using voice recognition commands. They try commanding the robot themselves. Tony explains that because ICub learns through recognition and repetition like a human, it makes more mistakes than a robot simply following a set of IF/THEN commands. Teacher notes: This could be used to show how programs can accomplish specific goals or as a demonstration of controlling physical systems. It could also be used to show how problems can be solved by breaking them down into smaller parts.

  • 2013
  • 00:08:54
  • 9-12
  • Added on: 09/03/2019 users can access content from outside their institution. You must find your access code and then create an account.

Teacher Guide(s)

  • How to Use Video Effectively in the Classroom [.pdf]

    How to Use Video Effectively in the Classroom [.pdf]

Can be found in