The information put into the brick is put in by explaining what to do when something happens. For example, when it sees the color red, it will stop, and when it sees the color green, it will go. Another example is when it notices something in its path, you can determine how far away from that object you want it to stop. There are a three different sensors that help the robot with these sort of things. This picture of Gyro Boy is going to be used as a reference:
1. On Gyro Boy's right hand, that sensor is the color sensor. You can program Gyro Boy to react to different colors in different ways.
2. On Gyro Boy's left hand, that sensor is the infrared sensor. This sensor is used to give the robot a sense of distance, direction, and if you use a remote controller, this will help with that too.
3. The last sensor, which isn't on Gyro Boy, is the touch sensor. This sensor can do a variety of things, but it goes off touch.
This is a summary of what each of the sensors do and what they look like in addition to a few of the "muscle" pieces of the robot:
