This term, some Year 4 children have chosen to attend an after school robotics club, where they learn more about how to program robots.
Our school is very lucky to have a set of Lego NXT robots, along with their programming software. The children have already written programs to make their robots move a specified amount, as well as moving and then turning around and coming back.
The children all understand that good programmers write sections of the code, testing each part. This makes it much easier to spot where bugs are!
Last week, the children were set the challenge of programming the robots to make use of the ultrasonic sensors, which detect distance. When the distance was smaller than a certain amount, the robots had to turn or avoid the obstacle. All of the children wrote programs that achieved this. The result was robots that (mostly) drove around on the table and avoided bumping into each other and the walls!