Behaviour-based Robots

Published on

This week’s challenge was to make a robot react to the inputs from two different sensors.

Up until this week, we’ve been randomising the groups. This week, however, participants had the option of choosing their own teams, but with the twist that their challenge would be randomly selected. Another difference was that each scenario came with a description of the program that was required, in “pseudocode”, as an example of the planning that could be done to help work out what you’re doing.

For example:

Interactive Light Show

Behaviour: The robot changes its lighting effects based on movement and proximity.

Sensors: Distance sensor, touch sensor.

Pseudocode:

  • If a hand moves closer → Increase display brightness.
  • If a hand moves away → Decrease display brightness.
  • If the touch sensor is pressed → Change the image being displayed.